Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Prev Previous commit
Next Next commit
replace Index by Nonce
  • Loading branch information
juangirini committed May 24, 2023
commit 4b93fc7e78d39f683473be4043aedbd20bbd514f
4 changes: 2 additions & 2 deletions frame/system/benchmarking/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use codec::Encode;
use sp_runtime::traits::IdentityLookup;

type AccountId = u64;
type AccountIndex = u32;
type AccountNonce = u32;
type BlockNumber = u64;

type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic<Test>;
Expand All @@ -45,7 +45,7 @@ impl frame_system::Config for Test {
type BlockLength = ();
type DbWeight = ();
type RuntimeOrigin = RuntimeOrigin;
type Index = AccountIndex;
type Nonce = AccountNonce;
type BlockNumber = BlockNumber;
type RuntimeCall = RuntimeCall;
type Hash = sp_core::H256;
Expand Down