mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 19:41:05 +00:00
runtime: remove random_seed from BlockBuilder API (#2968)
* runtime: remove random_seed from BlockBuilder API * update Substrate * runtime: remove unused imports * revert Cargo.lock version 3 removal, update sp-io Co-authored-by: parity-processbot <> Co-authored-by: Andronik Ordian <write@reusable.software>
This commit is contained in:
@@ -64,7 +64,7 @@ use pallet_grandpa::{AuthorityId as GrandpaId, fg_primitives};
|
||||
use sp_version::NativeVersion;
|
||||
use sp_core::OpaqueMetadata;
|
||||
use sp_staking::SessionIndex;
|
||||
use frame_support::{parameter_types, construct_runtime, traits::{KeyOwnerProofSystem, Randomness}};
|
||||
use frame_support::{parameter_types, construct_runtime, traits::KeyOwnerProofSystem};
|
||||
use authority_discovery_primitives::AuthorityId as AuthorityDiscoveryId;
|
||||
use pallet_transaction_payment::{FeeDetails, RuntimeDispatchInfo};
|
||||
use pallet_session::historical as session_historical;
|
||||
@@ -606,10 +606,6 @@ sp_api::impl_runtime_apis! {
|
||||
) -> inherents::CheckInherentsResult {
|
||||
data.check_extrinsics(&block)
|
||||
}
|
||||
|
||||
fn random_seed() -> <Block as BlockT>::Hash {
|
||||
RandomnessCollectiveFlip::random_seed().0
|
||||
}
|
||||
}
|
||||
|
||||
impl tx_pool_api::runtime_api::TaggedTransactionQueue<Block> for Runtime {
|
||||
|
||||
Reference in New Issue
Block a user