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

difftreelog

feat register pallet in runtimes

Trubnikov Sergey2023-04-19parent: #c0114cb.patch.diff
in: master

8 files changed

modifiedCargo.lockdiffbeforeafterboth
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5871,6 +5871,7 @@
  "pallet-aura",
  "pallet-authorship",
  "pallet-balances",
+ "pallet-balances-adapter",
  "pallet-base-fee",
  "pallet-collator-selection",
  "pallet-common",
@@ -6255,13 +6256,19 @@
 name = "pallet-balances-adapter"
 version = "0.1.0"
 dependencies = [
+ "evm-coder",
  "frame-support",
  "frame-system",
  "pallet-balances",
+ "pallet-common",
+ "pallet-evm",
+ "pallet-evm-coder-substrate",
+ "pallet-evm-transaction-payment",
  "parity-scale-codec",
  "scale-info",
  "sp-core",
  "sp-std",
+ "up-data-structs",
 ]
 
 [[package]]
@@ -9364,6 +9371,7 @@
  "pallet-aura",
  "pallet-authorship",
  "pallet-balances",
+ "pallet-balances-adapter",
  "pallet-base-fee",
  "pallet-collator-selection",
  "pallet-common",
@@ -13781,6 +13789,7 @@
  "pallet-aura",
  "pallet-authorship",
  "pallet-balances",
+ "pallet-balances-adapter",
  "pallet-base-fee",
  "pallet-collator-selection",
  "pallet-common",
modifiedpallets/balances-adapter/Cargo.tomldiffbeforeafterboth
--- a/pallets/balances-adapter/Cargo.toml
+++ b/pallets/balances-adapter/Cargo.toml
@@ -16,8 +16,28 @@
 codec = { workspace = true, package = "parity-scale-codec" }
 scale-info = { workspace = true }
 
+# Unique
+evm-coder = { workspace = true }
+pallet-evm = { workspace = true }
+
+#Local
+pallet-common = { workspace = true }
+pallet-evm-coder-substrate = { workspace = true }
+pallet-evm-transaction-payment = { workspace = true }
+up-data-structs = { workspace = true, features = ['serde1'] }
+
 [features]
 default = ["std"]
-std = ["frame-support/std", "frame-system/std", "pallet-balances/std", "sp-core/std", "sp-std/std"]
-# stubgen = ["evm-coder/stubgen", "pallet-common/stubgen"]
+std = [
+	"evm-coder/std",
+	"frame-support/std",
+	"frame-system/std",
+	"pallet-balances/std",
+	"pallet-common/std",
+	"pallet-evm-coder-substrate/std",
+	"pallet-evm/std",
+	"sp-core/std",
+	"sp-std/std",
+]
+stubgen = ["evm-coder/stubgen", "pallet-common/stubgen"]
 try-runtime = ["frame-support/try-runtime"]
modifiedpallets/balances-adapter/src/lib.rsdiffbeforeafterboth
--- a/pallets/balances-adapter/src/lib.rs
+++ b/pallets/balances-adapter/src/lib.rs
@@ -2,6 +2,8 @@
 #![cfg_attr(not(feature = "std"), no_std)]
 #![warn(missing_docs)]
 
