Skip to content

Commit 5c8690e

Browse files
fix: runtime pallet order
1 parent 24ffc88 commit 5c8690e

File tree

4 files changed

+17
-12
lines changed

4 files changed

+17
-12
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

launch-configs/chopsticks/basilisk.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,29 @@ mock-signature-host: true
33
#block: 2734198
44
db: ./db.sqlite
55
wasm-override: ./basilisk_runtime.compact.compressed.wasm
6+
#runtime-log-level: 5
67

78
import-storage:
89
System:
910
Account:
1011
-
1112
-
1213
- 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
13-
- data:
14-
free: 1000000000000000
14+
- providers: 1
15+
data:
16+
free: "1000000000000000000000"
1517
Tokens:
1618
Accounts:
1719
-
1820
-
1921
- 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
2022
- 2
2123
- free: '100000000000000000000'
24+
-
25+
-
26+
- 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
27+
- 1
28+
- free: '100000000000000000000'
2229
Council:
2330
Members: [5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY]
2431
TechnicalCommittee:

runtime/basilisk/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "basilisk-runtime"
3-
version = "114.0.0"
3+
version = "115.0.0"
44
authors = ["GalacticCouncil"]
55
edition = "2021"
66
homepage = "https://github.com/galacticcouncil/Basilisk-node"

runtime/basilisk/src/lib.rs

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
101101
spec_name: create_runtime_str!("basilisk"),
102102
impl_name: create_runtime_str!("basilisk"),
103103
authoring_version: 1,
104-
spec_version: 114,
104+
spec_version: 115,
105105
impl_version: 0,
106106
apis: RUNTIME_API_VERSIONS,
107107
transaction_version: 1,
@@ -167,6 +167,8 @@ construct_runtime!(
167167
Timestamp: pallet_timestamp = 1,
168168
Balances: pallet_balances = 2,
169169
TransactionPayment: pallet_transaction_payment exclude_parts { Config } = 3,
170+
// due to multi payment pallet prices, this needs to be initialized at the very beginning
171+
MultiTransactionPayment: pallet_transaction_multi_payment = 106,
170172
Treasury: pallet_treasury = 4,
171173
Utility: pallet_utility = 5,
172174
//NOTE: 6 - is used by Scheduler which must be after cumulus_pallet_parachain_system
@@ -190,14 +192,12 @@ construct_runtime!(
190192
Multisig: pallet_multisig = 22,
191193
StateTrieMigration: pallet_state_trie_migration = 23,
192194

193-
// Parachain and XCM - starts at index 50
195+
// The order of next 3 pallest is important
196+
RelayChainInfo: pallet_relaychain_info = 108,
197+
Scheduler: pallet_scheduler = 6,
194198
ParachainSystem: cumulus_pallet_parachain_system exclude_parts { Config } = 50,
195199
ParachainInfo: staging_parachain_info = 51,
196200

197-
//NOTE: Scheduler must be after ParachainSystem otherwise RelayChainBlockNumberProvider
198-
//will return 0 as current block number when used with Scheduler(democracy).
199-
Scheduler: pallet_scheduler = 6,
200-
201201
PolkadotXcm: pallet_xcm = 52,
202202
CumulusXcm: cumulus_pallet_xcm = 53,
203203
XcmpQueue: cumulus_pallet_xcmp_queue exclude_parts { Call } = 54,
@@ -210,8 +210,6 @@ construct_runtime!(
210210
Duster: pallet_duster = 102,
211211
LBP: pallet_lbp = 104,
212212
NFT: pallet_nft = 105,
213-
MultiTransactionPayment: pallet_transaction_multi_payment = 106,
214-
RelayChainInfo: pallet_relaychain_info = 108,
215213
Marketplace: pallet_marketplace = 109,
216214
TransactionPause: pallet_transaction_pause = 110,
217215
Router: pallet_route_executor = 111,

0 commit comments

Comments
 (0)