Skip to content

Conversation

@Neopallium
Copy link
Contributor

@Neopallium Neopallium commented Dec 17, 2025

changelog

new features

  • Add Beefy, Beefy MMR and MMR pallets. This is to support BEEFY consensus, which is useful for bridges.
  • Add support for Generic Ledger App (using chain metadata instead hard coded transactions).

modified external API

  • Added AuthorizeCall transaction extension. This allows replacing unsigned transactions (ImOnline.hearbeat, etc..) with signed transactions.
  • Added CheckNonZeroSender transaction extension. Don't allow transactions for the all zeros AccountId, since the secret key is known to everyone.
  • Added WeightReclaim transaction extension. Support for refunding unused weight (from other transaction extensions).
  • Added CheckMetadataHash transaction extension. This is for supporting the generic Ledger app or offline wallets.

other

  • Add feature flag on-chain-release-build to our runtimes to shrink the runtimes (about 1M from uncompressed size) for release builds.

data migration

  • Migrate SessionKeys to add a placeholder BEEFY key (The key is not valid, validators will need to rotate their keys) for all validators.

@Neopallium Neopallium changed the base branch from develop to develop_v8 December 17, 2025 19:08
@Neopallium Neopallium force-pushed the polymesh-v8-next-features branch from 03a8b16 to c8e66a0 Compare December 17, 2025 19:09
@Neopallium Neopallium force-pushed the polymesh-v8-next-features branch 2 times, most recently from f2c5740 to 650315a Compare December 31, 2025 16:48
@Neopallium Neopallium changed the base branch from develop_v8 to refactor_transaction_payment January 5, 2026 10:12
@Neopallium Neopallium force-pushed the polymesh-v8-next-features branch 2 times, most recently from 94d140c to e88cbbb Compare January 5, 2026 12:42
@socket-security
Copy link

socket-security bot commented Jan 8, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedcargo/​polymesh-api@​3.12.1 ⏵ 3.13.110010093100100

View full report

@Neopallium Neopallium changed the title [WIP] Polymesh v8 next features Polymesh v8 next features Jan 9, 2026
@Neopallium Neopallium requested review from F-OBrien, HenriqueNogara, Copilot and martinhalford and removed request for Copilot January 9, 2026 09:07
Copy link

Copilot AI left a 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.

Base automatically changed from refactor_transaction_payment to develop_v8 January 9, 2026 09:14
Copy link

Copilot AI left a 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants