difftreelog
build(collator-selection) switch to quartz
in: master
5 files changed
node/cli/src/chain_spec.rsdiffbeforeafterboth--- a/node/cli/src/chain_spec.rs
+++ b/node/cli/src/chain_spec.rs
@@ -143,7 +143,7 @@
AccountPublic::from(get_from_seed::<TPublic>(seed)).into_account()
}
-#[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]
+#[cfg(feature = "quartz-runtime")]
macro_rules! testnet_genesis {
(
$runtime:path,
@@ -207,7 +207,7 @@
}};
}
-#[cfg(any(feature = "unique-runtime", feature = "quartz-runtime"))]
+#[cfg(not(feature = "quartz-runtime"))]
macro_rules! testnet_genesis {
(
$runtime:path,
runtime/common/construct_runtime/mod.rsdiffbeforeafterboth32 ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Config, Storage, Inherent, Event<T>, ValidateUnsigned} = 20,32 ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Config, Storage, Inherent, Event<T>, ValidateUnsigned} = 20,33 ParachainInfo: parachain_info::{Pallet, Storage, Config} = 21,33 ParachainInfo: parachain_info::{Pallet, Storage, Config} = 21,343435 #[runtimes(opal)]35 #[runtimes(quartz)]36 Authorship: pallet_authorship::{Pallet, Call, Storage} = 22,36 Authorship: pallet_authorship::{Pallet, Call, Storage} = 22,373738 #[runtimes(opal)]38 #[runtimes(quartz)]39 CollatorSelection: pallet_collator_selection::{Pallet, Call, Storage, Event<T>, Config<T>} = 23,39 CollatorSelection: pallet_collator_selection::{Pallet, Call, Storage, Event<T>, Config<T>} = 23,404041 #[runtimes(opal)]41 #[runtimes(quartz)]42 Session: pallet_session::{Pallet, Call, Storage, Event, Config<T>} = 24,42 Session: pallet_session::{Pallet, Call, Storage, Event, Config<T>} = 24,434344 Aura: pallet_aura::{Pallet, Config<T>} = 25,44 Aura: pallet_aura::{Pallet, Config<T>} = 25,56 Tokens: orml_tokens = 39,56 Tokens: orml_tokens = 39,57 // Contracts: pallet_contracts::{Pallet, Call, Storage, Event<T>} = 38,57 // Contracts: pallet_contracts::{Pallet, Call, Storage, Event<T>} = 38,585859 #[runtimes(opal)]59 #[runtimes(quartz)]60 Identity: pallet_identity::{Pallet, Call, Storage, Event<T>} = 40,60 Identity: pallet_identity::{Pallet, Call, Storage, Event<T>} = 40,616162 // XCM helpers.62 // XCM helpers.runtime/opal/Cargo.tomldiffbeforeafterboth--- a/runtime/opal/Cargo.toml
+++ b/runtime/opal/Cargo.toml
@@ -193,7 +193,6 @@
'refungible',
'rmrk',
'app-promotion',
- 'collator-selection',
'foreign-assets',
'pallet-test-utils',
]
runtime/quartz/Cargo.tomldiffbeforeafterboth--- a/runtime/quartz/Cargo.toml
+++ b/runtime/quartz/Cargo.toml
@@ -181,7 +181,7 @@
"pallet-maintenance/std",
]
limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']
-quartz-runtime = ['refungible', 'app-promotion', 'foreign-assets']
+quartz-runtime = ['refungible', 'app-promotion', 'collator-selection', 'foreign-assets']
pov-estimate = []
refungible = []
tests/src/pallet-presence.test.tsdiffbeforeafterboth--- a/tests/src/pallet-presence.test.ts
+++ b/tests/src/pallet-presence.test.ts
@@ -76,13 +76,13 @@
appPromotion,
testUtils,
...rmrkPallets,
- ...collatorSelection,
);
} else if (chain.eq('QUARTZ by UNIQUE')) {
requiredPallets.push(
refungible,
appPromotion,
foreignAssets,
+ ...collatorSelection,
);
} else if (chain.eq('UNIQUE')) {
// Insert Unique additional pallets here