mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 22:11:02 +00:00
Bump Substrate to b094edaf (#958)
* Bump Substrate to commit `b094edafd1cd5d26e49ecbf92b0ce7553cfad717` * Remove unsafe random seed method See: https://github.com/paritytech/substrate/pull/8718 * Update Subkey syntax See: https://github.com/paritytech/substrate/pull/8678
This commit is contained in:
committed by
Bastian Köcher
parent
1a662c7bb3
commit
d53ecbdb3b
@@ -63,7 +63,7 @@ pub enum Subcommand {
|
|||||||
Revert(sc_cli::RevertCmd),
|
Revert(sc_cli::RevertCmd),
|
||||||
|
|
||||||
/// Inspect blocks or extrinsics.
|
/// Inspect blocks or extrinsics.
|
||||||
Inspect(node_inspect::cli::InspectCmd),
|
Inspect(node_inspect::cli::InspectKeyCmd),
|
||||||
|
|
||||||
/// Benchmark runtime pallets.
|
/// Benchmark runtime pallets.
|
||||||
Benchmark(frame_benchmarking_cli::BenchmarkCmd),
|
Benchmark(frame_benchmarking_cli::BenchmarkCmd),
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ use sp_version::RuntimeVersion;
|
|||||||
// A few exports that help ease life for downstream crates.
|
// A few exports that help ease life for downstream crates.
|
||||||
pub use frame_support::{
|
pub use frame_support::{
|
||||||
construct_runtime, parameter_types,
|
construct_runtime, parameter_types,
|
||||||
traits::{Currency, ExistenceRequirement, Imbalance, KeyOwnerProofSystem, Randomness},
|
traits::{Currency, ExistenceRequirement, Imbalance, KeyOwnerProofSystem},
|
||||||
weights::{constants::WEIGHT_PER_SECOND, DispatchClass, IdentityFee, RuntimeDbWeight, Weight},
|
weights::{constants::WEIGHT_PER_SECOND, DispatchClass, IdentityFee, RuntimeDbWeight, Weight},
|
||||||
StorageValue,
|
StorageValue,
|
||||||
};
|
};
|
||||||
@@ -477,10 +477,6 @@ impl_runtime_apis! {
|
|||||||
) -> sp_inherents::CheckInherentsResult {
|
) -> sp_inherents::CheckInherentsResult {
|
||||||
data.check_extrinsics(&block)
|
data.check_extrinsics(&block)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn random_seed() -> <Block as BlockT>::Hash {
|
|
||||||
RandomnessCollectiveFlip::random_seed().0
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl frame_system_rpc_runtime_api::AccountNonceApi<Block, AccountId, Index> for Runtime {
|
impl frame_system_rpc_runtime_api::AccountNonceApi<Block, AccountId, Index> for Runtime {
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ pub enum Subcommand {
|
|||||||
Revert(sc_cli::RevertCmd),
|
Revert(sc_cli::RevertCmd),
|
||||||
|
|
||||||
/// Inspect blocks or extrinsics.
|
/// Inspect blocks or extrinsics.
|
||||||
Inspect(node_inspect::cli::InspectCmd),
|
Inspect(node_inspect::cli::InspectKeyCmd),
|
||||||
|
|
||||||
/// Benchmark runtime pallets.
|
/// Benchmark runtime pallets.
|
||||||
Benchmark(frame_benchmarking_cli::BenchmarkCmd),
|
Benchmark(frame_benchmarking_cli::BenchmarkCmd),
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ use sp_version::RuntimeVersion;
|
|||||||
// A few exports that help ease life for downstream crates.
|
// A few exports that help ease life for downstream crates.
|
||||||
pub use frame_support::{
|
pub use frame_support::{
|
||||||
construct_runtime, parameter_types,
|
construct_runtime, parameter_types,
|
||||||
traits::{Currency, ExistenceRequirement, Imbalance, KeyOwnerProofSystem, Randomness},
|
traits::{Currency, ExistenceRequirement, Imbalance, KeyOwnerProofSystem},
|
||||||
weights::{constants::WEIGHT_PER_SECOND, DispatchClass, IdentityFee, RuntimeDbWeight, Weight},
|
weights::{constants::WEIGHT_PER_SECOND, DispatchClass, IdentityFee, RuntimeDbWeight, Weight},
|
||||||
StorageValue,
|
StorageValue,
|
||||||
};
|
};
|
||||||
@@ -587,10 +587,6 @@ impl_runtime_apis! {
|
|||||||
) -> sp_inherents::CheckInherentsResult {
|
) -> sp_inherents::CheckInherentsResult {
|
||||||
data.check_extrinsics(&block)
|
data.check_extrinsics(&block)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn random_seed() -> <Block as BlockT>::Hash {
|
|
||||||
RandomnessCollectiveFlip::random_seed().0
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl frame_system_rpc_runtime_api::AccountNonceApi<Block, AccountId, Index> for Runtime {
|
impl frame_system_rpc_runtime_api::AccountNonceApi<Block, AccountId, Index> for Runtime {
|
||||||
|
|||||||
Reference in New Issue
Block a user