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 Chen
2022-01-13 00:42:23 +13:00
committed by GitHub
parent 599da09a40
commit 167d363087
2 changed files with 248 additions and 247 deletions
+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();