git.delta.rocks / unique-network / refs/commits / ceb51feb97c8

difftreelog

feat enable refungible for quartz

Grigoriy Simonov2022-09-19parent: #280815c.patch.diff
in: master

3 files changed

modifiedruntime/common/construct_runtime/mod.rsdiffbeforeafterboth
--- a/runtime/common/construct_runtime/mod.rs
+++ b/runtime/common/construct_runtime/mod.rs
@@ -65,7 +65,7 @@
                 Common: pallet_common::{Pallet, Storage, Event<T>} = 66,
                 Fungible: pallet_fungible::{Pallet, Storage} = 67,
 
-                #[runtimes(opal)]
+                #[runtimes(opal, quartz)]
                 Refungible: pallet_refungible::{Pallet, Storage} = 68,
 
                 Nonfungible: pallet_nonfungible::{Pallet, Storage} = 69,
modifiedruntime/quartz/Cargo.tomldiffbeforeafterboth
--- a/runtime/quartz/Cargo.toml
+++ b/runtime/quartz/Cargo.toml
@@ -120,7 +120,7 @@
     "orml-vesting/std",
 ]
 limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']
-quartz-runtime = []
+quartz-runtime = ['refungible']
 
 refungible = []
 scheduler = []
modifiedtests/src/pallet-presence.test.tsdiffbeforeafterboth
67 if (chain.eq('OPAL by UNIQUE')) {67 if (chain.eq('OPAL by UNIQUE')) {
68 requiredPallets.push(refungible, scheduler, appPromotion, ...rmrkPallets);68 requiredPallets.push(refungible, scheduler, appPromotion, ...rmrkPallets);
69 } else if (chain.eq('QUARTZ by UNIQUE')) {69 } else if (chain.eq('QUARTZ by UNIQUE')) {
70 // Insert Quartz additional pallets here70 requiredPallets.push(refungible);
71 } else if (chain.eq('UNIQUE')) {71 } else if (chain.eq('UNIQUE')) {
72 // Insert Unique additional pallets here72 // Insert Unique additional pallets here
73 }73 }