-
Notifications
You must be signed in to change notification settings - Fork 539
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Miguel/ava 141 hard fork on plonk update #94
Conversation
- `Kate` & `da-primitives` have been moved out to another repo. - New version of `header_builder::build` which uses `Kate 0.2.0`. Version 1 is still available.
AVA-141 Hard Fork on Plonk update
Update our Acceptance Criteria:
|
* add nomad primitives * patch dependencies to fix build issues * remove tiny keccak from merkle * add tiny keccak back to merkle and use to avoid extra allocation in left/right hash * port nomad pallets, build failing * add node and runtime changes * add subxt changes * fix compact block header and add specs to node for genesis info * add new script for submitting data and header * rename enqueue_data_root to dispatch_data_root * rebase on primitive changes and change da-bridge message and TypedMessage to use BoundedVec * fix failing home test after max message len change * rebase on merged primitives * remove unnecessary methods and add da-bridge docs * update metadata and have home tree put default * make da-bridge message type struct-based not vector-based * remove panic in da bridge message * remove finalized block hash mapping * fix vec dependency after rebase on post-primitives PR * make non body length public for tests * Safety review * Add benchmarks to `Nomad-home` * Code review changes - New Benchmarks for `nomad/da-bridge` - Add header hash to `try_dispatch_data_root`. - Add assertions to `verify` section in benchmarks. * Update `avail-subxt` examples * Full header is needed * Fmt fix * fix double import and missing let after rebase * fix subxt scripts with new da-bridge header metadata * fix home update pallet weight Co-authored-by: Miguel <[email protected]> Co-authored-by: miguelDD1 <[email protected]>
- `Kate` & `da-primitives` have been moved out to another repo. - New version of `header_builder::build` which uses `Kate 0.2.0`. Version 1 is still available.
…-miguelDD1:maticnetwork/avail into miguel/ava-141-hard-fork-on-plonk-update
Codecov ReportBase: 52.87% // Head: 50.80% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## develop #94 +/- ##
===========================================
- Coverage 52.87% 50.80% -2.08%
===========================================
Files 65 50 -15
Lines 12539 9035 -3504
===========================================
- Hits 6630 4590 -2040
+ Misses 5909 4445 -1464
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are nomad changes ended up in this PR?
- `Kate` & `da-primitives` have been moved out to another repo. - New version of `header_builder::build` which uses `Kate 0.2.0`. Version 1 is still available.
…-miguelDD1:maticnetwork/avail into miguel/ava-141-hard-fork-on-plonk-update
Superseeded by PR#96 |
Super-seeded by #96 |
…dk-bump-5 Polkadot sdk bump
Plonk updates from 0.8.2 to 0.12.0
This hard-fork upgrade adds a new version of hosted function
header_builder_build
. The new version useskate-0.2.0
which depends ondusk-plonk-0.12.0
.Primitives & Kate moved to
avail-core
repoWe moved these crates into the external repo
avail-core
. That facilitates the use of several versions ofKate
. Particularly we are using:Kate:0.1.0
on runtime with spec version == 4.Kate:0.2.0
on runtime with spec version == 5.