Skip to content

Commit

Permalink
update changelog / readme, bump version, fix spec versions (availproj…
Browse files Browse the repository at this point in the history
…ect#221)

* update changelog / readme, bump version, fix spec versions

* fix cargo.lock, regenerate api_dev for avail-subxt

* add new weights
  • Loading branch information
Leouarz authored Sep 14, 2023
1 parent dab9ba4 commit aa851dd
Show file tree
Hide file tree
Showing 35 changed files with 4,041 additions and 2,072 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Install nightly ${{ env.BUILD_TOOLCHAIN }}
- name: Install rust ${{ env.BUILD_TOOLCHAIN }}
uses: actions-rs/toolchain@v1
with:
# NOTE: Until https://github.com/actions-rs/toolchain/pull/209 is merged,
Expand Down
2 changes: 1 addition & 1 deletion .maintain/frame-weight-template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub trait WeightInfo {
{{/each}}
}

/// Weights for `{{pallet}}` using the Substrate node and recommended hardware.
/// Weights for `{{pallet}}` using the Avail node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
{{#if (eq pallet "frame_system")}}
impl<T: crate::Config> WeightInfo for SubstrateWeight<T> {
Expand Down
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,18 @@ All notable changes to this project will be documented in this file.
[Compare](https://github.com/availproject/avail/compare/v1.6.3...HEAD)

### Added
- Switch to multi-proof for commitment generation.
- Switch to new api for commitment generation, improved performances.
- Substrate upgraded to [1.0.0](https://github.com/paritytech/polkadot/releases/tag/v1.0.0).
- Import process block verification ignores "Own" blocks.
- Support utility pallet for data submissiont.
- Support utility pallet for data submission.
- Added script to benchmark.
- Added changelog, issue template, contributing guide, security policy, release template.
- Added new flag `--unsafe-da-sync` to sync without building commitment

### Changed
- Improved benchmarking.
- Increase data submission transaction max size to 512kb.
- Now only one port is specified for http and ws endpoints

### Fixed
- Fixed CI memory issues.
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ frame-system-rpc-runtime-api = { path = "pallets/system/rpc/runtime-api" }
frame-system-benchmarking = { path = "pallets/system/benchmarking" }

# DA Primitives
avail-core = { version = "0.5", git="https://github.com/availproject/avail-core", branch = "main" }
kate = { version = "0.8", git="https://github.com/availproject/avail-core", branch = "main" }
kate-recovery = { version = "0.9", git="https://github.com/availproject/avail-core", branch = "main" }
avail-core = { version = "0.5", git = "https://github.com/availproject/avail-core", branch = "main" }
kate = { version = "0.8", git = "https://github.com/availproject/avail-core", branch = "main" }
kate-recovery = { version = "0.9", git = "https://github.com/availproject/avail-core", branch = "main" }

# Nomad
nomad-signature = { version = "0.1", git="https://github.com/availproject/avail-core", branch = "main" }
nomad-merkle = { version = "0.1", git="https://github.com/availproject/avail-core", branch = "main" }
nomad-base = { version = "0.1", git="https://github.com/availproject/avail-core", branch = "main" }
nomad-core = { version = "0.1", git="https://github.com/availproject/avail-core", branch = "main" }
nomad-signature = { version = "0.1", git = "https://github.com/availproject/avail-core", branch = "main" }
nomad-merkle = { version = "0.1", git = "https://github.com/availproject/avail-core", branch = "main" }
nomad-base = { version = "0.1", git = "https://github.com/availproject/avail-core", branch = "main" }
nomad-core = { version = "0.1", git = "https://github.com/availproject/avail-core", branch = "main" }

# Other stuff
uint = { git = "https://github.com/paritytech/parity-common.git", tag = "rlp-v0.5.2" }
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,18 @@ When importing blocks, their content go through an additional check to make sure
During initial sync, you can chose to ignore this check to increase the sync speed. This command is compatible with any `sync` mode.
- `--unsafe-da-sync`

### Chain Sync Modes and Compatibility

This describes the different sync modes available for the substrate chain and their compatibility with the `--unsafe-da-sync` flag.
#### Compatibility Table

| Sync Mode | Without `--unsafe-da-sync` | With `--unsafe-da-sync` |
|--------------------|----------------------------|-------------------------|
| full | compatible | compatible |
| warp | compatible | compatible |
| fast / fast unsafe | not compatible | not compatible |



## Generate test code coverage report

Expand Down
Loading

0 comments on commit aa851dd

Please sign in to comment.