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