mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 07:01:03 +00:00
companion for pallet order fix. (#4181)
* companion * remove no-op duplicated function * fmt * add comment on constraint * Run cargo update * fix integration test Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
committed by
GitHub
parent
8f75230e42
commit
e16f71b7b6
@@ -1229,8 +1229,8 @@ fn check_signature(
|
||||
mod tests {
|
||||
use super::*;
|
||||
use crate::mock::{
|
||||
new_test_ext, AccountId, AllPallets, Initializer, MockGenesisConfig, System, Test,
|
||||
PUNISH_VALIDATORS_AGAINST, PUNISH_VALIDATORS_FOR, PUNISH_VALIDATORS_INCONCLUSIVE,
|
||||
new_test_ext, AccountId, AllPalletsWithSystem, Initializer, MockGenesisConfig, System,
|
||||
Test, PUNISH_VALIDATORS_AGAINST, PUNISH_VALIDATORS_FOR, PUNISH_VALIDATORS_INCONCLUSIVE,
|
||||
REWARD_VALIDATORS,
|
||||
};
|
||||
use frame_support::{
|
||||
@@ -1261,12 +1261,12 @@ mod tests {
|
||||
// circumvent requirement to have bitfields and headers in block for testing purposes
|
||||
crate::paras_inherent::Included::<Test>::set(Some(()));
|
||||
|
||||
AllPallets::on_finalize(b);
|
||||
AllPalletsWithSystem::on_finalize(b);
|
||||
System::finalize();
|
||||
}
|
||||
|
||||
System::initialize(&(b + 1), &Default::default(), &Default::default(), InitKind::Full);
|
||||
AllPallets::on_initialize(b + 1);
|
||||
AllPalletsWithSystem::on_initialize(b + 1);
|
||||
|
||||
if let Some(new_session) = new_session(b + 1) {
|
||||
Initializer::test_trigger_on_new_session(
|
||||
|
||||
Reference in New Issue
Block a user