diff --git a/bin/millau/node/src/cli.rs b/bin/millau/node/src/cli.rs index 46323ed25c9..12f99b6b95b 100644 --- a/bin/millau/node/src/cli.rs +++ b/bin/millau/node/src/cli.rs @@ -63,7 +63,7 @@ pub enum Subcommand { Revert(sc_cli::RevertCmd), /// Inspect blocks or extrinsics. - Inspect(node_inspect::cli::InspectCmd), + Inspect(node_inspect::cli::InspectKeyCmd), /// Benchmark runtime pallets. Benchmark(frame_benchmarking_cli::BenchmarkCmd), diff --git a/bin/millau/runtime/src/lib.rs b/bin/millau/runtime/src/lib.rs index 7d25eb90c5e..4f5e0836320 100644 --- a/bin/millau/runtime/src/lib.rs +++ b/bin/millau/runtime/src/lib.rs @@ -55,7 +55,7 @@ use sp_version::RuntimeVersion; // A few exports that help ease life for downstream crates. pub use frame_support::{ construct_runtime, parameter_types, - traits::{Currency, ExistenceRequirement, Imbalance, KeyOwnerProofSystem, Randomness}, + traits::{Currency, ExistenceRequirement, Imbalance, KeyOwnerProofSystem}, weights::{constants::WEIGHT_PER_SECOND, DispatchClass, IdentityFee, RuntimeDbWeight, Weight}, StorageValue, }; @@ -477,10 +477,6 @@ impl_runtime_apis! { ) -> sp_inherents::CheckInherentsResult { data.check_extrinsics(&block) } - - fn random_seed() -> ::Hash { - RandomnessCollectiveFlip::random_seed().0 - } } impl frame_system_rpc_runtime_api::AccountNonceApi for Runtime { diff --git a/bin/rialto/node/src/cli.rs b/bin/rialto/node/src/cli.rs index 46323ed25c9..12f99b6b95b 100644 --- a/bin/rialto/node/src/cli.rs +++ b/bin/rialto/node/src/cli.rs @@ -63,7 +63,7 @@ pub enum Subcommand { Revert(sc_cli::RevertCmd), /// Inspect blocks or extrinsics. - Inspect(node_inspect::cli::InspectCmd), + Inspect(node_inspect::cli::InspectKeyCmd), /// Benchmark runtime pallets. Benchmark(frame_benchmarking_cli::BenchmarkCmd), diff --git a/bin/rialto/runtime/src/lib.rs b/bin/rialto/runtime/src/lib.rs index a0627441080..5259a10493a 100644 --- a/bin/rialto/runtime/src/lib.rs +++ b/bin/rialto/runtime/src/lib.rs @@ -61,7 +61,7 @@ use sp_version::RuntimeVersion; // A few exports that help ease life for downstream crates. pub use frame_support::{ construct_runtime, parameter_types, - traits::{Currency, ExistenceRequirement, Imbalance, KeyOwnerProofSystem, Randomness}, + traits::{Currency, ExistenceRequirement, Imbalance, KeyOwnerProofSystem}, weights::{constants::WEIGHT_PER_SECOND, DispatchClass, IdentityFee, RuntimeDbWeight, Weight}, StorageValue, }; @@ -587,10 +587,6 @@ impl_runtime_apis! { ) -> sp_inherents::CheckInherentsResult { data.check_extrinsics(&block) } - - fn random_seed() -> ::Hash { - RandomnessCollectiveFlip::random_seed().0 - } } impl frame_system_rpc_runtime_api::AccountNonceApi for Runtime {