difftreelog
Merge pull request #770 from UniqueNetwork/fix/disable-scheduler-v2-everywhere
in: master
4 files changed
runtime/common/construct_runtime/mod.rsdiffbeforeafterboth--- a/runtime/common/construct_runtime/mod.rs
+++ b/runtime/common/construct_runtime/mod.rs
@@ -57,8 +57,8 @@
Inflation: pallet_inflation::{Pallet, Call, Storage} = 60,
Unique: pallet_unique::{Pallet, Call, Storage} = 61,
- #[runtimes(opal)]
- Scheduler: pallet_unique_scheduler_v2::{Pallet, Call, Storage, Event<T>} = 62,
+ // #[runtimes(opal)]
+ // Scheduler: pallet_unique_scheduler_v2::{Pallet, Call, Storage, Event<T>} = 62,
Configuration: pallet_configuration::{Pallet, Call, Storage} = 63,
runtime/opal/Cargo.tomldiffbeforeafterboth1################################################################################2# Package34cargo-features = ["workspace-inheritance"]56[package]7authors = ['Unique Network <support@uniquenetwork.io>']8build = 'build.rs'9description = 'Opal Runtime'10edition = '2021'11homepage = 'https://unique.network'12license = 'GPLv3'13name = 'opal-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', 'opal-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-foreign-assets/runtime-benchmarks',41 'pallet-unique/runtime-benchmarks',42 'pallet-inflation/runtime-benchmarks',43 'pallet-app-promotion/runtime-benchmarks',44 'pallet-unique-scheduler-v2/runtime-benchmarks',45 'pallet-xcm/runtime-benchmarks',46 'sp-runtime/runtime-benchmarks',47 'xcm-builder/runtime-benchmarks',48 'pallet-maintenance/runtime-benchmarks',49]50try-runtime = [51 'frame-try-runtime',52 'frame-try-runtime?/try-runtime',53 'frame-executive/try-runtime',54 'frame-support/try-runtime',55 'frame-system/try-runtime',56 'cumulus-pallet-parachain-system/try-runtime',57 'parachain-info/try-runtime',58 'pallet-aura/try-runtime',59 'cumulus-pallet-aura-ext/try-runtime',60 'pallet-balances/try-runtime',61 'pallet-randomness-collective-flip/try-runtime',62 'pallet-timestamp/try-runtime',63 'pallet-transaction-payment/try-runtime',64 'pallet-treasury/try-runtime',65 'pallet-sudo/try-runtime',66 'orml-vesting/try-runtime',67 'orml-xtokens/try-runtime',68 'orml-tokens/try-runtime',69 'cumulus-pallet-xcmp-queue/try-runtime',70 'pallet-xcm/try-runtime',71 'cumulus-pallet-xcm/try-runtime',72 'cumulus-pallet-dmp-queue/try-runtime',73 'pallet-inflation/try-runtime',74 'pallet-unique/try-runtime',75 'pallet-configuration/try-runtime',76 'pallet-charge-transaction/try-runtime',77 'pallet-common/try-runtime',78 'pallet-fungible/try-runtime',79 'pallet-refungible/try-runtime',80 'pallet-nonfungible/try-runtime',81 'pallet-structure/try-runtime',82 'pallet-proxy-rmrk-core/try-runtime',83 'pallet-proxy-rmrk-equip/try-runtime',84 'pallet-app-promotion/try-runtime',85 'pallet-foreign-assets/try-runtime',86 'pallet-ethereum/try-runtime',87 'pallet-evm/try-runtime',88 'pallet-evm-coder-substrate/try-runtime',89 'pallet-evm-contract-helpers/try-runtime',90 'pallet-evm-transaction-payment/try-runtime',91 'pallet-evm-migration/try-runtime',92 'pallet-base-fee/try-runtime',93 'pallet-unique-scheduler-v2/try-runtime',94 'pallet-maintenance/try-runtime',95 'pallet-test-utils?/try-runtime',96]97std = [98 'codec/std',99 'cumulus-pallet-aura-ext/std',100 'cumulus-pallet-parachain-system/std',101 'cumulus-pallet-xcm/std',102 'cumulus-pallet-xcmp-queue/std',103 'cumulus-primitives-core/std',104 'cumulus-primitives-utility/std',105 'frame-try-runtime/std',106 'frame-executive/std',107 'frame-support/std',108 'frame-system/std',109 'frame-system-rpc-runtime-api/std',110 'pallet-aura/std',111 'pallet-balances/std',112 # 'pallet-contracts/std',113 # 'pallet-contracts-primitives/std',114 # 'pallet-contracts-rpc-runtime-api/std',115 # 'pallet-contract-helpers/std',116 'pallet-randomness-collective-flip/std',117 'pallet-sudo/std',118 'pallet-timestamp/std',119 'pallet-transaction-payment/std',120 'pallet-transaction-payment-rpc-runtime-api/std',121 'pallet-treasury/std',122 'pallet-evm/std',123 'pallet-evm-migration/std',124 'pallet-evm-contract-helpers/std',125 'pallet-evm-transaction-payment/std',126 'pallet-evm-coder-substrate/std',127 'pallet-ethereum/std',128 'pallet-base-fee/std',129 'fp-rpc/std',130 'up-rpc/std',131 'app-promotion-rpc/std',132 'fp-evm-mapping/std',133 'fp-self-contained/std',134 'parachain-info/std',135 'serde',136 'pallet-inflation/std',137 'pallet-configuration/std',138 'pallet-app-promotion/std',139 'pallet-common/std',140 'pallet-structure/std',141 'pallet-fungible/std',142 'pallet-refungible/std',143 'pallet-nonfungible/std',144 'pallet-proxy-rmrk-core/std',145 'pallet-proxy-rmrk-equip/std',146 'pallet-unique/std',147 'pallet-unique-scheduler-v2/std',148 'pallet-charge-transaction/std',149 'up-data-structs/std',150 'sp-api/std',151 'sp-block-builder/std',152 "sp-consensus-aura/std",153 'sp-core/std',154 'sp-inherents/std',155 'sp-io/std',156 'sp-offchain/std',157 'sp-runtime/std',158 'sp-session/std',159 'sp-std/std',160 'sp-transaction-pool/std',161 'sp-version/std',162 'xcm/std',163 'xcm-builder/std',164 'xcm-executor/std',165 'up-common/std',166 'rmrk-rpc/std',167 'evm-coder/std',168 'up-sponsorship/std',169170 "orml-vesting/std",171 "orml-tokens/std",172 "orml-xtokens/std",173 "orml-traits/std",174 "pallet-foreign-assets/std",175176 'pallet-maintenance/std',177 'pallet-test-utils?/std',178]179limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']180opal-runtime = [181 'refungible',182 'scheduler',183 'rmrk',184 'app-promotion',185 'foreign-assets',186 'pallet-test-utils',187]188become-sapphire = []189190refungible = []191scheduler = []192rmrk = []193foreign-assets = []194app-promotion = []195196################################################################################197# Substrate Dependencies198199[dependencies.codec]200default-features = false201features = ['derive']202package = 'parity-scale-codec'203version = '3.1.2'204205[dependencies.frame-benchmarking]206default-features = false207git = "https://github.com/paritytech/substrate"208optional = true209branch = "polkadot-v0.9.33"210211[dependencies.frame-try-runtime]212default-features = false213git = "https://github.com/paritytech/substrate"214optional = true215branch = "polkadot-v0.9.33"216217[dependencies.frame-executive]218default-features = false219git = "https://github.com/paritytech/substrate"220branch = "polkadot-v0.9.33"221222[dependencies.frame-support]223default-features = false224git = "https://github.com/paritytech/substrate"225branch = "polkadot-v0.9.33"226227[dependencies.frame-system]228default-features = false229git = "https://github.com/paritytech/substrate"230branch = "polkadot-v0.9.33"231232[dependencies.frame-system-benchmarking]233default-features = false234git = "https://github.com/paritytech/substrate"235optional = true236branch = "polkadot-v0.9.33"237238[dependencies.frame-system-rpc-runtime-api]239default-features = false240git = "https://github.com/paritytech/substrate"241branch = "polkadot-v0.9.33"242243[dependencies.hex-literal]244optional = true245version = '0.3.3'246247[dependencies.serde]248default-features = false249features = ['derive']250optional = true251version = '1.0.130'252253[dependencies.pallet-aura]254default-features = false255git = "https://github.com/paritytech/substrate"256branch = "polkadot-v0.9.33"257258[dependencies.pallet-balances]259default-features = false260git = "https://github.com/paritytech/substrate"261branch = "polkadot-v0.9.33"262263# Contracts specific packages264# [dependencies.pallet-contracts]265# git = 'https://github.com/paritytech/substrate'266# default-features = false267# branch = 'master'268# version = '4.0.0-dev'269270# [dependencies.pallet-contracts-primitives]271# git = 'https://github.com/paritytech/substrate'272# default-features = false273# branch = 'master'274# version = '4.0.0-dev'275276# [dependencies.pallet-contracts-rpc-runtime-api]277# git = 'https://github.com/paritytech/substrate'278# default-features = false279# branch = 'master'280# version = '4.0.0-dev'281282[dependencies.pallet-randomness-collective-flip]283default-features = false284git = "https://github.com/paritytech/substrate"285branch = "polkadot-v0.9.33"286287[dependencies.pallet-sudo]288default-features = false289git = "https://github.com/paritytech/substrate"290branch = "polkadot-v0.9.33"291292[dependencies.pallet-timestamp]293default-features = false294git = "https://github.com/paritytech/substrate"295branch = "polkadot-v0.9.33"296297[dependencies.pallet-transaction-payment]298default-features = false299git = "https://github.com/paritytech/substrate"300branch = "polkadot-v0.9.33"301302[dependencies.pallet-transaction-payment-rpc-runtime-api]303default-features = false304git = "https://github.com/paritytech/substrate"305branch = "polkadot-v0.9.33"306307[dependencies.pallet-treasury]308default-features = false309git = "https://github.com/paritytech/substrate"310branch = "polkadot-v0.9.33"311312[dependencies.sp-arithmetic]313default-features = false314git = "https://github.com/paritytech/substrate"315branch = "polkadot-v0.9.33"316317[dependencies.sp-api]318default-features = false319git = "https://github.com/paritytech/substrate"320branch = "polkadot-v0.9.33"321322[dependencies.sp-block-builder]323default-features = false324git = "https://github.com/paritytech/substrate"325branch = "polkadot-v0.9.33"326327[dependencies.sp-core]328default-features = false329git = "https://github.com/paritytech/substrate"330branch = "polkadot-v0.9.33"331332[dependencies.sp-consensus-aura]333default-features = false334git = "https://github.com/paritytech/substrate"335branch = "polkadot-v0.9.33"336337[dependencies.sp-inherents]338default-features = false339git = "https://github.com/paritytech/substrate"340branch = "polkadot-v0.9.33"341342[dependencies.sp-io]343default-features = false344git = "https://github.com/paritytech/substrate"345branch = "polkadot-v0.9.33"346347[dependencies.sp-offchain]348default-features = false349git = "https://github.com/paritytech/substrate"350branch = "polkadot-v0.9.33"351352[dependencies.sp-runtime]353default-features = false354git = "https://github.com/paritytech/substrate"355branch = "polkadot-v0.9.33"356357[dependencies.sp-session]358default-features = false359git = "https://github.com/paritytech/substrate"360branch = "polkadot-v0.9.33"361362[dependencies.sp-std]363default-features = false364git = "https://github.com/paritytech/substrate"365branch = "polkadot-v0.9.33"366367[dependencies.sp-transaction-pool]368default-features = false369git = "https://github.com/paritytech/substrate"370branch = "polkadot-v0.9.33"371372[dependencies.sp-version]373default-features = false374git = "https://github.com/paritytech/substrate"375branch = "polkadot-v0.9.33"376377[dependencies.smallvec]378version = '1.6.1'379380################################################################################381# Cumulus dependencies382383[dependencies.parachain-info]384default-features = false385git = "https://github.com/paritytech/cumulus"386branch = "polkadot-v0.9.33"387388[dependencies.cumulus-pallet-aura-ext]389git = "https://github.com/paritytech/cumulus"390branch = "polkadot-v0.9.33"391default-features = false392393[dependencies.cumulus-pallet-parachain-system]394git = "https://github.com/paritytech/cumulus"395branch = "polkadot-v0.9.33"396default-features = false397398[dependencies.cumulus-primitives-core]399git = "https://github.com/paritytech/cumulus"400branch = "polkadot-v0.9.33"401default-features = false402403[dependencies.cumulus-pallet-xcm]404git = "https://github.com/paritytech/cumulus"405branch = "polkadot-v0.9.33"406default-features = false407408[dependencies.cumulus-pallet-dmp-queue]409git = "https://github.com/paritytech/cumulus"410branch = "polkadot-v0.9.33"411default-features = false412413[dependencies.cumulus-pallet-xcmp-queue]414git = "https://github.com/paritytech/cumulus"415branch = "polkadot-v0.9.33"416default-features = false417418[dependencies.cumulus-primitives-utility]419git = "https://github.com/paritytech/cumulus"420branch = "polkadot-v0.9.33"421default-features = false422423[dependencies.cumulus-primitives-timestamp]424git = "https://github.com/paritytech/cumulus"425branch = "polkadot-v0.9.33"426default-features = false427428################################################################################429# Polkadot dependencies430431[dependencies.polkadot-parachain]432git = "https://github.com/paritytech/polkadot"433branch = "release-v0.9.33"434default-features = false435436[dependencies.xcm]437git = "https://github.com/paritytech/polkadot"438branch = "release-v0.9.33"439default-features = false440441[dependencies.xcm-builder]442git = "https://github.com/paritytech/polkadot"443branch = "release-v0.9.33"444default-features = false445446[dependencies.xcm-executor]447git = "https://github.com/paritytech/polkadot"448branch = "release-v0.9.33"449default-features = false450451[dependencies.pallet-xcm]452git = "https://github.com/paritytech/polkadot"453branch = "release-v0.9.33"454default-features = false455456################################################################################457# local dependencies458459[dependencies]460orml-vesting.workspace = true461orml-xtokens.workspace = true462orml-tokens.workspace = true463orml-traits.workspace = true464465log = { version = "0.4.16", default-features = false }466up-common = { path = "../../primitives/common", default-features = false }467scale-info = { version = "2.0.1", default-features = false, features = [468 "derive",469] }470derivative = "2.2.0"471pallet-unique = { path = '../../pallets/unique', default-features = false }472up-rpc = { path = "../../primitives/rpc", default-features = false }473app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false }474rmrk-rpc = { path = "../../primitives/rmrk-rpc", default-features = false }475fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }476pallet-inflation = { path = '../../pallets/inflation', default-features = false }477pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }478up-data-structs = { path = '../../primitives/data-structs', default-features = false }479pallet-configuration = { default-features = false, path = "../../pallets/configuration" }480pallet-common = { default-features = false, path = "../../pallets/common" }481pallet-structure = { default-features = false, path = "../../pallets/structure" }482pallet-fungible = { default-features = false, path = "../../pallets/fungible" }483pallet-refungible = { default-features = false, path = "../../pallets/refungible" }484pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }485pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" }486pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }487pallet-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" }488pallet-unique-scheduler-v2 = { path = '../../pallets/scheduler-v2', default-features = false }489pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }490pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }491pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }492pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }493pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }494pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }495pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }496fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }497fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }498evm-coder = { default-features = false, path = '../../crates/evm-coder' }499up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = 'polkadot-v0.9.33' }500pallet-foreign-assets = { default-features = false, path = "../../pallets/foreign-assets" }501pallet-maintenance = { default-features = false, path = "../../pallets/maintenance" }502503################################################################################504# Test dependencies505506pallet-test-utils = { optional = true, default-features = false, path = "../../test-pallets/utils" }507508################################################################################509# Other Dependencies510511impl-trait-for-tuples = "0.2.2"512513################################################################################514# Dev Dependencies515516[dev-dependencies.logtest]517version = "2.0.0"518519################################################################################520# Build Dependencies521522[build-dependencies.substrate-wasm-builder]523git = "https://github.com/paritytech/substrate"524branch = "polkadot-v0.9.33"1################################################################################2# Package34cargo-features = ["workspace-inheritance"]56[package]7authors = ['Unique Network <support@uniquenetwork.io>']8build = 'build.rs'9description = 'Opal Runtime'10edition = '2021'11homepage = 'https://unique.network'12license = 'GPLv3'13name = 'opal-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', 'opal-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-foreign-assets/runtime-benchmarks',41 'pallet-unique/runtime-benchmarks',42 'pallet-inflation/runtime-benchmarks',43 'pallet-app-promotion/runtime-benchmarks',44 'pallet-unique-scheduler-v2/runtime-benchmarks',45 'pallet-xcm/runtime-benchmarks',46 'sp-runtime/runtime-benchmarks',47 'xcm-builder/runtime-benchmarks',48 'pallet-maintenance/runtime-benchmarks',49]50try-runtime = [51 'frame-try-runtime',52 'frame-try-runtime?/try-runtime',53 'frame-executive/try-runtime',54 'frame-support/try-runtime',55 'frame-system/try-runtime',56 'cumulus-pallet-parachain-system/try-runtime',57 'parachain-info/try-runtime',58 'pallet-aura/try-runtime',59 'cumulus-pallet-aura-ext/try-runtime',60 'pallet-balances/try-runtime',61 'pallet-randomness-collective-flip/try-runtime',62 'pallet-timestamp/try-runtime',63 'pallet-transaction-payment/try-runtime',64 'pallet-treasury/try-runtime',65 'pallet-sudo/try-runtime',66 'orml-vesting/try-runtime',67 'orml-xtokens/try-runtime',68 'orml-tokens/try-runtime',69 'cumulus-pallet-xcmp-queue/try-runtime',70 'pallet-xcm/try-runtime',71 'cumulus-pallet-xcm/try-runtime',72 'cumulus-pallet-dmp-queue/try-runtime',73 'pallet-inflation/try-runtime',74 'pallet-unique/try-runtime',75 'pallet-configuration/try-runtime',76 'pallet-charge-transaction/try-runtime',77 'pallet-common/try-runtime',78 'pallet-fungible/try-runtime',79 'pallet-refungible/try-runtime',80 'pallet-nonfungible/try-runtime',81 'pallet-structure/try-runtime',82 'pallet-proxy-rmrk-core/try-runtime',83 'pallet-proxy-rmrk-equip/try-runtime',84 'pallet-app-promotion/try-runtime',85 'pallet-foreign-assets/try-runtime',86 'pallet-ethereum/try-runtime',87 'pallet-evm/try-runtime',88 'pallet-evm-coder-substrate/try-runtime',89 'pallet-evm-contract-helpers/try-runtime',90 'pallet-evm-transaction-payment/try-runtime',91 'pallet-evm-migration/try-runtime',92 'pallet-base-fee/try-runtime',93 'pallet-unique-scheduler-v2/try-runtime',94 'pallet-maintenance/try-runtime',95 'pallet-test-utils?/try-runtime',96]97std = [98 'codec/std',99 'cumulus-pallet-aura-ext/std',100 'cumulus-pallet-parachain-system/std',101 'cumulus-pallet-xcm/std',102 'cumulus-pallet-xcmp-queue/std',103 'cumulus-primitives-core/std',104 'cumulus-primitives-utility/std',105 'frame-try-runtime/std',106 'frame-executive/std',107 'frame-support/std',108 'frame-system/std',109 'frame-system-rpc-runtime-api/std',110 'pallet-aura/std',111 'pallet-balances/std',112 # 'pallet-contracts/std',113 # 'pallet-contracts-primitives/std',114 # 'pallet-contracts-rpc-runtime-api/std',115 # 'pallet-contract-helpers/std',116 'pallet-randomness-collective-flip/std',117 'pallet-sudo/std',118 'pallet-timestamp/std',119 'pallet-transaction-payment/std',120 'pallet-transaction-payment-rpc-runtime-api/std',121 'pallet-treasury/std',122 'pallet-evm/std',123 'pallet-evm-migration/std',124 'pallet-evm-contract-helpers/std',125 'pallet-evm-transaction-payment/std',126 'pallet-evm-coder-substrate/std',127 'pallet-ethereum/std',128 'pallet-base-fee/std',129 'fp-rpc/std',130 'up-rpc/std',131 'app-promotion-rpc/std',132 'fp-evm-mapping/std',133 'fp-self-contained/std',134 'parachain-info/std',135 'serde',136 'pallet-inflation/std',137 'pallet-configuration/std',138 'pallet-app-promotion/std',139 'pallet-common/std',140 'pallet-structure/std',141 'pallet-fungible/std',142 'pallet-refungible/std',143 'pallet-nonfungible/std',144 'pallet-proxy-rmrk-core/std',145 'pallet-proxy-rmrk-equip/std',146 'pallet-unique/std',147 'pallet-unique-scheduler-v2/std',148 'pallet-charge-transaction/std',149 'up-data-structs/std',150 'sp-api/std',151 'sp-block-builder/std',152 "sp-consensus-aura/std",153 'sp-core/std',154 'sp-inherents/std',155 'sp-io/std',156 'sp-offchain/std',157 'sp-runtime/std',158 'sp-session/std',159 'sp-std/std',160 'sp-transaction-pool/std',161 'sp-version/std',162 'xcm/std',163 'xcm-builder/std',164 'xcm-executor/std',165 'up-common/std',166 'rmrk-rpc/std',167 'evm-coder/std',168 'up-sponsorship/std',169170 "orml-vesting/std",171 "orml-tokens/std",172 "orml-xtokens/std",173 "orml-traits/std",174 "pallet-foreign-assets/std",175176 'pallet-maintenance/std',177 'pallet-test-utils?/std',178]179limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']180opal-runtime = [181 'refungible',182 'rmrk',183 'app-promotion',184 'foreign-assets',185 'pallet-test-utils',186]187become-sapphire = []188189refungible = []190scheduler = []191rmrk = []192foreign-assets = []193app-promotion = []194195################################################################################196# Substrate Dependencies197198[dependencies.codec]199default-features = false200features = ['derive']201package = 'parity-scale-codec'202version = '3.1.2'203204[dependencies.frame-benchmarking]205default-features = false206git = "https://github.com/paritytech/substrate"207optional = true208branch = "polkadot-v0.9.33"209210[dependencies.frame-try-runtime]211default-features = false212git = "https://github.com/paritytech/substrate"213optional = true214branch = "polkadot-v0.9.33"215216[dependencies.frame-executive]217default-features = false218git = "https://github.com/paritytech/substrate"219branch = "polkadot-v0.9.33"220221[dependencies.frame-support]222default-features = false223git = "https://github.com/paritytech/substrate"224branch = "polkadot-v0.9.33"225226[dependencies.frame-system]227default-features = false228git = "https://github.com/paritytech/substrate"229branch = "polkadot-v0.9.33"230231[dependencies.frame-system-benchmarking]232default-features = false233git = "https://github.com/paritytech/substrate"234optional = true235branch = "polkadot-v0.9.33"236237[dependencies.frame-system-rpc-runtime-api]238default-features = false239git = "https://github.com/paritytech/substrate"240branch = "polkadot-v0.9.33"241242[dependencies.hex-literal]243optional = true244version = '0.3.3'245246[dependencies.serde]247default-features = false248features = ['derive']249optional = true250version = '1.0.130'251252[dependencies.pallet-aura]253default-features = false254git = "https://github.com/paritytech/substrate"255branch = "polkadot-v0.9.33"256257[dependencies.pallet-balances]258default-features = false259git = "https://github.com/paritytech/substrate"260branch = "polkadot-v0.9.33"261262# Contracts specific packages263# [dependencies.pallet-contracts]264# git = 'https://github.com/paritytech/substrate'265# default-features = false266# branch = 'master'267# version = '4.0.0-dev'268269# [dependencies.pallet-contracts-primitives]270# git = 'https://github.com/paritytech/substrate'271# default-features = false272# branch = 'master'273# version = '4.0.0-dev'274275# [dependencies.pallet-contracts-rpc-runtime-api]276# git = 'https://github.com/paritytech/substrate'277# default-features = false278# branch = 'master'279# version = '4.0.0-dev'280281[dependencies.pallet-randomness-collective-flip]282default-features = false283git = "https://github.com/paritytech/substrate"284branch = "polkadot-v0.9.33"285286[dependencies.pallet-sudo]287default-features = false288git = "https://github.com/paritytech/substrate"289branch = "polkadot-v0.9.33"290291[dependencies.pallet-timestamp]292default-features = false293git = "https://github.com/paritytech/substrate"294branch = "polkadot-v0.9.33"295296[dependencies.pallet-transaction-payment]297default-features = false298git = "https://github.com/paritytech/substrate"299branch = "polkadot-v0.9.33"300301[dependencies.pallet-transaction-payment-rpc-runtime-api]302default-features = false303git = "https://github.com/paritytech/substrate"304branch = "polkadot-v0.9.33"305306[dependencies.pallet-treasury]307default-features = false308git = "https://github.com/paritytech/substrate"309branch = "polkadot-v0.9.33"310311[dependencies.sp-arithmetic]312default-features = false313git = "https://github.com/paritytech/substrate"314branch = "polkadot-v0.9.33"315316[dependencies.sp-api]317default-features = false318git = "https://github.com/paritytech/substrate"319branch = "polkadot-v0.9.33"320321[dependencies.sp-block-builder]322default-features = false323git = "https://github.com/paritytech/substrate"324branch = "polkadot-v0.9.33"325326[dependencies.sp-core]327default-features = false328git = "https://github.com/paritytech/substrate"329branch = "polkadot-v0.9.33"330331[dependencies.sp-consensus-aura]332default-features = false333git = "https://github.com/paritytech/substrate"334branch = "polkadot-v0.9.33"335336[dependencies.sp-inherents]337default-features = false338git = "https://github.com/paritytech/substrate"339branch = "polkadot-v0.9.33"340341[dependencies.sp-io]342default-features = false343git = "https://github.com/paritytech/substrate"344branch = "polkadot-v0.9.33"345346[dependencies.sp-offchain]347default-features = false348git = "https://github.com/paritytech/substrate"349branch = "polkadot-v0.9.33"350351[dependencies.sp-runtime]352default-features = false353git = "https://github.com/paritytech/substrate"354branch = "polkadot-v0.9.33"355356[dependencies.sp-session]357default-features = false358git = "https://github.com/paritytech/substrate"359branch = "polkadot-v0.9.33"360361[dependencies.sp-std]362default-features = false363git = "https://github.com/paritytech/substrate"364branch = "polkadot-v0.9.33"365366[dependencies.sp-transaction-pool]367default-features = false368git = "https://github.com/paritytech/substrate"369branch = "polkadot-v0.9.33"370371[dependencies.sp-version]372default-features = false373git = "https://github.com/paritytech/substrate"374branch = "polkadot-v0.9.33"375376[dependencies.smallvec]377version = '1.6.1'378379################################################################################380# Cumulus dependencies381382[dependencies.parachain-info]383default-features = false384git = "https://github.com/paritytech/cumulus"385branch = "polkadot-v0.9.33"386387[dependencies.cumulus-pallet-aura-ext]388git = "https://github.com/paritytech/cumulus"389branch = "polkadot-v0.9.33"390default-features = false391392[dependencies.cumulus-pallet-parachain-system]393git = "https://github.com/paritytech/cumulus"394branch = "polkadot-v0.9.33"395default-features = false396397[dependencies.cumulus-primitives-core]398git = "https://github.com/paritytech/cumulus"399branch = "polkadot-v0.9.33"400default-features = false401402[dependencies.cumulus-pallet-xcm]403git = "https://github.com/paritytech/cumulus"404branch = "polkadot-v0.9.33"405default-features = false406407[dependencies.cumulus-pallet-dmp-queue]408git = "https://github.com/paritytech/cumulus"409branch = "polkadot-v0.9.33"410default-features = false411412[dependencies.cumulus-pallet-xcmp-queue]413git = "https://github.com/paritytech/cumulus"414branch = "polkadot-v0.9.33"415default-features = false416417[dependencies.cumulus-primitives-utility]418git = "https://github.com/paritytech/cumulus"419branch = "polkadot-v0.9.33"420default-features = false421422[dependencies.cumulus-primitives-timestamp]423git = "https://github.com/paritytech/cumulus"424branch = "polkadot-v0.9.33"425default-features = false426427################################################################################428# Polkadot dependencies429430[dependencies.polkadot-parachain]431git = "https://github.com/paritytech/polkadot"432branch = "release-v0.9.33"433default-features = false434435[dependencies.xcm]436git = "https://github.com/paritytech/polkadot"437branch = "release-v0.9.33"438default-features = false439440[dependencies.xcm-builder]441git = "https://github.com/paritytech/polkadot"442branch = "release-v0.9.33"443default-features = false444445[dependencies.xcm-executor]446git = "https://github.com/paritytech/polkadot"447branch = "release-v0.9.33"448default-features = false449450[dependencies.pallet-xcm]451git = "https://github.com/paritytech/polkadot"452branch = "release-v0.9.33"453default-features = false454455################################################################################456# local dependencies457458[dependencies]459orml-vesting.workspace = true460orml-xtokens.workspace = true461orml-tokens.workspace = true462orml-traits.workspace = true463464log = { version = "0.4.16", default-features = false }465up-common = { path = "../../primitives/common", default-features = false }466scale-info = { version = "2.0.1", default-features = false, features = [467 "derive",468] }469derivative = "2.2.0"470pallet-unique = { path = '../../pallets/unique', default-features = false }471up-rpc = { path = "../../primitives/rpc", default-features = false }472app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false }473rmrk-rpc = { path = "../../primitives/rmrk-rpc", default-features = false }474fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }475pallet-inflation = { path = '../../pallets/inflation', default-features = false }476pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }477up-data-structs = { path = '../../primitives/data-structs', default-features = false }478pallet-configuration = { default-features = false, path = "../../pallets/configuration" }479pallet-common = { default-features = false, path = "../../pallets/common" }480pallet-structure = { default-features = false, path = "../../pallets/structure" }481pallet-fungible = { default-features = false, path = "../../pallets/fungible" }482pallet-refungible = { default-features = false, path = "../../pallets/refungible" }483pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }484pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" }485pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }486pallet-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" }487pallet-unique-scheduler-v2 = { path = '../../pallets/scheduler-v2', default-features = false }488pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }489pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }490pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }491pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }492pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }493pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }494pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }495fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }496fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }497evm-coder = { default-features = false, path = '../../crates/evm-coder' }498up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = 'polkadot-v0.9.33' }499pallet-foreign-assets = { default-features = false, path = "../../pallets/foreign-assets" }500pallet-maintenance = { default-features = false, path = "../../pallets/maintenance" }501502################################################################################503# Test dependencies504505pallet-test-utils = { optional = true, default-features = false, path = "../../test-pallets/utils" }506507################################################################################508# Other Dependencies509510impl-trait-for-tuples = "0.2.2"511512################################################################################513# Dev Dependencies514515[dev-dependencies.logtest]516version = "2.0.0"517518################################################################################519# Build Dependencies520521[build-dependencies.substrate-wasm-builder]522git = "https://github.com/paritytech/substrate"523branch = "polkadot-v0.9.33"test-pallets/utils/src/lib.rsdiffbeforeafterboth--- a/test-pallets/utils/src/lib.rs
+++ b/test-pallets/utils/src/lib.rs
@@ -29,10 +29,10 @@
};
use frame_system::pallet_prelude::*;
use sp_std::vec::Vec;
- use pallet_unique_scheduler_v2::{TaskName, Pallet as SchedulerPallet};
+ // use pallet_unique_scheduler_v2::{TaskName, Pallet as SchedulerPallet};
#[pallet::config]
- pub trait Config: frame_system::Config + pallet_unique_scheduler_v2::Config {
+ pub trait Config: frame_system::Config /*+ pallet_unique_scheduler_v2::Config*/ {
type RuntimeEvent: From<Event<Self>> + IsType<<Self as frame_system::Config>::RuntimeEvent>;
/// The overarching call type.
@@ -108,21 +108,21 @@
Self::set_test_value(origin, <TestValue<T>>::get() + 1)
}
- #[pallet::weight(10_000)]
- pub fn self_canceling_inc(
- origin: OriginFor<T>,
- id: TaskName,
- max_test_value: u32,
- ) -> DispatchResult {
- Self::ensure_origin_and_enabled(origin.clone())?;
- Self::inc_test_value(origin.clone())?;
+ // #[pallet::weight(10_000)]
+ // pub fn self_canceling_inc(
+ // origin: OriginFor<T>,
+ // id: TaskName,
+ // max_test_value: u32,
+ // ) -> DispatchResult {
+ // Self::ensure_origin_and_enabled(origin.clone())?;
+ // Self::inc_test_value(origin.clone())?;
- if <TestValue<T>>::get() == max_test_value {
- SchedulerPallet::<T>::cancel_named(origin, id)?;
- }
+ // if <TestValue<T>>::get() == max_test_value {
+ // SchedulerPallet::<T>::cancel_named(origin, id)?;
+ // }
- Ok(())
- }
+ // Ok(())
+ // }
#[pallet::weight(100_000_000)]
pub fn just_take_fee(origin: OriginFor<T>) -> DispatchResult {
tests/src/pallet-presence.test.tsdiffbeforeafterboth--- a/tests/src/pallet-presence.test.ts
+++ b/tests/src/pallet-presence.test.ts
@@ -63,7 +63,6 @@
const chain = await helper.callRpc('api.rpc.system.chain', []);
const refungible = 'refungible';
- const scheduler = 'scheduler';
const foreignAssets = 'foreignassets';
const rmrkPallets = ['rmrkcore', 'rmrkequip'];
const appPromotion = 'apppromotion';
@@ -72,11 +71,9 @@
if (chain.eq('OPAL by UNIQUE')) {
requiredPallets.push(
refungible,
- // scheduler,
foreignAssets,
appPromotion,
testUtils,
- scheduler,
...rmrkPallets,
);
} else if (chain.eq('QUARTZ by UNIQUE')) {