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
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']20limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']21opal-runtime = ['app-promotion', 'collator-selection', 'foreign-assets', 'preimage', 'pallet-test-utils', 'refungible']22pov-estimate = []23runtime-benchmarks = [24	'cumulus-pallet-parachain-system/runtime-benchmarks',25	'frame-benchmarking',26	'frame-support/runtime-benchmarks',27	'frame-system-benchmarking',28	'frame-system/runtime-benchmarks',29	'hex-literal',30	'pallet-app-promotion/runtime-benchmarks',31	'pallet-balances/runtime-benchmarks',32	'pallet-collator-selection/runtime-benchmarks',33	'pallet-common/runtime-benchmarks',34	'pallet-configuration/runtime-benchmarks',35	'pallet-ethereum/runtime-benchmarks',36	'pallet-evm-coder-substrate/runtime-benchmarks',37	'pallet-evm-migration/runtime-benchmarks',38	'pallet-foreign-assets/runtime-benchmarks',39	'pallet-fungible/runtime-benchmarks',40	'pallet-identity/runtime-benchmarks',41	'pallet-inflation/runtime-benchmarks',42	'pallet-maintenance/runtime-benchmarks',43	'pallet-nonfungible/runtime-benchmarks',44	"pallet-preimage/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-preimage/std",74	"pallet-authorship/std",75	"pallet-session/std",76	"sp-consensus-aura/std",77	'app-promotion-rpc/std',78	'evm-coder/std',79	'fp-rpc/std',80	'fp-self-contained/std',81	'pallet-app-promotion/std',82	'pallet-base-fee/std',83	'pallet-charge-transaction/std',84	'pallet-collator-selection/std',85	'pallet-common/std',86	'pallet-configuration/std',87	'pallet-ethereum/std',88	'pallet-evm-coder-substrate/std',89	'pallet-evm-contract-helpers/std',90	'pallet-evm-migration/std',91	'pallet-evm-transaction-payment/std',92	'pallet-evm/std',93	'pallet-fungible/std',94	'pallet-identity/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-scheduler-v2/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-xtokens/std",132	"orml-xcm-support/std",133	"pallet-foreign-assets/std",134135	'pallet-maintenance/std',136	'pallet-test-utils/std',137]138try-runtime = [139	"pallet-authorship/try-runtime",140	"pallet-collator-selection/try-runtime",141	"pallet-identity/try-runtime",142	"pallet-session/try-runtime",143	"pallet-preimage/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	'frame-try-runtime?/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-base-fee/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-test-utils/try-runtime',180	'pallet-timestamp/try-runtime',181	'pallet-transaction-payment/try-runtime',182	'pallet-treasury/try-runtime',183	'pallet-unique-scheduler-v2/try-runtime',184	'pallet-unique/try-runtime',185	'pallet-xcm/try-runtime',186	'parachain-info/try-runtime',187]188189app-promotion = []190collator-selection = []191foreign-assets = []192preimage = []193pallet-test-utils = []194refungible = []195scheduler = []196197################################################################################198# local dependencies199200[dependencies]201# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it.202codec = { workspace = true, package = "parity-scale-codec" }203204cumulus-pallet-aura-ext = { workspace = true }205cumulus-pallet-dmp-queue = { workspace = true }206cumulus-pallet-parachain-system = { workspace = true }207cumulus-pallet-xcm = { workspace = true }208cumulus-pallet-xcmp-queue = { workspace = true }209cumulus-primitives-core = { workspace = true }210cumulus-primitives-timestamp = { workspace = true }211cumulus-primitives-utility = { workspace = true }212frame-executive = { workspace = true }213frame-support = { workspace = true }214frame-system = { workspace = true }215frame-system-rpc-runtime-api = { workspace = true }216orml-tokens = { workspace = true }217orml-traits = { workspace = true }218orml-vesting = { workspace = true }219orml-xtokens = { workspace = true }220orml-xcm-support = { workspace = true }221pallet-aura = { workspace = true }222pallet-authorship = { workspace = true }223pallet-balances = { features = ["insecure_zero_ed"], workspace = true }224pallet-preimage = { workspace = true }225pallet-session = { workspace = true }226pallet-sudo = { workspace = true }227pallet-timestamp = { workspace = true }228pallet-transaction-payment = { workspace = true }229pallet-transaction-payment-rpc-runtime-api = { workspace = true }230pallet-treasury = { workspace = true }231pallet-xcm = { workspace = true }232parachain-info = { workspace = true }233polkadot-parachain = { workspace = true }234smallvec = { workspace = true }235sp-api = { workspace = true }236sp-arithmetic = { workspace = true }237sp-block-builder = { workspace = true }238sp-consensus-aura = { workspace = true }239sp-core = { workspace = true }240sp-inherents = { workspace = true }241sp-io = { workspace = true }242sp-offchain = { workspace = true }243sp-runtime = { workspace = true }244sp-session = { workspace = true }245sp-std = { workspace = true }246sp-transaction-pool = { workspace = true }247sp-version = { workspace = true }248xcm = { workspace = true }249xcm-builder = { workspace = true }250xcm-executor = { workspace = true }251252app-promotion-rpc = { workspace = true }253derivative = { workspace = true }254evm-coder = { workspace = true }255fp-evm = { workspace = true }256fp-rpc = { workspace = true }257fp-self-contained = { workspace = true }258log = { workspace = true }259num_enum = { workspace = true }260pallet-app-promotion = { workspace = true }261pallet-base-fee = { workspace = true }262pallet-charge-transaction = { workspace = true }263pallet-collator-selection = { workspace = true }264pallet-common = { workspace = true }265pallet-configuration = { workspace = true }266pallet-ethereum = { workspace = true }267pallet-evm = { workspace = true }268pallet-evm-coder-substrate = { workspace = true }269pallet-evm-contract-helpers = { workspace = true }270pallet-evm-migration = { workspace = true }271pallet-evm-precompile-simple = { workspace = true }272pallet-evm-transaction-payment = { workspace = true }273pallet-foreign-assets = { workspace = true }274pallet-fungible = { workspace = true }275pallet-identity = { workspace = true }276pallet-inflation = { workspace = true }277pallet-maintenance = { workspace = true }278pallet-nonfungible = { workspace = true }279pallet-refungible = { workspace = true }280pallet-structure = { workspace = true }281pallet-unique = { workspace = true }282pallet-unique-scheduler-v2 = { workspace = true }283precompile-utils-macro = { workspace = true }284scale-info = { workspace = true }285up-common = { workspace = true }286up-data-structs = { workspace = true }287up-pov-estimate-rpc = { workspace = true }288up-rpc = { workspace = true }289up-sponsorship = { workspace = true }290291################################################################################292# Optional dependencies293294frame-system-benchmarking = { workspace = true, optional = true}295frame-benchmarking = { workspace = true, optional = true }296frame-try-runtime = { workspace = true, optional = true }297serde = { workspace = true, optional = true }298hex-literal = { workspace = true, optional = true }299300################################################################################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/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']20limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']21opal-runtime = ['app-promotion', 'collator-selection', 'foreign-assets', 'pallet-test-utils', 'preimage', 'refungible']22pov-estimate = []23runtime-benchmarks = [24	"pallet-preimage/runtime-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-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	"sp-consensus-aura/std",77	'app-promotion-rpc/std',78	'evm-coder/std',79	'fp-rpc/std',80	'fp-self-contained/std',81	'pallet-app-promotion/std',82	'pallet-balances-adapter/std',83	'pallet-base-fee/std',84	'pallet-charge-transaction/std',85	'pallet-collator-selection/std',86	'pallet-common/std',87	'pallet-configuration/std',88	'pallet-ethereum/std',89	'pallet-evm-coder-substrate/std',90	'pallet-evm-contract-helpers/std',91	'pallet-evm-migration/std',92	'pallet-evm-transaction-payment/std',93	'pallet-evm/std',94	'pallet-fungible/std',95	'pallet-identity/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-scheduler-v2/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",135136	'pallet-maintenance/std',137	'pallet-test-utils/std',138]139try-runtime = [140	"pallet-authorship/try-runtime",141	"pallet-collator-selection/try-runtime",142	"pallet-identity/try-runtime",143	"pallet-preimage/try-runtime",144	"pallet-session/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	'frame-try-runtime?/try-runtime',156	'orml-tokens/try-runtime',157	'orml-vesting/try-runtime',158	'orml-xtokens/try-runtime',159	'pallet-app-promotion/try-runtime',160	'pallet-aura/try-runtime',161	'pallet-balances/try-runtime',162	'pallet-base-fee/try-runtime',163	'pallet-charge-transaction/try-runtime',164	'pallet-common/try-runtime',165	'pallet-configuration/try-runtime',166	'pallet-ethereum/try-runtime',167	'pallet-evm-coder-substrate/try-runtime',168	'pallet-evm-contract-helpers/try-runtime',169	'pallet-evm-migration/try-runtime',170	'pallet-evm-transaction-payment/try-runtime',171	'pallet-evm/try-runtime',172	'pallet-foreign-assets/try-runtime',173	'pallet-fungible/try-runtime',174	'pallet-inflation/try-runtime',175	'pallet-maintenance/try-runtime',176	'pallet-nonfungible/try-runtime',177	'pallet-refungible/try-runtime',178	'pallet-structure/try-runtime',179	'pallet-sudo/try-runtime',180	'pallet-test-utils/try-runtime',181	'pallet-timestamp/try-runtime',182	'pallet-transaction-payment/try-runtime',183	'pallet-treasury/try-runtime',184	'pallet-unique-scheduler-v2/try-runtime',185	'pallet-unique/try-runtime',186	'pallet-xcm/try-runtime',187	'parachain-info/try-runtime',188]189190app-promotion = []191collator-selection = []192foreign-assets = []193pallet-test-utils = []194preimage = []195refungible = []196scheduler = []197198################################################################################199# local dependencies200201[dependencies]202# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it.203codec = { workspace = true, package = "parity-scale-codec" }204205cumulus-pallet-aura-ext = { workspace = true }206cumulus-pallet-dmp-queue = { workspace = true }207cumulus-pallet-parachain-system = { workspace = true }208cumulus-pallet-xcm = { workspace = true }209cumulus-pallet-xcmp-queue = { workspace = true }210cumulus-primitives-core = { workspace = true }211cumulus-primitives-timestamp = { workspace = true }212cumulus-primitives-utility = { workspace = true }213frame-executive = { workspace = true }214frame-support = { workspace = true }215frame-system = { workspace = true }216frame-system-rpc-runtime-api = { workspace = true }217orml-tokens = { workspace = true }218orml-traits = { workspace = true }219orml-vesting = { workspace = true }220orml-xcm-support = { workspace = true }221orml-xtokens = { workspace = true }222pallet-aura = { workspace = true }223pallet-authorship = { workspace = true }224pallet-balances = { features = ["insecure_zero_ed"], workspace = true }225pallet-preimage = { workspace = true }226pallet-session = { workspace = true }227pallet-sudo = { workspace = true }228pallet-timestamp = { workspace = true }229pallet-transaction-payment = { workspace = true }230pallet-transaction-payment-rpc-runtime-api = { workspace = true }231pallet-treasury = { workspace = true }232pallet-xcm = { workspace = true }233parachain-info = { workspace = true }234polkadot-parachain = { workspace = true }235smallvec = { workspace = true }236sp-api = { workspace = true }237sp-arithmetic = { workspace = true }238sp-block-builder = { workspace = true }239sp-consensus-aura = { workspace = true }240sp-core = { workspace = true }241sp-inherents = { workspace = true }242sp-io = { workspace = true }243sp-offchain = { workspace = true }244sp-runtime = { workspace = true }245sp-session = { workspace = true }246sp-std = { workspace = true }247sp-transaction-pool = { workspace = true }248sp-version = { workspace = true }249xcm = { workspace = true }250xcm-builder = { workspace = true }251xcm-executor = { workspace = true }252253app-promotion-rpc = { workspace = true }254derivative = { workspace = true }255evm-coder = { workspace = true }256fp-evm = { workspace = true }257fp-rpc = { workspace = true }258fp-self-contained = { workspace = true }259log = { workspace = true }260num_enum = { workspace = true }261pallet-app-promotion = { workspace = true }262pallet-balances-adapter = { workspace = true }263pallet-base-fee = { workspace = true }264pallet-charge-transaction = { workspace = true }265pallet-collator-selection = { workspace = true }266pallet-common = { workspace = true }267pallet-configuration = { workspace = true }268pallet-ethereum = { workspace = true }269pallet-evm = { workspace = true }270pallet-evm-coder-substrate = { workspace = true }271pallet-evm-contract-helpers = { workspace = true }272pallet-evm-migration = { workspace = true }273pallet-evm-precompile-simple = { workspace = true }274pallet-evm-transaction-payment = { workspace = true }275pallet-foreign-assets = { workspace = true }276pallet-fungible = { workspace = true }277pallet-identity = { workspace = true }278pallet-inflation = { workspace = true }279pallet-maintenance = { workspace = true }280pallet-nonfungible = { workspace = true }281pallet-refungible = { workspace = true }282pallet-structure = { workspace = true }283pallet-unique = { workspace = true }284pallet-unique-scheduler-v2 = { workspace = true }285precompile-utils-macro = { workspace = true }286scale-info = { workspace = true }287up-common = { workspace = true }288up-data-structs = { workspace = true }289up-pov-estimate-rpc = { workspace = true }290up-rpc = { workspace = true }291up-sponsorship = { workspace = true }292293################################################################################294# Optional dependencies295296frame-benchmarking = { workspace = true, optional = true }297frame-system-benchmarking = { workspace = true, optional = true }298frame-try-runtime = { workspace = true, optional = true }299hex-literal = { workspace = true, optional = true }300serde = { workspace = true, optional = true }301302################################################################################303# Test dependencies304305pallet-test-utils = { workspace = true }306307################################################################################308# Other Dependencies309310impl-trait-for-tuples = { workspace = true }311312[build-dependencies]313substrate-wasm-builder = { workspace = true }
modifiedruntime/quartz/Cargo.tomldiffbeforeafterboth
--- a/runtime/quartz/Cargo.toml
+++ b/runtime/quartz/Cargo.toml
@@ -22,6 +22,7 @@
 pov-estimate = []
 quartz-runtime = ['app-promotion', 'collator-selection', 'foreign-assets', 'preimage', 'refungible']
 runtime-benchmarks = [
+	"pallet-preimage/runtime-benchmarks",
 	'cumulus-pallet-parachain-system/runtime-benchmarks',
 	'frame-benchmarking',
 	'frame-support/runtime-benchmarks',
@@ -42,7 +43,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,9 +70,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',
@@ -127,8 +127,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",
 ]
@@ -136,8 +136,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',
@@ -153,6 +153,7 @@
 	'orml-xtokens/try-runtime',
 	'pallet-app-promotion/try-runtime',
 	'pallet-aura/try-runtime',
+	'pallet-balances-adapter/std',
 	'pallet-balances/try-runtime',
 	'pallet-charge-transaction/try-runtime',
 	'pallet-common/try-runtime',
@@ -208,8 +209,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 }
@@ -246,6 +247,7 @@
 fp-evm = { 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 }
@@ -283,11 +285,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 }
 
 
 ################################################################################
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