mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 18:41:03 +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 AccountData = pallet_balances::AccountData<u64>;
|
||||
type OnNewAccount = ();
|
||||
type OnKilledAccount = Balances;
|
||||
type OnKilledAccount = ();
|
||||
type SystemWeightInfo = ();
|
||||
type SS58Prefix = ();
|
||||
}
|
||||
|
||||
@@ -644,7 +644,7 @@ mod tests {
|
||||
type PalletInfo = ();
|
||||
type AccountData = pallet_balances::AccountData<u64>;
|
||||
type OnNewAccount = ();
|
||||
type OnKilledAccount = Balances;
|
||||
type OnKilledAccount = ();
|
||||
type SystemWeightInfo = ();
|
||||
type SS58Prefix = ();
|
||||
}
|
||||
|
||||
@@ -329,7 +329,7 @@ mod tests {
|
||||
type PalletInfo = ();
|
||||
type AccountData = pallet_balances::AccountData<u128>;
|
||||
type OnNewAccount = ();
|
||||
type OnKilledAccount = Balances;
|
||||
type OnKilledAccount = ();
|
||||
type SystemWeightInfo = ();
|
||||
type SS58Prefix = ();
|
||||
}
|
||||
@@ -563,21 +563,21 @@ mod tests {
|
||||
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.
|
||||
let session_keys: Vec<_> = authority_keys.iter().enumerate()
|
||||
.map(|(i, _k)| (i as u64, i as u64, UintAuthorityId(i as u64)))
|
||||
.collect();
|
||||
|
||||
let balances: Vec<_> = (0..authority_keys.len()).map(|i| (i as u64, 10_000_000)).collect();
|
||||
|
||||
pallet_session::GenesisConfig::<Test> {
|
||||
keys: session_keys,
|
||||
}.assimilate_storage(&mut t).unwrap();
|
||||
|
||||
pallet_balances::GenesisConfig::<Test> {
|
||||
balances,
|
||||
}.assimilate_storage(&mut t).unwrap();
|
||||
|
||||
t.into()
|
||||
}
|
||||
|
||||
|
||||
@@ -445,7 +445,7 @@ mod tests {
|
||||
type PalletInfo = ();
|
||||
type AccountData = pallet_balances::AccountData<u64>;
|
||||
type OnNewAccount = ();
|
||||
type OnKilledAccount = Balances;
|
||||
type OnKilledAccount = ();
|
||||
type SystemWeightInfo = ();
|
||||
type SS58Prefix = ();
|
||||
}
|
||||
|
||||
@@ -982,7 +982,7 @@ mod tests {
|
||||
type PalletInfo = ();
|
||||
type AccountData = pallet_balances::AccountData<u64>;
|
||||
type OnNewAccount = ();
|
||||
type OnKilledAccount = Balances;
|
||||
type OnKilledAccount = ();
|
||||
type SystemWeightInfo = ();
|
||||
type SS58Prefix = ();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user