git.delta.rocks / unique-network / refs/commits / 8545aff0545e

difftreelog

feat use state_version = 1

Yaroslav Bolyukin2023-05-31parent: #fbb698d.patch.diff
in: master

10 files changed

modifiedCargo.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",
modifiedCargo.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" }
modifiedruntime/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;
 }
 
modifiedruntime/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,
modifiedruntime/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 }
modifiedruntime/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! {
modifiedruntime/quartz/Cargo.tomldiffbeforeafterboth
before · runtime/quartz/Cargo.toml
1################################################################################2# Package34[package]5authors = ['Unique Network <support@uniquenetwork.io>']6build = 'build.rs'7description = 'Quartz Runtime'8edition = '2021'9homepage = 'https://unique.network'10license = 'GPLv3'11name = 'quartz-runtime'12repository = 'https://github.com/UniqueNetwork/unique-chain'13version.workspace = true1415[package.metadata.docs.rs]16targets = ['x86_64-unknown-linux-gnu']1718[features]19become-sapphire = []20default = ['quartz-runtime', 'std']21limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']22pov-estimate = []23quartz-runtime = ['app-promotion', 'collator-selection', 'foreign-assets', 'preimage', 'refungible']24runtime-benchmarks = [25	"pallet-preimage/runtime-benchmarks",26	'cumulus-pallet-parachain-system/runtime-benchmarks',27	'frame-benchmarking',28	'frame-support/runtime-benchmarks',29	'frame-system-benchmarking',30	'frame-system/runtime-benchmarks',31	'hex-literal',32	'pallet-app-promotion/runtime-benchmarks',33	'pallet-balances/runtime-benchmarks',34	'pallet-collator-selection/runtime-benchmarks',35	'pallet-common/runtime-benchmarks',36	'pallet-configuration/runtime-benchmarks',37	'pallet-ethereum/runtime-benchmarks',38	'pallet-evm-coder-substrate/runtime-benchmarks',39	'pallet-evm-migration/runtime-benchmarks',40	'pallet-foreign-assets/runtime-benchmarks',41	'pallet-fungible/runtime-benchmarks',42	'pallet-identity/runtime-benchmarks',43	'pallet-inflation/runtime-benchmarks',44	'pallet-maintenance/runtime-benchmarks',45	'pallet-nonfungible/runtime-benchmarks',46	'pallet-refungible/runtime-benchmarks',47	'pallet-structure/runtime-benchmarks',48	'pallet-timestamp/runtime-benchmarks',49	'pallet-unique/runtime-benchmarks',50	'pallet-xcm/runtime-benchmarks',51	'sp-runtime/runtime-benchmarks',52	'xcm-builder/runtime-benchmarks',53]54std = [55	'codec/std',56	'cumulus-pallet-aura-ext/std',57	'cumulus-pallet-parachain-system/std',58	'cumulus-pallet-xcm/std',59	'cumulus-pallet-xcmp-queue/std',60	'cumulus-primitives-core/std',61	'cumulus-primitives-utility/std',62	'frame-executive/std',63	'frame-support/std',64	'frame-system-rpc-runtime-api/std',65	'frame-system/std',66	'frame-try-runtime/std',67	'pallet-aura/std',68	'pallet-balances/std',69	'pallet-balances-adapter/std',70	# 'pallet-contracts/std',71	# 'pallet-contracts-primitives/std',72	# 'pallet-contracts-rpc-runtime-api/std',73	# 'pallet-contract-helpers/std',74	"pallet-authorship/std",75	"pallet-identity/std",76	"pallet-preimage/std",77	"pallet-session/std",78	"sp-consensus-aura/std",79	'app-promotion-rpc/std',80	'evm-coder/std',81	'fp-rpc/std',82	'fp-self-contained/std',83	'pallet-app-promotion/std',84	'pallet-base-fee/std',85	'pallet-charge-transaction/std',86	'pallet-collator-selection/std',87	'pallet-common/std',88	'pallet-configuration/std',89	'pallet-ethereum/std',90	'pallet-evm-coder-substrate/std',91	'pallet-evm-contract-helpers/std',92	'pallet-evm-migration/std',93	'pallet-evm-transaction-payment/std',94	'pallet-evm/std',95	'pallet-fungible/std',96	'pallet-inflation/std',97	'pallet-nonfungible/std',98	'pallet-refungible/std',99	'pallet-structure/std',100	'pallet-sudo/std',101	'pallet-timestamp/std',102	'pallet-transaction-payment-rpc-runtime-api/std',103	'pallet-transaction-payment/std',104	'pallet-treasury/std',105	'pallet-unique/std',106	'parachain-info/std',107	'serde',108	'sp-api/std',109	'sp-block-builder/std',110	'sp-core/std',111	'sp-inherents/std',112	'sp-io/std',113	'sp-offchain/std',114	'sp-runtime/std',115	'sp-session/std',116	'sp-std/std',117	'sp-transaction-pool/std',118	'sp-version/std',119	'up-common/std',120	'up-data-structs/std',121	'up-pov-estimate-rpc/std',122	'up-rpc/std',123	'up-sponsorship/std',124	'xcm-builder/std',125	'xcm-executor/std',126	'xcm/std',127128	"orml-tokens/std",129	"orml-traits/std",130	"orml-vesting/std",131	"orml-xcm-support/std",132	"orml-xtokens/std",133	"pallet-foreign-assets/std",134	"pallet-maintenance/std",135]136try-runtime = [137	"pallet-authorship/try-runtime",138	"pallet-collator-selection/try-runtime",139	"pallet-identity/try-runtime",140	"pallet-preimage/try-runtime",141	"pallet-session/try-runtime",142	'cumulus-pallet-aura-ext/try-runtime',143	'cumulus-pallet-dmp-queue/try-runtime',144	'cumulus-pallet-parachain-system/try-runtime',145	'cumulus-pallet-xcm/try-runtime',146	'cumulus-pallet-xcmp-queue/try-runtime',147	'fp-self-contained/try-runtime',148	'frame-executive/try-runtime',149	'frame-support/try-runtime',150	'frame-system/try-runtime',151	'frame-try-runtime',152	'orml-tokens/try-runtime',153	'orml-vesting/try-runtime',154	'orml-xtokens/try-runtime',155	'pallet-app-promotion/try-runtime',156	'pallet-aura/try-runtime',157	'pallet-balances/try-runtime',158	'pallet-balances-adapter/try-runtime',159	'pallet-charge-transaction/try-runtime',160	'pallet-common/try-runtime',161	'pallet-configuration/try-runtime',162	'pallet-ethereum/try-runtime',163	'pallet-evm-coder-substrate/try-runtime',164	'pallet-evm-contract-helpers/try-runtime',165	'pallet-evm-migration/try-runtime',166	'pallet-evm-transaction-payment/try-runtime',167	'pallet-evm/try-runtime',168	'pallet-foreign-assets/try-runtime',169	'pallet-fungible/try-runtime',170	'pallet-inflation/try-runtime',171	'pallet-maintenance/try-runtime',172	'pallet-nonfungible/try-runtime',173	'pallet-refungible/try-runtime',174	'pallet-structure/try-runtime',175	'pallet-sudo/try-runtime',176	'pallet-timestamp/try-runtime',177	'pallet-transaction-payment/try-runtime',178	'pallet-treasury/try-runtime',179	'pallet-unique/try-runtime',180	'pallet-xcm/try-runtime',181	'parachain-info/try-runtime',182]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-sudo = { workspace = true }221pallet-timestamp = { workspace = true }222pallet-transaction-payment = { workspace = true }223pallet-transaction-payment-rpc-runtime-api = { workspace = true }224pallet-treasury = { workspace = true }225pallet-xcm = { workspace = true }226parachain-info = { workspace = true }227polkadot-parachain = { workspace = true }228smallvec = { workspace = true }229sp-api = { workspace = true }230sp-arithmetic = { workspace = true }231sp-block-builder = { workspace = true }232sp-consensus-aura = { workspace = true }233sp-core = { workspace = true }234sp-inherents = { workspace = true }235sp-io = { workspace = true }236sp-offchain = { workspace = true }237sp-runtime = { workspace = true }238sp-session = { workspace = true }239sp-std = { workspace = true }240sp-transaction-pool = { workspace = true }241sp-version = { workspace = true }242xcm = { workspace = true }243xcm-builder = { workspace = true }244xcm-executor = { workspace = true }245246app-promotion-rpc = { workspace = true }247derivative = { workspace = true }248fp-evm = { 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-rpc = { workspace = true }270fp-self-contained = { workspace = true }271num_enum = { version = "0.5.3", default-features = false }272pallet-base-fee = { workspace = true }273pallet-charge-transaction = { workspace = true }274pallet-ethereum = { workspace = true }275pallet-evm = { workspace = true }276pallet-evm-coder-substrate = { workspace = true }277pallet-evm-contract-helpers = { workspace = true }278pallet-evm-migration = { workspace = true }279pallet-evm-precompile-simple = { workspace = true }280pallet-evm-transaction-payment = { workspace = true }281pallet-foreign-assets = { workspace = true }282pallet-maintenance = { workspace = true }283precompile-utils-macro = { workspace = true }284up-sponsorship = { workspace = true }285286################################################################################287# Optional dependencies288289frame-benchmarking = { workspace = true, optional = true }290frame-system-benchmarking = { workspace = true, optional = true }291frame-try-runtime = { workspace = true, optional = true }292hex-literal = { workspace = true, optional = true }293serde = { workspace = true, optional = true }294295296################################################################################297# Test dependencies298299pallet-test-utils = { workspace = true }300301################################################################################302# Other Dependencies303304impl-trait-for-tuples = { workspace = true }305306[build-dependencies]307substrate-wasm-builder = { workspace = true }
after · runtime/quartz/Cargo.toml
1################################################################################2# Package34[package]5authors = ['Unique Network <support@uniquenetwork.io>']6build = 'build.rs'7description = 'Quartz Runtime'8edition = '2021'9homepage = 'https://unique.network'10license = 'GPLv3'11name = 'quartz-runtime'12repository = 'https://github.com/UniqueNetwork/unique-chain'13version.workspace = true1415[package.metadata.docs.rs]16targets = ['x86_64-unknown-linux-gnu']1718[features]19become-sapphire = []20default = ['quartz-runtime', 'std']21limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']22pov-estimate = []23quartz-runtime = ['app-promotion', 'collator-selection', 'foreign-assets', 'preimage', 'refungible']24runtime-benchmarks = [25	"pallet-preimage/runtime-benchmarks",26	'cumulus-pallet-parachain-system/runtime-benchmarks',27	'frame-benchmarking',28	'frame-support/runtime-benchmarks',29	'frame-system-benchmarking',30	'frame-system/runtime-benchmarks',31	'hex-literal',32	'pallet-app-promotion/runtime-benchmarks',33	'pallet-balances/runtime-benchmarks',34	'pallet-collator-selection/runtime-benchmarks',35	'pallet-common/runtime-benchmarks',36	'pallet-configuration/runtime-benchmarks',37	'pallet-ethereum/runtime-benchmarks',38	'pallet-evm-coder-substrate/runtime-benchmarks',39	'pallet-evm-migration/runtime-benchmarks',40	'pallet-foreign-assets/runtime-benchmarks',41	'pallet-fungible/runtime-benchmarks',42	'pallet-identity/runtime-benchmarks',43	'pallet-inflation/runtime-benchmarks',44	'pallet-maintenance/runtime-benchmarks',45	'pallet-nonfungible/runtime-benchmarks',46	'pallet-refungible/runtime-benchmarks',47	'pallet-structure/runtime-benchmarks',48	'pallet-timestamp/runtime-benchmarks',49	'pallet-unique/runtime-benchmarks',50	'pallet-xcm/runtime-benchmarks',51	'sp-runtime/runtime-benchmarks',52	'xcm-builder/runtime-benchmarks',53]54std = [55	'codec/std',56	'cumulus-pallet-aura-ext/std',57	'cumulus-pallet-parachain-system/std',58	'cumulus-pallet-xcm/std',59	'cumulus-pallet-xcmp-queue/std',60	'cumulus-primitives-core/std',61	'cumulus-primitives-utility/std',62	'frame-executive/std',63	'frame-support/std',64	'frame-system-rpc-runtime-api/std',65	'frame-system/std',66	'frame-try-runtime/std',67	'pallet-aura/std',68	'pallet-balances/std',69	'pallet-balances-adapter/std',70	# 'pallet-contracts/std',71	# 'pallet-contracts-primitives/std',72	# 'pallet-contracts-rpc-runtime-api/std',73	# 'pallet-contract-helpers/std',74	"pallet-authorship/std",75	"pallet-identity/std",76	"pallet-preimage/std",77	"pallet-session/std",78	"pallet-state-trie-migration/std",79	"sp-consensus-aura/std",80	'app-promotion-rpc/std',81	'evm-coder/std',82	'fp-rpc/std',83	'fp-self-contained/std',84	'pallet-app-promotion/std',85	'pallet-base-fee/std',86	'pallet-charge-transaction/std',87	'pallet-collator-selection/std',88	'pallet-common/std',89	'pallet-configuration/std',90	'pallet-ethereum/std',91	'pallet-evm-coder-substrate/std',92	'pallet-evm-contract-helpers/std',93	'pallet-evm-migration/std',94	'pallet-evm-transaction-payment/std',95	'pallet-evm/std',96	'pallet-fungible/std',97	'pallet-inflation/std',98	'pallet-nonfungible/std',99	'pallet-refungible/std',100	'pallet-structure/std',101	'pallet-sudo/std',102	'pallet-timestamp/std',103	'pallet-transaction-payment-rpc-runtime-api/std',104	'pallet-transaction-payment/std',105	'pallet-treasury/std',106	'pallet-unique/std',107	'parachain-info/std',108	'serde',109	'sp-api/std',110	'sp-block-builder/std',111	'sp-core/std',112	'sp-inherents/std',113	'sp-io/std',114	'sp-offchain/std',115	'sp-runtime/std',116	'sp-session/std',117	'sp-std/std',118	'sp-transaction-pool/std',119	'sp-version/std',120	'up-common/std',121	'up-data-structs/std',122	'up-pov-estimate-rpc/std',123	'up-rpc/std',124	'up-sponsorship/std',125	'xcm-builder/std',126	'xcm-executor/std',127	'xcm/std',128129	"orml-tokens/std",130	"orml-traits/std",131	"orml-vesting/std",132	"orml-xcm-support/std",133	"orml-xtokens/std",134	"pallet-foreign-assets/std",135	"pallet-maintenance/std",136]137try-runtime = [138	"pallet-authorship/try-runtime",139	"pallet-collator-selection/try-runtime",140	"pallet-identity/try-runtime",141	"pallet-preimage/try-runtime",142	"pallet-session/try-runtime",143	'cumulus-pallet-aura-ext/try-runtime',144	'cumulus-pallet-dmp-queue/try-runtime',145	'cumulus-pallet-parachain-system/try-runtime',146	'cumulus-pallet-xcm/try-runtime',147	'cumulus-pallet-xcmp-queue/try-runtime',148	'fp-self-contained/try-runtime',149	'frame-executive/try-runtime',150	'frame-support/try-runtime',151	'frame-system/try-runtime',152	'frame-try-runtime',153	'orml-tokens/try-runtime',154	'orml-vesting/try-runtime',155	'orml-xtokens/try-runtime',156	'pallet-app-promotion/try-runtime',157	'pallet-aura/try-runtime',158	'pallet-balances/try-runtime',159	'pallet-balances-adapter/try-runtime',160	'pallet-charge-transaction/try-runtime',161	'pallet-common/try-runtime',162	'pallet-configuration/try-runtime',163	'pallet-ethereum/try-runtime',164	'pallet-evm-coder-substrate/try-runtime',165	'pallet-evm-contract-helpers/try-runtime',166	'pallet-evm-migration/try-runtime',167	'pallet-evm-transaction-payment/try-runtime',168	'pallet-evm/try-runtime',169	'pallet-foreign-assets/try-runtime',170	'pallet-fungible/try-runtime',171	'pallet-inflation/try-runtime',172	'pallet-maintenance/try-runtime',173	'pallet-nonfungible/try-runtime',174	'pallet-refungible/try-runtime',175	'pallet-structure/try-runtime',176	'pallet-sudo/try-runtime',177	'pallet-timestamp/try-runtime',178	'pallet-transaction-payment/try-runtime',179	'pallet-treasury/try-runtime',180	'pallet-unique/try-runtime',181	'pallet-xcm/try-runtime',182	'parachain-info/try-runtime',183]184185app-promotion = []186collator-selection = []187foreign-assets = []188preimage = []189refungible = []190scheduler = []191192################################################################################193# local dependencies194195[dependencies]196# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it.197codec = { workspace = true, package = "parity-scale-codec" }198199cumulus-pallet-aura-ext = { workspace = true }200cumulus-pallet-dmp-queue = { workspace = true }201cumulus-pallet-parachain-system = { workspace = true }202cumulus-pallet-xcm = { workspace = true }203cumulus-pallet-xcmp-queue = { workspace = true }204cumulus-primitives-core = { workspace = true }205cumulus-primitives-timestamp = { workspace = true }206cumulus-primitives-utility = { workspace = true }207frame-executive = { workspace = true }208frame-support = { workspace = true }209frame-system = { workspace = true }210frame-system-rpc-runtime-api = { workspace = true }211orml-tokens = { workspace = true }212orml-traits = { workspace = true }213orml-vesting = { workspace = true }214orml-xcm-support = { workspace = true }215orml-xtokens = { workspace = true }216pallet-aura = { workspace = true }217pallet-authorship = { workspace = true }218pallet-balances = { features = ["insecure_zero_ed"], workspace = true }219pallet-preimage = { workspace = true }220pallet-session = { workspace = true }221pallet-state-trie-migration = { workspace = true }222pallet-sudo = { workspace = true }223pallet-timestamp = { workspace = true }224pallet-transaction-payment = { workspace = true }225pallet-transaction-payment-rpc-runtime-api = { workspace = true }226pallet-treasury = { workspace = true }227pallet-xcm = { workspace = true }228parachain-info = { workspace = true }229polkadot-parachain = { workspace = true }230smallvec = { workspace = true }231sp-api = { workspace = true }232sp-arithmetic = { workspace = true }233sp-block-builder = { workspace = true }234sp-consensus-aura = { workspace = true }235sp-core = { workspace = true }236sp-inherents = { workspace = true }237sp-io = { workspace = true }238sp-offchain = { workspace = true }239sp-runtime = { workspace = true }240sp-session = { workspace = true }241sp-std = { workspace = true }242sp-transaction-pool = { workspace = true }243sp-version = { workspace = true }244xcm = { workspace = true }245xcm-builder = { workspace = true }246xcm-executor = { workspace = true }247248app-promotion-rpc = { workspace = true }249derivative = { workspace = true }250fp-evm = { workspace = true }251log = { workspace = true }252pallet-app-promotion = { workspace = true }253pallet-balances-adapter = { workspace = true }254pallet-collator-selection = { workspace = true }255pallet-common = { workspace = true }256pallet-configuration = { workspace = true }257pallet-fungible = { workspace = true }258pallet-identity = { workspace = true }259pallet-inflation = { workspace = true }260pallet-nonfungible = { workspace = true }261pallet-refungible = { workspace = true }262pallet-structure = { workspace = true }263pallet-unique = { workspace = true }264scale-info = { workspace = true }265up-common = { workspace = true }266up-data-structs = { workspace = true }267up-pov-estimate-rpc = { workspace = true }268up-rpc = { workspace = true }269# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }270evm-coder = { workspace = true }271fp-rpc = { workspace = true }272fp-self-contained = { workspace = true }273num_enum = { version = "0.5.3", default-features = false }274pallet-base-fee = { workspace = true }275pallet-charge-transaction = { workspace = true }276pallet-ethereum = { workspace = true }277pallet-evm = { workspace = true }278pallet-evm-coder-substrate = { workspace = true }279pallet-evm-contract-helpers = { workspace = true }280pallet-evm-migration = { workspace = true }281pallet-evm-precompile-simple = { workspace = true }282pallet-evm-transaction-payment = { workspace = true }283pallet-foreign-assets = { workspace = true }284pallet-maintenance = { workspace = true }285precompile-utils-macro = { workspace = true }286up-sponsorship = { workspace = true }287288################################################################################289# Optional dependencies290291frame-benchmarking = { workspace = true, optional = true }292frame-system-benchmarking = { workspace = true, optional = true }293frame-try-runtime = { workspace = true, optional = true }294hex-literal = { workspace = true, optional = true }295serde = { workspace = true, optional = true }296297298################################################################################299# Test dependencies300301pallet-test-utils = { workspace = true }302303################################################################################304# Other Dependencies305306impl-trait-for-tuples = { workspace = true }307308[build-dependencies]309substrate-wasm-builder = { workspace = true }
modifiedruntime/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! {
modifiedruntime/unique/Cargo.tomldiffbeforeafterboth
--- a/runtime/unique/Cargo.toml
+++ b/runtime/unique/Cargo.toml
@@ -72,6 +72,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',
@@ -216,6 +217,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 }
modifiedruntime/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! {