Parachains para_inherent.rs to FrameV2 (#3531)

* last parachains migration!

* migrate runtimes

* disable frame supertrait

* add pallet::inherent

* mock

* cargo +nightly fmt
This commit is contained in:
ferrell-code
2021-08-03 07:02:34 -04:00
committed by GitHub
parent f179e8f5e1
commit 24c0d5a51e
7 changed files with 110 additions and 103 deletions
@@ -1150,6 +1150,9 @@ mod tests {
while System::block_number() < to {
let b = System::block_number();
if b != 0 {
// circumvent requirement to have bitfields and headers in block for testing purposes
crate::paras_inherent::Included::<Test>::set(Some(()));
AllPallets::on_finalize(b);
System::finalize();
}