Skip to content

Commit 435d15c

Browse files
committed
fix and explicitly set pallet indicies
1 parent c23c7fd commit 435d15c

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

runtime/src/lib.rs

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,27 +1030,27 @@ impl pallet_admin_utils::Config for Runtime {
10301030
construct_runtime!(
10311031
pub struct Runtime
10321032
{
1033-
System: frame_system,
1034-
RandomnessCollectiveFlip: pallet_insecure_randomness_collective_flip,
1035-
Timestamp: pallet_timestamp,
1036-
Aura: pallet_aura,
1037-
Grandpa: pallet_grandpa,
1038-
Balances: pallet_balances,
1039-
TransactionPayment: pallet_transaction_payment,
1040-
SubtensorModule: pallet_subtensor,
1041-
Triumvirate: pallet_collective::<Instance1>::{Pallet, Call, Storage, Origin<T>, Event<T>, Config<T>},
1042-
TriumvirateMembers: pallet_membership::<Instance1>::{Pallet, Call, Storage, Event<T>, Config<T>},
1043-
SenateMembers: pallet_membership::<Instance2>::{Pallet, Call, Storage, Event<T>, Config<T>},
1044-
Utility: pallet_utility,
1045-
Sudo: pallet_sudo,
1046-
Multisig: pallet_multisig,
1047-
Preimage: pallet_preimage,
1048-
Proxy: pallet_proxy,
1049-
Registry: pallet_registry,
1050-
Commitments: pallet_commitments,
1051-
AdminUtils: pallet_admin_utils,
1052-
SafeMode: pallet_safe_mode,
1053-
Scheduler: pallet_scheduler,
1033+
System: frame_system = 0,
1034+
RandomnessCollectiveFlip: pallet_insecure_randomness_collective_flip = 1,
1035+
Timestamp: pallet_timestamp = 2,
1036+
Aura: pallet_aura = 3,
1037+
Grandpa: pallet_grandpa = 4,
1038+
Balances: pallet_balances = 5,
1039+
TransactionPayment: pallet_transaction_payment = 6,
1040+
SubtensorModule: pallet_subtensor = 7,
1041+
Triumvirate: pallet_collective::<Instance1>::{Pallet, Call, Storage, Origin<T>, Event<T>, Config<T>} = 8,
1042+
TriumvirateMembers: pallet_membership::<Instance1>::{Pallet, Call, Storage, Event<T>, Config<T>} = 9,
1043+
SenateMembers: pallet_membership::<Instance2>::{Pallet, Call, Storage, Event<T>, Config<T>} = 10,
1044+
Utility: pallet_utility = 11,
1045+
Sudo: pallet_sudo = 12,
1046+
Multisig: pallet_multisig = 13,
1047+
Preimage: pallet_preimage = 14,
1048+
Scheduler: pallet_scheduler = 15,
1049+
Proxy: pallet_proxy = 16,
1050+
Registry: pallet_registry = 17,
1051+
Commitments: pallet_commitments = 18,
1052+
AdminUtils: pallet_admin_utils = 19,
1053+
SafeMode: pallet_safe_mode = 20,
10541054
}
10551055
);
10561056

0 commit comments

Comments
 (0)