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.rsdiffbeforeafterboth--- a/runtime/common/construct_runtime/mod.rs
+++ b/runtime/common/construct_runtime/mod.rs
@@ -32,13 +32,13 @@
ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Config, Storage, Inherent, Event<T>, ValidateUnsigned} = 20,
ParachainInfo: parachain_info::{Pallet, Storage, Config} = 21,
- #[runtimes(opal)]
+ #[runtimes(quartz)]
Authorship: pallet_authorship::{Pallet, Call, Storage} = 22,
- #[runtimes(opal)]
+ #[runtimes(quartz)]
CollatorSelection: pallet_collator_selection::{Pallet, Call, Storage, Event<T>, Config<T>} = 23,
- #[runtimes(opal)]
+ #[runtimes(quartz)]
Session: pallet_session::{Pallet, Call, Storage, Event, Config<T>} = 24,
Aura: pallet_aura::{Pallet, Config<T>} = 25,
@@ -56,7 +56,7 @@
Tokens: orml_tokens = 39,
// Contracts: pallet_contracts::{Pallet, Call, Storage, Event<T>} = 38,
- #[runtimes(opal)]
+ #[runtimes(quartz)]
Identity: pallet_identity::{Pallet, Call, Storage, Event<T>} = 40,
// 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.tsdiffbeforeafterboth76 appPromotion,76 appPromotion,77 testUtils,77 testUtils,78 ...rmrkPallets,78 ...rmrkPallets,79 ...collatorSelection,80 );79 );81 } else if (chain.eq('QUARTZ by UNIQUE')) {80 } else if (chain.eq('QUARTZ by UNIQUE')) {82 requiredPallets.push(81 requiredPallets.push(83 refungible,82 refungible,84 appPromotion,83 appPromotion,85 foreignAssets,84 foreignAssets,85 ...collatorSelection,86 );86 );87 } else if (chain.eq('UNIQUE')) {87 } else if (chain.eq('UNIQUE')) {88 // Insert Unique additional pallets here88 // Insert Unique additional pallets here