difftreelog
fix test-pallet included only in opal
in: master
8 files changed
Cargo.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",
node/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',
-]
runtime/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;
runtime/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,
}
}
}
runtime/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)*)
runtime/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 = []
runtime/quartz/Cargo.tomldiffbeforeafterboth--- a/runtime/quartz/Cargo.toml
+++ b/runtime/quartz/Cargo.toml
@@ -165,10 +165,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']
quartz-runtime = ['refungible']
@@ -490,11 +487,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
runtime/unique/Cargo.tomldiffbeforeafterboth1################################################################################2# Package34cargo-features = ["workspace-inheritance"]56[package]7authors = ['Unique Network <support@uniquenetwork.io>']8build = 'build.rs'9description = 'Unique Runtime'10edition = '2021'11homepage = 'https://unique.network'12license = 'GPLv3'13name = 'unique-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', 'unique-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 'up-data-structs/runtime-benchmarks',48]49try-runtime = [50 'frame-try-runtime',51 'frame-executive/try-runtime',52 'frame-support/try-runtime',53 'frame-system/try-runtime',54 'cumulus-pallet-parachain-system/try-runtime',55 'parachain-info/try-runtime',56 'pallet-aura/try-runtime',57 'cumulus-pallet-aura-ext/try-runtime',58 'pallet-balances/try-runtime',59 'pallet-randomness-collective-flip/try-runtime',60 'pallet-timestamp/try-runtime',61 'pallet-transaction-payment/try-runtime',62 'pallet-treasury/try-runtime',63 'pallet-sudo/try-runtime',64 'orml-vesting/try-runtime',65 'orml-xtokens/try-runtime',66 'orml-tokens/try-runtime',67 'cumulus-pallet-xcmp-queue/try-runtime',68 'pallet-xcm/try-runtime',69 'cumulus-pallet-xcm/try-runtime',70 'cumulus-pallet-dmp-queue/try-runtime',71 'pallet-inflation/try-runtime',72 'pallet-unique/try-runtime',73 'pallet-unique-scheduler/try-runtime',74 'pallet-configuration/try-runtime',75 'pallet-charge-transaction/try-runtime',76 'pallet-common/try-runtime',77 'pallet-fungible/try-runtime',78 'pallet-refungible/try-runtime',79 'pallet-nonfungible/try-runtime',80 'pallet-structure/try-runtime',81 'pallet-proxy-rmrk-core/try-runtime',82 'pallet-proxy-rmrk-equip/try-runtime',83 'pallet-app-promotion/try-runtime',84 'pallet-foreign-assets/try-runtime',85 'pallet-evm/try-runtime',86 'pallet-ethereum/try-runtime',87 'pallet-evm-coder-substrate/try-runtime',88 'pallet-evm-contract-helpers/try-runtime',89 'pallet-evm-transaction-payment/try-runtime',90 'pallet-evm-migration/try-runtime',91]92std = [93 'codec/std',94 'cumulus-pallet-aura-ext/std',95 'cumulus-pallet-parachain-system/std',96 'cumulus-pallet-xcm/std',97 'cumulus-pallet-xcmp-queue/std',98 'cumulus-primitives-core/std',99 'cumulus-primitives-utility/std',100 'frame-try-runtime/std',101 'frame-executive/std',102 'frame-support/std',103 'frame-system/std',104 'frame-system-rpc-runtime-api/std',105 'pallet-aura/std',106 'pallet-balances/std',107 # 'pallet-contracts/std',108 # 'pallet-contracts-primitives/std',109 # 'pallet-contracts-rpc-runtime-api/std',110 # 'pallet-contract-helpers/std',111 'pallet-randomness-collective-flip/std',112 'pallet-sudo/std',113 'pallet-timestamp/std',114 'pallet-transaction-payment/std',115 'pallet-transaction-payment-rpc-runtime-api/std',116 'pallet-treasury/std',117 'pallet-evm/std',118 'pallet-evm-migration/std',119 'pallet-evm-contract-helpers/std',120 'pallet-evm-transaction-payment/std',121 'pallet-evm-coder-substrate/std',122 'pallet-ethereum/std',123 'pallet-base-fee/std',124 'fp-rpc/std',125 'up-rpc/std',126 'app-promotion-rpc/std',127 'fp-evm-mapping/std',128 'fp-self-contained/std',129 'parachain-info/std',130 'serde',131 'pallet-inflation/std',132 'pallet-configuration/std',133 'pallet-common/std',134 'pallet-structure/std',135 'pallet-fungible/std',136 'pallet-refungible/std',137 'pallet-nonfungible/std',138 'pallet-proxy-rmrk-core/std',139 'pallet-proxy-rmrk-equip/std',140 'pallet-unique/std',141 'pallet-unique-scheduler/std',142 'pallet-charge-transaction/std',143 'up-data-structs/std',144 'sp-api/std',145 'sp-block-builder/std',146 "sp-consensus-aura/std",147 'sp-core/std',148 'sp-inherents/std',149 'sp-io/std',150 'sp-offchain/std',151 'sp-runtime/std',152 'sp-session/std',153 'sp-std/std',154 'sp-transaction-pool/std',155 'sp-version/std',156 'xcm/std',157 'xcm-builder/std',158 'xcm-executor/std',159 'up-common/std',160 'rmrk-rpc/std',161 'evm-coder/std',162 'up-sponsorship/std',163164 "orml-vesting/std",165 "orml-tokens/std",166 "orml-xtokens/std",167 "orml-traits/std",168 "pallet-foreign-assets/std",169170 'pallet-test-utils?/std',171]172test-pallets = ['pallet-test-utils']173limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']174unique-runtime = []175176refungible = []177scheduler = []178rmrk = []179foreign-assets = []180181################################################################################182# Substrate Dependencies183184[dependencies.codec]185default-features = false186features = ['derive']187package = 'parity-scale-codec'188version = '3.1.2'189190[dependencies.frame-benchmarking]191default-features = false192git = "https://github.com/paritytech/substrate"193optional = true194branch = "polkadot-v0.9.30"195196[dependencies.frame-try-runtime]197default-features = false198git = "https://github.com/paritytech/substrate"199optional = true200branch = "polkadot-v0.9.30"201202[dependencies.frame-executive]203default-features = false204git = "https://github.com/paritytech/substrate"205branch = "polkadot-v0.9.30"206207[dependencies.frame-support]208default-features = false209git = "https://github.com/paritytech/substrate"210branch = "polkadot-v0.9.30"211212[dependencies.frame-system]213default-features = false214git = "https://github.com/paritytech/substrate"215branch = "polkadot-v0.9.30"216217[dependencies.frame-system-benchmarking]218default-features = false219git = "https://github.com/paritytech/substrate"220optional = true221branch = "polkadot-v0.9.30"222223[dependencies.frame-system-rpc-runtime-api]224default-features = false225git = "https://github.com/paritytech/substrate"226branch = "polkadot-v0.9.30"227228[dependencies.hex-literal]229optional = true230version = '0.3.3'231232[dependencies.serde]233default-features = false234features = ['derive']235optional = true236version = '1.0.130'237238[dependencies.pallet-aura]239default-features = false240git = "https://github.com/paritytech/substrate"241branch = "polkadot-v0.9.30"242243[dependencies.pallet-balances]244default-features = false245git = "https://github.com/paritytech/substrate"246branch = "polkadot-v0.9.30"247248# Contracts specific packages249# [dependencies.pallet-contracts]250# git = 'https://github.com/paritytech/substrate'251# default-features = false252# branch = 'master'253# version = '4.0.0-dev'254255# [dependencies.pallet-contracts-primitives]256# git = 'https://github.com/paritytech/substrate'257# default-features = false258# branch = 'master'259# version = '4.0.0-dev'260261# [dependencies.pallet-contracts-rpc-runtime-api]262# git = 'https://github.com/paritytech/substrate'263# default-features = false264# branch = 'master'265# version = '4.0.0-dev'266267[dependencies.pallet-randomness-collective-flip]268default-features = false269git = "https://github.com/paritytech/substrate"270branch = "polkadot-v0.9.30"271272[dependencies.pallet-sudo]273default-features = false274git = "https://github.com/paritytech/substrate"275branch = "polkadot-v0.9.30"276277[dependencies.pallet-timestamp]278default-features = false279git = "https://github.com/paritytech/substrate"280branch = "polkadot-v0.9.30"281282[dependencies.pallet-transaction-payment]283default-features = false284git = "https://github.com/paritytech/substrate"285branch = "polkadot-v0.9.30"286287[dependencies.pallet-transaction-payment-rpc-runtime-api]288default-features = false289git = "https://github.com/paritytech/substrate"290branch = "polkadot-v0.9.30"291292[dependencies.pallet-treasury]293default-features = false294git = "https://github.com/paritytech/substrate"295branch = "polkadot-v0.9.30"296297[dependencies.sp-arithmetic]298default-features = false299git = "https://github.com/paritytech/substrate"300branch = "polkadot-v0.9.30"301302[dependencies.sp-api]303default-features = false304git = "https://github.com/paritytech/substrate"305branch = "polkadot-v0.9.30"306307[dependencies.sp-block-builder]308default-features = false309git = "https://github.com/paritytech/substrate"310branch = "polkadot-v0.9.30"311312[dependencies.sp-core]313default-features = false314git = "https://github.com/paritytech/substrate"315branch = "polkadot-v0.9.30"316317[dependencies.sp-consensus-aura]318default-features = false319git = "https://github.com/paritytech/substrate"320branch = "polkadot-v0.9.30"321322[dependencies.sp-inherents]323default-features = false324git = "https://github.com/paritytech/substrate"325branch = "polkadot-v0.9.30"326327[dependencies.sp-io]328default-features = false329git = "https://github.com/paritytech/substrate"330branch = "polkadot-v0.9.30"331332[dependencies.sp-offchain]333default-features = false334git = "https://github.com/paritytech/substrate"335branch = "polkadot-v0.9.30"336337[dependencies.sp-runtime]338default-features = false339git = "https://github.com/paritytech/substrate"340branch = "polkadot-v0.9.30"341342[dependencies.sp-session]343default-features = false344git = "https://github.com/paritytech/substrate"345branch = "polkadot-v0.9.30"346347[dependencies.sp-std]348default-features = false349git = "https://github.com/paritytech/substrate"350branch = "polkadot-v0.9.30"351352[dependencies.sp-transaction-pool]353default-features = false354git = "https://github.com/paritytech/substrate"355branch = "polkadot-v0.9.30"356357[dependencies.sp-version]358default-features = false359git = "https://github.com/paritytech/substrate"360branch = "polkadot-v0.9.30"361362[dependencies.smallvec]363version = '1.6.1'364365################################################################################366# Cumulus dependencies367368[dependencies.parachain-info]369default-features = false370git = "https://github.com/paritytech/cumulus"371branch = "polkadot-v0.9.30"372373[dependencies.cumulus-pallet-aura-ext]374git = "https://github.com/paritytech/cumulus"375branch = "polkadot-v0.9.30"376default-features = false377378[dependencies.cumulus-pallet-parachain-system]379git = "https://github.com/paritytech/cumulus"380branch = "polkadot-v0.9.30"381default-features = false382383[dependencies.cumulus-primitives-core]384git = "https://github.com/paritytech/cumulus"385branch = "polkadot-v0.9.30"386default-features = false387388[dependencies.cumulus-pallet-xcm]389git = "https://github.com/paritytech/cumulus"390branch = "polkadot-v0.9.30"391default-features = false392393[dependencies.cumulus-pallet-dmp-queue]394git = "https://github.com/paritytech/cumulus"395branch = "polkadot-v0.9.30"396default-features = false397398[dependencies.cumulus-pallet-xcmp-queue]399git = "https://github.com/paritytech/cumulus"400branch = "polkadot-v0.9.30"401default-features = false402403[dependencies.cumulus-primitives-utility]404git = "https://github.com/paritytech/cumulus"405branch = "polkadot-v0.9.30"406default-features = false407408[dependencies.cumulus-primitives-timestamp]409git = "https://github.com/paritytech/cumulus"410branch = "polkadot-v0.9.30"411default-features = false412413################################################################################414# Polkadot dependencies415416[dependencies.polkadot-parachain]417git = "https://github.com/paritytech/polkadot"418branch = "release-v0.9.30"419default-features = false420421[dependencies.xcm]422git = "https://github.com/paritytech/polkadot"423branch = "release-v0.9.30"424default-features = false425426[dependencies.xcm-builder]427git = "https://github.com/paritytech/polkadot"428branch = "release-v0.9.30"429default-features = false430431[dependencies.xcm-executor]432git = "https://github.com/paritytech/polkadot"433branch = "release-v0.9.30"434default-features = false435436[dependencies.pallet-xcm]437git = "https://github.com/paritytech/polkadot"438branch = "release-v0.9.30"439default-features = false440441################################################################################442# local dependencies443444[dependencies]445orml-vesting.workspace = true446orml-xtokens.workspace = true447orml-tokens.workspace = true448orml-traits.workspace = true449450log = { version = "0.4.16", default-features = false }451up-common = { path = "../../primitives/common", default-features = false }452scale-info = { version = "2.0.1", default-features = false, features = [453 "derive",454] }455derivative = "2.2.0"456pallet-unique = { path = '../../pallets/unique', default-features = false }457up-rpc = { path = "../../primitives/rpc", default-features = false }458app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false }459rmrk-rpc = { path = "../../primitives/rmrk-rpc", default-features = false }460pallet-inflation = { path = '../../pallets/inflation', default-features = false }461pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }462up-data-structs = { path = '../../primitives/data-structs', default-features = false }463pallet-configuration = { default-features = false, path = "../../pallets/configuration" }464pallet-common = { default-features = false, path = "../../pallets/common" }465pallet-structure = { default-features = false, path = "../../pallets/structure" }466pallet-fungible = { default-features = false, path = "../../pallets/fungible" }467pallet-refungible = { default-features = false, path = "../../pallets/refungible" }468pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }469pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" }470pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }471pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }472# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }473pallet-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" }474pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }475pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }476pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }477pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }478pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }479pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }480pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }481fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }482fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }483fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }484evm-coder = { default-features = false, path = '../../crates/evm-coder' }485up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = 'polkadot-v0.9.30' }486pallet-foreign-assets = { default-features = false, path = "../../pallets/foreign-assets" }487488################################################################################489# Test dependencies490491pallet-test-utils = { optional = true, default-features = false, path = "../../test-pallets/utils" }492493################################################################################494# Other Dependencies495496impl-trait-for-tuples = "0.2.2"497498################################################################################499# Dev Dependencies500501[dev-dependencies.logtest]502version = "2.0.0"503504################################################################################505# Build Dependencies506507[build-dependencies.substrate-wasm-builder]508git = "https://github.com/paritytech/substrate"509branch = "polkadot-v0.9.30"1################################################################################2# Package34cargo-features = ["workspace-inheritance"]56[package]7authors = ['Unique Network <support@uniquenetwork.io>']8build = 'build.rs'9description = 'Unique Runtime'10edition = '2021'11homepage = 'https://unique.network'12license = 'GPLv3'13name = 'unique-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', 'unique-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 'up-data-structs/runtime-benchmarks',48]49try-runtime = [50 'frame-try-runtime',51 'frame-executive/try-runtime',52 'frame-support/try-runtime',53 'frame-system/try-runtime',54 'cumulus-pallet-parachain-system/try-runtime',55 'parachain-info/try-runtime',56 'pallet-aura/try-runtime',57 'cumulus-pallet-aura-ext/try-runtime',58 'pallet-balances/try-runtime',59 'pallet-randomness-collective-flip/try-runtime',60 'pallet-timestamp/try-runtime',61 'pallet-transaction-payment/try-runtime',62 'pallet-treasury/try-runtime',63 'pallet-sudo/try-runtime',64 'orml-vesting/try-runtime',65 'orml-xtokens/try-runtime',66 'orml-tokens/try-runtime',67 'cumulus-pallet-xcmp-queue/try-runtime',68 'pallet-xcm/try-runtime',69 'cumulus-pallet-xcm/try-runtime',70 'cumulus-pallet-dmp-queue/try-runtime',71 'pallet-inflation/try-runtime',72 'pallet-unique/try-runtime',73 'pallet-unique-scheduler/try-runtime',74 'pallet-configuration/try-runtime',75 'pallet-charge-transaction/try-runtime',76 'pallet-common/try-runtime',77 'pallet-fungible/try-runtime',78 'pallet-refungible/try-runtime',79 'pallet-nonfungible/try-runtime',80 'pallet-structure/try-runtime',81 'pallet-proxy-rmrk-core/try-runtime',82 'pallet-proxy-rmrk-equip/try-runtime',83 'pallet-app-promotion/try-runtime',84 'pallet-foreign-assets/try-runtime',85 'pallet-evm/try-runtime',86 'pallet-ethereum/try-runtime',87 'pallet-evm-coder-substrate/try-runtime',88 'pallet-evm-contract-helpers/try-runtime',89 'pallet-evm-transaction-payment/try-runtime',90 'pallet-evm-migration/try-runtime',91]92std = [93 'codec/std',94 'cumulus-pallet-aura-ext/std',95 'cumulus-pallet-parachain-system/std',96 'cumulus-pallet-xcm/std',97 'cumulus-pallet-xcmp-queue/std',98 'cumulus-primitives-core/std',99 'cumulus-primitives-utility/std',100 'frame-try-runtime/std',101 'frame-executive/std',102 'frame-support/std',103 'frame-system/std',104 'frame-system-rpc-runtime-api/std',105 'pallet-aura/std',106 'pallet-balances/std',107 # 'pallet-contracts/std',108 # 'pallet-contracts-primitives/std',109 # 'pallet-contracts-rpc-runtime-api/std',110 # 'pallet-contract-helpers/std',111 'pallet-randomness-collective-flip/std',112 'pallet-sudo/std',113 'pallet-timestamp/std',114 'pallet-transaction-payment/std',115 'pallet-transaction-payment-rpc-runtime-api/std',116 'pallet-treasury/std',117 'pallet-evm/std',118 'pallet-evm-migration/std',119 'pallet-evm-contract-helpers/std',120 'pallet-evm-transaction-payment/std',121 'pallet-evm-coder-substrate/std',122 'pallet-ethereum/std',123 'pallet-base-fee/std',124 'fp-rpc/std',125 'up-rpc/std',126 'app-promotion-rpc/std',127 'fp-evm-mapping/std',128 'fp-self-contained/std',129 'parachain-info/std',130 'serde',131 'pallet-inflation/std',132 'pallet-configuration/std',133 'pallet-common/std',134 'pallet-structure/std',135 'pallet-fungible/std',136 'pallet-refungible/std',137 'pallet-nonfungible/std',138 'pallet-proxy-rmrk-core/std',139 'pallet-proxy-rmrk-equip/std',140 'pallet-unique/std',141 'pallet-unique-scheduler/std',142 'pallet-charge-transaction/std',143 'up-data-structs/std',144 'sp-api/std',145 'sp-block-builder/std',146 "sp-consensus-aura/std",147 'sp-core/std',148 'sp-inherents/std',149 'sp-io/std',150 'sp-offchain/std',151 'sp-runtime/std',152 'sp-session/std',153 'sp-std/std',154 'sp-transaction-pool/std',155 'sp-version/std',156 'xcm/std',157 'xcm-builder/std',158 'xcm-executor/std',159 'up-common/std',160 'rmrk-rpc/std',161 'evm-coder/std',162 'up-sponsorship/std',163164 "orml-vesting/std",165 "orml-tokens/std",166 "orml-xtokens/std",167 "orml-traits/std",168 "pallet-foreign-assets/std",169]170limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']171unique-runtime = []172173refungible = []174scheduler = []175rmrk = []176foreign-assets = []177178################################################################################179# Substrate Dependencies180181[dependencies.codec]182default-features = false183features = ['derive']184package = 'parity-scale-codec'185version = '3.1.2'186187[dependencies.frame-benchmarking]188default-features = false189git = "https://github.com/paritytech/substrate"190optional = true191branch = "polkadot-v0.9.30"192193[dependencies.frame-try-runtime]194default-features = false195git = "https://github.com/paritytech/substrate"196optional = true197branch = "polkadot-v0.9.30"198199[dependencies.frame-executive]200default-features = false201git = "https://github.com/paritytech/substrate"202branch = "polkadot-v0.9.30"203204[dependencies.frame-support]205default-features = false206git = "https://github.com/paritytech/substrate"207branch = "polkadot-v0.9.30"208209[dependencies.frame-system]210default-features = false211git = "https://github.com/paritytech/substrate"212branch = "polkadot-v0.9.30"213214[dependencies.frame-system-benchmarking]215default-features = false216git = "https://github.com/paritytech/substrate"217optional = true218branch = "polkadot-v0.9.30"219220[dependencies.frame-system-rpc-runtime-api]221default-features = false222git = "https://github.com/paritytech/substrate"223branch = "polkadot-v0.9.30"224225[dependencies.hex-literal]226optional = true227version = '0.3.3'228229[dependencies.serde]230default-features = false231features = ['derive']232optional = true233version = '1.0.130'234235[dependencies.pallet-aura]236default-features = false237git = "https://github.com/paritytech/substrate"238branch = "polkadot-v0.9.30"239240[dependencies.pallet-balances]241default-features = false242git = "https://github.com/paritytech/substrate"243branch = "polkadot-v0.9.30"244245# Contracts specific packages246# [dependencies.pallet-contracts]247# git = 'https://github.com/paritytech/substrate'248# default-features = false249# branch = 'master'250# version = '4.0.0-dev'251252# [dependencies.pallet-contracts-primitives]253# git = 'https://github.com/paritytech/substrate'254# default-features = false255# branch = 'master'256# version = '4.0.0-dev'257258# [dependencies.pallet-contracts-rpc-runtime-api]259# git = 'https://github.com/paritytech/substrate'260# default-features = false261# branch = 'master'262# version = '4.0.0-dev'263264[dependencies.pallet-randomness-collective-flip]265default-features = false266git = "https://github.com/paritytech/substrate"267branch = "polkadot-v0.9.30"268269[dependencies.pallet-sudo]270default-features = false271git = "https://github.com/paritytech/substrate"272branch = "polkadot-v0.9.30"273274[dependencies.pallet-timestamp]275default-features = false276git = "https://github.com/paritytech/substrate"277branch = "polkadot-v0.9.30"278279[dependencies.pallet-transaction-payment]280default-features = false281git = "https://github.com/paritytech/substrate"282branch = "polkadot-v0.9.30"283284[dependencies.pallet-transaction-payment-rpc-runtime-api]285default-features = false286git = "https://github.com/paritytech/substrate"287branch = "polkadot-v0.9.30"288289[dependencies.pallet-treasury]290default-features = false291git = "https://github.com/paritytech/substrate"292branch = "polkadot-v0.9.30"293294[dependencies.sp-arithmetic]295default-features = false296git = "https://github.com/paritytech/substrate"297branch = "polkadot-v0.9.30"298299[dependencies.sp-api]300default-features = false301git = "https://github.com/paritytech/substrate"302branch = "polkadot-v0.9.30"303304[dependencies.sp-block-builder]305default-features = false306git = "https://github.com/paritytech/substrate"307branch = "polkadot-v0.9.30"308309[dependencies.sp-core]310default-features = false311git = "https://github.com/paritytech/substrate"312branch = "polkadot-v0.9.30"313314[dependencies.sp-consensus-aura]315default-features = false316git = "https://github.com/paritytech/substrate"317branch = "polkadot-v0.9.30"318319[dependencies.sp-inherents]320default-features = false321git = "https://github.com/paritytech/substrate"322branch = "polkadot-v0.9.30"323324[dependencies.sp-io]325default-features = false326git = "https://github.com/paritytech/substrate"327branch = "polkadot-v0.9.30"328329[dependencies.sp-offchain]330default-features = false331git = "https://github.com/paritytech/substrate"332branch = "polkadot-v0.9.30"333334[dependencies.sp-runtime]335default-features = false336git = "https://github.com/paritytech/substrate"337branch = "polkadot-v0.9.30"338339[dependencies.sp-session]340default-features = false341git = "https://github.com/paritytech/substrate"342branch = "polkadot-v0.9.30"343344[dependencies.sp-std]345default-features = false346git = "https://github.com/paritytech/substrate"347branch = "polkadot-v0.9.30"348349[dependencies.sp-transaction-pool]350default-features = false351git = "https://github.com/paritytech/substrate"352branch = "polkadot-v0.9.30"353354[dependencies.sp-version]355default-features = false356git = "https://github.com/paritytech/substrate"357branch = "polkadot-v0.9.30"358359[dependencies.smallvec]360version = '1.6.1'361362################################################################################363# Cumulus dependencies364365[dependencies.parachain-info]366default-features = false367git = "https://github.com/paritytech/cumulus"368branch = "polkadot-v0.9.30"369370[dependencies.cumulus-pallet-aura-ext]371git = "https://github.com/paritytech/cumulus"372branch = "polkadot-v0.9.30"373default-features = false374375[dependencies.cumulus-pallet-parachain-system]376git = "https://github.com/paritytech/cumulus"377branch = "polkadot-v0.9.30"378default-features = false379380[dependencies.cumulus-primitives-core]381git = "https://github.com/paritytech/cumulus"382branch = "polkadot-v0.9.30"383default-features = false384385[dependencies.cumulus-pallet-xcm]386git = "https://github.com/paritytech/cumulus"387branch = "polkadot-v0.9.30"388default-features = false389390[dependencies.cumulus-pallet-dmp-queue]391git = "https://github.com/paritytech/cumulus"392branch = "polkadot-v0.9.30"393default-features = false394395[dependencies.cumulus-pallet-xcmp-queue]396git = "https://github.com/paritytech/cumulus"397branch = "polkadot-v0.9.30"398default-features = false399400[dependencies.cumulus-primitives-utility]401git = "https://github.com/paritytech/cumulus"402branch = "polkadot-v0.9.30"403default-features = false404405[dependencies.cumulus-primitives-timestamp]406git = "https://github.com/paritytech/cumulus"407branch = "polkadot-v0.9.30"408default-features = false409410################################################################################411# Polkadot dependencies412413[dependencies.polkadot-parachain]414git = "https://github.com/paritytech/polkadot"415branch = "release-v0.9.30"416default-features = false417418[dependencies.xcm]419git = "https://github.com/paritytech/polkadot"420branch = "release-v0.9.30"421default-features = false422423[dependencies.xcm-builder]424git = "https://github.com/paritytech/polkadot"425branch = "release-v0.9.30"426default-features = false427428[dependencies.xcm-executor]429git = "https://github.com/paritytech/polkadot"430branch = "release-v0.9.30"431default-features = false432433[dependencies.pallet-xcm]434git = "https://github.com/paritytech/polkadot"435branch = "release-v0.9.30"436default-features = false437438################################################################################439# local dependencies440441[dependencies]442orml-vesting.workspace = true443orml-xtokens.workspace = true444orml-tokens.workspace = true445orml-traits.workspace = true446447log = { version = "0.4.16", default-features = false }448up-common = { path = "../../primitives/common", default-features = false }449scale-info = { version = "2.0.1", default-features = false, features = [450 "derive",451] }452derivative = "2.2.0"453pallet-unique = { path = '../../pallets/unique', default-features = false }454up-rpc = { path = "../../primitives/rpc", default-features = false }455app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false }456rmrk-rpc = { path = "../../primitives/rmrk-rpc", default-features = false }457pallet-inflation = { path = '../../pallets/inflation', default-features = false }458pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }459up-data-structs = { path = '../../primitives/data-structs', default-features = false }460pallet-configuration = { default-features = false, path = "../../pallets/configuration" }461pallet-common = { default-features = false, path = "../../pallets/common" }462pallet-structure = { default-features = false, path = "../../pallets/structure" }463pallet-fungible = { default-features = false, path = "../../pallets/fungible" }464pallet-refungible = { default-features = false, path = "../../pallets/refungible" }465pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }466pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" }467pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }468pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }469# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }470pallet-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" }471pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }472pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }473pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }474pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }475pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }476pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }477pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }478fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }479fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }480fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }481evm-coder = { default-features = false, path = '../../crates/evm-coder' }482up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = 'polkadot-v0.9.30' }483pallet-foreign-assets = { default-features = false, path = "../../pallets/foreign-assets" }484485################################################################################486# Other Dependencies487488impl-trait-for-tuples = "0.2.2"489490################################################################################491# Dev Dependencies492493[dev-dependencies.logtest]494version = "2.0.0"495496################################################################################497# Build Dependencies498499[build-dependencies.substrate-wasm-builder]500git = "https://github.com/paritytech/substrate"501branch = "polkadot-v0.9.30"