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
--- a/runtime/opal/Cargo.toml
+++ b/runtime/opal/Cargo.toml
@@ -28,7 +28,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',
@@ -301,7 +300,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 }
 
 ################################################################################
@@ -313,6 +311,7 @@
 # Other Dependencies
 
 impl-trait-for-tuples = { workspace = true }
+hex-literal = { workspace = true }
 
 [build-dependencies]
 substrate-wasm-builder = { workspace = true }
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']21state-version-0 = []22limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']23pov-estimate = []24quartz-runtime = ['app-promotion', 'collator-selection', 'foreign-assets', 'preimage', 'refungible']25runtime-benchmarks = [26	"pallet-preimage/runtime-benchmarks",27	'cumulus-pallet-parachain-system/runtime-benchmarks',28	'frame-benchmarking',29	'frame-support/runtime-benchmarks',30	'frame-system-benchmarking',31	'frame-system/runtime-benchmarks',32	'hex-literal',33	'pallet-app-promotion/runtime-benchmarks',34	'pallet-balances/runtime-benchmarks',35	'pallet-collator-selection/runtime-benchmarks',36	'pallet-common/runtime-benchmarks',37	'pallet-configuration/runtime-benchmarks',38	'pallet-ethereum/runtime-benchmarks',39	'pallet-evm-coder-substrate/runtime-benchmarks',40	'pallet-evm-migration/runtime-benchmarks',41	'pallet-foreign-assets/runtime-benchmarks',42	'pallet-fungible/runtime-benchmarks',43	'pallet-identity/runtime-benchmarks',44	'pallet-inflation/runtime-benchmarks',45	'pallet-maintenance/runtime-benchmarks',46	'pallet-nonfungible/runtime-benchmarks',47	'pallet-refungible/runtime-benchmarks',48	'pallet-structure/runtime-benchmarks',49	'pallet-timestamp/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-balances-adapter/std',71	# 'pallet-contracts/std',72	# 'pallet-contracts-primitives/std',73	# 'pallet-contracts-rpc-runtime-api/std',74	# 'pallet-contract-helpers/std',75	"pallet-authorship/std",76	"pallet-identity/std",77	"pallet-preimage/std",78	"pallet-session/std",79	"pallet-state-trie-migration/std",80	"sp-consensus-aura/std",81	'app-promotion-rpc/std',82	'evm-coder/std',83	'fp-rpc/std',84	'fp-self-contained/std',85	'pallet-app-promotion/std',86	'pallet-base-fee/std',87	'pallet-charge-transaction/std',88	'pallet-collator-selection/std',89	'pallet-common/std',90	'pallet-configuration/std',91	'pallet-ethereum/std',92	'pallet-evm-coder-substrate/std',93	'pallet-evm-contract-helpers/std',94	'pallet-evm-migration/std',95	'pallet-evm-transaction-payment/std',96	'pallet-evm/std',97	'pallet-fungible/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/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",136	"pallet-maintenance/std",137]138try-runtime = [139	"pallet-authorship/try-runtime",140	"pallet-collator-selection/try-runtime",141	"pallet-identity/try-runtime",142	"pallet-preimage/try-runtime",143	"pallet-session/try-runtime",144	"pallet-state-trie-migration/try-runtime",145	'cumulus-pallet-aura-ext/try-runtime',146	'cumulus-pallet-dmp-queue/try-runtime',147	'cumulus-pallet-parachain-system/try-runtime',148	'cumulus-pallet-xcm/try-runtime',149	'cumulus-pallet-xcmp-queue/try-runtime',150	'fp-self-contained/try-runtime',151	'frame-executive/try-runtime',152	'frame-support/try-runtime',153	'frame-system/try-runtime',154	'frame-try-runtime',155	'orml-tokens/try-runtime',156	'orml-vesting/try-runtime',157	'orml-xtokens/try-runtime',158	'pallet-app-promotion/try-runtime',159	'pallet-aura/try-runtime',160	'pallet-balances/try-runtime',161	'pallet-balances-adapter/try-runtime',162	'pallet-charge-transaction/try-runtime',163	'pallet-common/try-runtime',164	'pallet-configuration/try-runtime',165	'pallet-ethereum/try-runtime',166	'pallet-evm-coder-substrate/try-runtime',167	'pallet-evm-contract-helpers/try-runtime',168	'pallet-evm-migration/try-runtime',169	'pallet-evm-transaction-payment/try-runtime',170	'pallet-evm/try-runtime',171	'pallet-foreign-assets/try-runtime',172	'pallet-fungible/try-runtime',173	'pallet-inflation/try-runtime',174	'pallet-maintenance/try-runtime',175	'pallet-nonfungible/try-runtime',176	'pallet-refungible/try-runtime',177	'pallet-structure/try-runtime',178	'pallet-sudo/try-runtime',179	'pallet-timestamp/try-runtime',180	'pallet-transaction-payment/try-runtime',181	'pallet-treasury/try-runtime',182	'pallet-unique/try-runtime',183	'pallet-xcm/try-runtime',184	'parachain-info/try-runtime',185]186187app-promotion = []188collator-selection = []189foreign-assets = []190preimage = []191refungible = []192scheduler = []193194################################################################################195# local dependencies196197[dependencies]198# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it.199codec = { workspace = true, package = "parity-scale-codec" }200201cumulus-pallet-aura-ext = { workspace = true }202cumulus-pallet-dmp-queue = { workspace = true }203cumulus-pallet-parachain-system = { workspace = true }204cumulus-pallet-xcm = { workspace = true }205cumulus-pallet-xcmp-queue = { workspace = true }206cumulus-primitives-core = { workspace = true }207cumulus-primitives-timestamp = { workspace = true }208cumulus-primitives-utility = { workspace = true }209frame-executive = { workspace = true }210frame-support = { workspace = true }211frame-system = { workspace = true }212frame-system-rpc-runtime-api = { workspace = true }213orml-tokens = { workspace = true }214orml-traits = { workspace = true }215orml-vesting = { workspace = true }216orml-xcm-support = { workspace = true }217orml-xtokens = { workspace = true }218pallet-aura = { workspace = true }219pallet-authorship = { workspace = true }220pallet-balances = { features = ["insecure_zero_ed"], workspace = true }221pallet-preimage = { workspace = true }222pallet-session = { workspace = true }223pallet-state-trie-migration = { workspace = true }224pallet-sudo = { workspace = true }225pallet-timestamp = { workspace = true }226pallet-transaction-payment = { workspace = true }227pallet-transaction-payment-rpc-runtime-api = { workspace = true }228pallet-treasury = { workspace = true }229pallet-xcm = { workspace = true }230parachain-info = { workspace = true }231polkadot-parachain = { workspace = true }232smallvec = { workspace = true }233sp-api = { workspace = true }234sp-arithmetic = { workspace = true }235sp-block-builder = { workspace = true }236sp-consensus-aura = { workspace = true }237sp-core = { workspace = true }238sp-inherents = { workspace = true }239sp-io = { workspace = true }240sp-offchain = { workspace = true }241sp-runtime = { workspace = true }242sp-session = { workspace = true }243sp-std = { workspace = true }244sp-transaction-pool = { workspace = true }245sp-version = { workspace = true }246xcm = { workspace = true }247xcm-builder = { workspace = true }248xcm-executor = { workspace = true }249250app-promotion-rpc = { workspace = true }251derivative = { workspace = true }252fp-evm = { workspace = true }253log = { workspace = true }254pallet-app-promotion = { workspace = true }255pallet-balances-adapter = { workspace = true }256pallet-collator-selection = { workspace = true }257pallet-common = { workspace = true }258pallet-configuration = { workspace = true }259pallet-fungible = { workspace = true }260pallet-identity = { workspace = true }261pallet-inflation = { workspace = true }262pallet-nonfungible = { workspace = true }263pallet-refungible = { workspace = true }264pallet-structure = { workspace = true }265pallet-unique = { workspace = true }266scale-info = { workspace = true }267up-common = { workspace = true }268up-data-structs = { workspace = true }269up-pov-estimate-rpc = { workspace = true }270up-rpc = { workspace = true }271# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }272evm-coder = { workspace = true }273fp-rpc = { workspace = true }274fp-self-contained = { workspace = true }275num_enum = { version = "0.5.3", default-features = false }276pallet-base-fee = { workspace = true }277pallet-charge-transaction = { workspace = true }278pallet-ethereum = { workspace = true }279pallet-evm = { workspace = true }280pallet-evm-coder-substrate = { workspace = true }281pallet-evm-contract-helpers = { workspace = true }282pallet-evm-migration = { workspace = true }283pallet-evm-precompile-simple = { workspace = true }284pallet-evm-transaction-payment = { workspace = true }285pallet-foreign-assets = { workspace = true }286pallet-maintenance = { workspace = true }287precompile-utils-macro = { workspace = true }288up-sponsorship = { workspace = true }289290################################################################################291# Optional dependencies292293frame-benchmarking = { workspace = true, optional = true }294frame-system-benchmarking = { workspace = true, optional = true }295frame-try-runtime = { workspace = true, optional = true }296hex-literal = { workspace = true, optional = true }297serde = { workspace = true, optional = true }298299300################################################################################301# Test dependencies302303pallet-test-utils = { workspace = true }304305################################################################################306# Other Dependencies307308impl-trait-for-tuples = { workspace = true }309310[build-dependencies]311substrate-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']21state-version-0 = []22limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']23pov-estimate = []24quartz-runtime = ['app-promotion', 'collator-selection', 'foreign-assets', 'preimage', 'refungible']25runtime-benchmarks = [26	"pallet-preimage/runtime-benchmarks",27	'cumulus-pallet-parachain-system/runtime-benchmarks',28	'frame-benchmarking',29	'frame-support/runtime-benchmarks',30	'frame-system-benchmarking',31	'frame-system/runtime-benchmarks',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	"pallet-state-trie-migration/try-runtime",144	'cumulus-pallet-aura-ext/try-runtime',145	'cumulus-pallet-dmp-queue/try-runtime',146	'cumulus-pallet-parachain-system/try-runtime',147	'cumulus-pallet-xcm/try-runtime',148	'cumulus-pallet-xcmp-queue/try-runtime',149	'fp-self-contained/try-runtime',150	'frame-executive/try-runtime',151	'frame-support/try-runtime',152	'frame-system/try-runtime',153	'frame-try-runtime',154	'orml-tokens/try-runtime',155	'orml-vesting/try-runtime',156	'orml-xtokens/try-runtime',157	'pallet-app-promotion/try-runtime',158	'pallet-aura/try-runtime',159	'pallet-balances/try-runtime',160	'pallet-balances-adapter/try-runtime',161	'pallet-charge-transaction/try-runtime',162	'pallet-common/try-runtime',163	'pallet-configuration/try-runtime',164	'pallet-ethereum/try-runtime',165	'pallet-evm-coder-substrate/try-runtime',166	'pallet-evm-contract-helpers/try-runtime',167	'pallet-evm-migration/try-runtime',168	'pallet-evm-transaction-payment/try-runtime',169	'pallet-evm/try-runtime',170	'pallet-foreign-assets/try-runtime',171	'pallet-fungible/try-runtime',172	'pallet-inflation/try-runtime',173	'pallet-maintenance/try-runtime',174	'pallet-nonfungible/try-runtime',175	'pallet-refungible/try-runtime',176	'pallet-structure/try-runtime',177	'pallet-sudo/try-runtime',178	'pallet-timestamp/try-runtime',179	'pallet-transaction-payment/try-runtime',180	'pallet-treasury/try-runtime',181	'pallet-unique/try-runtime',182	'pallet-xcm/try-runtime',183	'parachain-info/try-runtime',184]185186app-promotion = []187collator-selection = []188foreign-assets = []189preimage = []190refungible = []191scheduler = []192193################################################################################194# local dependencies195196[dependencies]197# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it.198codec = { workspace = true, package = "parity-scale-codec" }199200cumulus-pallet-aura-ext = { workspace = true }201cumulus-pallet-dmp-queue = { workspace = true }202cumulus-pallet-parachain-system = { workspace = true }203cumulus-pallet-xcm = { workspace = true }204cumulus-pallet-xcmp-queue = { workspace = true }205cumulus-primitives-core = { workspace = true }206cumulus-primitives-timestamp = { workspace = true }207cumulus-primitives-utility = { workspace = true }208frame-executive = { workspace = true }209frame-support = { workspace = true }210frame-system = { workspace = true }211frame-system-rpc-runtime-api = { workspace = true }212orml-tokens = { workspace = true }213orml-traits = { workspace = true }214orml-vesting = { workspace = true }215orml-xcm-support = { workspace = true }216orml-xtokens = { workspace = true }217pallet-aura = { workspace = true }218pallet-authorship = { workspace = true }219pallet-balances = { features = ["insecure_zero_ed"], workspace = true }220pallet-preimage = { workspace = true }221pallet-session = { workspace = true }222pallet-state-trie-migration = { workspace = true }223pallet-sudo = { workspace = true }224pallet-timestamp = { workspace = true }225pallet-transaction-payment = { workspace = true }226pallet-transaction-payment-rpc-runtime-api = { workspace = true }227pallet-treasury = { workspace = true }228pallet-xcm = { workspace = true }229parachain-info = { workspace = true }230polkadot-parachain = { workspace = true }231smallvec = { workspace = true }232sp-api = { workspace = true }233sp-arithmetic = { workspace = true }234sp-block-builder = { workspace = true }235sp-consensus-aura = { workspace = true }236sp-core = { workspace = true }237sp-inherents = { workspace = true }238sp-io = { workspace = true }239sp-offchain = { workspace = true }240sp-runtime = { workspace = true }241sp-session = { workspace = true }242sp-std = { workspace = true }243sp-transaction-pool = { workspace = true }244sp-version = { workspace = true }245xcm = { workspace = true }246xcm-builder = { workspace = true }247xcm-executor = { workspace = true }248249app-promotion-rpc = { workspace = true }250derivative = { workspace = true }251fp-evm = { workspace = true }252log = { workspace = true }253pallet-app-promotion = { workspace = true }254pallet-balances-adapter = { workspace = true }255pallet-collator-selection = { workspace = true }256pallet-common = { workspace = true }257pallet-configuration = { workspace = true }258pallet-fungible = { workspace = true }259pallet-identity = { workspace = true }260pallet-inflation = { workspace = true }261pallet-nonfungible = { workspace = true }262pallet-refungible = { workspace = true }263pallet-structure = { workspace = true }264pallet-unique = { workspace = true }265scale-info = { workspace = true }266up-common = { workspace = true }267up-data-structs = { workspace = true }268up-pov-estimate-rpc = { workspace = true }269up-rpc = { workspace = true }270# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }271evm-coder = { workspace = true }272fp-rpc = { workspace = true }273fp-self-contained = { workspace = true }274num_enum = { version = "0.5.3", default-features = false }275pallet-base-fee = { workspace = true }276pallet-charge-transaction = { workspace = true }277pallet-ethereum = { workspace = true }278pallet-evm = { workspace = true }279pallet-evm-coder-substrate = { workspace = true }280pallet-evm-contract-helpers = { workspace = true }281pallet-evm-migration = { workspace = true }282pallet-evm-precompile-simple = { workspace = true }283pallet-evm-transaction-payment = { workspace = true }284pallet-foreign-assets = { workspace = true }285pallet-maintenance = { workspace = true }286precompile-utils-macro = { workspace = true }287up-sponsorship = { workspace = true }288289################################################################################290# Optional dependencies291292frame-benchmarking = { workspace = true, optional = true }293frame-system-benchmarking = { workspace = true, optional = true }294frame-try-runtime = { 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 }307hex-literal = { workspace = true }308309[build-dependencies]310substrate-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 }