Migrate pallet-grandpa to attribute macros (#8724)
* frame/grandpa: migrate Config * frame/grandpa: migrate decl_module * frame/grandpa: migrate decl_event * frame/grandpa: migrate decl_error * frame/grandpa: migrate decl_storage * frame/grandpa: make report_equivocation_unsigned pub(super) * frame/grandpa: remove unused imports * frame/grandpa: replace deprecated Module with Pallet * frame/grandpa: add RawEvent for compatibility * frame/grandpa: create migration to new storage prefix * frame/grandpa: bump version to 4.0.0 * frame/grandpa: address review comments * Try using version 3.1 instead * frame/grandpa: tweak log text to say cancelled
Showing
- substrate/Cargo.lock 1 addition, 1 deletionsubstrate/Cargo.lock
- substrate/bin/node-template/runtime/Cargo.toml 1 addition, 1 deletionsubstrate/bin/node-template/runtime/Cargo.toml
- substrate/bin/node/cli/Cargo.toml 1 addition, 1 deletionsubstrate/bin/node/cli/Cargo.toml
- substrate/bin/node/executor/Cargo.toml 1 addition, 1 deletionsubstrate/bin/node/executor/Cargo.toml
- substrate/bin/node/runtime/Cargo.toml 1 addition, 1 deletionsubstrate/bin/node/runtime/Cargo.toml
- substrate/bin/node/testing/Cargo.toml 1 addition, 1 deletionsubstrate/bin/node/testing/Cargo.toml
- substrate/frame/grandpa/Cargo.toml 2 additions, 2 deletionssubstrate/frame/grandpa/Cargo.toml
- substrate/frame/grandpa/src/benchmarking.rs 1 addition, 1 deletionsubstrate/frame/grandpa/src/benchmarking.rs
- substrate/frame/grandpa/src/equivocation.rs 2 additions, 2 deletionssubstrate/frame/grandpa/src/equivocation.rs
- substrate/frame/grandpa/src/lib.rs 264 additions, 219 deletionssubstrate/frame/grandpa/src/lib.rs
- substrate/frame/grandpa/src/migrations.rs 19 additions, 0 deletionssubstrate/frame/grandpa/src/migrations.rs
- substrate/frame/grandpa/src/migrations/v3_1.rs 128 additions, 0 deletionssubstrate/frame/grandpa/src/migrations/v3_1.rs
- substrate/frame/grandpa/src/mock.rs 1 addition, 1 deletionsubstrate/frame/grandpa/src/mock.rs
- substrate/frame/offences/benchmarking/Cargo.toml 1 addition, 1 deletionsubstrate/frame/offences/benchmarking/Cargo.toml
Please register or sign in to comment