-
Notifications
You must be signed in to change notification settings - Fork 52
Polymesh v8 next features #1861
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
base: develop_v8
Are you sure you want to change the base?
Conversation
03a8b16 to
c8e66a0
Compare
f2c5740 to
650315a
Compare
94d140c to
e88cbbb
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
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.
Pull request overview
This PR introduces significant v8 features to the Polymesh blockchain node, focusing on adding BEEFY consensus protocol support, MMR (Merkle Mountain Range) for efficient proof generation, and transaction extension improvements to support generic Ledger hardware wallet applications.
Key Changes:
- Adds BEEFY, BEEFY MMR, and MMR pallets for enhanced finality proof generation
- Introduces new transaction extensions: AuthorizeCall, CheckNonZeroSender, WeightReclaim, and CheckMetadataHash
- Implements a data migration to upgrade SessionKeys with placeholder BEEFY keys for existing validators
Reviewed changes
Copilot reviewed 30 out of 33 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/service.rs | Integrated BEEFY and MMR services, added hardware benchmarking, new test helper functions |
| src/command.rs | Updated CLI implementation version to use new environment variable |
| src/cli.rs | Enhanced CLI with BEEFY and hardware benchmark flags, added new subcommands |
| src/lib.rs | New library entry point created to support modular architecture |
| src/bin/main.rs | New binary entry point replacing src/main.rs |
| pallets/runtime/common/src/runtime.rs | Added BEEFY/MMR pallet configs, SessionKeys migration, new transaction extensions |
| pallets/runtime/*/src/runtime.rs | Added BEEFY, MMR, and MmrLeaf pallets to all runtimes |
| pallets/runtime/*/Cargo.toml | Added dependencies for BEEFY, MMR, and metadata hash extension |
| node-rpc/src/lib.rs | Integrated BEEFY and MMR RPC endpoints |
| src/chain_spec/*.rs | Updated session key generation to include BEEFY keys |
| Cargo.toml | Added BEEFY/MMR dependencies, new feature flags |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
e1d3af1 to
a190269
Compare
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.
Pull request overview
Copilot reviewed 30 out of 33 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
changelog
new features
modified external API
other
on-chain-release-buildto our runtimes to shrink the runtimes (about 1M from uncompressed size) for release builds.data migration
SessionKeysto add a placeholder BEEFY key (The key is not valid, validators will need to rotate their keys) for all validators.