difftreelog
fix app promotion features passing + benchmark list
in: master
3 files changed
runtime/common/runtime_apis.rsdiffbeforeafterboth--- a/runtime/common/runtime_apis.rs
+++ b/runtime/common/runtime_apis.rs
@@ -684,7 +684,10 @@
list_benchmark!(list, extra, pallet_unique, Unique);
list_benchmark!(list, extra, pallet_structure, Structure);
list_benchmark!(list, extra, pallet_inflation, Inflation);
+
+ #[cfg(feature = "app-promotion")]
list_benchmark!(list, extra, pallet_app_promotion, AppPromotion);
+
list_benchmark!(list, extra, pallet_fungible, Fungible);
list_benchmark!(list, extra, pallet_nonfungible, Nonfungible);
@@ -744,7 +747,10 @@
add_benchmark!(params, batches, pallet_unique, Unique);
add_benchmark!(params, batches, pallet_structure, Structure);
add_benchmark!(params, batches, pallet_inflation, Inflation);
+
+ #[cfg(feature = "app-promotion")]
add_benchmark!(params, batches, pallet_app_promotion, AppPromotion);
+
add_benchmark!(params, batches, pallet_fungible, Fungible);
add_benchmark!(params, batches, pallet_nonfungible, Nonfungible);
runtime/quartz/Cargo.tomldiffbeforeafterboth1################################################################################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.33'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-xcm/runtime-benchmarks',44 'sp-runtime/runtime-benchmarks',45 'xcm-builder/runtime-benchmarks',46 'pallet-maintenance/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-configuration/try-runtime',73 'pallet-charge-transaction/try-runtime',74 'pallet-common/try-runtime',75 'pallet-fungible/try-runtime',76 'pallet-refungible/try-runtime',77 'pallet-nonfungible/try-runtime',78 'pallet-structure/try-runtime',79 'pallet-proxy-rmrk-core/try-runtime',80 'pallet-proxy-rmrk-equip/try-runtime',81 'pallet-app-promotion/try-runtime',82 'pallet-foreign-assets/try-runtime',83 'pallet-ethereum/try-runtime',84 'pallet-evm-coder-substrate/try-runtime',85 'pallet-evm-contract-helpers/try-runtime',86 'pallet-evm-transaction-payment/try-runtime',87 'pallet-evm-migration/try-runtime',88 'pallet-maintenance/try-runtime',89]90std = [91 'codec/std',92 'cumulus-pallet-aura-ext/std',93 'cumulus-pallet-parachain-system/std',94 'cumulus-pallet-xcm/std',95 'cumulus-pallet-xcmp-queue/std',96 'cumulus-primitives-core/std',97 'cumulus-primitives-utility/std',98 'frame-try-runtime/std',99 'frame-executive/std',100 'frame-support/std',101 'frame-system/std',102 'frame-system-rpc-runtime-api/std',103 'pallet-aura/std',104 'pallet-balances/std',105 # 'pallet-contracts/std',106 # 'pallet-contracts-primitives/std',107 # 'pallet-contracts-rpc-runtime-api/std',108 # 'pallet-contract-helpers/std',109 'pallet-randomness-collective-flip/std',110 'pallet-sudo/std',111 'pallet-timestamp/std',112 'pallet-transaction-payment/std',113 'pallet-transaction-payment-rpc-runtime-api/std',114 'pallet-treasury/std',115 'pallet-evm/std',116 'pallet-evm-migration/std',117 'pallet-evm-contract-helpers/std',118 'pallet-evm-transaction-payment/std',119 'pallet-evm-coder-substrate/std',120 'pallet-ethereum/std',121 'pallet-base-fee/std',122 'fp-rpc/std',123 'up-rpc/std',124 'app-promotion-rpc/std',125 'fp-evm-mapping/std',126 'fp-self-contained/std',127 'parachain-info/std',128 'serde',129 'pallet-inflation/std',130 'pallet-configuration/std',131 'pallet-common/std',132 'pallet-structure/std',133 'pallet-fungible/std',134 'pallet-refungible/std',135 'pallet-nonfungible/std',136 'pallet-proxy-rmrk-core/std',137 'pallet-proxy-rmrk-equip/std',138 'pallet-unique/std',139 'pallet-charge-transaction/std',140 'up-data-structs/std',141 'sp-api/std',142 'sp-block-builder/std',143 "sp-consensus-aura/std",144 'sp-core/std',145 'sp-inherents/std',146 'sp-io/std',147 'sp-offchain/std',148 'sp-runtime/std',149 'sp-session/std',150 'sp-std/std',151 'sp-transaction-pool/std',152 'sp-version/std',153 'xcm/std',154 'xcm-builder/std',155 'xcm-executor/std',156 'up-common/std',157 'rmrk-rpc/std',158 'evm-coder/std',159 'up-sponsorship/std',160161 "orml-vesting/std",162 "orml-tokens/std",163 "orml-xtokens/std",164 "orml-traits/std",165 "pallet-foreign-assets/std",166 "pallet-maintenance/std",167]168limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']169quartz-runtime = ['refungible', 'app-promotion']170171refungible = []172scheduler = []173rmrk = []174foreign-assets = []175app-promotion = []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.33"191192[dependencies.frame-try-runtime]193default-features = false194git = "https://github.com/paritytech/substrate"195optional = true196branch = "polkadot-v0.9.33"197198[dependencies.frame-executive]199default-features = false200git = "https://github.com/paritytech/substrate"201branch = "polkadot-v0.9.33"202203[dependencies.frame-support]204default-features = false205git = "https://github.com/paritytech/substrate"206branch = "polkadot-v0.9.33"207208[dependencies.frame-system]209default-features = false210git = "https://github.com/paritytech/substrate"211branch = "polkadot-v0.9.33"212213[dependencies.frame-system-benchmarking]214default-features = false215git = "https://github.com/paritytech/substrate"216optional = true217branch = "polkadot-v0.9.33"218219[dependencies.frame-system-rpc-runtime-api]220default-features = false221git = "https://github.com/paritytech/substrate"222branch = "polkadot-v0.9.33"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.33"238239[dependencies.pallet-balances]240default-features = false241git = "https://github.com/paritytech/substrate"242branch = "polkadot-v0.9.33"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.33"267268[dependencies.pallet-sudo]269default-features = false270git = "https://github.com/paritytech/substrate"271branch = "polkadot-v0.9.33"272273[dependencies.pallet-timestamp]274default-features = false275git = "https://github.com/paritytech/substrate"276branch = "polkadot-v0.9.33"277278[dependencies.pallet-transaction-payment]279default-features = false280git = "https://github.com/paritytech/substrate"281branch = "polkadot-v0.9.33"282283[dependencies.pallet-transaction-payment-rpc-runtime-api]284default-features = false285git = "https://github.com/paritytech/substrate"286branch = "polkadot-v0.9.33"287288[dependencies.pallet-treasury]289default-features = false290git = "https://github.com/paritytech/substrate"291branch = "polkadot-v0.9.33"292293[dependencies.sp-arithmetic]294default-features = false295git = "https://github.com/paritytech/substrate"296branch = "polkadot-v0.9.33"297298[dependencies.sp-api]299default-features = false300git = "https://github.com/paritytech/substrate"301branch = "polkadot-v0.9.33"302303[dependencies.sp-block-builder]304default-features = false305git = "https://github.com/paritytech/substrate"306branch = "polkadot-v0.9.33"307308[dependencies.sp-core]309default-features = false310git = "https://github.com/paritytech/substrate"311branch = "polkadot-v0.9.33"312313[dependencies.sp-consensus-aura]314default-features = false315git = "https://github.com/paritytech/substrate"316branch = "polkadot-v0.9.33"317318[dependencies.sp-inherents]319default-features = false320git = "https://github.com/paritytech/substrate"321branch = "polkadot-v0.9.33"322323[dependencies.sp-io]324default-features = false325git = "https://github.com/paritytech/substrate"326branch = "polkadot-v0.9.33"327328[dependencies.sp-offchain]329default-features = false330git = "https://github.com/paritytech/substrate"331branch = "polkadot-v0.9.33"332333[dependencies.sp-runtime]334default-features = false335git = "https://github.com/paritytech/substrate"336branch = "polkadot-v0.9.33"337338[dependencies.sp-session]339default-features = false340git = "https://github.com/paritytech/substrate"341branch = "polkadot-v0.9.33"342343[dependencies.sp-std]344default-features = false345git = "https://github.com/paritytech/substrate"346branch = "polkadot-v0.9.33"347348[dependencies.sp-transaction-pool]349default-features = false350git = "https://github.com/paritytech/substrate"351branch = "polkadot-v0.9.33"352353[dependencies.sp-version]354default-features = false355git = "https://github.com/paritytech/substrate"356branch = "polkadot-v0.9.33"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.33"368369[dependencies.cumulus-pallet-aura-ext]370git = "https://github.com/paritytech/cumulus"371branch = "polkadot-v0.9.33"372default-features = false373374[dependencies.cumulus-pallet-parachain-system]375git = "https://github.com/paritytech/cumulus"376branch = "polkadot-v0.9.33"377default-features = false378379[dependencies.cumulus-primitives-core]380git = "https://github.com/paritytech/cumulus"381branch = "polkadot-v0.9.33"382default-features = false383384[dependencies.cumulus-pallet-xcm]385git = "https://github.com/paritytech/cumulus"386branch = "polkadot-v0.9.33"387default-features = false388389[dependencies.cumulus-pallet-dmp-queue]390git = "https://github.com/paritytech/cumulus"391branch = "polkadot-v0.9.33"392default-features = false393394[dependencies.cumulus-pallet-xcmp-queue]395git = "https://github.com/paritytech/cumulus"396branch = "polkadot-v0.9.33"397default-features = false398399[dependencies.cumulus-primitives-utility]400git = "https://github.com/paritytech/cumulus"401branch = "polkadot-v0.9.33"402default-features = false403404[dependencies.cumulus-primitives-timestamp]405git = "https://github.com/paritytech/cumulus"406branch = "polkadot-v0.9.33"407default-features = false408409################################################################################410# Polkadot dependencies411412[dependencies.polkadot-parachain]413git = "https://github.com/paritytech/polkadot"414branch = "release-v0.9.33"415default-features = false416417[dependencies.xcm]418git = "https://github.com/paritytech/polkadot"419branch = "release-v0.9.33"420default-features = false421422[dependencies.xcm-builder]423git = "https://github.com/paritytech/polkadot"424branch = "release-v0.9.33"425default-features = false426427[dependencies.xcm-executor]428git = "https://github.com/paritytech/polkadot"429branch = "release-v0.9.33"430default-features = false431432[dependencies.pallet-xcm]433git = "https://github.com/paritytech/polkadot"434branch = "release-v0.9.33"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.33" }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" }475# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }476pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.33", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }477pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }478pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }479pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }480pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }481pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }482pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }483pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }484fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }485fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }486evm-coder = { default-features = false, path = '../../crates/evm-coder' }487up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = 'polkadot-v0.9.33' }488pallet-foreign-assets = { default-features = false, path = "../../pallets/foreign-assets" }489pallet-maintenance = { default-features = false, path = "../../pallets/maintenance" }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.33"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.33'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-app-promotion/runtime-benchmarks',44 'pallet-xcm/runtime-benchmarks',45 'sp-runtime/runtime-benchmarks',46 'xcm-builder/runtime-benchmarks',47 'pallet-maintenance/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-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-ethereum/try-runtime',85 'pallet-evm-coder-substrate/try-runtime',86 'pallet-evm-contract-helpers/try-runtime',87 'pallet-evm-transaction-payment/try-runtime',88 'pallet-evm-migration/try-runtime',89 'pallet-maintenance/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-app-promotion/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-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 "pallet-maintenance/std",169]170limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']171quartz-runtime = ['refungible', 'app-promotion']172173refungible = []174scheduler = []175rmrk = []176foreign-assets = []177app-promotion = []178179################################################################################180# Substrate Dependencies181182[dependencies.codec]183default-features = false184features = ['derive']185package = 'parity-scale-codec'186version = '3.1.2'187188[dependencies.frame-benchmarking]189default-features = false190git = "https://github.com/paritytech/substrate"191optional = true192branch = "polkadot-v0.9.33"193194[dependencies.frame-try-runtime]195default-features = false196git = "https://github.com/paritytech/substrate"197optional = true198branch = "polkadot-v0.9.33"199200[dependencies.frame-executive]201default-features = false202git = "https://github.com/paritytech/substrate"203branch = "polkadot-v0.9.33"204205[dependencies.frame-support]206default-features = false207git = "https://github.com/paritytech/substrate"208branch = "polkadot-v0.9.33"209210[dependencies.frame-system]211default-features = false212git = "https://github.com/paritytech/substrate"213branch = "polkadot-v0.9.33"214215[dependencies.frame-system-benchmarking]216default-features = false217git = "https://github.com/paritytech/substrate"218optional = true219branch = "polkadot-v0.9.33"220221[dependencies.frame-system-rpc-runtime-api]222default-features = false223git = "https://github.com/paritytech/substrate"224branch = "polkadot-v0.9.33"225226[dependencies.hex-literal]227optional = true228version = '0.3.3'229230[dependencies.serde]231default-features = false232features = ['derive']233optional = true234version = '1.0.130'235236[dependencies.pallet-aura]237default-features = false238git = "https://github.com/paritytech/substrate"239branch = "polkadot-v0.9.33"240241[dependencies.pallet-balances]242default-features = false243git = "https://github.com/paritytech/substrate"244branch = "polkadot-v0.9.33"245246# Contracts specific packages247# [dependencies.pallet-contracts]248# git = 'https://github.com/paritytech/substrate'249# default-features = false250# branch = 'master'251# version = '4.0.0-dev'252253# [dependencies.pallet-contracts-primitives]254# git = 'https://github.com/paritytech/substrate'255# default-features = false256# branch = 'master'257# version = '4.0.0-dev'258259# [dependencies.pallet-contracts-rpc-runtime-api]260# git = 'https://github.com/paritytech/substrate'261# default-features = false262# branch = 'master'263# version = '4.0.0-dev'264265[dependencies.pallet-randomness-collective-flip]266default-features = false267git = "https://github.com/paritytech/substrate"268branch = "polkadot-v0.9.33"269270[dependencies.pallet-sudo]271default-features = false272git = "https://github.com/paritytech/substrate"273branch = "polkadot-v0.9.33"274275[dependencies.pallet-timestamp]276default-features = false277git = "https://github.com/paritytech/substrate"278branch = "polkadot-v0.9.33"279280[dependencies.pallet-transaction-payment]281default-features = false282git = "https://github.com/paritytech/substrate"283branch = "polkadot-v0.9.33"284285[dependencies.pallet-transaction-payment-rpc-runtime-api]286default-features = false287git = "https://github.com/paritytech/substrate"288branch = "polkadot-v0.9.33"289290[dependencies.pallet-treasury]291default-features = false292git = "https://github.com/paritytech/substrate"293branch = "polkadot-v0.9.33"294295[dependencies.sp-arithmetic]296default-features = false297git = "https://github.com/paritytech/substrate"298branch = "polkadot-v0.9.33"299300[dependencies.sp-api]301default-features = false302git = "https://github.com/paritytech/substrate"303branch = "polkadot-v0.9.33"304305[dependencies.sp-block-builder]306default-features = false307git = "https://github.com/paritytech/substrate"308branch = "polkadot-v0.9.33"309310[dependencies.sp-core]311default-features = false312git = "https://github.com/paritytech/substrate"313branch = "polkadot-v0.9.33"314315[dependencies.sp-consensus-aura]316default-features = false317git = "https://github.com/paritytech/substrate"318branch = "polkadot-v0.9.33"319320[dependencies.sp-inherents]321default-features = false322git = "https://github.com/paritytech/substrate"323branch = "polkadot-v0.9.33"324325[dependencies.sp-io]326default-features = false327git = "https://github.com/paritytech/substrate"328branch = "polkadot-v0.9.33"329330[dependencies.sp-offchain]331default-features = false332git = "https://github.com/paritytech/substrate"333branch = "polkadot-v0.9.33"334335[dependencies.sp-runtime]336default-features = false337git = "https://github.com/paritytech/substrate"338branch = "polkadot-v0.9.33"339340[dependencies.sp-session]341default-features = false342git = "https://github.com/paritytech/substrate"343branch = "polkadot-v0.9.33"344345[dependencies.sp-std]346default-features = false347git = "https://github.com/paritytech/substrate"348branch = "polkadot-v0.9.33"349350[dependencies.sp-transaction-pool]351default-features = false352git = "https://github.com/paritytech/substrate"353branch = "polkadot-v0.9.33"354355[dependencies.sp-version]356default-features = false357git = "https://github.com/paritytech/substrate"358branch = "polkadot-v0.9.33"359360[dependencies.smallvec]361version = '1.6.1'362363################################################################################364# Cumulus dependencies365366[dependencies.parachain-info]367default-features = false368git = "https://github.com/paritytech/cumulus"369branch = "polkadot-v0.9.33"370371[dependencies.cumulus-pallet-aura-ext]372git = "https://github.com/paritytech/cumulus"373branch = "polkadot-v0.9.33"374default-features = false375376[dependencies.cumulus-pallet-parachain-system]377git = "https://github.com/paritytech/cumulus"378branch = "polkadot-v0.9.33"379default-features = false380381[dependencies.cumulus-primitives-core]382git = "https://github.com/paritytech/cumulus"383branch = "polkadot-v0.9.33"384default-features = false385386[dependencies.cumulus-pallet-xcm]387git = "https://github.com/paritytech/cumulus"388branch = "polkadot-v0.9.33"389default-features = false390391[dependencies.cumulus-pallet-dmp-queue]392git = "https://github.com/paritytech/cumulus"393branch = "polkadot-v0.9.33"394default-features = false395396[dependencies.cumulus-pallet-xcmp-queue]397git = "https://github.com/paritytech/cumulus"398branch = "polkadot-v0.9.33"399default-features = false400401[dependencies.cumulus-primitives-utility]402git = "https://github.com/paritytech/cumulus"403branch = "polkadot-v0.9.33"404default-features = false405406[dependencies.cumulus-primitives-timestamp]407git = "https://github.com/paritytech/cumulus"408branch = "polkadot-v0.9.33"409default-features = false410411################################################################################412# Polkadot dependencies413414[dependencies.polkadot-parachain]415git = "https://github.com/paritytech/polkadot"416branch = "release-v0.9.33"417default-features = false418419[dependencies.xcm]420git = "https://github.com/paritytech/polkadot"421branch = "release-v0.9.33"422default-features = false423424[dependencies.xcm-builder]425git = "https://github.com/paritytech/polkadot"426branch = "release-v0.9.33"427default-features = false428429[dependencies.xcm-executor]430git = "https://github.com/paritytech/polkadot"431branch = "release-v0.9.33"432default-features = false433434[dependencies.pallet-xcm]435git = "https://github.com/paritytech/polkadot"436branch = "release-v0.9.33"437default-features = false438439################################################################################440# RMRK dependencies441442# todo git443[dependencies.rmrk-rpc]444default-features = false445path = "../../primitives/rmrk-rpc"446447################################################################################448# local dependencies449450[dependencies]451orml-vesting.workspace = true452orml-xtokens.workspace = true453orml-tokens.workspace = true454orml-traits.workspace = true455456log = { version = "0.4.16", default-features = false }457up-common = { path = "../../primitives/common", default-features = false }458scale-info = { version = "2.0.1", default-features = false, features = [459 "derive",460] }461derivative = "2.2.0"462pallet-unique = { path = '../../pallets/unique', default-features = false }463up-rpc = { path = "../../primitives/rpc", default-features = false }464app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false }465fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }466pallet-inflation = { path = '../../pallets/inflation', default-features = false }467pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }468up-data-structs = { path = '../../primitives/data-structs', default-features = false }469pallet-configuration = { default-features = false, path = "../../pallets/configuration" }470pallet-common = { default-features = false, path = "../../pallets/common" }471pallet-structure = { default-features = false, path = "../../pallets/structure" }472pallet-fungible = { default-features = false, path = "../../pallets/fungible" }473pallet-refungible = { default-features = false, path = "../../pallets/refungible" }474pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }475pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" }476pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }477# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }478pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.33", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }479pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }480pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }481pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }482pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }483pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }484pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }485pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }486fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }487fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }488evm-coder = { default-features = false, path = '../../crates/evm-coder' }489up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = 'polkadot-v0.9.33' }490pallet-foreign-assets = { default-features = false, path = "../../pallets/foreign-assets" }491pallet-maintenance = { default-features = false, path = "../../pallets/maintenance" }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.33"runtime/unique/Cargo.tomldiffbeforeafterboth--- a/runtime/unique/Cargo.toml
+++ b/runtime/unique/Cargo.toml
@@ -40,6 +40,7 @@
'pallet-unique/runtime-benchmarks',
'pallet-foreign-assets/runtime-benchmarks',
'pallet-inflation/runtime-benchmarks',
+ 'pallet-app-promotion/runtime-benchmarks',
'pallet-xcm/runtime-benchmarks',
'sp-runtime/runtime-benchmarks',
'xcm-builder/runtime-benchmarks',
@@ -129,6 +130,7 @@
'serde',
'pallet-inflation/std',
'pallet-configuration/std',
+ 'pallet-app-promotion/std',
'pallet-common/std',
'pallet-structure/std',
'pallet-fungible/std',