mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +00:00
Companion for substrate#10620 (#4696)
* fix tests * update lockfile for substrate Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -1237,7 +1237,6 @@ mod tests {
|
||||
assert_err, assert_noop, assert_ok, assert_storage_noop,
|
||||
traits::{OnFinalize, OnInitialize},
|
||||
};
|
||||
use frame_system::InitKind;
|
||||
use primitives::v1::BlockNumber;
|
||||
use sp_core::{crypto::CryptoType, Pair};
|
||||
|
||||
@@ -1265,7 +1264,8 @@ mod tests {
|
||||
System::finalize();
|
||||
}
|
||||
|
||||
System::initialize(&(b + 1), &Default::default(), &Default::default(), InitKind::Full);
|
||||
System::reset_events();
|
||||
System::initialize(&(b + 1), &Default::default(), &Default::default());
|
||||
AllPalletsWithSystem::on_initialize(b + 1);
|
||||
|
||||
if let Some(new_session) = new_session(b + 1) {
|
||||
|
||||
Reference in New Issue
Block a user