Skip to content

Commit

Permalink
hard code pallet indices equal to parachain (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
brenzi authored Feb 14, 2022
1 parent 2d17f5e commit 27d7e82
Showing 1 changed file with 18 additions and 14 deletions.
32 changes: 18 additions & 14 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -423,20 +423,24 @@ construct_runtime!(
NodeBlock = opaque::Block,
UncheckedExtrinsic = UncheckedExtrinsic
{
System: frame_system::{Pallet, Call, Config, Storage, Event<T>},
RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Pallet, Storage},
Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent},
Aura: pallet_aura::{Pallet, Config<T>},
Grandpa: pallet_grandpa::{Pallet, Call, Storage, Config, Event},
Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>},
TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Config},
Sudo: pallet_sudo::{Pallet, Call, Config<T>, Storage, Event<T>},
Proxy: pallet_proxy::{Pallet, Call, Storage, Event<T>},
EncointerScheduler: pallet_encointer_scheduler::{Pallet, Call, Storage, Config<T>, Event},
EncointerCeremonies: pallet_encointer_ceremonies::{Pallet, Call, Storage, Config<T>, Event<T>},
EncointerCommunities: pallet_encointer_communities::{Pallet, Call, Storage, Event<T>},
EncointerBalances: pallet_encointer_balances::{Pallet, Call, Storage, Event<T>},
EncointerBazaar: pallet_encointer_bazaar::{Pallet, Call, Storage, Event<T>},
System: frame_system::{Pallet, Call, Config, Storage, Event<T>} = 0,
RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Pallet, Storage} = 2,
Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 3,
Sudo: pallet_sudo::{Pallet, Call, Config<T>, Storage, Event<T>} = 5,

Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 10,
TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Config} = 11,

Aura: pallet_aura::{Pallet, Config<T>} = 23,
Grandpa: pallet_grandpa::{Pallet, Call, Storage, Config, Event} = 25,

Proxy: pallet_proxy::{Pallet, Call, Storage, Event<T>} = 44,

EncointerScheduler: pallet_encointer_scheduler::{Pallet, Call, Storage, Config<T>, Event} = 60,
EncointerCeremonies: pallet_encointer_ceremonies::{Pallet, Call, Storage, Config<T>, Event<T>} = 61,
EncointerCommunities: pallet_encointer_communities::{Pallet, Call, Storage, Event<T>} = 62,
EncointerBalances: pallet_encointer_balances::{Pallet, Call, Storage, Event<T>} = 63,
EncointerBazaar: pallet_encointer_bazaar::{Pallet, Call, Storage, Event<T>} = 64,
}
);

Expand Down

0 comments on commit 27d7e82

Please sign in to comment.