mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 19:51:02 +00:00
Switch All construct_runtimes to New Syntax (#2979)
Clean up all the old syntax. --------- Co-authored-by: command-bot <> Co-authored-by: gupnik <nikhilgupta.iitk@gmail.com> Co-authored-by: Nikhil Gupta <17176722+gupnik@users.noreply.github.com> Co-authored-by: Maksym H <1177472+mordamax@users.noreply.github.com>
This commit is contained in:
@@ -895,48 +895,45 @@ construct_runtime!(
|
||||
pub enum Runtime
|
||||
{
|
||||
// System support stuff.
|
||||
System: frame_system::{Pallet, Call, Config<T>, Storage, Event<T>} = 0,
|
||||
ParachainSystem: cumulus_pallet_parachain_system::{
|
||||
Pallet, Call, Config<T>, Storage, Inherent, Event<T>, ValidateUnsigned,
|
||||
} = 1,
|
||||
Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 3,
|
||||
ParachainInfo: parachain_info::{Pallet, Storage, Config<T>} = 4,
|
||||
System: frame_system = 0,
|
||||
ParachainSystem: cumulus_pallet_parachain_system = 1,
|
||||
Timestamp: pallet_timestamp = 3,
|
||||
ParachainInfo: parachain_info = 4,
|
||||
|
||||
// Monetary stuff.
|
||||
Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 10,
|
||||
TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Event<T>} = 11,
|
||||
AssetTxPayment: pallet_asset_conversion_tx_payment::{Pallet, Event<T>} = 13,
|
||||
Balances: pallet_balances = 10,
|
||||
TransactionPayment: pallet_transaction_payment = 11,
|
||||
AssetTxPayment: pallet_asset_conversion_tx_payment = 13,
|
||||
|
||||
// Collator support. the order of these 5 are important and shall not change.
|
||||
Authorship: pallet_authorship::{Pallet, Storage} = 20,
|
||||
CollatorSelection: pallet_collator_selection::{Pallet, Call, Storage, Event<T>, Config<T>} = 21,
|
||||
Session: pallet_session::{Pallet, Call, Storage, Event, Config<T>} = 22,
|
||||
Aura: pallet_aura::{Pallet, Storage, Config<T>} = 23,
|
||||
AuraExt: cumulus_pallet_aura_ext::{Pallet, Storage, Config<T>} = 24,
|
||||
Authorship: pallet_authorship = 20,
|
||||
CollatorSelection: pallet_collator_selection = 21,
|
||||
Session: pallet_session = 22,
|
||||
Aura: pallet_aura = 23,
|
||||
AuraExt: cumulus_pallet_aura_ext = 24,
|
||||
|
||||
// XCM helpers.
|
||||
XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event<T>} = 30,
|
||||
PolkadotXcm: pallet_xcm::{Pallet, Call, Storage, Event<T>, Origin, Config<T>} = 31,
|
||||
CumulusXcm: cumulus_pallet_xcm::{Pallet, Event<T>, Origin} = 32,
|
||||
MessageQueue: pallet_message_queue::{Pallet, Call, Storage, Event<T>} = 34,
|
||||
XcmpQueue: cumulus_pallet_xcmp_queue = 30,
|
||||
PolkadotXcm: pallet_xcm = 31,
|
||||
CumulusXcm: cumulus_pallet_xcm = 32,
|
||||
MessageQueue: pallet_message_queue = 34,
|
||||
|
||||
// Handy utilities.
|
||||
Utility: pallet_utility::{Pallet, Call, Event} = 40,
|
||||
Multisig: pallet_multisig::{Pallet, Call, Storage, Event<T>} = 41,
|
||||
Proxy: pallet_proxy::{Pallet, Call, Storage, Event<T>} = 42,
|
||||
Utility: pallet_utility = 40,
|
||||
Multisig: pallet_multisig = 41,
|
||||
Proxy: pallet_proxy = 42,
|
||||
|
||||
// Bridge utilities.
|
||||
ToWestendXcmRouter: pallet_xcm_bridge_hub_router::<Instance3>::{Pallet, Storage, Call} = 45,
|
||||
ToWestendXcmRouter: pallet_xcm_bridge_hub_router::<Instance3> = 45,
|
||||
|
||||
// The main stage.
|
||||
Assets: pallet_assets::<Instance1>::{Pallet, Call, Storage, Event<T>} = 50,
|
||||
Uniques: pallet_uniques::{Pallet, Call, Storage, Event<T>} = 51,
|
||||
Nfts: pallet_nfts::{Pallet, Call, Storage, Event<T>} = 52,
|
||||
ForeignAssets: pallet_assets::<Instance2>::{Pallet, Call, Storage, Event<T>} = 53,
|
||||
NftFractionalization: pallet_nft_fractionalization::{Pallet, Call, Storage, Event<T>, HoldReason} = 54,
|
||||
|
||||
PoolAssets: pallet_assets::<Instance3>::{Pallet, Call, Storage, Event<T>} = 55,
|
||||
AssetConversion: pallet_asset_conversion::{Pallet, Call, Storage, Event<T>} = 56,
|
||||
Assets: pallet_assets::<Instance1> = 50,
|
||||
Uniques: pallet_uniques = 51,
|
||||
Nfts: pallet_nfts = 52,
|
||||
ForeignAssets: pallet_assets::<Instance2> = 53,
|
||||
NftFractionalization: pallet_nft_fractionalization = 54,
|
||||
PoolAssets: pallet_assets::<Instance3> = 55,
|
||||
AssetConversion: pallet_asset_conversion = 56,
|
||||
|
||||
#[cfg(feature = "state-trie-version-1")]
|
||||
StateTrieMigration: pallet_state_trie_migration = 70,
|
||||
|
||||
@@ -870,48 +870,46 @@ construct_runtime!(
|
||||
pub enum Runtime
|
||||
{
|
||||
// System support stuff.
|
||||
System: frame_system::{Pallet, Call, Config<T>, Storage, Event<T>} = 0,
|
||||
ParachainSystem: cumulus_pallet_parachain_system::{
|
||||
Pallet, Call, Config<T>, Storage, Inherent, Event<T>, ValidateUnsigned,
|
||||
} = 1,
|
||||
System: frame_system = 0,
|
||||
ParachainSystem: cumulus_pallet_parachain_system = 1,
|
||||
// RandomnessCollectiveFlip = 2 removed
|
||||
Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 3,
|
||||
ParachainInfo: parachain_info::{Pallet, Storage, Config<T>} = 4,
|
||||
Timestamp: pallet_timestamp = 3,
|
||||
ParachainInfo: parachain_info = 4,
|
||||
|
||||
// Monetary stuff.
|
||||
Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 10,
|
||||
TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Event<T>} = 11,
|
||||
// AssetTxPayment: pallet_asset_tx_payment::{Pallet, Event<T>} = 12,
|
||||
AssetTxPayment: pallet_asset_conversion_tx_payment::{Pallet, Event<T>} = 13,
|
||||
Balances: pallet_balances = 10,
|
||||
TransactionPayment: pallet_transaction_payment = 11,
|
||||
// AssetTxPayment: pallet_asset_tx_payment = 12,
|
||||
AssetTxPayment: pallet_asset_conversion_tx_payment = 13,
|
||||
|
||||
// Collator support. the order of these 5 are important and shall not change.
|
||||
Authorship: pallet_authorship::{Pallet, Storage} = 20,
|
||||
CollatorSelection: pallet_collator_selection::{Pallet, Call, Storage, Event<T>, Config<T>} = 21,
|
||||
Session: pallet_session::{Pallet, Call, Storage, Event, Config<T>} = 22,
|
||||
Aura: pallet_aura::{Pallet, Storage, Config<T>} = 23,
|
||||
AuraExt: cumulus_pallet_aura_ext::{Pallet, Storage, Config<T>} = 24,
|
||||
Authorship: pallet_authorship = 20,
|
||||
CollatorSelection: pallet_collator_selection = 21,
|
||||
Session: pallet_session = 22,
|
||||
Aura: pallet_aura = 23,
|
||||
AuraExt: cumulus_pallet_aura_ext = 24,
|
||||
|
||||
// XCM helpers.
|
||||
XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event<T>} = 30,
|
||||
PolkadotXcm: pallet_xcm::{Pallet, Call, Storage, Event<T>, Origin, Config<T>} = 31,
|
||||
CumulusXcm: cumulus_pallet_xcm::{Pallet, Event<T>, Origin} = 32,
|
||||
XcmpQueue: cumulus_pallet_xcmp_queue = 30,
|
||||
PolkadotXcm: pallet_xcm = 31,
|
||||
CumulusXcm: cumulus_pallet_xcm = 32,
|
||||
// Bridge utilities.
|
||||
ToRococoXcmRouter: pallet_xcm_bridge_hub_router::<Instance1>::{Pallet, Storage, Call} = 34,
|
||||
MessageQueue: pallet_message_queue::{Pallet, Call, Storage, Event<T>} = 35,
|
||||
ToRococoXcmRouter: pallet_xcm_bridge_hub_router::<Instance1> = 34,
|
||||
MessageQueue: pallet_message_queue = 35,
|
||||
|
||||
// Handy utilities.
|
||||
Utility: pallet_utility::{Pallet, Call, Event} = 40,
|
||||
Multisig: pallet_multisig::{Pallet, Call, Storage, Event<T>} = 41,
|
||||
Proxy: pallet_proxy::{Pallet, Call, Storage, Event<T>} = 42,
|
||||
Utility: pallet_utility = 40,
|
||||
Multisig: pallet_multisig = 41,
|
||||
Proxy: pallet_proxy = 42,
|
||||
|
||||
// The main stage.
|
||||
Assets: pallet_assets::<Instance1>::{Pallet, Call, Storage, Event<T>} = 50,
|
||||
Uniques: pallet_uniques::{Pallet, Call, Storage, Event<T>} = 51,
|
||||
Nfts: pallet_nfts::{Pallet, Call, Storage, Event<T>} = 52,
|
||||
ForeignAssets: pallet_assets::<Instance2>::{Pallet, Call, Storage, Event<T>} = 53,
|
||||
NftFractionalization: pallet_nft_fractionalization::{Pallet, Call, Storage, Event<T>, HoldReason} = 54,
|
||||
PoolAssets: pallet_assets::<Instance3>::{Pallet, Call, Storage, Event<T>} = 55,
|
||||
AssetConversion: pallet_asset_conversion::{Pallet, Call, Storage, Event<T>} = 56,
|
||||
Assets: pallet_assets::<Instance1> = 50,
|
||||
Uniques: pallet_uniques = 51,
|
||||
Nfts: pallet_nfts = 52,
|
||||
ForeignAssets: pallet_assets::<Instance2> = 53,
|
||||
NftFractionalization: pallet_nft_fractionalization = 54,
|
||||
PoolAssets: pallet_assets::<Instance3> = 55,
|
||||
AssetConversion: pallet_asset_conversion = 56,
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@@ -666,68 +666,66 @@ construct_runtime!(
|
||||
pub enum Runtime
|
||||
{
|
||||
// System support stuff.
|
||||
System: frame_system::{Pallet, Call, Config<T>, Storage, Event<T>} = 0,
|
||||
ParachainSystem: cumulus_pallet_parachain_system::{
|
||||
Pallet, Call, Config<T>, Storage, Inherent, Event<T>, ValidateUnsigned,
|
||||
} = 1,
|
||||
Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 2,
|
||||
ParachainInfo: parachain_info::{Pallet, Storage, Config<T>} = 3,
|
||||
System: frame_system = 0,
|
||||
ParachainSystem: cumulus_pallet_parachain_system = 1,
|
||||
Timestamp: pallet_timestamp = 2,
|
||||
ParachainInfo: parachain_info = 3,
|
||||
|
||||
// Monetary stuff.
|
||||
Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 10,
|
||||
TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Event<T>} = 11,
|
||||
Balances: pallet_balances = 10,
|
||||
TransactionPayment: pallet_transaction_payment = 11,
|
||||
|
||||
// Collator support. The order of these 4 are important and shall not change.
|
||||
Authorship: pallet_authorship::{Pallet, Storage} = 20,
|
||||
CollatorSelection: pallet_collator_selection::{Pallet, Call, Storage, Event<T>, Config<T>} = 21,
|
||||
Session: pallet_session::{Pallet, Call, Storage, Event, Config<T>} = 22,
|
||||
Aura: pallet_aura::{Pallet, Storage, Config<T>} = 23,
|
||||
AuraExt: cumulus_pallet_aura_ext::{Pallet, Storage, Config<T>} = 24,
|
||||
Authorship: pallet_authorship = 20,
|
||||
CollatorSelection: pallet_collator_selection = 21,
|
||||
Session: pallet_session = 22,
|
||||
Aura: pallet_aura = 23,
|
||||
AuraExt: cumulus_pallet_aura_ext = 24,
|
||||
|
||||
// XCM helpers.
|
||||
XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event<T>} = 30,
|
||||
PolkadotXcm: pallet_xcm::{Pallet, Call, Storage, Event<T>, Origin, Config<T>} = 31,
|
||||
CumulusXcm: cumulus_pallet_xcm::{Pallet, Event<T>, Origin} = 32,
|
||||
XcmpQueue: cumulus_pallet_xcmp_queue = 30,
|
||||
PolkadotXcm: pallet_xcm = 31,
|
||||
CumulusXcm: cumulus_pallet_xcm = 32,
|
||||
|
||||
// Handy utilities.
|
||||
Utility: pallet_utility::{Pallet, Call, Event} = 40,
|
||||
Multisig: pallet_multisig::{Pallet, Call, Storage, Event<T>} = 36,
|
||||
Utility: pallet_utility = 40,
|
||||
Multisig: pallet_multisig = 36,
|
||||
|
||||
// Bridge relayers pallet, used by several bridges here.
|
||||
BridgeRelayers: pallet_bridge_relayers::{Pallet, Call, Storage, Event<T>} = 47,
|
||||
BridgeRelayers: pallet_bridge_relayers = 47,
|
||||
|
||||
// With-Westend GRANDPA bridge module.
|
||||
BridgeWestendGrandpa: pallet_bridge_grandpa::<Instance3>::{Pallet, Call, Storage, Event<T>, Config<T>} = 48,
|
||||
BridgeWestendGrandpa: pallet_bridge_grandpa::<Instance3> = 48,
|
||||
// With-Westend parachain bridge module.
|
||||
BridgeWestendParachains: pallet_bridge_parachains::<Instance3>::{Pallet, Call, Storage, Event<T>} = 49,
|
||||
BridgeWestendParachains: pallet_bridge_parachains::<Instance3> = 49,
|
||||
// With-Westend messaging bridge module.
|
||||
BridgeWestendMessages: pallet_bridge_messages::<Instance3>::{Pallet, Call, Storage, Event<T>, Config<T>} = 51,
|
||||
BridgeWestendMessages: pallet_bridge_messages::<Instance3> = 51,
|
||||
// With-Westend bridge hub pallet.
|
||||
XcmOverBridgeHubWestend: pallet_xcm_bridge_hub::<Instance1>::{Pallet} = 52,
|
||||
XcmOverBridgeHubWestend: pallet_xcm_bridge_hub::<Instance1> = 52,
|
||||
|
||||
// With-Rococo Bulletin GRANDPA bridge module.
|
||||
//
|
||||
// we can't use `BridgeRococoBulletinGrandpa` name here, because the same Bulletin runtime will be
|
||||
// used for both Rococo and Polkadot Bulletin chains AND this name affects runtime storage keys, used
|
||||
// by the relayer process
|
||||
BridgePolkadotBulletinGrandpa: pallet_bridge_grandpa::<Instance4>::{Pallet, Call, Storage, Event<T>, Config<T>} = 60,
|
||||
// we can't use `BridgeRococoBulletinGrandpa` name here, because the same Bulletin runtime
|
||||
// will be used for both Rococo and Polkadot Bulletin chains AND this name affects runtime
|
||||
// storage keys, used by the relayer process.
|
||||
BridgePolkadotBulletinGrandpa: pallet_bridge_grandpa::<Instance4> = 60,
|
||||
// With-Rococo Bulletin messaging bridge module.
|
||||
//
|
||||
// we can't use `BridgeRococoBulletinMessages` name here, because the same Bulletin runtime will be
|
||||
// used for both Rococo and Polkadot Bulletin chains AND this name affects runtime storage keys, used
|
||||
// by this runtime and the relayer process
|
||||
BridgePolkadotBulletinMessages: pallet_bridge_messages::<Instance4>::{Pallet, Call, Storage, Event<T>, Config<T>} = 61,
|
||||
// we can't use `BridgeRococoBulletinMessages` name here, because the same Bulletin runtime
|
||||
// will be used for both Rococo and Polkadot Bulletin chains AND this name affects runtime
|
||||
// storage keys, used by this runtime and the relayer process.
|
||||
BridgePolkadotBulletinMessages: pallet_bridge_messages::<Instance4> = 61,
|
||||
// With-Rococo Bulletin bridge hub pallet.
|
||||
XcmOverPolkadotBulletin: pallet_xcm_bridge_hub::<Instance2>::{Pallet} = 62,
|
||||
XcmOverPolkadotBulletin: pallet_xcm_bridge_hub::<Instance2> = 62,
|
||||
|
||||
EthereumInboundQueue: snowbridge_pallet_inbound_queue::{Pallet, Call, Storage, Event<T>} = 80,
|
||||
EthereumOutboundQueue: snowbridge_pallet_outbound_queue::{Pallet, Call, Storage, Event<T>} = 81,
|
||||
EthereumBeaconClient: snowbridge_pallet_ethereum_client::{Pallet, Call, Storage, Event<T>} = 82,
|
||||
EthereumSystem: snowbridge_pallet_system::{Pallet, Call, Storage, Config<T>, Event<T>} = 83,
|
||||
EthereumInboundQueue: snowbridge_pallet_inbound_queue = 80,
|
||||
EthereumOutboundQueue: snowbridge_pallet_outbound_queue = 81,
|
||||
EthereumBeaconClient: snowbridge_pallet_ethereum_client = 82,
|
||||
EthereumSystem: snowbridge_pallet_system = 83,
|
||||
|
||||
// Message Queue. Importantly, is registered last so that messages are processed after
|
||||
// the `on_initialize` hooks of bridging pallets.
|
||||
MessageQueue: pallet_message_queue::{Pallet, Call, Storage, Event<T>} = 250,
|
||||
MessageQueue: pallet_message_queue = 250,
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@@ -460,43 +460,41 @@ construct_runtime!(
|
||||
pub enum Runtime
|
||||
{
|
||||
// System support stuff.
|
||||
System: frame_system::{Pallet, Call, Config<T>, Storage, Event<T>} = 0,
|
||||
ParachainSystem: cumulus_pallet_parachain_system::{
|
||||
Pallet, Call, Config<T>, Storage, Inherent, Event<T>, ValidateUnsigned,
|
||||
} = 1,
|
||||
Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 2,
|
||||
ParachainInfo: parachain_info::{Pallet, Storage, Config<T>} = 3,
|
||||
System: frame_system = 0,
|
||||
ParachainSystem: cumulus_pallet_parachain_system = 1,
|
||||
Timestamp: pallet_timestamp = 2,
|
||||
ParachainInfo: parachain_info = 3,
|
||||
|
||||
// Monetary stuff.
|
||||
Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 10,
|
||||
TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Event<T>} = 11,
|
||||
Balances: pallet_balances = 10,
|
||||
TransactionPayment: pallet_transaction_payment = 11,
|
||||
|
||||
// Collator support. The order of these 4 are important and shall not change.
|
||||
Authorship: pallet_authorship::{Pallet, Storage} = 20,
|
||||
CollatorSelection: pallet_collator_selection::{Pallet, Call, Storage, Event<T>, Config<T>} = 21,
|
||||
Session: pallet_session::{Pallet, Call, Storage, Event, Config<T>} = 22,
|
||||
Aura: pallet_aura::{Pallet, Storage, Config<T>} = 23,
|
||||
AuraExt: cumulus_pallet_aura_ext::{Pallet, Storage, Config<T>} = 24,
|
||||
Authorship: pallet_authorship = 20,
|
||||
CollatorSelection: pallet_collator_selection = 21,
|
||||
Session: pallet_session = 22,
|
||||
Aura: pallet_aura = 23,
|
||||
AuraExt: cumulus_pallet_aura_ext = 24,
|
||||
|
||||
// XCM helpers.
|
||||
XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event<T>} = 30,
|
||||
PolkadotXcm: pallet_xcm::{Pallet, Call, Storage, Event<T>, Origin, Config<T>} = 31,
|
||||
CumulusXcm: cumulus_pallet_xcm::{Pallet, Event<T>, Origin} = 32,
|
||||
XcmpQueue: cumulus_pallet_xcmp_queue = 30,
|
||||
PolkadotXcm: pallet_xcm = 31,
|
||||
CumulusXcm: cumulus_pallet_xcm = 32,
|
||||
|
||||
// Handy utilities.
|
||||
Utility: pallet_utility::{Pallet, Call, Event} = 40,
|
||||
Multisig: pallet_multisig::{Pallet, Call, Storage, Event<T>} = 36,
|
||||
Utility: pallet_utility = 40,
|
||||
Multisig: pallet_multisig = 36,
|
||||
|
||||
// Bridging stuff.
|
||||
BridgeRelayers: pallet_bridge_relayers::{Pallet, Call, Storage, Event<T>} = 41,
|
||||
BridgeRococoGrandpa: pallet_bridge_grandpa::<Instance1>::{Pallet, Call, Storage, Event<T>, Config<T>} = 42,
|
||||
BridgeRococoParachains: pallet_bridge_parachains::<Instance1>::{Pallet, Call, Storage, Event<T>} = 43,
|
||||
BridgeRococoMessages: pallet_bridge_messages::<Instance1>::{Pallet, Call, Storage, Event<T>, Config<T>} = 44,
|
||||
XcmOverBridgeHubRococo: pallet_xcm_bridge_hub::<Instance1>::{Pallet} = 45,
|
||||
BridgeRelayers: pallet_bridge_relayers = 41,
|
||||
BridgeRococoGrandpa: pallet_bridge_grandpa::<Instance1> = 42,
|
||||
BridgeRococoParachains: pallet_bridge_parachains::<Instance1> = 43,
|
||||
BridgeRococoMessages: pallet_bridge_messages::<Instance1> = 44,
|
||||
XcmOverBridgeHubRococo: pallet_xcm_bridge_hub::<Instance1> = 45,
|
||||
|
||||
// Message Queue. Importantly, is registered last so that messages are processed after
|
||||
// the `on_initialize` hooks of bridging pallets.
|
||||
MessageQueue: pallet_message_queue::{Pallet, Call, Storage, Event<T>} = 250,
|
||||
MessageQueue: pallet_message_queue = 250,
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@@ -635,64 +635,62 @@ construct_runtime!(
|
||||
pub enum Runtime
|
||||
{
|
||||
// System support stuff.
|
||||
System: frame_system::{Pallet, Call, Config<T>, Storage, Event<T>} = 0,
|
||||
ParachainSystem: cumulus_pallet_parachain_system::{
|
||||
Pallet, Call, Config<T>, Storage, Inherent, Event<T>, ValidateUnsigned,
|
||||
} = 1,
|
||||
Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 2,
|
||||
ParachainInfo: parachain_info::{Pallet, Storage, Config<T>} = 3,
|
||||
System: frame_system = 0,
|
||||
ParachainSystem: cumulus_pallet_parachain_system = 1,
|
||||
Timestamp: pallet_timestamp = 2,
|
||||
ParachainInfo: parachain_info = 3,
|
||||
|
||||
// Monetary stuff.
|
||||
Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 10,
|
||||
TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Event<T>} = 11,
|
||||
Balances: pallet_balances = 10,
|
||||
TransactionPayment: pallet_transaction_payment = 11,
|
||||
|
||||
// Collator support. the order of these 5 are important and shall not change.
|
||||
Authorship: pallet_authorship::{Pallet, Storage} = 20,
|
||||
CollatorSelection: pallet_collator_selection::{Pallet, Call, Storage, Event<T>, Config<T>} = 21,
|
||||
Session: pallet_session::{Pallet, Call, Storage, Event, Config<T>} = 22,
|
||||
Aura: pallet_aura::{Pallet, Storage, Config<T>} = 23,
|
||||
AuraExt: cumulus_pallet_aura_ext::{Pallet, Storage, Config<T>} = 24,
|
||||
Authorship: pallet_authorship = 20,
|
||||
CollatorSelection: pallet_collator_selection = 21,
|
||||
Session: pallet_session = 22,
|
||||
Aura: pallet_aura = 23,
|
||||
AuraExt: cumulus_pallet_aura_ext = 24,
|
||||
|
||||
// XCM helpers.
|
||||
XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event<T>} = 30,
|
||||
PolkadotXcm: pallet_xcm::{Pallet, Call, Storage, Event<T>, Origin, Config<T>} = 31,
|
||||
CumulusXcm: cumulus_pallet_xcm::{Pallet, Event<T>, Origin} = 32,
|
||||
MessageQueue: pallet_message_queue::{Pallet, Call, Storage, Event<T>} = 34,
|
||||
XcmpQueue: cumulus_pallet_xcmp_queue = 30,
|
||||
PolkadotXcm: pallet_xcm = 31,
|
||||
CumulusXcm: cumulus_pallet_xcm = 32,
|
||||
MessageQueue: pallet_message_queue = 34,
|
||||
|
||||
// Handy utilities.
|
||||
Utility: pallet_utility::{Pallet, Call, Event} = 40,
|
||||
Multisig: pallet_multisig::{Pallet, Call, Storage, Event<T>} = 41,
|
||||
Proxy: pallet_proxy::{Pallet, Call, Storage, Event<T>} = 42,
|
||||
Preimage: pallet_preimage::{Pallet, Call, Storage, Event<T>, HoldReason} = 43,
|
||||
Scheduler: pallet_scheduler::{Pallet, Call, Storage, Event<T>} = 44,
|
||||
AssetRate: pallet_asset_rate::{Pallet, Call, Storage, Event<T>} = 45,
|
||||
Utility: pallet_utility = 40,
|
||||
Multisig: pallet_multisig = 41,
|
||||
Proxy: pallet_proxy = 42,
|
||||
Preimage: pallet_preimage = 43,
|
||||
Scheduler: pallet_scheduler = 44,
|
||||
AssetRate: pallet_asset_rate = 45,
|
||||
|
||||
// The main stage.
|
||||
|
||||
// The Alliance.
|
||||
Alliance: pallet_alliance::{Pallet, Call, Storage, Event<T>, Config<T>} = 50,
|
||||
AllianceMotion: pallet_collective::<Instance1>::{Pallet, Call, Storage, Origin<T>, Event<T>, Config<T>} = 51,
|
||||
Alliance: pallet_alliance = 50,
|
||||
AllianceMotion: pallet_collective::<Instance1> = 51,
|
||||
|
||||
// The Fellowship.
|
||||
// pub type FellowshipCollectiveInstance = pallet_ranked_collective::Instance1;
|
||||
FellowshipCollective: pallet_ranked_collective::<Instance1>::{Pallet, Call, Storage, Event<T>} = 60,
|
||||
FellowshipCollective: pallet_ranked_collective::<Instance1> = 60,
|
||||
// pub type FellowshipReferendaInstance = pallet_referenda::Instance1;
|
||||
FellowshipReferenda: pallet_referenda::<Instance1>::{Pallet, Call, Storage, Event<T>} = 61,
|
||||
FellowshipOrigins: pallet_fellowship_origins::{Origin} = 62,
|
||||
FellowshipReferenda: pallet_referenda::<Instance1> = 61,
|
||||
FellowshipOrigins: pallet_fellowship_origins = 62,
|
||||
// pub type FellowshipCoreInstance = pallet_core_fellowship::Instance1;
|
||||
FellowshipCore: pallet_core_fellowship::<Instance1>::{Pallet, Call, Storage, Event<T>} = 63,
|
||||
FellowshipCore: pallet_core_fellowship::<Instance1> = 63,
|
||||
// pub type FellowshipSalaryInstance = pallet_salary::Instance1;
|
||||
FellowshipSalary: pallet_salary::<Instance1>::{Pallet, Call, Storage, Event<T>} = 64,
|
||||
FellowshipSalary: pallet_salary::<Instance1> = 64,
|
||||
// pub type FellowshipTreasuryInstance = pallet_treasury::Instance1;
|
||||
FellowshipTreasury: pallet_treasury::<Instance1>::{Pallet, Call, Storage, Event<T>} = 65,
|
||||
FellowshipTreasury: pallet_treasury::<Instance1> = 65,
|
||||
|
||||
// Ambassador Program.
|
||||
AmbassadorCollective: pallet_ranked_collective::<Instance2>::{Pallet, Call, Storage, Event<T>} = 70,
|
||||
AmbassadorReferenda: pallet_referenda::<Instance2>::{Pallet, Call, Storage, Event<T>} = 71,
|
||||
AmbassadorOrigins: pallet_ambassador_origins::{Origin} = 72,
|
||||
AmbassadorCore: pallet_core_fellowship::<Instance2>::{Pallet, Call, Storage, Event<T>} = 73,
|
||||
AmbassadorSalary: pallet_salary::<Instance2>::{Pallet, Call, Storage, Event<T>} = 74,
|
||||
AmbassadorContent: pallet_collective_content::<Instance1>::{Pallet, Call, Storage, Event<T>} = 75,
|
||||
AmbassadorCollective: pallet_ranked_collective::<Instance2> = 70,
|
||||
AmbassadorReferenda: pallet_referenda::<Instance2> = 71,
|
||||
AmbassadorOrigins: pallet_ambassador_origins = 72,
|
||||
AmbassadorCore: pallet_core_fellowship::<Instance2> = 73,
|
||||
AmbassadorSalary: pallet_salary::<Instance2> = 74,
|
||||
AmbassadorContent: pallet_collective_content::<Instance1> = 75,
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@@ -376,40 +376,38 @@ construct_runtime!(
|
||||
pub enum Runtime
|
||||
{
|
||||
// System support stuff.
|
||||
System: frame_system::{Pallet, Call, Config<T>, Storage, Event<T>} = 0,
|
||||
ParachainSystem: cumulus_pallet_parachain_system::{
|
||||
Pallet, Call, Config<T>, Storage, Inherent, Event<T>, ValidateUnsigned,
|
||||
} = 1,
|
||||
RandomnessCollectiveFlip: pallet_insecure_randomness_collective_flip::{Pallet, Storage} = 2,
|
||||
Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 3,
|
||||
ParachainInfo: parachain_info::{Pallet, Storage, Config<T>} = 4,
|
||||
System: frame_system = 0,
|
||||
ParachainSystem: cumulus_pallet_parachain_system = 1,
|
||||
RandomnessCollectiveFlip: pallet_insecure_randomness_collective_flip = 2,
|
||||
Timestamp: pallet_timestamp = 3,
|
||||
ParachainInfo: parachain_info = 4,
|
||||
|
||||
// Monetary stuff.
|
||||
Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 10,
|
||||
TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Event<T>} = 11,
|
||||
Balances: pallet_balances = 10,
|
||||
TransactionPayment: pallet_transaction_payment = 11,
|
||||
|
||||
// Collator support. The order of these 5 are important and shall not change.
|
||||
Authorship: pallet_authorship::{Pallet, Storage} = 20,
|
||||
CollatorSelection: pallet_collator_selection::{Pallet, Call, Storage, Event<T>, Config<T>} = 21,
|
||||
Session: pallet_session::{Pallet, Call, Storage, Event, Config<T>} = 22,
|
||||
Aura: pallet_aura::{Pallet, Storage, Config<T>} = 23,
|
||||
AuraExt: cumulus_pallet_aura_ext::{Pallet, Storage, Config<T>} = 24,
|
||||
Authorship: pallet_authorship = 20,
|
||||
CollatorSelection: pallet_collator_selection = 21,
|
||||
Session: pallet_session = 22,
|
||||
Aura: pallet_aura = 23,
|
||||
AuraExt: cumulus_pallet_aura_ext = 24,
|
||||
|
||||
// XCM helpers.
|
||||
XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event<T>} = 30,
|
||||
PolkadotXcm: pallet_xcm::{Pallet, Call, Storage, Event<T>, Origin, Config<T>} = 31,
|
||||
CumulusXcm: cumulus_pallet_xcm::{Pallet, Event<T>, Origin} = 32,
|
||||
MessageQueue: pallet_message_queue::{Pallet, Call, Storage, Event<T>} = 34,
|
||||
XcmpQueue: cumulus_pallet_xcmp_queue = 30,
|
||||
PolkadotXcm: pallet_xcm = 31,
|
||||
CumulusXcm: cumulus_pallet_xcm = 32,
|
||||
MessageQueue: pallet_message_queue = 34,
|
||||
|
||||
// Smart Contracts.
|
||||
Contracts: pallet_contracts::{Pallet, Call, Storage, Event<T>, HoldReason} = 40,
|
||||
Contracts: pallet_contracts = 40,
|
||||
|
||||
// Handy utilities.
|
||||
Utility: pallet_utility::{Pallet, Call, Event} = 50,
|
||||
Multisig: pallet_multisig::{Pallet, Call, Storage, Event<T>} = 51,
|
||||
Utility: pallet_utility = 50,
|
||||
Multisig: pallet_multisig = 51,
|
||||
|
||||
// Sudo
|
||||
Sudo: pallet_sudo::{Pallet, Call, Config<T>, Event<T>, Storage} = 100,
|
||||
Sudo: pallet_sudo = 100,
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@@ -274,26 +274,24 @@ impl pallet_sudo::Config for Runtime {
|
||||
construct_runtime! {
|
||||
pub enum Runtime
|
||||
{
|
||||
System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>} = 0,
|
||||
ParachainSystem: cumulus_pallet_parachain_system::{
|
||||
Pallet, Call, Config<T>, Storage, Inherent, Event<T>, ValidateUnsigned,
|
||||
} = 1,
|
||||
ParachainInfo: parachain_info::{Pallet, Storage, Config<T>} = 2,
|
||||
Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 3,
|
||||
System: frame_system = 0,
|
||||
ParachainSystem: cumulus_pallet_parachain_system = 1,
|
||||
ParachainInfo: parachain_info = 2,
|
||||
Timestamp: pallet_timestamp = 3,
|
||||
|
||||
// DMP handler.
|
||||
CumulusXcm: cumulus_pallet_xcm::{Pallet, Call, Storage, Event<T>, Origin} = 10,
|
||||
MessageQueue: pallet_message_queue::{Pallet, Call, Storage, Event<T>} = 11,
|
||||
CumulusXcm: cumulus_pallet_xcm = 10,
|
||||
MessageQueue: pallet_message_queue = 11,
|
||||
|
||||
// The main stage.
|
||||
Glutton: pallet_glutton::{Pallet, Call, Storage, Event, Config<T>} = 20,
|
||||
Glutton: pallet_glutton = 20,
|
||||
|
||||
// Collator support
|
||||
Aura: pallet_aura::{Pallet, Storage, Config<T>} = 30,
|
||||
AuraExt: cumulus_pallet_aura_ext::{Pallet, Storage, Config<T>} = 31,
|
||||
Aura: pallet_aura = 30,
|
||||
AuraExt: cumulus_pallet_aura_ext = 31,
|
||||
|
||||
// Sudo.
|
||||
Sudo: pallet_sudo::{Pallet, Call, Storage, Event<T>, Config<T>} = 255,
|
||||
Sudo: pallet_sudo = 255,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -400,39 +400,37 @@ construct_runtime!(
|
||||
pub enum Runtime
|
||||
{
|
||||
// System support stuff.
|
||||
System: frame_system::{Pallet, Call, Config<T>, Storage, Event<T>} = 0,
|
||||
ParachainSystem: cumulus_pallet_parachain_system::{
|
||||
Pallet, Call, Config<T>, Storage, Inherent, Event<T>, ValidateUnsigned,
|
||||
} = 1,
|
||||
Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 2,
|
||||
ParachainInfo: parachain_info::{Pallet, Storage, Config<T>} = 3,
|
||||
System: frame_system = 0,
|
||||
ParachainSystem: cumulus_pallet_parachain_system = 1,
|
||||
Timestamp: pallet_timestamp = 2,
|
||||
ParachainInfo: parachain_info = 3,
|
||||
|
||||
// Monetary stuff.
|
||||
Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 10,
|
||||
TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Event<T>} = 11,
|
||||
Balances: pallet_balances = 10,
|
||||
TransactionPayment: pallet_transaction_payment = 11,
|
||||
|
||||
// Collator support. The order of these 5 are important and shall not change.
|
||||
Authorship: pallet_authorship::{Pallet, Storage} = 20,
|
||||
CollatorSelection: pallet_collator_selection::{Pallet, Call, Storage, Event<T>, Config<T>} = 21,
|
||||
Session: pallet_session::{Pallet, Call, Storage, Event, Config<T>} = 22,
|
||||
Aura: pallet_aura::{Pallet, Storage, Config<T>} = 23,
|
||||
AuraExt: cumulus_pallet_aura_ext::{Pallet, Storage, Config<T>} = 24,
|
||||
Authorship: pallet_authorship = 20,
|
||||
CollatorSelection: pallet_collator_selection = 21,
|
||||
Session: pallet_session = 22,
|
||||
Aura: pallet_aura = 23,
|
||||
AuraExt: cumulus_pallet_aura_ext = 24,
|
||||
|
||||
// XCM & related
|
||||
XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event<T>} = 30,
|
||||
PolkadotXcm: pallet_xcm::{Pallet, Call, Storage, Event<T>, Origin, Config<T>} = 31,
|
||||
CumulusXcm: cumulus_pallet_xcm::{Pallet, Event<T>, Origin} = 32,
|
||||
MessageQueue: pallet_message_queue::{Pallet, Call, Storage, Event<T>} = 34,
|
||||
XcmpQueue: cumulus_pallet_xcmp_queue = 30,
|
||||
PolkadotXcm: pallet_xcm = 31,
|
||||
CumulusXcm: cumulus_pallet_xcm = 32,
|
||||
MessageQueue: pallet_message_queue = 34,
|
||||
|
||||
// Handy utilities.
|
||||
Utility: pallet_utility::{Pallet, Call, Event} = 40,
|
||||
Multisig: pallet_multisig::{Pallet, Call, Storage, Event<T>} = 41,
|
||||
Utility: pallet_utility = 40,
|
||||
Multisig: pallet_multisig = 41,
|
||||
|
||||
// The main stage.
|
||||
Identity: pallet_identity::{Pallet, Call, Storage, Event<T>} = 50,
|
||||
Identity: pallet_identity = 50,
|
||||
|
||||
// To migrate deposits
|
||||
IdentityMigrator: identity_migrator::{Pallet, Call, Event<T>} = 248,
|
||||
IdentityMigrator: identity_migrator = 248,
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@@ -408,39 +408,37 @@ construct_runtime!(
|
||||
pub enum Runtime
|
||||
{
|
||||
// System support stuff.
|
||||
System: frame_system::{Pallet, Call, Config<T>, Storage, Event<T>} = 0,
|
||||
ParachainSystem: cumulus_pallet_parachain_system::{
|
||||
Pallet, Call, Config<T>, Storage, Inherent, Event<T>, ValidateUnsigned,
|
||||
} = 1,
|
||||
Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 2,
|
||||
ParachainInfo: parachain_info::{Pallet, Storage, Config<T>} = 3,
|
||||
System: frame_system = 0,
|
||||
ParachainSystem: cumulus_pallet_parachain_system = 1,
|
||||
Timestamp: pallet_timestamp = 2,
|
||||
ParachainInfo: parachain_info = 3,
|
||||
|
||||
// Monetary stuff.
|
||||
Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 10,
|
||||
TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Event<T>} = 11,
|
||||
Balances: pallet_balances = 10,
|
||||
TransactionPayment: pallet_transaction_payment = 11,
|
||||
|
||||
// Collator support. The order of these 5 are important and shall not change.
|
||||
Authorship: pallet_authorship::{Pallet, Storage} = 20,
|
||||
CollatorSelection: pallet_collator_selection::{Pallet, Call, Storage, Event<T>, Config<T>} = 21,
|
||||
Session: pallet_session::{Pallet, Call, Storage, Event, Config<T>} = 22,
|
||||
Aura: pallet_aura::{Pallet, Storage, Config<T>} = 23,
|
||||
AuraExt: cumulus_pallet_aura_ext::{Pallet, Storage, Config<T>} = 24,
|
||||
Authorship: pallet_authorship = 20,
|
||||
CollatorSelection: pallet_collator_selection = 21,
|
||||
Session: pallet_session = 22,
|
||||
Aura: pallet_aura = 23,
|
||||
AuraExt: cumulus_pallet_aura_ext = 24,
|
||||
|
||||
// XCM helpers.
|
||||
XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event<T>} = 30,
|
||||
PolkadotXcm: pallet_xcm::{Pallet, Call, Storage, Event<T>, Origin, Config<T>} = 31,
|
||||
CumulusXcm: cumulus_pallet_xcm::{Pallet, Event<T>, Origin} = 32,
|
||||
MessageQueue: pallet_message_queue::{Pallet, Call, Storage, Event<T>} = 34,
|
||||
XcmpQueue: cumulus_pallet_xcmp_queue = 30,
|
||||
PolkadotXcm: pallet_xcm = 31,
|
||||
CumulusXcm: cumulus_pallet_xcm = 32,
|
||||
MessageQueue: pallet_message_queue = 34,
|
||||
|
||||
// Handy utilities.
|
||||
Utility: pallet_utility::{Pallet, Call, Event} = 40,
|
||||
Multisig: pallet_multisig::{Pallet, Call, Storage, Event<T>} = 41,
|
||||
Utility: pallet_utility = 40,
|
||||
Multisig: pallet_multisig = 41,
|
||||
|
||||
// The main stage.
|
||||
Identity: pallet_identity::{Pallet, Call, Storage, Event<T>} = 50,
|
||||
Identity: pallet_identity = 50,
|
||||
|
||||
// To migrate deposits
|
||||
IdentityMigrator: identity_migrator::{Pallet, Call, Event<T>} = 248,
|
||||
IdentityMigrator: identity_migrator = 248,
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@@ -230,17 +230,15 @@ impl pallet_timestamp::Config for Runtime {
|
||||
construct_runtime! {
|
||||
pub enum Runtime
|
||||
{
|
||||
System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
|
||||
Sudo: pallet_sudo::{Pallet, Call, Storage, Config<T>, Event<T>},
|
||||
Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent},
|
||||
System: frame_system,
|
||||
Sudo: pallet_sudo,
|
||||
Timestamp: pallet_timestamp,
|
||||
|
||||
ParachainSystem: cumulus_pallet_parachain_system::{
|
||||
Pallet, Call, Config<T>, Storage, Inherent, Event<T>, ValidateUnsigned,
|
||||
},
|
||||
ParachainInfo: parachain_info::{Pallet, Storage, Config<T>},
|
||||
SoloToPara: cumulus_pallet_solo_to_para::{Pallet, Call, Storage, Event},
|
||||
Aura: pallet_aura::{Pallet, Storage, Config<T>},
|
||||
AuraExt: cumulus_pallet_aura_ext::{Pallet, Storage, Config<T>},
|
||||
ParachainSystem: cumulus_pallet_parachain_system,
|
||||
ParachainInfo: parachain_info,
|
||||
SoloToPara: cumulus_pallet_solo_to_para,
|
||||
Aura: pallet_aura,
|
||||
AuraExt: cumulus_pallet_aura_ext,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -258,19 +258,17 @@ impl pallet_timestamp::Config for Runtime {
|
||||
construct_runtime! {
|
||||
pub enum Runtime
|
||||
{
|
||||
System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
|
||||
Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent},
|
||||
System: frame_system,
|
||||
Timestamp: pallet_timestamp,
|
||||
|
||||
ParachainSystem: cumulus_pallet_parachain_system::{
|
||||
Pallet, Call, Config<T>, Storage, Inherent, Event<T>, ValidateUnsigned,
|
||||
},
|
||||
ParachainInfo: parachain_info::{Pallet, Storage, Config<T>},
|
||||
ParachainSystem: cumulus_pallet_parachain_system,
|
||||
ParachainInfo: parachain_info,
|
||||
|
||||
CumulusXcm: cumulus_pallet_xcm::{Pallet, Call, Storage, Event<T>, Origin},
|
||||
MessageQueue: pallet_message_queue::{Pallet, Call, Storage, Event<T>},
|
||||
CumulusXcm: cumulus_pallet_xcm,
|
||||
MessageQueue: pallet_message_queue,
|
||||
|
||||
Aura: pallet_aura::{Pallet, Storage, Config<T>},
|
||||
AuraExt: cumulus_pallet_aura_ext::{Pallet, Storage, Config<T>},
|
||||
Aura: pallet_aura,
|
||||
AuraExt: cumulus_pallet_aura_ext,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -634,36 +634,34 @@ construct_runtime!(
|
||||
pub enum Runtime
|
||||
{
|
||||
// System support stuff.
|
||||
System: frame_system::{Pallet, Call, Config<T>, Storage, Event<T>} = 0,
|
||||
ParachainSystem: cumulus_pallet_parachain_system::{
|
||||
Pallet, Call, Config<T>, Storage, Inherent, Event<T>, ValidateUnsigned,
|
||||
} = 1,
|
||||
Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 2,
|
||||
ParachainInfo: parachain_info::{Pallet, Storage, Config<T>} = 3,
|
||||
System: frame_system = 0,
|
||||
ParachainSystem: cumulus_pallet_parachain_system = 1,
|
||||
Timestamp: pallet_timestamp = 2,
|
||||
ParachainInfo: parachain_info = 3,
|
||||
|
||||
// Monetary stuff.
|
||||
Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 10,
|
||||
TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Event<T>} = 11,
|
||||
AssetTxPayment: pallet_asset_tx_payment::{Pallet, Event<T>} = 12,
|
||||
Balances: pallet_balances = 10,
|
||||
TransactionPayment: pallet_transaction_payment = 11,
|
||||
AssetTxPayment: pallet_asset_tx_payment = 12,
|
||||
|
||||
// Collator support. The order of these 4 are important and shall not change.
|
||||
Authorship: pallet_authorship::{Pallet, Storage} = 20,
|
||||
CollatorSelection: pallet_collator_selection::{Pallet, Call, Storage, Event<T>, Config<T>} = 21,
|
||||
Session: pallet_session::{Pallet, Call, Storage, Event, Config<T>} = 22,
|
||||
Aura: pallet_aura::{Pallet, Storage, Config<T>} = 23,
|
||||
AuraExt: cumulus_pallet_aura_ext::{Pallet, Storage, Config<T>} = 24,
|
||||
Authorship: pallet_authorship = 20,
|
||||
CollatorSelection: pallet_collator_selection = 21,
|
||||
Session: pallet_session = 22,
|
||||
Aura: pallet_aura = 23,
|
||||
AuraExt: cumulus_pallet_aura_ext = 24,
|
||||
|
||||
// XCM helpers.
|
||||
XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event<T>} = 30,
|
||||
PolkadotXcm: pallet_xcm::{Pallet, Call, Event<T>, Origin, Config<T>} = 31,
|
||||
CumulusXcm: cumulus_pallet_xcm::{Pallet, Event<T>, Origin} = 32,
|
||||
MessageQueue: pallet_message_queue::{Pallet, Call, Storage, Event<T>} = 34,
|
||||
XcmpQueue: cumulus_pallet_xcmp_queue = 30,
|
||||
PolkadotXcm: pallet_xcm = 31,
|
||||
CumulusXcm: cumulus_pallet_xcm = 32,
|
||||
MessageQueue: pallet_message_queue = 34,
|
||||
|
||||
// The main stage.
|
||||
Assets: pallet_assets::<Instance1>::{Pallet, Call, Storage, Event<T>} = 50,
|
||||
ForeignAssets: pallet_assets::<Instance2>::{Pallet, Call, Storage, Event<T>} = 51,
|
||||
Assets: pallet_assets::<Instance1> = 50,
|
||||
ForeignAssets: pallet_assets::<Instance2> = 51,
|
||||
|
||||
Sudo: pallet_sudo::{Pallet, Call, Storage, Event<T>, Config<T>} = 255,
|
||||
Sudo: pallet_sudo = 255,
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@@ -603,30 +603,28 @@ impl pallet_aura::Config for Runtime {
|
||||
construct_runtime! {
|
||||
pub enum Runtime
|
||||
{
|
||||
System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
|
||||
Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent},
|
||||
Sudo: pallet_sudo::{Pallet, Call, Storage, Config<T>, Event<T>},
|
||||
TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Event<T>},
|
||||
System: frame_system,
|
||||
Timestamp: pallet_timestamp,
|
||||
Sudo: pallet_sudo,
|
||||
TransactionPayment: pallet_transaction_payment,
|
||||
|
||||
ParachainSystem: cumulus_pallet_parachain_system::{
|
||||
Pallet, Call, Config<T>, Storage, Inherent, Event<T>, ValidateUnsigned,
|
||||
} = 20,
|
||||
ParachainInfo: parachain_info::{Pallet, Storage, Config<T>} = 21,
|
||||
ParachainSystem: cumulus_pallet_parachain_system = 20,
|
||||
ParachainInfo: parachain_info = 21,
|
||||
|
||||
Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 30,
|
||||
Assets: pallet_assets::{Pallet, Call, Storage, Event<T>} = 31,
|
||||
Balances: pallet_balances = 30,
|
||||
Assets: pallet_assets = 31,
|
||||
|
||||
Aura: pallet_aura::{Pallet, Config<T>},
|
||||
AuraExt: cumulus_pallet_aura_ext::{Pallet, Config<T>},
|
||||
Aura: pallet_aura,
|
||||
AuraExt: cumulus_pallet_aura_ext,
|
||||
|
||||
// XCM helpers.
|
||||
XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event<T>} = 50,
|
||||
PolkadotXcm: pallet_xcm::{Pallet, Call, Event<T>, Origin, Config<T>} = 51,
|
||||
CumulusXcm: cumulus_pallet_xcm::{Pallet, Call, Event<T>, Origin} = 52,
|
||||
XcmpQueue: cumulus_pallet_xcmp_queue = 50,
|
||||
PolkadotXcm: pallet_xcm = 51,
|
||||
CumulusXcm: cumulus_pallet_xcm = 52,
|
||||
// RIP DmpQueue 53
|
||||
MessageQueue: pallet_message_queue::{Pallet, Call, Storage, Event<T>} = 54,
|
||||
MessageQueue: pallet_message_queue = 54,
|
||||
|
||||
Spambot: cumulus_ping::{Pallet, Call, Storage, Event<T>} = 99,
|
||||
Spambot: cumulus_ping = 99,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user