difftreelog
feat use state_version = 1
in: master
10 files changed
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5892,6 +5892,7 @@
"pallet-preimage",
"pallet-refungible",
"pallet-session",
+ "pallet-state-trie-migration",
"pallet-structure",
"pallet-sudo",
"pallet-template-transaction-payment",
@@ -9395,6 +9396,7 @@
"pallet-preimage",
"pallet-refungible",
"pallet-session",
+ "pallet-state-trie-migration",
"pallet-structure",
"pallet-sudo",
"pallet-template-transaction-payment",
@@ -13812,6 +13814,7 @@
"pallet-preimage",
"pallet-refungible",
"pallet-session",
+ "pallet-state-trie-migration",
"pallet-structure",
"pallet-sudo",
"pallet-template-transaction-payment",
Cargo.tomldiffbeforeafterboth--- a/Cargo.toml
+++ b/Cargo.toml
@@ -107,6 +107,7 @@
pallet-balances = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" }
pallet-preimage = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" }
pallet-session = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" }
+pallet-state-trie-migration = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" }
pallet-sudo = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" }
pallet-timestamp = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" }
pallet-transaction-payment = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" }
runtime/common/config/substrate.rsdiffbeforeafterboth--- a/runtime/common/config/substrate.rs
+++ b/runtime/common/config/substrate.rs
@@ -31,7 +31,7 @@
use sp_arithmetic::traits::One;
use frame_system::{
limits::{BlockLength, BlockWeights},
- EnsureRoot,
+ EnsureRoot, EnsureNever,
};
use pallet_transaction_payment::{Multiplier, ConstFeeMultiplier};
use crate::{
@@ -116,6 +116,22 @@
}
parameter_types! {
+ pub const MigrationMaxKeyLen: u32 = 512;
+}
+
+impl pallet_state_trie_migration::Config for Runtime {
+ type WeightInfo = pallet_state_trie_migration::weights::SubstrateWeight<Self>;
+ type RuntimeEvent = RuntimeEvent;
+ type Currency = Balances;
+ type SignedDepositPerItem = ();
+ type SignedDepositBase = ();
+ type ControlOrigin = EnsureRoot<AccountId>;
+ // Only root can perform this migration
+ type SignedFilter = EnsureNever<AccountId>;
+ type MaxKeyLen = MigrationMaxKeyLen;
+}
+
+parameter_types! {
pub const MinimumPeriod: u64 = SLOT_DURATION / 2;
}
runtime/common/construct_runtime.rsdiffbeforeafterboth--- a/runtime/common/construct_runtime.rs
+++ b/runtime/common/construct_runtime.rs
@@ -25,6 +25,7 @@
UncheckedExtrinsic = UncheckedExtrinsic
{
System: frame_system = 0,
+ StateTrieMigration: pallet_state_trie_migration = 1,
ParachainSystem: cumulus_pallet_parachain_system = 20,
ParachainInfo: parachain_info = 21,
runtime/opal/Cargo.tomldiffbeforeafterboth--- a/runtime/opal/Cargo.toml
+++ b/runtime/opal/Cargo.toml
@@ -73,6 +73,7 @@
"pallet-authorship/std",
"pallet-preimage/std",
"pallet-session/std",
+ "pallet-state-trie-migration/std",
"sp-consensus-aura/std",
'app-promotion-rpc/std',
'evm-coder/std',
@@ -225,6 +226,7 @@
pallet-balances = { features = ["insecure_zero_ed"], workspace = true }
pallet-preimage = { workspace = true }
pallet-session = { workspace = true }
+pallet-state-trie-migration = { workspace = true }
pallet-sudo = { workspace = true }
pallet-timestamp = { workspace = true }
pallet-transaction-payment = { workspace = true }
runtime/opal/src/lib.rsdiffbeforeafterboth--- a/runtime/opal/src/lib.rs
+++ b/runtime/opal/src/lib.rs
@@ -56,7 +56,7 @@
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 3,
- state_version: 0,
+ state_version: 1,
};
parameter_types! {
runtime/quartz/Cargo.tomldiffbeforeafterboth--- a/runtime/quartz/Cargo.toml
+++ b/runtime/quartz/Cargo.toml
@@ -75,6 +75,7 @@
"pallet-identity/std",
"pallet-preimage/std",
"pallet-session/std",
+ "pallet-state-trie-migration/std",
"sp-consensus-aura/std",
'app-promotion-rpc/std',
'evm-coder/std',
@@ -217,6 +218,7 @@
pallet-balances = { features = ["insecure_zero_ed"], workspace = true }
pallet-preimage = { workspace = true }
pallet-session = { workspace = true }
+pallet-state-trie-migration = { workspace = true }
pallet-sudo = { workspace = true }
pallet-timestamp = { workspace = true }
pallet-transaction-payment = { workspace = true }
runtime/quartz/src/lib.rsdiffbeforeafterboth--- a/runtime/quartz/src/lib.rs
+++ b/runtime/quartz/src/lib.rs
@@ -59,7 +59,7 @@
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 3,
- state_version: 0,
+ state_version: 1,
};
parameter_types! {
runtime/unique/Cargo.tomldiffbeforeafterboth1################################################################################2# Package34[package]5authors = ['Unique Network <support@uniquenetwork.io>']6build = 'build.rs'7description = 'Unique Runtime'8edition = '2021'9homepage = 'https://unique.network'10license = 'GPLv3'11name = 'unique-runtime'12repository = 'https://github.com/UniqueNetwork/unique-chain'13version.workspace = true1415[package.metadata.docs.rs]16targets = ['x86_64-unknown-linux-gnu']1718[features]19default = ['std', 'unique-runtime']20limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']21pov-estimate = []22runtime-benchmarks = [23 "pallet-preimage/runtime-benchmarks",24 'frame-benchmarking',25 'frame-support/runtime-benchmarks',26 'frame-system-benchmarking',27 'frame-system/runtime-benchmarks',28 'hex-literal',29 'pallet-app-promotion/runtime-benchmarks',30 'pallet-balances/runtime-benchmarks',31 'pallet-collator-selection/runtime-benchmarks',32 'pallet-common/runtime-benchmarks',33 'pallet-configuration/runtime-benchmarks',34 'pallet-ethereum/runtime-benchmarks',35 'pallet-evm-coder-substrate/runtime-benchmarks',36 'pallet-evm-migration/runtime-benchmarks',37 'pallet-foreign-assets/runtime-benchmarks',38 'pallet-fungible/runtime-benchmarks',39 'pallet-identity/runtime-benchmarks',40 'pallet-inflation/runtime-benchmarks',41 'pallet-maintenance/runtime-benchmarks',42 'pallet-nonfungible/runtime-benchmarks',43 'pallet-refungible/runtime-benchmarks',44 'pallet-structure/runtime-benchmarks',45 'pallet-timestamp/runtime-benchmarks',46 'pallet-unique/runtime-benchmarks',47 'pallet-xcm/runtime-benchmarks',48 'sp-runtime/runtime-benchmarks',49 'up-data-structs/runtime-benchmarks',50 'xcm-builder/runtime-benchmarks',51]52std = [53 'codec/std',54 'cumulus-pallet-aura-ext/std',55 'cumulus-pallet-parachain-system/std',56 'cumulus-pallet-xcm/std',57 'cumulus-pallet-xcmp-queue/std',58 'cumulus-primitives-core/std',59 'cumulus-primitives-utility/std',60 'frame-executive/std',61 'frame-support/std',62 'frame-system-rpc-runtime-api/std',63 'frame-system/std',64 'frame-try-runtime/std',65 'pallet-aura/std',66 'pallet-balances/std',67 # 'pallet-contracts/std',68 # 'pallet-contracts-primitives/std',69 # 'pallet-contracts-rpc-runtime-api/std',70 # 'pallet-contract-helpers/std',71 "pallet-authorship/std",72 "pallet-identity/std",73 "pallet-preimage/std",74 "pallet-session/std",75 "sp-consensus-aura/std",76 'app-promotion-rpc/std',77 'evm-coder/std',78 'fp-rpc/std',79 'fp-self-contained/std',80 'pallet-app-promotion/std',81 'pallet-balances-adapter/std',82 'pallet-base-fee/std',83 'pallet-charge-transaction/std',84 'pallet-collator-selection/std',85 'pallet-common/std',86 'pallet-configuration/std',87 'pallet-ethereum/std',88 'pallet-evm-coder-substrate/std',89 'pallet-evm-contract-helpers/std',90 'pallet-evm-migration/std',91 'pallet-evm-transaction-payment/std',92 'pallet-evm/std',93 'pallet-fungible/std',94 'pallet-inflation/std',95 'pallet-nonfungible/std',96 'pallet-refungible/std',97 'pallet-structure/std',98 'pallet-sudo/std',99 'pallet-timestamp/std',100 'pallet-transaction-payment-rpc-runtime-api/std',101 'pallet-transaction-payment/std',102 'pallet-treasury/std',103 'pallet-unique/std',104 'parachain-info/std',105 'sp-api/std',106 'sp-block-builder/std',107 'sp-core/std',108 'sp-inherents/std',109 'sp-io/std',110 'sp-offchain/std',111 'sp-runtime/std',112 'sp-session/std',113 'sp-std/std',114 'sp-transaction-pool/std',115 'sp-version/std',116 'up-common/std',117 'up-data-structs/std',118 'up-pov-estimate-rpc/std',119 'up-rpc/std',120 'up-sponsorship/std',121 'xcm-builder/std',122 'xcm-executor/std',123 'xcm/std',124125 "orml-tokens/std",126 "orml-traits/std",127 "orml-vesting/std",128 "orml-xcm-support/std",129 "orml-xtokens/std",130 "pallet-foreign-assets/std",131 "pallet-maintenance/std",132]133stubgen = ["evm-coder/stubgen"]134try-runtime = [135 "pallet-authorship/try-runtime",136 "pallet-collator-selection/try-runtime",137 "pallet-identity/try-runtime",138 "pallet-preimage/try-runtime",139 "pallet-session/try-runtime",140 'cumulus-pallet-aura-ext/try-runtime',141 'cumulus-pallet-dmp-queue/try-runtime',142 'cumulus-pallet-parachain-system/try-runtime',143 'cumulus-pallet-xcm/try-runtime',144 'cumulus-pallet-xcmp-queue/try-runtime',145 'fp-self-contained/try-runtime',146 'frame-executive/try-runtime',147 'frame-support/try-runtime',148 'frame-system/try-runtime',149 'frame-try-runtime',150 'orml-tokens/try-runtime',151 'orml-vesting/try-runtime',152 'orml-xtokens/try-runtime',153 'pallet-app-promotion/try-runtime',154 'pallet-aura/try-runtime',155 'pallet-balances/try-runtime',156 'pallet-balances-adapter/try-runtime',157 'pallet-charge-transaction/try-runtime',158 'pallet-common/try-runtime',159 'pallet-configuration/try-runtime',160 'pallet-ethereum/try-runtime',161 'pallet-evm-coder-substrate/try-runtime',162 'pallet-evm-contract-helpers/try-runtime',163 'pallet-evm-migration/try-runtime',164 'pallet-evm-transaction-payment/try-runtime',165 'pallet-evm/try-runtime',166 'pallet-foreign-assets/try-runtime',167 'pallet-fungible/try-runtime',168 'pallet-inflation/try-runtime',169 'pallet-maintenance/try-runtime',170 'pallet-nonfungible/try-runtime',171 'pallet-refungible/try-runtime',172 'pallet-structure/try-runtime',173 'pallet-sudo/try-runtime',174 'pallet-timestamp/try-runtime',175 'pallet-transaction-payment/try-runtime',176 'pallet-treasury/try-runtime',177 'pallet-unique/try-runtime',178 'pallet-xcm/try-runtime',179 'parachain-info/try-runtime',180]181unique-runtime = ['app-promotion', 'foreign-assets', 'refungible']182183app-promotion = []184collator-selection = []185foreign-assets = []186preimage = []187refungible = []188scheduler = []189190################################################################################191# local dependencies192193[dependencies]194# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it.195codec = { workspace = true, package = "parity-scale-codec" }196197cumulus-pallet-aura-ext = { workspace = true }198cumulus-pallet-dmp-queue = { workspace = true }199cumulus-pallet-parachain-system = { workspace = true }200cumulus-pallet-xcm = { workspace = true }201cumulus-pallet-xcmp-queue = { workspace = true }202cumulus-primitives-core = { workspace = true }203cumulus-primitives-timestamp = { workspace = true }204cumulus-primitives-utility = { workspace = true }205frame-executive = { workspace = true }206frame-support = { workspace = true }207frame-system = { workspace = true }208frame-system-rpc-runtime-api = { workspace = true }209orml-tokens = { workspace = true }210orml-traits = { workspace = true }211orml-vesting = { workspace = true }212orml-xcm-support = { workspace = true }213orml-xtokens = { workspace = true }214pallet-aura = { workspace = true }215pallet-authorship = { workspace = true }216pallet-balances = { features = ["insecure_zero_ed"], workspace = true }217pallet-preimage = { workspace = true }218pallet-session = { workspace = true }219pallet-sudo = { workspace = true }220pallet-timestamp = { workspace = true }221pallet-transaction-payment = { workspace = true }222pallet-transaction-payment-rpc-runtime-api = { workspace = true }223pallet-treasury = { workspace = true }224pallet-xcm = { workspace = true }225parachain-info = { workspace = true }226polkadot-parachain = { workspace = true }227smallvec = { workspace = true }228sp-api = { workspace = true }229sp-arithmetic = { workspace = true }230sp-block-builder = { workspace = true }231sp-consensus-aura = { workspace = true }232sp-core = { workspace = true }233sp-inherents = { workspace = true }234sp-io = { workspace = true }235sp-offchain = { workspace = true }236sp-runtime = { workspace = true }237sp-session = { workspace = true }238sp-std = { workspace = true }239sp-transaction-pool = { workspace = true }240sp-version = { workspace = true }241xcm = { workspace = true }242xcm-builder = { workspace = true }243xcm-executor = { workspace = true }244245app-promotion-rpc = { workspace = true }246derivative = { workspace = true }247log = { workspace = true }248pallet-app-promotion = { workspace = true }249pallet-balances-adapter = { workspace = true }250pallet-collator-selection = { workspace = true }251pallet-common = { workspace = true }252pallet-configuration = { workspace = true }253pallet-fungible = { workspace = true }254pallet-identity = { workspace = true }255pallet-inflation = { workspace = true }256pallet-nonfungible = { workspace = true }257pallet-refungible = { workspace = true }258pallet-structure = { workspace = true }259pallet-unique = { workspace = true }260scale-info = { workspace = true }261up-common = { workspace = true }262up-data-structs = { workspace = true }263up-pov-estimate-rpc = { workspace = true }264up-rpc = { workspace = true }265# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }266evm-coder = { workspace = true }267fp-evm = { workspace = true }268fp-rpc = { workspace = true }269fp-self-contained = { workspace = true }270num_enum = { workspace = true }271pallet-base-fee = { workspace = true }272pallet-charge-transaction = { workspace = true }273pallet-ethereum = { workspace = true }274pallet-evm = { workspace = true }275pallet-evm-coder-substrate = { workspace = true }276pallet-evm-contract-helpers = { workspace = true }277pallet-evm-migration = { workspace = true }278pallet-evm-precompile-simple = { workspace = true }279pallet-evm-transaction-payment = { workspace = true }280pallet-foreign-assets = { workspace = true }281pallet-maintenance = { workspace = true }282precompile-utils-macro = { workspace = true }283up-sponsorship = { workspace = true }284285################################################################################286# Optional dependencies287288frame-benchmarking = { workspace = true, optional = true }289frame-system-benchmarking = { workspace = true, optional = true }290frame-try-runtime = { workspace = true, optional = true }291hex-literal = { workspace = true, optional = true }292serde = { workspace = true, optional = true }293294################################################################################295# Test dependencies296297pallet-test-utils = { workspace = true }298299################################################################################300# Other Dependencies301302impl-trait-for-tuples = { workspace = true }303304[build-dependencies]305substrate-wasm-builder = { workspace = true }1################################################################################2# Package34[package]5authors = ['Unique Network <support@uniquenetwork.io>']6build = 'build.rs'7description = 'Unique Runtime'8edition = '2021'9homepage = 'https://unique.network'10license = 'GPLv3'11name = 'unique-runtime'12repository = 'https://github.com/UniqueNetwork/unique-chain'13version.workspace = true1415[package.metadata.docs.rs]16targets = ['x86_64-unknown-linux-gnu']1718[features]19default = ['std', 'unique-runtime']20limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']21pov-estimate = []22runtime-benchmarks = [23 "pallet-preimage/runtime-benchmarks",24 'frame-benchmarking',25 'frame-support/runtime-benchmarks',26 'frame-system-benchmarking',27 'frame-system/runtime-benchmarks',28 'hex-literal',29 'pallet-app-promotion/runtime-benchmarks',30 'pallet-balances/runtime-benchmarks',31 'pallet-collator-selection/runtime-benchmarks',32 'pallet-common/runtime-benchmarks',33 'pallet-configuration/runtime-benchmarks',34 'pallet-ethereum/runtime-benchmarks',35 'pallet-evm-coder-substrate/runtime-benchmarks',36 'pallet-evm-migration/runtime-benchmarks',37 'pallet-foreign-assets/runtime-benchmarks',38 'pallet-fungible/runtime-benchmarks',39 'pallet-identity/runtime-benchmarks',40 'pallet-inflation/runtime-benchmarks',41 'pallet-maintenance/runtime-benchmarks',42 'pallet-nonfungible/runtime-benchmarks',43 'pallet-refungible/runtime-benchmarks',44 'pallet-structure/runtime-benchmarks',45 'pallet-timestamp/runtime-benchmarks',46 'pallet-unique/runtime-benchmarks',47 'pallet-xcm/runtime-benchmarks',48 'sp-runtime/runtime-benchmarks',49 'up-data-structs/runtime-benchmarks',50 'xcm-builder/runtime-benchmarks',51]52std = [53 'codec/std',54 'cumulus-pallet-aura-ext/std',55 'cumulus-pallet-parachain-system/std',56 'cumulus-pallet-xcm/std',57 'cumulus-pallet-xcmp-queue/std',58 'cumulus-primitives-core/std',59 'cumulus-primitives-utility/std',60 'frame-executive/std',61 'frame-support/std',62 'frame-system-rpc-runtime-api/std',63 'frame-system/std',64 'frame-try-runtime/std',65 'pallet-aura/std',66 'pallet-balances/std',67 # 'pallet-contracts/std',68 # 'pallet-contracts-primitives/std',69 # 'pallet-contracts-rpc-runtime-api/std',70 # 'pallet-contract-helpers/std',71 "pallet-authorship/std",72 "pallet-identity/std",73 "pallet-preimage/std",74 "pallet-session/std",75 "pallet-state-trie-migration/std",76 "sp-consensus-aura/std",77 'app-promotion-rpc/std',78 'evm-coder/std',79 'fp-rpc/std',80 'fp-self-contained/std',81 'pallet-app-promotion/std',82 'pallet-balances-adapter/std',83 'pallet-base-fee/std',84 'pallet-charge-transaction/std',85 'pallet-collator-selection/std',86 'pallet-common/std',87 'pallet-configuration/std',88 'pallet-ethereum/std',89 'pallet-evm-coder-substrate/std',90 'pallet-evm-contract-helpers/std',91 'pallet-evm-migration/std',92 'pallet-evm-transaction-payment/std',93 'pallet-evm/std',94 'pallet-fungible/std',95 'pallet-inflation/std',96 'pallet-nonfungible/std',97 'pallet-refungible/std',98 'pallet-structure/std',99 'pallet-sudo/std',100 'pallet-timestamp/std',101 'pallet-transaction-payment-rpc-runtime-api/std',102 'pallet-transaction-payment/std',103 'pallet-treasury/std',104 'pallet-unique/std',105 'parachain-info/std',106 'sp-api/std',107 'sp-block-builder/std',108 'sp-core/std',109 'sp-inherents/std',110 'sp-io/std',111 'sp-offchain/std',112 'sp-runtime/std',113 'sp-session/std',114 'sp-std/std',115 'sp-transaction-pool/std',116 'sp-version/std',117 'up-common/std',118 'up-data-structs/std',119 'up-pov-estimate-rpc/std',120 'up-rpc/std',121 'up-sponsorship/std',122 'xcm-builder/std',123 'xcm-executor/std',124 'xcm/std',125126 "orml-tokens/std",127 "orml-traits/std",128 "orml-vesting/std",129 "orml-xcm-support/std",130 "orml-xtokens/std",131 "pallet-foreign-assets/std",132 "pallet-maintenance/std",133]134stubgen = ["evm-coder/stubgen"]135try-runtime = [136 "pallet-authorship/try-runtime",137 "pallet-collator-selection/try-runtime",138 "pallet-identity/try-runtime",139 "pallet-preimage/try-runtime",140 "pallet-session/try-runtime",141 'cumulus-pallet-aura-ext/try-runtime',142 'cumulus-pallet-dmp-queue/try-runtime',143 'cumulus-pallet-parachain-system/try-runtime',144 'cumulus-pallet-xcm/try-runtime',145 'cumulus-pallet-xcmp-queue/try-runtime',146 'fp-self-contained/try-runtime',147 'frame-executive/try-runtime',148 'frame-support/try-runtime',149 'frame-system/try-runtime',150 'frame-try-runtime',151 'orml-tokens/try-runtime',152 'orml-vesting/try-runtime',153 'orml-xtokens/try-runtime',154 'pallet-app-promotion/try-runtime',155 'pallet-aura/try-runtime',156 'pallet-balances/try-runtime',157 'pallet-balances-adapter/try-runtime',158 'pallet-charge-transaction/try-runtime',159 'pallet-common/try-runtime',160 'pallet-configuration/try-runtime',161 'pallet-ethereum/try-runtime',162 'pallet-evm-coder-substrate/try-runtime',163 'pallet-evm-contract-helpers/try-runtime',164 'pallet-evm-migration/try-runtime',165 'pallet-evm-transaction-payment/try-runtime',166 'pallet-evm/try-runtime',167 'pallet-foreign-assets/try-runtime',168 'pallet-fungible/try-runtime',169 'pallet-inflation/try-runtime',170 'pallet-maintenance/try-runtime',171 'pallet-nonfungible/try-runtime',172 'pallet-refungible/try-runtime',173 'pallet-structure/try-runtime',174 'pallet-sudo/try-runtime',175 'pallet-timestamp/try-runtime',176 'pallet-transaction-payment/try-runtime',177 'pallet-treasury/try-runtime',178 'pallet-unique/try-runtime',179 'pallet-xcm/try-runtime',180 'parachain-info/try-runtime',181]182unique-runtime = ['app-promotion', 'foreign-assets', 'refungible']183184app-promotion = []185collator-selection = []186foreign-assets = []187preimage = []188refungible = []189scheduler = []190191################################################################################192# local dependencies193194[dependencies]195# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it.196codec = { workspace = true, package = "parity-scale-codec" }197198cumulus-pallet-aura-ext = { workspace = true }199cumulus-pallet-dmp-queue = { workspace = true }200cumulus-pallet-parachain-system = { workspace = true }201cumulus-pallet-xcm = { workspace = true }202cumulus-pallet-xcmp-queue = { workspace = true }203cumulus-primitives-core = { workspace = true }204cumulus-primitives-timestamp = { workspace = true }205cumulus-primitives-utility = { workspace = true }206frame-executive = { workspace = true }207frame-support = { workspace = true }208frame-system = { workspace = true }209frame-system-rpc-runtime-api = { workspace = true }210orml-tokens = { workspace = true }211orml-traits = { workspace = true }212orml-vesting = { workspace = true }213orml-xcm-support = { workspace = true }214orml-xtokens = { workspace = true }215pallet-aura = { workspace = true }216pallet-authorship = { workspace = true }217pallet-balances = { features = ["insecure_zero_ed"], workspace = true }218pallet-preimage = { workspace = true }219pallet-session = { workspace = true }220pallet-state-trie-migration = { workspace = true }221pallet-sudo = { workspace = true }222pallet-timestamp = { workspace = true }223pallet-transaction-payment = { workspace = true }224pallet-transaction-payment-rpc-runtime-api = { workspace = true }225pallet-treasury = { workspace = true }226pallet-xcm = { workspace = true }227parachain-info = { workspace = true }228polkadot-parachain = { workspace = true }229smallvec = { workspace = true }230sp-api = { workspace = true }231sp-arithmetic = { workspace = true }232sp-block-builder = { workspace = true }233sp-consensus-aura = { workspace = true }234sp-core = { workspace = true }235sp-inherents = { workspace = true }236sp-io = { workspace = true }237sp-offchain = { workspace = true }238sp-runtime = { workspace = true }239sp-session = { workspace = true }240sp-std = { workspace = true }241sp-transaction-pool = { workspace = true }242sp-version = { workspace = true }243xcm = { workspace = true }244xcm-builder = { workspace = true }245xcm-executor = { workspace = true }246247app-promotion-rpc = { workspace = true }248derivative = { workspace = true }249log = { workspace = true }250pallet-app-promotion = { workspace = true }251pallet-balances-adapter = { workspace = true }252pallet-collator-selection = { workspace = true }253pallet-common = { workspace = true }254pallet-configuration = { workspace = true }255pallet-fungible = { workspace = true }256pallet-identity = { workspace = true }257pallet-inflation = { workspace = true }258pallet-nonfungible = { workspace = true }259pallet-refungible = { workspace = true }260pallet-structure = { workspace = true }261pallet-unique = { workspace = true }262scale-info = { workspace = true }263up-common = { workspace = true }264up-data-structs = { workspace = true }265up-pov-estimate-rpc = { workspace = true }266up-rpc = { workspace = true }267# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }268evm-coder = { workspace = true }269fp-evm = { workspace = true }270fp-rpc = { workspace = true }271fp-self-contained = { workspace = true }272num_enum = { workspace = true }273pallet-base-fee = { workspace = true }274pallet-charge-transaction = { workspace = true }275pallet-ethereum = { workspace = true }276pallet-evm = { workspace = true }277pallet-evm-coder-substrate = { workspace = true }278pallet-evm-contract-helpers = { workspace = true }279pallet-evm-migration = { workspace = true }280pallet-evm-precompile-simple = { workspace = true }281pallet-evm-transaction-payment = { workspace = true }282pallet-foreign-assets = { workspace = true }283pallet-maintenance = { workspace = true }284precompile-utils-macro = { workspace = true }285up-sponsorship = { workspace = true }286287################################################################################288# Optional dependencies289290frame-benchmarking = { workspace = true, optional = true }291frame-system-benchmarking = { workspace = true, optional = true }292frame-try-runtime = { workspace = true, optional = true }293hex-literal = { workspace = true, optional = true }294serde = { workspace = true, optional = true }295296################################################################################297# Test dependencies298299pallet-test-utils = { workspace = true }300301################################################################################302# Other Dependencies303304impl-trait-for-tuples = { workspace = true }305306[build-dependencies]307substrate-wasm-builder = { workspace = true }runtime/unique/src/lib.rsdiffbeforeafterboth--- a/runtime/unique/src/lib.rs
+++ b/runtime/unique/src/lib.rs
@@ -56,7 +56,7 @@
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 3,
- state_version: 0,
+ state_version: 1,
};
parameter_types! {