companion for pallet order fix (#711)

* companion

* Run cargo update

Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
This commit is contained in:
Guillaume Thiolliere
2021-12-01 10:51:58 +09:00
committed by GitHub
parent 71ac3005ae
commit 9a76627938
9 changed files with 551 additions and 578 deletions
+543 -570
View File
File diff suppressed because it is too large Load Diff
@@ -249,6 +249,6 @@ pub fn new_test_ext() -> sp_io::TestExternalities {
pub fn initialize_to_block(n: u64) { pub fn initialize_to_block(n: u64) {
for i in System::block_number() + 1..=n { for i in System::block_number() + 1..=n {
System::set_block_number(i); System::set_block_number(i);
<AllPallets as frame_support::traits::OnInitialize<u64>>::on_initialize(i); <AllPalletsWithSystem as frame_support::traits::OnInitialize<u64>>::on_initialize(i);
} }
} }
@@ -117,7 +117,7 @@ pub type Executive = frame_executive::Executive<
Block, Block,
frame_system::ChainContext<Runtime>, frame_system::ChainContext<Runtime>,
Runtime, Runtime,
AllPallets, AllPalletsWithSystem,
>; >;
/// Handles converting a weight scalar to a fee value, based on the scale and granularity of the /// Handles converting a weight scalar to a fee value, based on the scale and granularity of the
@@ -575,7 +575,7 @@ pub type Executive = frame_executive::Executive<
Block, Block,
frame_system::ChainContext<Runtime>, frame_system::ChainContext<Runtime>,
Runtime, Runtime,
AllPallets, AllPalletsWithSystem,
RemoveCollectiveFlip, RemoveCollectiveFlip,
>; >;
+1 -1
View File
@@ -298,7 +298,7 @@ pub type Executive = frame_executive::Executive<
Block, Block,
frame_system::ChainContext<Runtime>, frame_system::ChainContext<Runtime>,
Runtime, Runtime,
AllPallets, AllPalletsWithSystem,
>; >;
impl_runtime_apis! { impl_runtime_apis! {
@@ -774,7 +774,7 @@ pub type Executive = frame_executive::Executive<
Block, Block,
frame_system::ChainContext<Runtime>, frame_system::ChainContext<Runtime>,
Runtime, Runtime,
AllPallets, AllPalletsWithSystem,
RemoveCollectiveFlip, RemoveCollectiveFlip,
>; >;
@@ -786,7 +786,7 @@ pub type Executive = frame_executive::Executive<
Block, Block,
frame_system::ChainContext<Runtime>, frame_system::ChainContext<Runtime>,
Runtime, Runtime,
AllPallets, AllPalletsWithSystem,
>; >;
impl_runtime_apis! { impl_runtime_apis! {
@@ -766,7 +766,7 @@ pub type Executive = frame_executive::Executive<
Block, Block,
frame_system::ChainContext<Runtime>, frame_system::ChainContext<Runtime>,
Runtime, Runtime,
AllPallets, AllPalletsWithSystem,
RemoveCollectiveFlip, RemoveCollectiveFlip,
>; >;
+1 -1
View File
@@ -327,7 +327,7 @@ pub type Executive = frame_executive::Executive<
Block, Block,
frame_system::ChainContext<Runtime>, frame_system::ChainContext<Runtime>,
Runtime, Runtime,
AllPallets, AllPalletsWithSystem,
TestOnRuntimeUpgrade, TestOnRuntimeUpgrade,
>; >;
/// The payload being signed in transactions. /// The payload being signed in transactions.