Skip to content

Commit bdaf7d0

Browse files
authored
Merge pull request #764 from opentensor/fix-pallet-indicies
Fix pallet indicies and specify them explicitly
2 parents c23c7fd + 9ddc2eb commit bdaf7d0

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

runtime/src/lib.rs

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
142142
// `spec_version`, and `authoring_version` are the same between Wasm and native.
143143
// This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
144144
// the compatible custom types.
145-
spec_version: 194,
145+
spec_version: 195,
146146
impl_version: 1,
147147
apis: RUNTIME_API_VERSIONS,
148148
transaction_version: 1,
@@ -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)