git.delta.rocks / unique-network / refs/commits / aec0c5d2f20d

difftreelog

feat set state trie migration origin

Yaroslav Bolyukin2023-06-12parent: #02c6b6f.patch.diff
in: master

4 files changed

modifiedruntime/common/config/substrate.rsdiffbeforeafterboth
--- a/runtime/common/config/substrate.rs
+++ b/runtime/common/config/substrate.rs
@@ -21,7 +21,7 @@
 		ConstantMultiplier,
 	},
 	dispatch::DispatchClass,
-	parameter_types, PalletId,
+	parameter_types, ord_parameter_types, PalletId,
 };
 use sp_runtime::{
 	generic,
@@ -31,7 +31,7 @@
 use sp_arithmetic::traits::One;
 use frame_system::{
 	limits::{BlockLength, BlockWeights},
-	EnsureRoot, EnsureNever,
+	EnsureRoot, EnsureSignedBy,
 };
 use pallet_transaction_payment::{Multiplier, ConstFeeMultiplier};
 use crate::{
@@ -39,6 +39,7 @@
 	System, Balances, SS58Prefix, Version,
 };
 use up_common::{types::*, constants::*};
+use sp_std::vec;
 
 parameter_types! {
 	pub const BlockHashCount: BlockNumber = 2400;
@@ -118,6 +119,9 @@
 parameter_types! {
 	pub const MigrationMaxKeyLen: u32 = 512;
 }
+ord_parameter_types! {
+	pub const TrieMigrationSigned: AccountId = AccountId::from(hex_literal::hex!("3e2ee9b68b52c239488e8abbeb31284c0d4342ec7c3b53f8e50855051d54a319"));
+}
 
 impl pallet_state_trie_migration::Config for Runtime {
 	type WeightInfo = pallet_state_trie_migration::weights::SubstrateWeight<Self>;
@@ -127,7 +131,7 @@
 	type SignedDepositBase = ();
 	type ControlOrigin = EnsureRoot<AccountId>;
 	// Only root can perform this migration
-	type SignedFilter = EnsureNever<AccountId>;
+	type SignedFilter = EnsureSignedBy<TrieMigrationSigned, AccountId>;
 	type MaxKeyLen = MigrationMaxKeyLen;
 }
 
modifiedruntime/opal/Cargo.tomldiffbeforeafterboth
before · runtime/opal/Cargo.toml
1################################################################################2# Package34[package]5authors = ['Unique Network <support@uniquenetwork.io>']6build = 'build.rs'7description = 'Opal Runtime'8edition = '2021'9homepage = 'https://unique.network'10license = 'GPLv3'11name = 'opal-runtime'12repository = 'https://github.com/UniqueNetwork/unique-chain'13version.workspace = true1415[package.metadata.docs.rs]16targets = ['x86_64-unknown-linux-gnu']1718[features]19default = ['opal-runtime', 'std']20state-version-0 = []21limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']22opal-runtime = ['app-promotion', 'collator-selection', 'foreign-assets', 'pallet-test-utils', 'preimage', 'refungible']23pov-estimate = []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-scheduler-v2/runtime-benchmarks',50	'pallet-unique/runtime-benchmarks',51	'pallet-xcm/runtime-benchmarks',52	'sp-runtime/runtime-benchmarks',53	'xcm-builder/runtime-benchmarks',54]55std = [56	'codec/std',57	'cumulus-pallet-aura-ext/std',58	'cumulus-pallet-parachain-system/std',59	'cumulus-pallet-xcm/std',60	'cumulus-pallet-xcmp-queue/std',61	'cumulus-primitives-core/std',62	'cumulus-primitives-utility/std',63	'frame-executive/std',64	'frame-support/std',65	'frame-system-rpc-runtime-api/std',66	'frame-system/std',67	'frame-try-runtime/std',68	'pallet-aura/std',69	'pallet-balances/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-preimage/std",76	"pallet-session/std",77	"pallet-state-trie-migration/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-balances-adapter/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-identity/std',98	'pallet-inflation/std',99	'pallet-nonfungible/std',100	'pallet-refungible/std',101	'pallet-structure/std',102	'pallet-sudo/std',103	'pallet-timestamp/std',104	'pallet-transaction-payment-rpc-runtime-api/std',105	'pallet-transaction-payment/std',106	'pallet-treasury/std',107	'pallet-unique-scheduler-v2/std',108	'pallet-unique/std',109	'parachain-info/std',110	'serde',111	'sp-api/std',112	'sp-block-builder/std',113	'sp-core/std',114	'sp-inherents/std',115	'sp-io/std',116	'sp-offchain/std',117	'sp-runtime/std',118	'sp-session/std',119	'sp-std/std',120	'sp-transaction-pool/std',121	'sp-version/std',122	'up-common/std',123	'up-data-structs/std',124	'up-pov-estimate-rpc/std',125	'up-rpc/std',126	'up-sponsorship/std',127	'xcm-builder/std',128	'xcm-executor/std',129	'xcm/std',130131	"orml-tokens/std",132	"orml-traits/std",133	"orml-vesting/std",134	"orml-xcm-support/std",135	"orml-xtokens/std",136	"pallet-foreign-assets/std",137138	'pallet-maintenance/std',139	'pallet-test-utils/std',140]141try-runtime = [142	"pallet-authorship/try-runtime",143	"pallet-collator-selection/try-runtime",144	"pallet-identity/try-runtime",145	"pallet-preimage/try-runtime",146	"pallet-session/try-runtime",147	"pallet-state-trie-migration/try-runtime",148	'cumulus-pallet-aura-ext/try-runtime',149	'cumulus-pallet-dmp-queue/try-runtime',150	'cumulus-pallet-parachain-system/try-runtime',151	'cumulus-pallet-xcm/try-runtime',152	'cumulus-pallet-xcmp-queue/try-runtime',153	'fp-self-contained/try-runtime',154	'frame-executive/try-runtime',155	'frame-support/try-runtime',156	'frame-system/try-runtime',157	'frame-try-runtime',158	'frame-try-runtime?/try-runtime',159	'orml-tokens/try-runtime',160	'orml-vesting/try-runtime',161	'orml-xtokens/try-runtime',162	'pallet-app-promotion/try-runtime',163	'pallet-aura/try-runtime',164	'pallet-balances/try-runtime',165	'pallet-balances-adapter/try-runtime',166	'pallet-base-fee/try-runtime',167	'pallet-charge-transaction/try-runtime',168	'pallet-common/try-runtime',169	'pallet-configuration/try-runtime',170	'pallet-ethereum/try-runtime',171	'pallet-evm-coder-substrate/try-runtime',172	'pallet-evm-contract-helpers/try-runtime',173	'pallet-evm-migration/try-runtime',174	'pallet-evm-transaction-payment/try-runtime',175	'pallet-evm/try-runtime',176	'pallet-foreign-assets/try-runtime',177	'pallet-fungible/try-runtime',178	'pallet-inflation/try-runtime',179	'pallet-maintenance/try-runtime',180	'pallet-nonfungible/try-runtime',181	'pallet-refungible/try-runtime',182	'pallet-structure/try-runtime',183	'pallet-sudo/try-runtime',184	'pallet-test-utils/try-runtime',185	'pallet-timestamp/try-runtime',186	'pallet-transaction-payment/try-runtime',187	'pallet-treasury/try-runtime',188	'pallet-unique-scheduler-v2/try-runtime',189	'pallet-unique/try-runtime',190	'pallet-xcm/try-runtime',191	'parachain-info/try-runtime',192]193194app-promotion = []195collator-selection = []196foreign-assets = []197pallet-test-utils = []198preimage = []199refungible = []200scheduler = []201202################################################################################203# local dependencies204205[dependencies]206# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it.207codec = { workspace = true, package = "parity-scale-codec" }208209cumulus-pallet-aura-ext = { workspace = true }210cumulus-pallet-dmp-queue = { workspace = true }211cumulus-pallet-parachain-system = { workspace = true }212cumulus-pallet-xcm = { workspace = true }213cumulus-pallet-xcmp-queue = { workspace = true }214cumulus-primitives-core = { workspace = true }215cumulus-primitives-timestamp = { workspace = true }216cumulus-primitives-utility = { workspace = true }217frame-executive = { workspace = true }218frame-support = { workspace = true }219frame-system = { workspace = true }220frame-system-rpc-runtime-api = { workspace = true }221orml-tokens = { workspace = true }222orml-traits = { workspace = true }223orml-vesting = { workspace = true }224orml-xcm-support = { workspace = true }225orml-xtokens = { workspace = true }226pallet-aura = { workspace = true }227pallet-authorship = { workspace = true }228pallet-balances = { features = ["insecure_zero_ed"], workspace = true }229pallet-preimage = { workspace = true }230pallet-session = { workspace = true }231pallet-state-trie-migration = { workspace = true }232pallet-sudo = { workspace = true }233pallet-timestamp = { workspace = true }234pallet-transaction-payment = { workspace = true }235pallet-transaction-payment-rpc-runtime-api = { workspace = true }236pallet-treasury = { workspace = true }237pallet-xcm = { workspace = true }238parachain-info = { workspace = true }239polkadot-parachain = { workspace = true }240smallvec = { workspace = true }241sp-api = { workspace = true }242sp-arithmetic = { workspace = true }243sp-block-builder = { workspace = true }244sp-consensus-aura = { workspace = true }245sp-core = { workspace = true }246sp-inherents = { workspace = true }247sp-io = { workspace = true }248sp-offchain = { workspace = true }249sp-runtime = { workspace = true }250sp-session = { workspace = true }251sp-std = { workspace = true }252sp-transaction-pool = { workspace = true }253sp-version = { workspace = true }254xcm = { workspace = true }255xcm-builder = { workspace = true }256xcm-executor = { workspace = true }257258app-promotion-rpc = { workspace = true }259derivative = { workspace = true }260evm-coder = { workspace = true }261fp-evm = { workspace = true }262fp-rpc = { workspace = true }263fp-self-contained = { workspace = true }264log = { workspace = true }265num_enum = { workspace = true }266pallet-app-promotion = { workspace = true }267pallet-balances-adapter = { workspace = true }268pallet-base-fee = { workspace = true }269pallet-charge-transaction = { workspace = true }270pallet-collator-selection = { workspace = true }271pallet-common = { workspace = true }272pallet-configuration = { 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-fungible = { workspace = true }282pallet-identity = { workspace = true }283pallet-inflation = { workspace = true }284pallet-maintenance = { workspace = true }285pallet-nonfungible = { workspace = true }286pallet-refungible = { workspace = true }287pallet-structure = { workspace = true }288pallet-unique = { workspace = true }289pallet-unique-scheduler-v2 = { workspace = true }290precompile-utils-macro = { workspace = true }291scale-info = { workspace = true }292up-common = { workspace = true }293up-data-structs = { workspace = true }294up-pov-estimate-rpc = { workspace = true }295up-rpc = { workspace = true }296up-sponsorship = { workspace = true }297298################################################################################299# Optional dependencies300301frame-benchmarking = { workspace = true, optional = true }302frame-system-benchmarking = { workspace = true, optional = true }303frame-try-runtime = { workspace = true, optional = true }304hex-literal = { workspace = true, optional = true }305serde = { workspace = true, optional = true }306307################################################################################308# Test dependencies309310pallet-test-utils = { workspace = true }311312################################################################################313# Other Dependencies314315impl-trait-for-tuples = { workspace = true }316317[build-dependencies]318substrate-wasm-builder = { workspace = true }
after · runtime/opal/Cargo.toml
1################################################################################2# Package34[package]5authors = ['Unique Network <support@uniquenetwork.io>']6build = 'build.rs'7description = 'Opal Runtime'8edition = '2021'9homepage = 'https://unique.network'10license = 'GPLv3'11name = 'opal-runtime'12repository = 'https://github.com/UniqueNetwork/unique-chain'13version.workspace = true1415[package.metadata.docs.rs]16targets = ['x86_64-unknown-linux-gnu']1718[features]19default = ['opal-runtime', 'std']20state-version-0 = []21limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']22opal-runtime = ['app-promotion', 'collator-selection', 'foreign-assets', 'pallet-test-utils', 'preimage', 'refungible']23pov-estimate = []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	'pallet-app-promotion/runtime-benchmarks',32	'pallet-balances/runtime-benchmarks',33	'pallet-collator-selection/runtime-benchmarks',34	'pallet-common/runtime-benchmarks',35	'pallet-configuration/runtime-benchmarks',36	'pallet-ethereum/runtime-benchmarks',37	'pallet-evm-coder-substrate/runtime-benchmarks',38	'pallet-evm-migration/runtime-benchmarks',39	'pallet-foreign-assets/runtime-benchmarks',40	'pallet-fungible/runtime-benchmarks',41	'pallet-identity/runtime-benchmarks',42	'pallet-inflation/runtime-benchmarks',43	'pallet-maintenance/runtime-benchmarks',44	'pallet-nonfungible/runtime-benchmarks',45	'pallet-refungible/runtime-benchmarks',46	'pallet-structure/runtime-benchmarks',47	'pallet-timestamp/runtime-benchmarks',48	'pallet-unique-scheduler-v2/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-contracts/std',70	# 'pallet-contracts-primitives/std',71	# 'pallet-contracts-rpc-runtime-api/std',72	# 'pallet-contract-helpers/std',73	"pallet-authorship/std",74	"pallet-preimage/std",75	"pallet-session/std",76	"pallet-state-trie-migration/std",77	"sp-consensus-aura/std",78	'app-promotion-rpc/std',79	'evm-coder/std',80	'fp-rpc/std',81	'fp-self-contained/std',82	'pallet-app-promotion/std',83	'pallet-balances-adapter/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-identity/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-scheduler-v2/std',107	'pallet-unique/std',108	'parachain-info/std',109	'serde',110	'sp-api/std',111	'sp-block-builder/std',112	'sp-core/std',113	'sp-inherents/std',114	'sp-io/std',115	'sp-offchain/std',116	'sp-runtime/std',117	'sp-session/std',118	'sp-std/std',119	'sp-transaction-pool/std',120	'sp-version/std',121	'up-common/std',122	'up-data-structs/std',123	'up-pov-estimate-rpc/std',124	'up-rpc/std',125	'up-sponsorship/std',126	'xcm-builder/std',127	'xcm-executor/std',128	'xcm/std',129130	"orml-tokens/std",131	"orml-traits/std",132	"orml-vesting/std",133	"orml-xcm-support/std",134	"orml-xtokens/std",135	"pallet-foreign-assets/std",136137	'pallet-maintenance/std',138	'pallet-test-utils/std',139]140try-runtime = [141	"pallet-authorship/try-runtime",142	"pallet-collator-selection/try-runtime",143	"pallet-identity/try-runtime",144	"pallet-preimage/try-runtime",145	"pallet-session/try-runtime",146	"pallet-state-trie-migration/try-runtime",147	'cumulus-pallet-aura-ext/try-runtime',148	'cumulus-pallet-dmp-queue/try-runtime',149	'cumulus-pallet-parachain-system/try-runtime',150	'cumulus-pallet-xcm/try-runtime',151	'cumulus-pallet-xcmp-queue/try-runtime',152	'fp-self-contained/try-runtime',153	'frame-executive/try-runtime',154	'frame-support/try-runtime',155	'frame-system/try-runtime',156	'frame-try-runtime',157	'frame-try-runtime?/try-runtime',158	'orml-tokens/try-runtime',159	'orml-vesting/try-runtime',160	'orml-xtokens/try-runtime',161	'pallet-app-promotion/try-runtime',162	'pallet-aura/try-runtime',163	'pallet-balances/try-runtime',164	'pallet-balances-adapter/try-runtime',165	'pallet-base-fee/try-runtime',166	'pallet-charge-transaction/try-runtime',167	'pallet-common/try-runtime',168	'pallet-configuration/try-runtime',169	'pallet-ethereum/try-runtime',170	'pallet-evm-coder-substrate/try-runtime',171	'pallet-evm-contract-helpers/try-runtime',172	'pallet-evm-migration/try-runtime',173	'pallet-evm-transaction-payment/try-runtime',174	'pallet-evm/try-runtime',175	'pallet-foreign-assets/try-runtime',176	'pallet-fungible/try-runtime',177	'pallet-inflation/try-runtime',178	'pallet-maintenance/try-runtime',179	'pallet-nonfungible/try-runtime',180	'pallet-refungible/try-runtime',181	'pallet-structure/try-runtime',182	'pallet-sudo/try-runtime',183	'pallet-test-utils/try-runtime',184	'pallet-timestamp/try-runtime',185	'pallet-transaction-payment/try-runtime',186	'pallet-treasury/try-runtime',187	'pallet-unique-scheduler-v2/try-runtime',188	'pallet-unique/try-runtime',189	'pallet-xcm/try-runtime',190	'parachain-info/try-runtime',191]192193app-promotion = []194collator-selection = []195foreign-assets = []196pallet-test-utils = []197preimage = []198refungible = []199scheduler = []200201################################################################################202# local dependencies203204[dependencies]205# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it.206codec = { workspace = true, package = "parity-scale-codec" }207208cumulus-pallet-aura-ext = { workspace = true }209cumulus-pallet-dmp-queue = { workspace = true }210cumulus-pallet-parachain-system = { workspace = true }211cumulus-pallet-xcm = { workspace = true }212cumulus-pallet-xcmp-queue = { workspace = true }213cumulus-primitives-core = { workspace = true }214cumulus-primitives-timestamp = { workspace = true }215cumulus-primitives-utility = { workspace = true }216frame-executive = { workspace = true }217frame-support = { workspace = true }218frame-system = { workspace = true }219frame-system-rpc-runtime-api = { workspace = true }220orml-tokens = { workspace = true }221orml-traits = { workspace = true }222orml-vesting = { workspace = true }223orml-xcm-support = { workspace = true }224orml-xtokens = { workspace = true }225pallet-aura = { workspace = true }226pallet-authorship = { workspace = true }227pallet-balances = { features = ["insecure_zero_ed"], workspace = true }228pallet-preimage = { workspace = true }229pallet-session = { workspace = true }230pallet-state-trie-migration = { workspace = true }231pallet-sudo = { workspace = true }232pallet-timestamp = { workspace = true }233pallet-transaction-payment = { workspace = true }234pallet-transaction-payment-rpc-runtime-api = { workspace = true }235pallet-treasury = { workspace = true }236pallet-xcm = { workspace = true }237parachain-info = { workspace = true }238polkadot-parachain = { workspace = true }239smallvec = { workspace = true }240sp-api = { workspace = true }241sp-arithmetic = { workspace = true }242sp-block-builder = { workspace = true }243sp-consensus-aura = { workspace = true }244sp-core = { workspace = true }245sp-inherents = { workspace = true }246sp-io = { workspace = true }247sp-offchain = { workspace = true }248sp-runtime = { workspace = true }249sp-session = { workspace = true }250sp-std = { workspace = true }251sp-transaction-pool = { workspace = true }252sp-version = { workspace = true }253xcm = { workspace = true }254xcm-builder = { workspace = true }255xcm-executor = { workspace = true }256257app-promotion-rpc = { workspace = true }258derivative = { workspace = true }259evm-coder = { workspace = true }260fp-evm = { workspace = true }261fp-rpc = { workspace = true }262fp-self-contained = { workspace = true }263log = { workspace = true }264num_enum = { workspace = true }265pallet-app-promotion = { workspace = true }266pallet-balances-adapter = { workspace = true }267pallet-base-fee = { workspace = true }268pallet-charge-transaction = { workspace = true }269pallet-collator-selection = { workspace = true }270pallet-common = { workspace = true }271pallet-configuration = { workspace = true }272pallet-ethereum = { workspace = true }273pallet-evm = { workspace = true }274pallet-evm-coder-substrate = { workspace = true }275pallet-evm-contract-helpers = { workspace = true }276pallet-evm-migration = { workspace = true }277pallet-evm-precompile-simple = { workspace = true }278pallet-evm-transaction-payment = { workspace = true }279pallet-foreign-assets = { workspace = true }280pallet-fungible = { workspace = true }281pallet-identity = { workspace = true }282pallet-inflation = { workspace = true }283pallet-maintenance = { workspace = true }284pallet-nonfungible = { workspace = true }285pallet-refungible = { workspace = true }286pallet-structure = { workspace = true }287pallet-unique = { workspace = true }288pallet-unique-scheduler-v2 = { workspace = true }289precompile-utils-macro = { workspace = true }290scale-info = { workspace = true }291up-common = { workspace = true }292up-data-structs = { workspace = true }293up-pov-estimate-rpc = { workspace = true }294up-rpc = { workspace = true }295up-sponsorship = { workspace = true }296297################################################################################298# Optional dependencies299300frame-benchmarking = { workspace = true, optional = true }301frame-system-benchmarking = { workspace = true, optional = true }302frame-try-runtime = { workspace = true, optional = true }303serde = { workspace = true, optional = true }304305################################################################################306# Test dependencies307308pallet-test-utils = { workspace = true }309310################################################################################311# Other Dependencies312313impl-trait-for-tuples = { workspace = true }314hex-literal = { workspace = true }315316[build-dependencies]317substrate-wasm-builder = { workspace = true }
modifiedruntime/quartz/Cargo.tomldiffbeforeafterboth
--- a/runtime/quartz/Cargo.toml
+++ b/runtime/quartz/Cargo.toml
@@ -29,7 +29,6 @@
 	'frame-support/runtime-benchmarks',
 	'frame-system-benchmarking',
 	'frame-system/runtime-benchmarks',
-	'hex-literal',
 	'pallet-app-promotion/runtime-benchmarks',
 	'pallet-balances/runtime-benchmarks',
 	'pallet-collator-selection/runtime-benchmarks',
@@ -293,7 +292,6 @@
 frame-benchmarking = { workspace = true, optional = true }
 frame-system-benchmarking = { workspace = true, optional = true }
 frame-try-runtime = { workspace = true, optional = true }
-hex-literal = { workspace = true, optional = true }
 serde = { workspace = true, optional = true }
 
 
@@ -306,6 +304,7 @@
 # Other Dependencies
 
 impl-trait-for-tuples = { workspace = true }
+hex-literal = { workspace = true }
 
 [build-dependencies]
 substrate-wasm-builder = { workspace = true }
modifiedruntime/unique/Cargo.tomldiffbeforeafterboth
--- a/runtime/unique/Cargo.toml
+++ b/runtime/unique/Cargo.toml
@@ -26,7 +26,6 @@
 	'frame-support/runtime-benchmarks',
 	'frame-system-benchmarking',
 	'frame-system/runtime-benchmarks',
-	'hex-literal',
 	'pallet-app-promotion/runtime-benchmarks',
 	'pallet-balances/runtime-benchmarks',
 	'pallet-collator-selection/runtime-benchmarks',
@@ -292,7 +291,6 @@
 frame-benchmarking = { workspace = true, optional = true }
 frame-system-benchmarking = { workspace = true, optional = true }
 frame-try-runtime = { workspace = true, optional = true }
-hex-literal = { workspace = true, optional = true }
 serde = { workspace = true, optional = true }
 
 ################################################################################
@@ -304,6 +302,7 @@
 # Other Dependencies
 
 impl-trait-for-tuples = { workspace = true }
+hex-literal = { workspace = true }
 
 [build-dependencies]
 substrate-wasm-builder = { workspace = true }