revert paritytech/polkadot#6577 & related changes (#3108)

Moves `pallet_mmr` back behind `pallet_session` to address
polkadot-fellows/runtimes#160.

Opening draft for CI - should be merged or closed depending on outcome
of w3f/polkadot-spec#718.

---------

Co-authored-by: Adrian Catangiu <adrian@parity.io>
This commit is contained in:
Robert Hambrock
2024-01-30 17:07:51 +01:00
committed by GitHub
parent a190e0e925
commit e5bb11b008
4 changed files with 37 additions and 19 deletions
+7 -7
View File
@@ -1331,13 +1331,6 @@ construct_runtime! {
Offences: pallet_offences = 7,
Historical: session_historical = 34,
// BEEFY Bridges support.
Beefy: pallet_beefy = 240,
// MMR leaf construction must be before session in order to have leaf contents
// refer to block<N-1> consistently. see substrate issue #11797 for details.
Mmr: pallet_mmr = 241,
MmrLeaf: pallet_beefy_mmr = 242,
Session: pallet_session = 8,
Grandpa: pallet_grandpa = 10,
AuthorityDiscovery: pallet_authority_discovery = 12,
@@ -1423,6 +1416,13 @@ construct_runtime! {
// Pallet for sending XCM.
XcmPallet: pallet_xcm = 99,
// BEEFY Bridges support.
Beefy: pallet_beefy = 240,
// MMR leaf construction must be after session in order to have a leaf's next_auth_set
// refer to block<N>. See issue polkadot-fellows/runtimes#160 for details.
Mmr: pallet_mmr = 241,
MmrLeaf: pallet_beefy_mmr = 242,
// Pallet for migrating Identity to a parachain. To be removed post-migration.
IdentityMigrator: identity_migrator = 248,