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
82 #[runtimes(opal, quartz)]82 #[runtimes(opal, quartz)]
83 AppPromotion: pallet_app_promotion::{Pallet, Call, Storage, Event<T>} = 73,83 AppPromotion: pallet_app_promotion::{Pallet, Call, Storage, Event<T>} = 73,
8484
85 #[runtimes(opal)]85 #[runtimes(opal, quartz)]
86 ForeignAssets: pallet_foreign_assets::{Pallet, Call, Storage, Event<T>} = 80,86 ForeignAssets: pallet_foreign_assets::{Pallet, Call, Storage, Event<T>} = 80,
8787
88 // Frontier88 // 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
--- a/tests/src/pallet-presence.test.ts
+++ b/tests/src/pallet-presence.test.ts
@@ -80,6 +80,7 @@
         requiredPallets.push(
           refungible,
           appPromotion,
+          foreignAssets,
         );
       } else if (chain.eq('UNIQUE')) {
         // Insert Unique additional pallets here