Replace system config Index for Nonce (#14290)

* replace Index by Nonce

* replace Index by Nonce

* replace Index by Nonce

* replace Index by Nonce

* replace Index by Nonce

* wip

* remove index in lieu of nonce

* wip

* remove accountnonce in lieu of nonce

* add minor improvement

* rebase and merge conflicts
This commit is contained in:
Juan authored and GitHub committed 2023-07-14 06:56:48 +00:00
1 parent 0fbeb31d50
commit 6a29a70a92
132 files changed
+234 -235

No files matched your search

@@ -190,6 +190,7 @@ mod tests {
use sp_npos_elections::Support;
use sp_runtime::Perbill;
type AccountId = u64;
type Nonce = u64;
type BlockNumber = u64;
pub type Header = sp_runtime::generic::Header<BlockNumber, sp_runtime::traits::BlakeTwo256>;
@@ -207,7 +208,7 @@ mod tests {
type SS58Prefix = ();
type BaseCallFilter = frame_support::traits::Everything;
type RuntimeOrigin = RuntimeOrigin;
type Index = AccountId;
type Nonce = Nonce;
type RuntimeCall = RuntimeCall;
type Hash = sp_core::H256;
type Hashing = sp_runtime::traits::BlakeTwo256;