runtime: use babe as randomness source (#2504)
* runtime: use babe as randomness source * runtime: fix randomness api * bridges: fix random_seed * parachains: use mock TestRandomness from frame_support_test * parachains: use mock TestRandomness from frame_support_test * runtime: update randomness source in test-runtime * runtime: remove unused import * parachains: add todo to audit usage of randomness api * "Update Substrate" Co-authored-by: parity-processbot <>
parent
9331e06e
Showing
- polkadot/Cargo.lock 173 additions, 144 deletionspolkadot/Cargo.lock
- polkadot/bridges/bin/millau/runtime/src/lib.rs 1 addition, 1 deletionpolkadot/bridges/bin/millau/runtime/src/lib.rs
- polkadot/bridges/bin/rialto/runtime/src/lib.rs 1 addition, 1 deletionpolkadot/bridges/bin/rialto/runtime/src/lib.rs
- polkadot/runtime/common/Cargo.toml 1 addition, 0 deletionspolkadot/runtime/common/Cargo.toml
- polkadot/runtime/common/src/paras_registrar.rs 3 additions, 10 deletionspolkadot/runtime/common/src/paras_registrar.rs
- polkadot/runtime/common/src/slots.rs 3 additions, 2 deletionspolkadot/runtime/common/src/slots.rs
- polkadot/runtime/kusama/src/lib.rs 2 additions, 2 deletionspolkadot/runtime/kusama/src/lib.rs
- polkadot/runtime/parachains/Cargo.toml 1 addition, 0 deletionspolkadot/runtime/parachains/Cargo.toml
- polkadot/runtime/parachains/src/initializer.rs 4 additions, 2 deletionspolkadot/runtime/parachains/src/initializer.rs
- polkadot/runtime/parachains/src/mock.rs 3 additions, 10 deletionspolkadot/runtime/parachains/src/mock.rs
- polkadot/runtime/polkadot/src/lib.rs 1 addition, 1 deletionpolkadot/runtime/polkadot/src/lib.rs
- polkadot/runtime/rococo/src/lib.rs 5 additions, 3 deletionspolkadot/runtime/rococo/src/lib.rs
- polkadot/runtime/test-runtime/src/lib.rs 2 additions, 2 deletionspolkadot/runtime/test-runtime/src/lib.rs
- polkadot/runtime/westend/src/lib.rs 1 addition, 1 deletionpolkadot/runtime/westend/src/lib.rs
Please register or sign in to comment