git.delta.rocks / unique-network / refs/commits / 9f1da529327c

difftreelog

fix test-pallet included only in opal

Daniel Shiposha2022-10-11parent: #18c626a.patch.diff
in: master

8 files changed

modifiedCargo.lockdiffbeforeafterboth
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -8805,7 +8805,6 @@
  "pallet-structure",
  "pallet-sudo",
  "pallet-template-transaction-payment",
- "pallet-test-utils",
  "pallet-timestamp",
  "pallet-transaction-payment",
  "pallet-transaction-payment-rpc-runtime-api",
@@ -12879,7 +12878,6 @@
  "pallet-structure",
  "pallet-sudo",
  "pallet-template-transaction-payment",
- "pallet-test-utils",
  "pallet-timestamp",
  "pallet-transaction-payment",
  "pallet-transaction-payment-rpc-runtime-api",
modifiednode/cli/Cargo.tomldiffbeforeafterboth
--- a/node/cli/Cargo.toml
+++ b/node/cli/Cargo.toml
@@ -335,8 +335,3 @@
     'quartz-runtime?/try-runtime',
     'opal-runtime?/try-runtime',
 ]
-
-test-pallets = [
-    'unique-runtime?/test-pallets',
-    'quartz-runtime?/test-pallets',
-]
modifiedruntime/common/config/mod.rsdiffbeforeafterboth
--- a/runtime/common/config/mod.rs
+++ b/runtime/common/config/mod.rs
@@ -22,5 +22,5 @@
 pub mod substrate;
 pub mod xcm;
 
-#[cfg(feature = "test-pallets")]
+#[cfg(feature = "pallet-test-utils")]
 pub mod test_pallets;
modifiedruntime/common/construct_runtime/mod.rsdiffbeforeafterboth
--- a/runtime/common/construct_runtime/mod.rs
+++ b/runtime/common/construct_runtime/mod.rs
@@ -94,10 +94,8 @@
                 EvmTransactionPayment: pallet_evm_transaction_payment::{Pallet} = 152,
                 EvmMigration: pallet_evm_migration::{Pallet, Call, Storage} = 153,
 
-                #[test_pallets]
-                {
-                    TestUtils: pallet_test_utils,
-                }
+                #[runtimes(opal)]
+                TestUtils: pallet_test_utils = 255,
             }
         }
     }
modifiedruntime/common/construct_runtime/util.rsdiffbeforeafterboth
--- a/runtime/common/construct_runtime/util.rs
+++ b/runtime/common/construct_runtime/util.rs
@@ -27,24 +27,11 @@
                 $pallet_name:ident: $pallet_mod:ident$(::{$($pallet_parts:ty),*})? = $index:literal
             ),*
             $(,)?
