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:
Guillaume Thiolliere
2021-12-01 12:00:20 +09:00
committed by GitHub
parent 8f75230e42
commit e16f71b7b6
10 changed files with 952 additions and 1082 deletions
+4 -2
View File
@@ -157,7 +157,7 @@ pub type Executive = frame_executive::Executive<
Block,
frame_system::ChainContext<Runtime>,
Runtime,
AllPallets,
AllPalletsWithSystem,
(SessionHistoricalModulePrefixMigration,),
>;
/// The payload being signed in transactions.
@@ -204,7 +204,7 @@ construct_runtime! {
{
System: frame_system,
// Must be before session.
// Babe must be before session.
Babe: pallet_babe,
Timestamp: pallet_timestamp,
@@ -213,6 +213,8 @@ construct_runtime! {
TransactionPayment: pallet_transaction_payment,
// Consensus support.
// Authorship must be before session in order to note author in the correct session for
// im-online.
Authorship: pallet_authorship,
Offences: pallet_offences,
Historical: session_historical,