From 2991c90e0c10a7141b4c59bd93e59525c983302b Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Mon, 16 Jan 2023 23:17:15 +0000 Subject: [PATCH] feat: enable collator selection on opal --- --- a/node/cli/src/chain_spec.rs +++ b/node/cli/src/chain_spec.rs @@ -143,7 +143,7 @@ AccountPublic::from(get_from_seed::(seed)).into_account() } -#[cfg(feature = "quartz-runtime")] +#[cfg(not(feature = "unique-runtime"))] macro_rules! testnet_genesis { ( $runtime:path, @@ -207,7 +207,7 @@ }}; } -#[cfg(not(feature = "quartz-runtime"))] +#[cfg(feature = "unique-runtime")] macro_rules! testnet_genesis { ( $runtime:path, --- a/runtime/opal/Cargo.toml +++ b/runtime/opal/Cargo.toml @@ -193,6 +193,7 @@ 'refungible', 'rmrk', 'app-promotion', + 'collator-selection', 'foreign-assets', 'pallet-test-utils', ] --- a/tests/src/pallet-presence.test.ts +++ b/tests/src/pallet-presence.test.ts @@ -76,6 +76,7 @@ appPromotion, testUtils, ...rmrkPallets, + ...collatorSelection, ); } else if (chain.eq('QUARTZ by UNIQUE') || chain.eq('SAPPHIRE by UNIQUE')) { requiredPallets.push( -- gitstuff