mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +00:00
* Fix * Fix * Bump Substrate Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
Generated
+277
-284
File diff suppressed because it is too large
Load Diff
@@ -651,7 +651,7 @@ mod tests {
|
|||||||
type PalletInfo = ();
|
type PalletInfo = ();
|
||||||
type AccountData = pallet_balances::AccountData<u64>;
|
type AccountData = pallet_balances::AccountData<u64>;
|
||||||
type OnNewAccount = ();
|
type OnNewAccount = ();
|
||||||
type OnKilledAccount = Balances;
|
type OnKilledAccount = ();
|
||||||
type SystemWeightInfo = ();
|
type SystemWeightInfo = ();
|
||||||
type SS58Prefix = ();
|
type SS58Prefix = ();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -644,7 +644,7 @@ mod tests {
|
|||||||
type PalletInfo = ();
|
type PalletInfo = ();
|
||||||
type AccountData = pallet_balances::AccountData<u64>;
|
type AccountData = pallet_balances::AccountData<u64>;
|
||||||
type OnNewAccount = ();
|
type OnNewAccount = ();
|
||||||
type OnKilledAccount = Balances;
|
type OnKilledAccount = ();
|
||||||
type SystemWeightInfo = ();
|
type SystemWeightInfo = ();
|
||||||
type SS58Prefix = ();
|
type SS58Prefix = ();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -329,7 +329,7 @@ mod tests {
|
|||||||
type PalletInfo = ();
|
type PalletInfo = ();
|
||||||
type AccountData = pallet_balances::AccountData<u128>;
|
type AccountData = pallet_balances::AccountData<u128>;
|
||||||
type OnNewAccount = ();
|
type OnNewAccount = ();
|
||||||
type OnKilledAccount = Balances;
|
type OnKilledAccount = ();
|
||||||
type SystemWeightInfo = ();
|
type SystemWeightInfo = ();
|
||||||
type SS58Prefix = ();
|
type SS58Prefix = ();
|
||||||
}
|
}
|
||||||
@@ -563,21 +563,21 @@ mod tests {
|
|||||||
Sr25519Keyring::Two,
|
Sr25519Keyring::Two,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
let balances: Vec<_> = (0..authority_keys.len()).map(|i| (i as u64, 10_000_000)).collect();
|
||||||
|
|
||||||
|
pallet_balances::GenesisConfig::<Test> {
|
||||||
|
balances,
|
||||||
|
}.assimilate_storage(&mut t).unwrap();
|
||||||
|
|
||||||
// stashes are the index.
|
// stashes are the index.
|
||||||
let session_keys: Vec<_> = authority_keys.iter().enumerate()
|
let session_keys: Vec<_> = authority_keys.iter().enumerate()
|
||||||
.map(|(i, _k)| (i as u64, i as u64, UintAuthorityId(i as u64)))
|
.map(|(i, _k)| (i as u64, i as u64, UintAuthorityId(i as u64)))
|
||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
let balances: Vec<_> = (0..authority_keys.len()).map(|i| (i as u64, 10_000_000)).collect();
|
|
||||||
|
|
||||||
pallet_session::GenesisConfig::<Test> {
|
pallet_session::GenesisConfig::<Test> {
|
||||||
keys: session_keys,
|
keys: session_keys,
|
||||||
}.assimilate_storage(&mut t).unwrap();
|
}.assimilate_storage(&mut t).unwrap();
|
||||||
|
|
||||||
pallet_balances::GenesisConfig::<Test> {
|
|
||||||
balances,
|
|
||||||
}.assimilate_storage(&mut t).unwrap();
|
|
||||||
|
|
||||||
t.into()
|
t.into()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -445,7 +445,7 @@ mod tests {
|
|||||||
type PalletInfo = ();
|
type PalletInfo = ();
|
||||||
type AccountData = pallet_balances::AccountData<u64>;
|
type AccountData = pallet_balances::AccountData<u64>;
|
||||||
type OnNewAccount = ();
|
type OnNewAccount = ();
|
||||||
type OnKilledAccount = Balances;
|
type OnKilledAccount = ();
|
||||||
type SystemWeightInfo = ();
|
type SystemWeightInfo = ();
|
||||||
type SS58Prefix = ();
|
type SS58Prefix = ();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -982,7 +982,7 @@ mod tests {
|
|||||||
type PalletInfo = ();
|
type PalletInfo = ();
|
||||||
type AccountData = pallet_balances::AccountData<u64>;
|
type AccountData = pallet_balances::AccountData<u64>;
|
||||||
type OnNewAccount = ();
|
type OnNewAccount = ();
|
||||||
type OnKilledAccount = Balances;
|
type OnKilledAccount = ();
|
||||||
type SystemWeightInfo = ();
|
type SystemWeightInfo = ();
|
||||||
type SS58Prefix = ();
|
type SS58Prefix = ();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user