git.delta.rocks / unique-network / refs/commits / 2991c90e0c10

difftreelog

feat enable collator selection on opal

Yaroslav Bolyukin2023-01-16parent: #1fa2619.patch.diff
in: master

3 files changed

modifiednode/cli/src/chain_spec.rsdiffbeforeafterboth
143 AccountPublic::from(get_from_seed::<TPublic>(seed)).into_account()143 AccountPublic::from(get_from_seed::<TPublic>(seed)).into_account()
144}144}
145145
146#[cfg(feature = "quartz-runtime")]146#[cfg(not(feature = "unique-runtime"))]
147macro_rules! testnet_genesis {147macro_rules! testnet_genesis {
148 (148 (
149 $runtime:path,149 $runtime:path,
207 }};207 }};
208}208}
209209
210#[cfg(not(feature = "quartz-runtime"))]210#[cfg(feature = "unique-runtime")]
211macro_rules! testnet_genesis {211macro_rules! testnet_genesis {
212 (212 (
213 $runtime:path,213 $runtime:path,
modifiedruntime/opal/Cargo.tomldiffbeforeafterboth
--- 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',
 ]
modifiedtests/src/pallet-presence.test.tsdiffbeforeafterboth
--- 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(