-
-            #[test_pallets]
-            {
-                $(
-                    $test_pallet_name:ident: $test_pallet_mod:ident
-                ),*
-                $(,)?
-            }
         }
     ) => {
         $crate::construct_runtime_helper! {
             select_runtime($select_runtime),
             selected_pallets(),
-            test_pallets(
-                $(
-                    $test_pallet_name: $test_pallet_mod
-                ),*
-            ),
 
             where_clause($($where_ident = $where_ty),*),
             pallets(
@@ -62,7 +49,6 @@
     (
         select_runtime($select_runtime:ident),
         selected_pallets($($selected_pallets:tt)*),
-        test_pallets($($test_pallets:tt)*),
 
         where_clause($($where_clause:tt)*),
         pallets(
@@ -76,7 +62,6 @@
             select_runtime($select_runtime),
             runtimes($($pallet_runtimes),+,),
             selected_pallets($($selected_pallets)*),
-            test_pallets($($test_pallets)*),
 
             where_clause($($where_clause)*),
             pallets(
@@ -89,7 +74,6 @@
     (
         select_runtime($select_runtime:ident),
         selected_pallets($($selected_pallets:tt)*),
-        test_pallets($($test_pallets:tt)*),
 
         where_clause($($where_clause:tt)*),
         pallets(
@@ -104,7 +88,6 @@
                 $($selected_pallets)*
                 $pallet_name: $pallet_mod$(::{$($pallet_parts),*})? = $index,
             ),
-            test_pallets($($test_pallets)*),
 
             where_clause($($where_clause)*),
             pallets($($pallets_tl)*)
@@ -114,12 +97,10 @@
     (
         select_runtime($select_runtime:ident),
         selected_pallets($($selected_pallets:tt)*),
-        test_pallets($($test_pallets:tt)*),
 
         where_clause($($where_clause:tt)*),
         pallets()
     ) => {
-        #[cfg(not(feature = "test-pallets"))]
         frame_support::construct_runtime! {
             pub enum Runtime where
                 $($where_clause)*
@@ -127,16 +108,6 @@
                 $($selected_pallets)*
             }
         }
-
-        #[cfg(feature = "test-pallets")]
-        frame_support::construct_runtime! {
-            pub enum Runtime where
-                $($where_clause)*
-            {
-                $($selected_pallets)*
-                $($test_pallets)*
-            }
-        }
     };
 }
 
@@ -146,7 +117,6 @@
         select_runtime(opal),
         runtimes(opal, $($_runtime_tl:tt)*),
         selected_pallets($($selected_pallets:tt)*),
-        test_pallets($($test_pallets:tt)*),
 
         where_clause($($where_clause:tt)*),
         pallets(
@@ -160,7 +130,6 @@
                 $($selected_pallets)*
                 $pallet_name: $pallet_mod$(::{$($pallet_parts),*})? = $index,
             ),
-            test_pallets($($test_pallets)*),
 
             where_clause($($where_clause)*),
             pallets($($pallets_tl)*)
@@ -171,7 +140,6 @@
         select_runtime(quartz),
         runtimes(quartz, $($_runtime_tl:tt)*),
         selected_pallets($($selected_pallets:tt)*),
-        test_pallets($($test_pallets:tt)*),
 
         where_clause($($where_clause:tt)*),
         pallets(
@@ -185,7 +153,6 @@
                 $($selected_pallets)*
                 $pallet_name: $pallet_mod$(::{$($pallet_parts),*})? = $index,
             ),
-            test_pallets($($test_pallets)*),
 
             where_clause($($where_clause)*),
             pallets($($pallets_tl)*)
@@ -196,7 +163,6 @@
         select_runtime(unique),
         runtimes(unique, $($_runtime_tl:tt)*),
         selected_pallets($($selected_pallets:tt)*),
-        test_pallets($($test_pallets:tt)*),
 
         where_clause($($where_clause:tt)*),
         pallets(
@@ -210,7 +176,6 @@
                 $($selected_pallets)*
                 $pallet_name: $pallet_mod$(::{$($pallet_parts),*})? = $index,
             ),
-            test_pallets($($test_pallets)*),
 
             where_clause($($where_clause)*),
             pallets($($pallets_tl)*)
@@ -221,7 +186,6 @@
         select_runtime($select_runtime:ident),
         runtimes($_current_runtime:ident, $($runtime_tl:tt)*),
         selected_pallets($($selected_pallets:tt)*),
-        test_pallets($($test_pallets:tt)*),
 
         where_clause($($where_clause:tt)*),
         pallets($($pallets:tt)*)
@@ -230,7 +194,6 @@
             select_runtime($select_runtime),
             runtimes($($runtime_tl)*),
             selected_pallets($($selected_pallets)*),
-            test_pallets($($test_pallets)*),
 
             where_clause($($where_clause)*),
             pallets($($pallets)*)
@@ -241,7 +204,6 @@
         select_runtime($select_runtime:ident),
         runtimes(),
         selected_pallets($($selected_pallets:tt)*),
-        test_pallets($($test_pallets:tt)*),
 
         where_clause($($where_clause:tt)*),
         pallets(
@@ -252,7 +214,6 @@
         $crate::construct_runtime_helper! {
             select_runtime($select_runtime),
             selected_pallets($($selected_pallets)*),
-            test_pallets($($test_pallets)*),
 
             where_clause($($where_clause)*),
             pallets($($pallets_tl)*)
modifiedruntime/opal/Cargo.tomldiffbeforeafterboth
--- a/runtime/opal/Cargo.toml
+++ b/runtime/opal/Cargo.toml
@@ -170,9 +170,8 @@
 
     'pallet-test-utils?/std',
 ]
-test-pallets = ['pallet-test-utils']
 limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']
-opal-runtime = ['refungible', 'rmrk', 'app-promotion', 'foreign-assets']
+opal-runtime = ['refungible', 'scheduler', 'rmrk', 'app-promotion', 'foreign-assets', 'pallet-test-utils']
 
 refungible = []
 scheduler = []
modifiedruntime/quartz/Cargo.tomldiffbeforeafterboth
before · runtime/quartz/Cargo.toml
1################################################################################2# Package34cargo-features = ["workspace-inheritance"]56[package]7authors = ['Unique Network <support@uniquenetwork.io>']8build = 'build.rs'9description = 'Quartz Runtime'10edition = '2021'11homepage = 'https://unique.network'12license = 'GPLv3'13name = 'quartz-runtime'14repository = 'https://github.com/UniqueNetwork/unique-chain'15version = '0.9.30'1617[package.metadata.docs.rs]18targets = ['x86_64-unknown-linux-gnu']1920[features]21default = ['std', 'quartz-runtime']22runtime-benchmarks = [23    'hex-literal',24    'frame-benchmarking',25    'frame-support/runtime-benchmarks',26    'frame-system-benchmarking',27    'frame-system/runtime-benchmarks',28    'pallet-ethereum/runtime-benchmarks',29    'pallet-evm-migration/runtime-benchmarks',30    'pallet-evm-coder-substrate/runtime-benchmarks',31    'pallet-balances/runtime-benchmarks',32    'pallet-timestamp/runtime-benchmarks',33    'pallet-common/runtime-benchmarks',34    'pallet-structure/runtime-benchmarks',35    'pallet-fungible/runtime-benchmarks',36    'pallet-refungible/runtime-benchmarks',37    'pallet-nonfungible/runtime-benchmarks',38    'pallet-proxy-rmrk-core/runtime-benchmarks',39    'pallet-proxy-rmrk-equip/runtime-benchmarks',40    'pallet-unique/runtime-benchmarks',41    'pallet-foreign-assets/runtime-benchmarks',42    'pallet-inflation/runtime-benchmarks',43    'pallet-unique-scheduler/runtime-benchmarks',44    'pallet-xcm/runtime-benchmarks',45    'sp-runtime/runtime-benchmarks',46    'xcm-builder/runtime-benchmarks',47]48try-runtime = [49    'frame-try-runtime',50    'frame-executive/try-runtime',51    'frame-support/try-runtime',52    'frame-system/try-runtime',53    'cumulus-pallet-parachain-system/try-runtime',54    'parachain-info/try-runtime',55    'pallet-aura/try-runtime',56    'cumulus-pallet-aura-ext/try-runtime',57    'pallet-balances/try-runtime',58    'pallet-randomness-collective-flip/try-runtime',59    'pallet-timestamp/try-runtime',60    'pallet-transaction-payment/try-runtime',61    'pallet-treasury/try-runtime',62    'pallet-sudo/try-runtime',63    'orml-vesting/try-runtime',64    'orml-xtokens/try-runtime',65    'orml-tokens/try-runtime',66    'cumulus-pallet-xcmp-queue/try-runtime',67    'pallet-xcm/try-runtime',68    'cumulus-pallet-xcm/try-runtime',69    'cumulus-pallet-dmp-queue/try-runtime',70    'pallet-inflation/try-runtime',71    'pallet-unique/try-runtime',72    'pallet-unique-scheduler/try-runtime',73    'pallet-configuration/try-runtime',74    'pallet-charge-transaction/try-runtime',75    'pallet-common/try-runtime',76    'pallet-fungible/try-runtime',77    'pallet-refungible/try-runtime',78    'pallet-nonfungible/try-runtime',79    'pallet-structure/try-runtime',80    'pallet-proxy-rmrk-core/try-runtime',81    'pallet-proxy-rmrk-equip/try-runtime',82    'pallet-app-promotion/try-runtime',83    'pallet-foreign-assets/try-runtime',84    'pallet-evm/try-runtime',85    'pallet-ethereum/try-runtime',86    'pallet-evm-coder-substrate/try-runtime',87    'pallet-evm-contract-helpers/try-runtime',88    'pallet-evm-transaction-payment/try-runtime',89    'pallet-evm-migration/try-runtime',90]91std = [92    'codec/std',93    'cumulus-pallet-aura-ext/std',94    'cumulus-pallet-parachain-system/std',95    'cumulus-pallet-xcm/std',96    'cumulus-pallet-xcmp-queue/std',97    'cumulus-primitives-core/std',98    'cumulus-primitives-utility/std',99    'frame-try-runtime/std',100    'frame-executive/std',101    'frame-support/std',102    'frame-system/std',103    'frame-system-rpc-runtime-api/std',104    'pallet-aura/std',105    'pallet-balances/std',106    # 'pallet-contracts/std',107    # 'pallet-contracts-primitives/std',108    # 'pallet-contracts-rpc-runtime-api/std',109    # 'pallet-contract-helpers/std',110    'pallet-randomness-collective-flip/std',111    'pallet-sudo/std',112    'pallet-timestamp/std',113    'pallet-transaction-payment/std',114    'pallet-transaction-payment-rpc-runtime-api/std',115    'pallet-treasury/std',116    'pallet-evm/std',117    'pallet-evm-migration/std',118    'pallet-evm-contract-helpers/std',119    'pallet-evm-transaction-payment/std',120    'pallet-evm-coder-substrate/std',121    'pallet-ethereum/std',122    'pallet-base-fee/std',123    'fp-rpc/std',124    'up-rpc/std',125    'app-promotion-rpc/std',126    'fp-evm-mapping/std',127    'fp-self-contained/std',128    'parachain-info/std',129    'serde',130    'pallet-inflation/std',131    'pallet-configuration/std',132    'pallet-common/std',133    'pallet-structure/std',134    'pallet-fungible/std',135    'pallet-refungible/std',136    'pallet-nonfungible/std',137    'pallet-proxy-rmrk-core/std',138    'pallet-proxy-rmrk-equip/std',139    'pallet-unique/std',140    'pallet-unique-scheduler/std',141    'pallet-charge-transaction/std',142    'up-data-structs/std',143    'sp-api/std',144    'sp-block-builder/std',145    "sp-consensus-aura/std",146    'sp-core/std',147    'sp-inherents/std',148    'sp-io/std',149    'sp-offchain/std',150    'sp-runtime/std',151    'sp-session/std',152    'sp-std/std',153    'sp-transaction-pool/std',154    'sp-version/std',155    'xcm/std',156    'xcm-builder/std',157    'xcm-executor/std',158    'up-common/std',159    'rmrk-rpc/std',160    'evm-coder/std',161    'up-sponsorship/std',162163    "orml-vesting/std",164    "orml-tokens/std",165    "orml-xtokens/std",166    "orml-traits/std",167    "pallet-foreign-assets/std",168169    'pallet-test-utils?/std',170]171test-pallets = ['pallet-test-utils']172limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']173quartz-runtime = ['refungible']174175refungible = []176scheduler = []177rmrk = []178foreign-assets = []179180################################################################################181# Substrate Dependencies182183[dependencies.codec]184default-features = false185features = ['derive']186package = 'parity-scale-codec'187version = '3.1.2'188189[dependencies.frame-benchmarking]190default-features = false191git = "https://github.com/paritytech/substrate"192optional = true193branch = "polkadot-v0.9.30"194195[dependencies.frame-try-runtime]196default-features = false197git = "https://github.com/paritytech/substrate"198optional = true199branch = "polkadot-v0.9.30"200201[dependencies.frame-executive]202default-features = false203git = "https://github.com/paritytech/substrate"204branch = "polkadot-v0.9.30"205206[dependencies.frame-support]207default-features = false208git = "https://github.com/paritytech/substrate"209branch = "polkadot-v0.9.30"210211[dependencies.frame-system]212default-features = false213git = "https://github.com/paritytech/substrate"214branch = "polkadot-v0.9.30"215216[dependencies.frame-system-benchmarking]217default-features = false218git = "https://github.com/paritytech/substrate"219optional = true220branch = "polkadot-v0.9.30"221222[dependencies.frame-system-rpc-runtime-api]223default-features = false224git = "https://github.com/paritytech/substrate"225branch = "polkadot-v0.9.30"226227[dependencies.hex-literal]228optional = true229version = '0.3.3'230231[dependencies.serde]232default-features = false233features = ['derive']234optional = true235version = '1.0.130'236237[dependencies.pallet-aura]238default-features = false239git = "https://github.com/paritytech/substrate"240branch = "polkadot-v0.9.30"241242[dependencies.pallet-balances]243default-features = false244git = "https://github.com/paritytech/substrate"245branch = "polkadot-v0.9.30"246247# Contracts specific packages248# [dependencies.pallet-contracts]249# git = 'https://github.com/paritytech/substrate'250# default-features = false251# branch = 'master'252# version = '4.0.0-dev'253254# [dependencies.pallet-contracts-primitives]255# git = 'https://github.com/paritytech/substrate'256# default-features = false257# branch = 'master'258# version = '4.0.0-dev'259260# [dependencies.pallet-contracts-rpc-runtime-api]261# git = 'https://github.com/paritytech/substrate'262# default-features = false263# branch = 'master'264# version = '4.0.0-dev'265266[dependencies.pallet-randomness-collective-flip]267default-features = false268git = "https://github.com/paritytech/substrate"269branch = "polkadot-v0.9.30"270271[dependencies.pallet-sudo]272default-features = false273git = "https://github.com/paritytech/substrate"274branch = "polkadot-v0.9.30"275276[dependencies.pallet-timestamp]277default-features = false278git = "https://github.com/paritytech/substrate"279branch = "polkadot-v0.9.30"280281[dependencies.pallet-transaction-payment]282default-features = false283git = "https://github.com/paritytech/substrate"284branch = "polkadot-v0.9.30"285286[dependencies.pallet-transaction-payment-rpc-runtime-api]287default-features = false288git = "https://github.com/paritytech/substrate"289branch = "polkadot-v0.9.30"290291[dependencies.pallet-treasury]292default-features = false293git = "https://github.com/paritytech/substrate"294branch = "polkadot-v0.9.30"295296[dependencies.sp-arithmetic]297default-features = false298git = "https://github.com/paritytech/substrate"299branch = "polkadot-v0.9.30"300301[dependencies.sp-api]302default-features = false303git = "https://github.com/paritytech/substrate"304branch = "polkadot-v0.9.30"305306[dependencies.sp-block-builder]307default-features = false308git = "https://github.com/paritytech/substrate"309branch = "polkadot-v0.9.30"310311[dependencies.sp-core]312default-features = false313git = "https://github.com/paritytech/substrate"314branch = "polkadot-v0.9.30"315316[dependencies.sp-consensus-aura]317default-features = false318git = "https://github.com/paritytech/substrate"319branch = "polkadot-v0.9.30"320321[dependencies.sp-inherents]322default-features = false323git = "https://github.com/paritytech/substrate"324branch = "polkadot-v0.9.30"325326[dependencies.sp-io]327default-features = false328git = "https://github.com/paritytech/substrate"329branch = "polkadot-v0.9.30"330331[dependencies.sp-offchain]332default-features = false333git = "https://github.com/paritytech/substrate"334branch = "polkadot-v0.9.30"335336[dependencies.sp-runtime]337default-features = false338git = "https://github.com/paritytech/substrate"339branch = "polkadot-v0.9.30"340341[dependencies.sp-session]342default-features = false343git = "https://github.com/paritytech/substrate"344branch = "polkadot-v0.9.30"345346[dependencies.sp-std]347default-features = false348git = "https://github.com/paritytech/substrate"349branch = "polkadot-v0.9.30"350351[dependencies.sp-transaction-pool]352default-features = false353git = "https://github.com/paritytech/substrate"354branch = "polkadot-v0.9.30"355356[dependencies.sp-version]357default-features = false358git = "https://github.com/paritytech/substrate"359branch = "polkadot-v0.9.30"360361[dependencies.smallvec]362version = '1.6.1'363364################################################################################365# Cumulus dependencies366367[dependencies.parachain-info]368default-features = false369git = "https://github.com/paritytech/cumulus"370branch = "polkadot-v0.9.30"371372[dependencies.cumulus-pallet-aura-ext]373git = "https://github.com/paritytech/cumulus"374branch = "polkadot-v0.9.30"375default-features = false376377[dependencies.cumulus-pallet-parachain-system]378git = "https://github.com/paritytech/cumulus"379branch = "polkadot-v0.9.30"380default-features = false381382[dependencies.cumulus-primitives-core]383git = "https://github.com/paritytech/cumulus"384branch = "polkadot-v0.9.30"385default-features = false386387[dependencies.cumulus-pallet-xcm]388git = "https://github.com/paritytech/cumulus"389branch = "polkadot-v0.9.30"390default-features = false391392[dependencies.cumulus-pallet-dmp-queue]393git = "https://github.com/paritytech/cumulus"394branch = "polkadot-v0.9.30"395default-features = false396397[dependencies.cumulus-pallet-xcmp-queue]398git = "https://github.com/paritytech/cumulus"399branch = "polkadot-v0.9.30"400default-features = false401402[dependencies.cumulus-primitives-utility]403git = "https://github.com/paritytech/cumulus"404branch = "polkadot-v0.9.30"405default-features = false406407[dependencies.cumulus-primitives-timestamp]408git = "https://github.com/paritytech/cumulus"409branch = "polkadot-v0.9.30"410default-features = false411412################################################################################413# Polkadot dependencies414415[dependencies.polkadot-parachain]416git = "https://github.com/paritytech/polkadot"417branch = "release-v0.9.30"418default-features = false419420[dependencies.xcm]421git = "https://github.com/paritytech/polkadot"422branch = "release-v0.9.30"423default-features = false424425[dependencies.xcm-builder]426git = "https://github.com/paritytech/polkadot"427branch = "release-v0.9.30"428default-features = false429430[dependencies.xcm-executor]431git = "https://github.com/paritytech/polkadot"432branch = "release-v0.9.30"433default-features = false434435[dependencies.pallet-xcm]436git = "https://github.com/paritytech/polkadot"437branch = "release-v0.9.30"438default-features = false439440################################################################################441# RMRK dependencies442443# todo git444[dependencies.rmrk-rpc]445default-features = false446path = "../../primitives/rmrk-rpc"447448################################################################################449# local dependencies450451[dependencies]452orml-vesting.workspace = true453orml-xtokens.workspace = true454orml-tokens.workspace = true455orml-traits.workspace = true456457log = { version = "0.4.16", default-features = false }458up-common = { path = "../../primitives/common", default-features = false }459scale-info = { version = "2.0.1", default-features = false, features = [460    "derive",461] }462derivative = "2.2.0"463pallet-unique = { path = '../../pallets/unique', default-features = false }464up-rpc = { path = "../../primitives/rpc", default-features = false }465app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false }466fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }467pallet-inflation = { path = '../../pallets/inflation', default-features = false }468pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }469up-data-structs = { path = '../../primitives/data-structs', default-features = false }470pallet-configuration = { default-features = false, path = "../../pallets/configuration" }471pallet-common = { default-features = false, path = "../../pallets/common" }472pallet-structure = { default-features = false, path = "../../pallets/structure" }473pallet-fungible = { default-features = false, path = "../../pallets/fungible" }474pallet-refungible = { default-features = false, path = "../../pallets/refungible" }475pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }476pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" }477pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }478pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }479# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }480pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.30", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }481pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }482pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }483pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }484pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }485pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }486pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }487pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }488fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }489fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }490evm-coder = { default-features = false, path = '../../crates/evm-coder' }491up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = 'polkadot-v0.9.30' }492pallet-foreign-assets = { default-features = false, path = "../../pallets/foreign-assets" }493494################################################################################495# Test dependencies496497pallet-test-utils = { optional = true, default-features = false, path = "../../test-pallets/utils" }498499################################################################################500# Other Dependencies501502impl-trait-for-tuples = "0.2.2"503504################################################################################505# Dev Dependencies506507[dev-dependencies.logtest]508version = "2.0.0"509510################################################################################511# Build Dependencies512513[build-dependencies.substrate-wasm-builder]514git = "https://github.com/paritytech/substrate"515branch = "polkadot-v0.9.30"
after · runtime/quartz/Cargo.toml
1################################################################################2# Package34cargo-features = ["workspace-inheritance"]56[package]7authors = ['Unique Network <support@uniquenetwork.io>']8build = 'build.rs'9description = 'Quartz Runtime'10edition = '2021'11homepage = 'https://unique.network'12license = 'GPLv3'13name = 'quartz-runtime'14repository = 'https://github.com/UniqueNetwork/unique-chain'15version = '0.9.30'1617[package.metadata.docs.rs]18targets = ['x86_64-unknown-linux-gnu']1920[features]21default = ['std', 'quartz-runtime']22runtime-benchmarks = [23    'hex-literal',24    'frame-benchmarking',25    'frame-support/runtime-benchmarks',26    'frame-system-benchmarking',27    'frame-system/runtime-benchmarks',28    'pallet-ethereum/runtime-benchmarks',29    'pallet-evm-migration/runtime-benchmarks',30    'pallet-evm-coder-substrate/runtime-benchmarks',31    'pallet-balances/runtime-benchmarks',32    'pallet-timestamp/runtime-benchmarks',33    'pallet-common/runtime-benchmarks',34    'pallet-structure/runtime-benchmarks',35    'pallet-fungible/runtime-benchmarks',36    'pallet-refungible/runtime-benchmarks',37    'pallet-nonfungible/runtime-benchmarks',38    'pallet-proxy-rmrk-core/runtime-benchmarks',39    'pallet-proxy-rmrk-equip/runtime-benchmarks',40    'pallet-unique/runtime-benchmarks',41    'pallet-foreign-assets/runtime-benchmarks',42    'pallet-inflation/runtime-benchmarks',43    'pallet-unique-scheduler/runtime-benchmarks',44    'pallet-xcm/runtime-benchmarks',45    'sp-runtime/runtime-benchmarks',46    'xcm-builder/runtime-benchmarks',47]48try-runtime = [49    'frame-try-runtime',50    'frame-executive/try-runtime',51    'frame-support/try-runtime',52    'frame-system/try-runtime',53    'cumulus-pallet-parachain-system/try-runtime',54    'parachain-info/try-runtime',55    'pallet-aura/try-runtime',56    'cumulus-pallet-aura-ext/try-runtime',57    'pallet-balances/try-runtime',58    'pallet-randomness-collective-flip/try-runtime',59    'pallet-timestamp/try-runtime',60    'pallet-transaction-payment/try-runtime',61    'pallet-treasury/try-runtime',62    'pallet-sudo/try-runtime',63    'orml-vesting/try-runtime',64    'orml-xtokens/try-runtime',65    'orml-tokens/try-runtime',66    'cumulus-pallet-xcmp-queue/try-runtime',67    'pallet-xcm/try-runtime',68    'cumulus-pallet-xcm/try-runtime',69    'cumulus-pallet-dmp-queue/try-runtime',70    'pallet-inflation/try-runtime',71    'pallet-unique/try-runtime',72    'pallet-unique-scheduler/try-runtime',73    'pallet-configuration/try-runtime',74    'pallet-charge-transaction/try-runtime',75    'pallet-common/try-runtime',76    'pallet-fungible/try-runtime',77    'pallet-refungible/try-runtime',78    'pallet-nonfungible/try-runtime',79    'pallet-structure/try-runtime',80    'pallet-proxy-rmrk-core/try-runtime',81    'pallet-proxy-rmrk-equip/try-runtime',82    'pallet-app-promotion/try-runtime',83    'pallet-foreign-assets/try-runtime',84    'pallet-evm/try-runtime',85    'pallet-ethereum/try-runtime',86    'pallet-evm-coder-substrate/try-runtime',87    'pallet-evm-contract-helpers/try-runtime',88    'pallet-evm-transaction-payment/try-runtime',89    'pallet-evm-migration/try-runtime',90]91std = [92    'codec/std',93    'cumulus-pallet-aura-ext/std',94    'cumulus-pallet-parachain-system/std',95    'cumulus-pallet-xcm/std',96    'cumulus-pallet-xcmp-queue/std',97    'cumulus-primitives-core/std',98    'cumulus-primitives-utility/std',99    'frame-try-runtime/std',100    'frame-executive/std',101    'frame-support/std',102    'frame-system/std',103    'frame-system-rpc-runtime-api/std',104    'pallet-aura/std',105    'pallet-balances/std',106    # 'pallet-contracts/std',107    # 'pallet-contracts-primitives/std',108    # 'pallet-contracts-rpc-runtime-api/std',109    # 'pallet-contract-helpers/std',110    'pallet-randomness-collective-flip/std',111    'pallet-sudo/std',112    'pallet-timestamp/std',113    'pallet-transaction-payment/std',114    'pallet-transaction-payment-rpc-runtime-api/std',115    'pallet-treasury/std',116    'pallet-evm/std',117    'pallet-evm-migration/std',118    'pallet-evm-contract-helpers/std',119    'pallet-evm-transaction-payment/std',120    'pallet-evm-coder-substrate/std',121    'pallet-ethereum/std',122    'pallet-base-fee/std',123    'fp-rpc/std',124    'up-rpc/std',125    'app-promotion-rpc/std',126    'fp-evm-mapping/std',127    'fp-self-contained/std',128    'parachain-info/std',129    'serde',130    'pallet-inflation/std',131    'pallet-configuration/std',132    'pallet-common/std',133    'pallet-structure/std',134    'pallet-fungible/std',135    'pallet-refungible/std',136    'pallet-nonfungible/std',137    'pallet-proxy-rmrk-core/std',138    'pallet-proxy-rmrk-equip/std',139    'pallet-unique/std',140    'pallet-unique-scheduler/std',141    'pallet-charge-transaction/std',142    'up-data-structs/std',143    'sp-api/std',144    'sp-block-builder/std',145    "sp-consensus-aura/std",146    'sp-core/std',147    'sp-inherents/std',148    'sp-io/std',149    'sp-offchain/std',150    'sp-runtime/std',151    'sp-session/std',152    'sp-std/std',153    'sp-transaction-pool/std',154    'sp-version/std',155    'xcm/std',156    'xcm-builder/std',157    'xcm-executor/std',158    'up-common/std',159    'rmrk-rpc/std',160    'evm-coder/std',161    'up-sponsorship/std',162163    "orml-vesting/std",164    "orml-tokens/std",165    "orml-xtokens/std",166    "orml-traits/std",167    "pallet-foreign-assets/std",168]169limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']170quartz-runtime = ['refungible']171172refungible = []173scheduler = []174rmrk = []175foreign-assets = []176177################################################################################178# Substrate Dependencies179180[dependencies.codec]181default-features = false182features = ['derive']183package = 'parity-scale-codec'184version = '3.1.2'185186[dependencies.frame-benchmarking]187default-features = false188git = "https://github.com/paritytech/substrate"189optional = true190branch = "polkadot-v0.9.30"191192[dependencies.frame-try-runtime]193default-features = false194git = "https://github.com/paritytech/substrate"195optional = true196branch = "polkadot-v0.9.30"197198[dependencies.frame-executive]199default-features = false200git = "https://github.com/paritytech/substrate"201branch = "polkadot-v0.9.30"202203[dependencies.frame-support]204default-features = false205git = "https://github.com/paritytech/substrate"206branch = "polkadot-v0.9.30"207208[dependencies.frame-system]209default-features = false210git = "https://github.com/paritytech/substrate"211branch = "polkadot-v0.9.30"212213[dependencies.frame-system-benchmarking]214default-features = false215git = "https://github.com/paritytech/substrate"216optional = true217branch = "polkadot-v0.9.30"218219[dependencies.frame-system-rpc-runtime-api]220default-features = false221git = "https://github.com/paritytech/substrate"222branch = "polkadot-v0.9.30"223224[dependencies.hex-literal]225optional = true226version = '0.3.3'227228[dependencies.serde]229default-features = false230features = ['derive']231optional = true232version = '1.0.130'233234[dependencies.pallet-aura]235default-features = false236git = "https://github.com/paritytech/substrate"237branch = "polkadot-v0.9.30"238239[dependencies.pallet-balances]240default-features = false241git = "https://github.com/paritytech/substrate"242branch = "polkadot-v0.9.30"243244# Contracts specific packages245# [dependencies.pallet-contracts]246# git = 'https://github.com/paritytech/substrate'247# default-features = false248# branch = 'master'249# version = '4.0.0-dev'250251# [dependencies.pallet-contracts-primitives]252# git = 'https://github.com/paritytech/substrate'253# default-features = false254# branch = 'master'255# version = '4.0.0-dev'256257# [dependencies.pallet-contracts-rpc-runtime-api]258# git = 'https://github.com/paritytech/substrate'259# default-features = false260# branch = 'master'261# version = '4.0.0-dev'262263[dependencies.pallet-randomness-collective-flip]264default-features = false265git = "https://github.com/paritytech/substrate"266branch = "polkadot-v0.9.30"267268[dependencies.pallet-sudo]269default-features = false270git = "https://github.com/paritytech/substrate"271branch = "polkadot-v0.9.30"272273[dependencies.pallet-timestamp]274default-features = false275git = "https://github.com/paritytech/substrate"276branch = "polkadot-v0.9.30"277278[dependencies.pallet-transaction-payment]279default-features = false280git = "https://github.com/paritytech/substrate"281branch = "polkadot-v0.9.30"282283[dependencies.pallet-transaction-payment-rpc-runtime-api]284default-features = false285git = "https://github.com/paritytech/substrate"286branch = "polkadot-v0.9.30"287288[dependencies.pallet-treasury]289default-features = false290git = "https://github.com/paritytech/substrate"291branch = "polkadot-v0.9.30"292293[dependencies.sp-arithmetic]294default-features = false295git = "https://github.com/paritytech/substrate"296branch = "polkadot-v0.9.30"297298[dependencies.sp-api]299default-features = false300git = "https://github.com/paritytech/substrate"301branch = "polkadot-v0.9.30"302303[dependencies.sp-block-builder]304default-features = false305git = "https://github.com/paritytech/substrate"306branch = "polkadot-v0.9.30"307308[dependencies.sp-core]309default-features = false310git = "https://github.com/paritytech/substrate"311branch = "polkadot-v0.9.30"312313[dependencies.sp-consensus-aura]314default-features = false315git = "https://github.com/paritytech/substrate"316branch = "polkadot-v0.9.30"317318[dependencies.sp-inherents]319default-features = false320git = "https://github.com/paritytech/substrate"321branch = "polkadot-v0.9.30"322323[dependencies.sp-io]324default-features = false325git = "https://github.com/paritytech/substrate"326branch = "polkadot-v0.9.30"327328[dependencies.sp-offchain]329default-features = false330git = "https://github.com/paritytech/substrate"331branch = "polkadot-v0.9.30"332333[dependencies.sp-runtime]334default-features = false335git = "https://github.com/paritytech/substrate"336branch = "polkadot-v0.9.30"337338[dependencies.sp-session]339default-features = false340git = "https://github.com/paritytech/substrate"341branch = "polkadot-v0.9.30"342343[dependencies.sp-std]344default-features = false345git = "https://github.com/paritytech/substrate"346branch = "polkadot-v0.9.30"347348[dependencies.sp-transaction-pool]349default-features = false350git = "https://github.com/paritytech/substrate"351branch = "polkadot-v0.9.30"352353[dependencies.sp-version]354default-features = false355git = "https://github.com/paritytech/substrate"356branch = "polkadot-v0.9.30"357358[dependencies.smallvec]359version = '1.6.1'360361################################################################################362# Cumulus dependencies363364[dependencies.parachain-info]365default-features = false366git = "https://github.com/paritytech/cumulus"367branch = "polkadot-v0.9.30"368369[dependencies.cumulus-pallet-aura-ext]370git = "https://github.com/paritytech/cumulus"371branch = "polkadot-v0.9.30"372default-features = false373374[dependencies.cumulus-pallet-parachain-system]375git = "https://github.com/paritytech/cumulus"376branch = "polkadot-v0.9.30"377default-features = false378379[dependencies.cumulus-primitives-core]380git = "https://github.com/paritytech/cumulus"381branch = "polkadot-v0.9.30"382default-features = false383384[dependencies.cumulus-pallet-xcm]385git = "https://github.com/paritytech/cumulus"386branch = "polkadot-v0.9.30"387default-features = false388389[dependencies.cumulus-pallet-dmp-queue]390git = "https://github.com/paritytech/cumulus"391branch = "polkadot-v0.9.30"392default-features = false393394[dependencies.cumulus-pallet-xcmp-queue]395git = "https://github.com/paritytech/cumulus"396branch = "polkadot-v0.9.30"397default-features = false398399[dependencies.cumulus-primitives-utility]400git = "https://github.com/paritytech/cumulus"401branch = "polkadot-v0.9.30"402default-features = false403404[dependencies.cumulus-primitives-timestamp]405git = "https://github.com/paritytech/cumulus"406branch = "polkadot-v0.9.30"407default-features = false408409################################################################################410# Polkadot dependencies411412[dependencies.polkadot-parachain]413git = "https://github.com/paritytech/polkadot"414branch = "release-v0.9.30"415default-features = false416417[dependencies.xcm]418git = "https://github.com/paritytech/polkadot"419branch = "release-v0.9.30"420default-features = false421422[dependencies.xcm-builder]423git = "https://github.com/paritytech/polkadot"424branch = "release-v0.9.30"425default-features = false426427[dependencies.xcm-executor]428git = "https://github.com/paritytech/polkadot"429branch = "release-v0.9.30"430default-features = false431432[dependencies.pallet-xcm]433git = "https://github.com/paritytech/polkadot"434branch = "release-v0.9.30"435default-features = false436437################################################################################438# RMRK dependencies439440# todo git441[dependencies.rmrk-rpc]442default-features = false443path = "../../primitives/rmrk-rpc"444445################################################################################446# local dependencies447448[dependencies]449orml-vesting.workspace = true450orml-xtokens.workspace = true451orml-tokens.workspace = true452orml-traits.workspace = true453454log = { version = "0.4.16", default-features = false }455up-common = { path = "../../primitives/common", default-features = false }456scale-info = { version = "2.0.1", default-features = false, features = [457    "derive",458] }459derivative = "2.2.0"460pallet-unique = { path = '../../pallets/unique', default-features = false }461up-rpc = { path = "../../primitives/rpc", default-features = false }462app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false }463fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }464pallet-inflation = { path = '../../pallets/inflation', default-features = false }465pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }466up-data-structs = { path = '../../primitives/data-structs', default-features = false }467pallet-configuration = { default-features = false, path = "../../pallets/configuration" }468pallet-common = { default-features = false, path = "../../pallets/common" }469pallet-structure = { default-features = false, path = "../../pallets/structure" }470pallet-fungible = { default-features = false, path = "../../pallets/fungible" }471pallet-refungible = { default-features = false, path = "../../pallets/refungible" }472pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }473pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" }474pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }475pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }476# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }477pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.30", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }478pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }479pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }480pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }481pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }482pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }483pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }484pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }485fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }486fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }487evm-coder = { default-features = false, path = '../../crates/evm-coder' }488up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = 'polkadot-v0.9.30' }489pallet-foreign-assets = { default-features = false, path = "../../pallets/foreign-assets" }490491################################################################################492# Other Dependencies493494impl-trait-for-tuples = "0.2.2"495496################################################################################497# Dev Dependencies498499[dev-dependencies.logtest]500version = "2.0.0"501502################################################################################503# Build Dependencies504505[build-dependencies.substrate-wasm-builder]506git = "https://github.com/paritytech/substrate"507branch = "polkadot-v0.9.30"
modifiedruntime/unique/Cargo.tomldiffbeforeafterboth
--- a/runtime/unique/Cargo.toml
+++ b/runtime/unique/Cargo.toml
@@ -166,10 +166,7 @@
     "orml-xtokens/std",
     "orml-traits/std",
     "pallet-foreign-assets/std",
-
-    'pallet-test-utils?/std',
 ]
-test-pallets = ['pallet-test-utils']
 limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']
 unique-runtime = []
 
@@ -484,11 +481,6 @@
 evm-coder = { default-features = false, path = '../../crates/evm-coder' }
 up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = 'polkadot-v0.9.30' }
 pallet-foreign-assets = { default-features = false, path = "../../pallets/foreign-assets" }
-
-################################################################################
-# Test dependencies
-
-pallet-test-utils = { optional = true, default-features = false, path = "../../test-pallets/utils" }
 
 ################################################################################
 # Other Dependencies