Companion for substrate#10620 (#894)

* fix tests

* update lockfile for substrate

* update lockfile for {"polkadot"}

Co-authored-by: parity-processbot <>
This commit is contained in:
Xiliang Chenandparity-processbot authored and GitHub committed 2022-01-12 12:42:23 +01:00
1 parent 599da09a40
commit 167d363087
2 files changed
+248 -247

No files matched your search

+245 -245
View File
File diff suppressed because it is too large. Load diff
@@ -29,7 +29,7 @@ use frame_support::{
traits::{OnFinalize, OnInitialize},
weights::Weight,
};
use frame_system::{InitKind, RawOrigin};
use frame_system::RawOrigin;
use hex_literal::hex;
use relay_chain::v1::HrmpChannelId;
use sp_core::H256;
@@ -303,7 +303,8 @@ impl BlockTests {
}
// begin initialization
System::initialize(&n, &Default::default(), &Default::default(), InitKind::Full);
System::reset_events();
System::initialize(&n, &Default::default(), &Default::default());
// now mess with the storage the way validate_block does
let mut sproof_builder = RelayStateSproofBuilder::default();