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

difftreelog

fix enable foreign-assets for quartz

Daniel Shiposha2022-12-16parent: #9a4bd0b.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
@@ -82,7 +82,7 @@
                 #[runtimes(opal, quartz)]
                 AppPromotion: pallet_app_promotion::{Pallet, Call, Storage, Event<T>} = 73,
 
-                #[runtimes(opal)]
+                #[runtimes(opal, quartz)]
                 ForeignAssets: pallet_foreign_assets::{Pallet, Call, Storage, Event<T>} = 80,
 
                 // Frontier
modifiedruntime/quartz/Cargo.tomldiffbeforeafterboth
--- a/runtime/quartz/Cargo.toml
+++ b/runtime/quartz/Cargo.toml
@@ -169,7 +169,7 @@
     "pallet-maintenance/std",
 ]
 limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']
-quartz-runtime = ['refungible', 'app-promotion']
+quartz-runtime = ['refungible', 'app-promotion', 'foreign-assets']
 
 refungible = []
 scheduler = []
modifiedtests/src/pallet-presence.test.tsdiffbeforeafterboth
80 requiredPallets.push(80 requiredPallets.push(
81 refungible,81 refungible,
82 appPromotion,82 appPromotion,
83 foreignAssets,
83 );84 );
84 } else if (chain.eq('UNIQUE')) {85 } else if (chain.eq('UNIQUE')) {
85 // Insert Unique additional pallets here86 // Insert Unique additional pallets here