Skip to content

Commit aa851dd

Browse files
authored
update changelog / readme, bump version, fix spec versions (#221)
* update changelog / readme, bump version, fix spec versions * fix cargo.lock, regenerate api_dev for avail-subxt * add new weights
1 parent dab9ba4 commit aa851dd

35 files changed

+4041
-2072
lines changed

.github/workflows/default.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v2
2222

23-
- name: Install nightly ${{ env.BUILD_TOOLCHAIN }}
23+
- name: Install rust ${{ env.BUILD_TOOLCHAIN }}
2424
uses: actions-rs/toolchain@v1
2525
with:
2626
# NOTE: Until https://github.com/actions-rs/toolchain/pull/209 is merged,

.maintain/frame-weight-template.hbs

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pub trait WeightInfo {
3131
{{/each}}
3232
}
3333

34-
/// Weights for `{{pallet}}` using the Substrate node and recommended hardware.
34+
/// Weights for `{{pallet}}` using the Avail node and recommended hardware.
3535
pub struct SubstrateWeight<T>(PhantomData<T>);
3636
{{#if (eq pallet "frame_system")}}
3737
impl<T: crate::Config> WeightInfo for SubstrateWeight<T> {

CHANGELOG.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,18 @@ All notable changes to this project will be documented in this file.
66
[Compare](https://github.com/availproject/avail/compare/v1.6.3...HEAD)
77

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

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

2022
### Fixed
2123
- Fixed CI memory issues.

Cargo.lock

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+7-7
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ frame-system-rpc-runtime-api = { path = "pallets/system/rpc/runtime-api" }
2626
frame-system-benchmarking = { path = "pallets/system/benchmarking" }
2727

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

3333
# Nomad
34-
nomad-signature = { version = "0.1", git="https://github.com/availproject/avail-core", branch = "main" }
35-
nomad-merkle = { version = "0.1", git="https://github.com/availproject/avail-core", branch = "main" }
36-
nomad-base = { version = "0.1", git="https://github.com/availproject/avail-core", branch = "main" }
37-
nomad-core = { version = "0.1", git="https://github.com/availproject/avail-core", branch = "main" }
34+
nomad-signature = { version = "0.1", git = "https://github.com/availproject/avail-core", branch = "main" }
35+
nomad-merkle = { version = "0.1", git = "https://github.com/availproject/avail-core", branch = "main" }
36+
nomad-base = { version = "0.1", git = "https://github.com/availproject/avail-core", branch = "main" }
37+
nomad-core = { version = "0.1", git = "https://github.com/availproject/avail-core", branch = "main" }
3838

3939
# Other stuff
4040
uint = { git = "https://github.com/paritytech/parity-common.git", tag = "rlp-v0.5.2" }

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,18 @@ When importing blocks, their content go through an additional check to make sure
172172
During initial sync, you can chose to ignore this check to increase the sync speed. This command is compatible with any `sync` mode.
173173
- `--unsafe-da-sync`
174174

175+
### Chain Sync Modes and Compatibility
176+
177+
This describes the different sync modes available for the substrate chain and their compatibility with the `--unsafe-da-sync` flag.
178+
#### Compatibility Table
179+
180+
| Sync Mode | Without `--unsafe-da-sync` | With `--unsafe-da-sync` |
181+
|--------------------|----------------------------|-------------------------|
182+
| full | compatible | compatible |
183+
| warp | compatible | compatible |
184+
| fast / fast unsafe | not compatible | not compatible |
185+
186+
175187

176188
## Generate test code coverage report
177189

0 commit comments

Comments
 (0)