+pub use pallet::*;
+
 #[frame_support::pallet]
 pub mod pallet {
 	#[pallet::config]
modifiedruntime/common/config/pallets/mod.rsdiffbeforeafterboth
--- a/runtime/common/config/pallets/mod.rs
+++ b/runtime/common/config/pallets/mod.rs
@@ -83,6 +83,9 @@
 impl pallet_nonfungible::Config for Runtime {
 	type WeightInfo = pallet_nonfungible::weights::SubstrateWeight<Self>;
 }
+impl pallet_balances_adapter::Config for Runtime {
+	// type WeightInfo = pallet_nonfungible::weights::SubstrateWeight<Self>;
+}
 
 parameter_types! {
 	pub const InflationBlockInterval: BlockNumber = 100; // every time per how many blocks inflation is applied
modifiedruntime/common/construct_runtime.rsdiffbeforeafterboth
--- a/runtime/common/construct_runtime.rs
+++ b/runtime/common/construct_runtime.rs
@@ -106,6 +106,8 @@
 
 				Maintenance: pallet_maintenance = 154,
 
+				BalancesAdapter: pallet_balances_adapter = 155,
+
 				#[cfg(feature = "pallet-test-utils")]
 				TestUtils: pallet_test_utils = 255,
 			}
modifiedruntime/opal/Cargo.tomldiffbeforeafterboth
--- a/runtime/opal/Cargo.toml
+++ b/runtime/opal/Cargo.toml
@@ -18,9 +18,10 @@
 [features]
 default = ['opal-runtime', 'std']
 limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']
-opal-runtime = ['app-promotion', 'collator-selection', 'foreign-assets', 'preimage', 'pallet-test-utils', 'refungible']
+opal-runtime = ['app-promotion', 'collator-selection', 'foreign-assets', 'pallet-test-utils', 'preimage', 'refungible']
 pov-estimate = []
 runtime-benchmarks = [
+	"pallet-preimage/runtime-benchmarks",
 	'cumulus-pallet-parachain-system/runtime-benchmarks',
 	'frame-benchmarking',
 	'frame-support/runtime-benchmarks',
@@ -41,7 +42,6 @@
 	'pallet-inflation/runtime-benchmarks',
 	'pallet-maintenance/runtime-benchmarks',
 	'pallet-nonfungible/runtime-benchmarks',
-	"pallet-preimage/runtime-benchmarks",
 	'pallet-refungible/runtime-benchmarks',
 	'pallet-structure/runtime-benchmarks',
 	'pallet-timestamp/runtime-benchmarks',
@@ -70,8 +70,8 @@
 	# 'pallet-contracts-primitives/std',
 	# 'pallet-contracts-rpc-runtime-api/std',
 	# 'pallet-contract-helpers/std',
+	"pallet-authorship/std",
 	"pallet-preimage/std",
-	"pallet-authorship/std",
 	"pallet-session/std",
 	"sp-consensus-aura/std",
 	'app-promotion-rpc/std',
@@ -79,6 +79,7 @@
 	'fp-rpc/std',
 	'fp-self-contained/std',
 	'pallet-app-promotion/std',
+	'pallet-balances-adapter/std',
 	'pallet-base-fee/std',
 	'pallet-charge-transaction/std',
 	'pallet-collator-selection/std',
@@ -128,8 +129,8 @@
 	"orml-tokens/std",
 	"orml-traits/std",
 	"orml-vesting/std",
-	"orml-xtokens/std",
 	"orml-xcm-support/std",
+	"orml-xtokens/std",
 	"pallet-foreign-assets/std",
 
 	'pallet-maintenance/std',
@@ -139,8 +140,8 @@
 	"pallet-authorship/try-runtime",
 	"pallet-collator-selection/try-runtime",
 	"pallet-identity/try-runtime",
+	"pallet-preimage/try-runtime",
 	"pallet-session/try-runtime",
-	"pallet-preimage/try-runtime",
 	'cumulus-pallet-aura-ext/try-runtime',
 	'cumulus-pallet-dmp-queue/try-runtime',
 	'cumulus-pallet-parachain-system/try-runtime',
@@ -189,8 +190,8 @@
 app-promotion = []
 collator-selection = []
 foreign-assets = []
-preimage = []
 pallet-test-utils = []
+preimage = []
 refungible = []
 scheduler = []
 
@@ -216,8 +217,8 @@
 orml-tokens = { workspace = true }
 orml-traits = { workspace = true }
 orml-vesting = { workspace = true }
+orml-xcm-support = { workspace = true }
 orml-xtokens = { workspace = true }
-orml-xcm-support = { workspace = true }
 pallet-aura = { workspace = true }
 pallet-authorship = { workspace = true }
 pallet-balances = { features = ["insecure_zero_ed"], workspace = true }
@@ -258,6 +259,7 @@
 log = { workspace = true }
 num_enum = { workspace = true }
 pallet-app-promotion = { workspace = true }
+pallet-balances-adapter = { workspace = true }
 pallet-base-fee = { workspace = true }
 pallet-charge-transaction = { workspace = true }
 pallet-collator-selection = { workspace = true }
@@ -291,11 +293,11 @@
 ################################################################################
 # Optional dependencies
 
-frame-system-benchmarking = { workspace = true, optional = true}
 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 }
-hex-literal = { workspace = true, optional = true }
 
 ################################################################################
 # Test dependencies
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	'cumulus-pallet-parachain-system/runtime-benchmarks',26	'frame-benchmarking',27	'frame-support/runtime-benchmarks',28	'frame-system-benchmarking',29	'frame-system/runtime-benchmarks',30	'hex-literal',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-preimage/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-contracts/std',70	# 'pallet-contracts-primitives/std',71	# 'pallet-contracts-rpc-runtime-api/std',72	# 'pallet-contract-helpers/std',73	"pallet-preimage/std",74	"pallet-authorship/std",75	"pallet-identity/std",76	"pallet-session/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-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	'serde',107	'sp-api/std',108	'sp-block-builder/std',109	'sp-core/std',110	'sp-inherents/std',111	'sp-io/std',112	'sp-offchain/std',113	'sp-runtime/std',114	'sp-session/std',115	'sp-std/std',116	'sp-transaction-pool/std',117	'sp-version/std',118	'up-common/std',119	'up-data-structs/std',120	'up-pov-estimate-rpc/std',121	'up-rpc/std',122	'up-sponsorship/std',123	'xcm-builder/std',124	'xcm-executor/std',125	'xcm/std',126127	"orml-tokens/std",128	"orml-traits/std",129	"orml-vesting/std",130	"orml-xtokens/std",131	"orml-xcm-support/std",132	"pallet-foreign-assets/std",133	"pallet-maintenance/std",134]135try-runtime = [136	"pallet-authorship/try-runtime",137	"pallet-collator-selection/try-runtime",138	"pallet-identity/try-runtime",139	"pallet-session/try-runtime",140	"pallet-preimage/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-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]181182app-promotion = []183collator-selection = []184foreign-assets = []185preimage = []186refungible = []187scheduler = []188189################################################################################190# local dependencies191192[dependencies]193# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it.194codec = { workspace = true, package = "parity-scale-codec" }195196cumulus-pallet-aura-ext = { workspace = true }197cumulus-pallet-dmp-queue = { workspace = true }198cumulus-pallet-parachain-system = { workspace = true }199cumulus-pallet-xcm = { workspace = true }200cumulus-pallet-xcmp-queue = { workspace = true }201cumulus-primitives-core = { workspace = true }202cumulus-primitives-timestamp = { workspace = true }203cumulus-primitives-utility = { workspace = true }204frame-executive = { workspace = true }205frame-support = { workspace = true }206frame-system = { workspace = true }207frame-system-rpc-runtime-api = { workspace = true }208orml-tokens = { workspace = true }209orml-traits = { workspace = true }210orml-vesting = { workspace = true }211orml-xtokens = { workspace = true }212orml-xcm-support = { workspace = true }213pallet-aura = { workspace = true }214pallet-authorship = { workspace = true }215pallet-balances = { features = ["insecure_zero_ed"], workspace = true }216pallet-preimage = { workspace = true }217pallet-session = { workspace = true }218pallet-sudo = { workspace = true }219pallet-timestamp = { workspace = true }220pallet-transaction-payment = { workspace = true }221pallet-transaction-payment-rpc-runtime-api = { workspace = true }222pallet-treasury = { workspace = true }223pallet-xcm = { workspace = true }224parachain-info = { workspace = true }225polkadot-parachain = { workspace = true }226smallvec = { workspace = true }227sp-api = { workspace = true }228sp-arithmetic = { workspace = true }229sp-block-builder = { workspace = true }230sp-consensus-aura = { workspace = true }231sp-core = { workspace = true }232sp-inherents = { workspace = true }233sp-io = { workspace = true }234sp-offchain = { workspace = true }235sp-runtime = { workspace = true }236sp-session = { workspace = true }237sp-std = { workspace = true }238sp-transaction-pool = { workspace = true }239sp-version = { workspace = true }240xcm = { workspace = true }241xcm-builder = { workspace = true }242xcm-executor = { workspace = true }243244app-promotion-rpc = { workspace = true }245derivative = { workspace = true }246fp-evm = { workspace = true }247log = { workspace = true }248pallet-app-promotion = { workspace = true }249pallet-collator-selection = { workspace = true }250pallet-common = { workspace = true }251pallet-configuration = { workspace = true }252pallet-fungible = { workspace = true }253pallet-identity = { workspace = true }254pallet-inflation = { workspace = true }255pallet-nonfungible = { workspace = true }256pallet-refungible = { workspace = true }257pallet-structure = { workspace = true }258pallet-unique = { workspace = true }259scale-info = { workspace = true }260up-common = { workspace = true }261up-data-structs = { workspace = true }262up-pov-estimate-rpc = { workspace = true }263up-rpc = { workspace = true }264# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }265evm-coder = { workspace = true }266fp-rpc = { workspace = true }267fp-self-contained = { workspace = true }268num_enum = { version = "0.5.3", default-features = false }269pallet-base-fee = { workspace = true }270pallet-charge-transaction = { workspace = true }271pallet-ethereum = { workspace = true }272pallet-evm = { workspace = true }273pallet-evm-coder-substrate = { workspace = true }274pallet-evm-contract-helpers = { workspace = true }275pallet-evm-migration = { workspace = true }276pallet-evm-precompile-simple = { workspace = true }277pallet-evm-transaction-payment = { workspace = true }278pallet-foreign-assets = { workspace = true }279pallet-maintenance = { workspace = true }280precompile-utils-macro = { workspace = true }281up-sponsorship = { workspace = true }282283################################################################################284# Optional dependencies285286frame-system-benchmarking = { workspace = true, optional = true }287frame-benchmarking = { workspace = true, optional = true }288frame-try-runtime = { workspace = true, optional = true }289serde = { workspace = true, optional = true }290hex-literal = { workspace = true, optional = true }291292293################################################################################294# Test dependencies295296pallet-test-utils = { workspace = true }297298################################################################################299# Other Dependencies300301impl-trait-for-tuples = { workspace = true }302303[build-dependencies]304substrate-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-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-identity/std",75	"pallet-preimage/std",76	"pallet-session/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-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	'serde',107	'sp-api/std',108	'sp-block-builder/std',109	'sp-core/std',110	'sp-inherents/std',111	'sp-io/std',112	'sp-offchain/std',113	'sp-runtime/std',114	'sp-session/std',115	'sp-std/std',116	'sp-transaction-pool/std',117	'sp-version/std',118	'up-common/std',119	'up-data-structs/std',120	'up-pov-estimate-rpc/std',121	'up-rpc/std',122	'up-sponsorship/std',123	'xcm-builder/std',124	'xcm-executor/std',125	'xcm/std',126127	"orml-tokens/std",128	"orml-traits/std",129	"orml-vesting/std",130	"orml-xcm-support/std",131	"orml-xtokens/std",132	"pallet-foreign-assets/std",133	"pallet-maintenance/std",134]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-adapter/std',157	'pallet-balances/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]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 }247fp-evm = { workspace = true }248log = { workspace = true }249pallet-app-promotion = { workspace = true }250pallet-balances-adapter = { workspace = true }251pallet-collator-selection = { workspace = true }252pallet-common = { workspace = true }253pallet-configuration = { workspace = true }254pallet-fungible = { workspace = true }255pallet-identity = { workspace = true }256pallet-inflation = { workspace = true }257pallet-nonfungible = { workspace = true }258pallet-refungible = { workspace = true }259pallet-structure = { workspace = true }260pallet-unique = { workspace = true }261scale-info = { workspace = true }262up-common = { workspace = true }263up-data-structs = { workspace = true }264up-pov-estimate-rpc = { workspace = true }265up-rpc = { workspace = true }266# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }267evm-coder = { workspace = true }268fp-rpc = { workspace = true }269fp-self-contained = { workspace = true }270num_enum = { version = "0.5.3", default-features = false }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 }293294295################################################################################296# Test dependencies297298pallet-test-utils = { workspace = true }299300################################################################################301# Other Dependencies302303impl-trait-for-tuples = { workspace = true }304305[build-dependencies]306substrate-wasm-builder = { workspace = true }
modifiedruntime/unique/Cargo.tomldiffbeforeafterboth
--- a/runtime/unique/Cargo.toml
+++ b/runtime/unique/Cargo.toml
@@ -20,6 +20,7 @@
 limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']
 pov-estimate = []
 runtime-benchmarks = [
+	"pallet-preimage/runtime-benchmarks",
 	'frame-benchmarking',
 	'frame-support/runtime-benchmarks',
 	'frame-system-benchmarking',
@@ -39,7 +40,6 @@
 	'pallet-inflation/runtime-benchmarks',
 	'pallet-maintenance/runtime-benchmarks',
 	'pallet-nonfungible/runtime-benchmarks',
-	"pallet-preimage/runtime-benchmarks",
 	'pallet-refungible/runtime-benchmarks',
 	'pallet-structure/runtime-benchmarks',
 	'pallet-timestamp/runtime-benchmarks',
@@ -68,9 +68,9 @@
 	# 'pallet-contracts-primitives/std',
 	# 'pallet-contracts-rpc-runtime-api/std',
 	# 'pallet-contract-helpers/std',
-	"pallet-preimage/std",
 	"pallet-authorship/std",
 	"pallet-identity/std",
+	"pallet-preimage/std",
 	"pallet-session/std",
 	"sp-consensus-aura/std",
 	'app-promotion-rpc/std',
@@ -78,6 +78,7 @@
 	'fp-rpc/std',
 	'fp-self-contained/std',
 	'pallet-app-promotion/std',
+	'pallet-balances-adapter/std',
 	'pallet-base-fee/std',
 	'pallet-charge-transaction/std',
 	'pallet-collator-selection/std',
@@ -124,8 +125,8 @@
 	"orml-tokens/std",
 	"orml-traits/std",
 	"orml-vesting/std",
+	"orml-xcm-support/std",
 	"orml-xtokens/std",
-	"orml-xcm-support/std",
 	"pallet-foreign-assets/std",
 	"pallet-maintenance/std",
 ]
@@ -134,8 +135,8 @@
 	"pallet-authorship/try-runtime",
 	"pallet-collator-selection/try-runtime",
 	"pallet-identity/try-runtime",
+	"pallet-preimage/try-runtime",
 	"pallet-session/try-runtime",
-	"pallet-preimage/try-runtime",
 	'cumulus-pallet-aura-ext/try-runtime',
 	'cumulus-pallet-dmp-queue/try-runtime',
 	'cumulus-pallet-parachain-system/try-runtime',
@@ -207,8 +208,8 @@
 orml-tokens = { workspace = true }
 orml-traits = { workspace = true }
 orml-vesting = { workspace = true }
+orml-xcm-support = { workspace = true }
 orml-xtokens = { workspace = true }
-orml-xcm-support = { workspace = true }
 pallet-aura = { workspace = true }
 pallet-authorship = { workspace = true }
 pallet-balances = { features = ["insecure_zero_ed"], workspace = true }
@@ -244,6 +245,7 @@
 derivative = { workspace = true }
 log = { workspace = true }
 pallet-app-promotion = { workspace = true }
+pallet-balances-adapter = { workspace = true }
 pallet-collator-selection = { workspace = true }
 pallet-common = { workspace = true }
 pallet-configuration = { workspace = true }
@@ -282,11 +284,11 @@
 ################################################################################
 # Optional dependencies
 
+frame-benchmarking = { workspace = true, optional = true }
 frame-system-benchmarking = { workspace = true, optional = true }
-frame-benchmarking = { workspace = true, optional = true }
 frame-try-runtime = { workspace = true, optional = true }
+hex-literal = { workspace = true, optional = true }
 serde = { workspace = true, optional = true }
-hex-literal = { workspace = true, optional = true }
 
 ################################################################################
 # Test dependencies