frame: GenesisBuild::build allowed in no_std (#14107)
* frame: GenesisBuild::build allowed in no_std i`GenesisBuild::build` function will be required for no_std in no native runtime world. `GenesisBuild::build` macro generated function allows to build the runtime GenesisConfig assembled from all pallets' GenesisConfigs. * fixes * GenesisBuild::build avaiable in no-std - #[cfg(feature = "std")] is not longer added to GenesisBuild implementation. * system: hash69 available for no-std * elections-phragmen: panic message fixed for no_std * frame::suport: doc updated * test-runtime: default for GenesisConfig * frame::test-pallet: serde/std added to std feature deps * Cargo.toml: deps sorted * Cargo.lock update cargo update -p frame-support-test-pallet -p frame-support-test * frame ui tests: cleanup --------- Co-authored-by: parity-processbot <>
Showing
- substrate/Cargo.lock 1 addition, 0 deletionssubstrate/Cargo.lock
- substrate/frame/elections-phragmen/src/lib.rs 4 additions, 1 deletionsubstrate/frame/elections-phragmen/src/lib.rs
- substrate/frame/support/procedural/src/pallet/expand/genesis_build.rs 0 additions, 11 deletions...ame/support/procedural/src/pallet/expand/genesis_build.rs
- substrate/frame/support/src/lib.rs 2 additions, 4 deletionssubstrate/frame/support/src/lib.rs
- substrate/frame/support/src/traits.rs 2 additions, 4 deletionssubstrate/frame/support/src/traits.rs
- substrate/frame/support/src/traits/hooks.rs 2 additions, 1 deletionsubstrate/frame/support/src/traits/hooks.rs
- substrate/frame/support/test/Cargo.toml 6 additions, 5 deletionssubstrate/frame/support/test/Cargo.toml
- substrate/frame/support/test/pallet/Cargo.toml 2 additions, 0 deletionssubstrate/frame/support/test/pallet/Cargo.toml
- substrate/frame/support/test/tests/construct_runtime_ui/no_std_genesis_config.stderr 0 additions, 130 deletions...t/tests/construct_runtime_ui/no_std_genesis_config.stderr
- substrate/frame/support/test/tests/pallet_ui/pass/no_std_genesis_config.rs 0 additions, 0 deletions...upport/test/tests/pallet_ui/pass/no_std_genesis_config.rs
- substrate/frame/system/src/lib.rs 0 additions, 1 deletionsubstrate/frame/system/src/lib.rs
- substrate/test-utils/runtime/src/substrate_test_pallet.rs 1 addition, 1 deletionsubstrate/test-utils/runtime/src/substrate_test_pallet.rs
Loading
Please register or sign in to comment