mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 12:51:02 +00:00
Move EraIndex to sp-staking (#10671)
* Move `EraIndex` to sp-staking * Fix imports in mocks * Run cargo +nightly-2021-10-29 fmt
This commit is contained in:
@@ -30,7 +30,6 @@ use frame_support::{
|
||||
},
|
||||
};
|
||||
use pallet_session::historical as pallet_session_historical;
|
||||
use pallet_staking::EraIndex;
|
||||
use sp_core::{crypto::KeyTypeId, H256};
|
||||
use sp_finality_grandpa::{RoundNumber, SetId, GRANDPA_ENGINE_ID};
|
||||
use sp_keyring::Ed25519Keyring;
|
||||
@@ -41,7 +40,7 @@ use sp_runtime::{
|
||||
traits::{IdentityLookup, OpaqueKeys},
|
||||
DigestItem, Perbill,
|
||||
};
|
||||
use sp_staking::SessionIndex;
|
||||
use sp_staking::{EraIndex, SessionIndex};
|
||||
|
||||
type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic<Test>;
|
||||
type Block = frame_system::mocking::MockBlock<Test>;
|
||||
|
||||
Reference in New Issue
Block a user