git.delta.rocks / unique-network / refs/commits / 3db37f4ef63b

difftreelog

fix clippy warnings

Grigoriy Simonov2023-10-12parent: #5f71c37.patch.diff
in: master

12 files changed

modifiedCargo.lockdiffbeforeafterboth
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -10145,6 +10145,7 @@
  "sp-runtime",
  "sp-session",
  "sp-std",
+ "sp-storage",
  "sp-transaction-pool",
  "sp-version",
  "staging-xcm",
@@ -14897,6 +14898,7 @@
  "sp-runtime",
  "sp-session",
  "sp-std",
+ "sp-storage",
  "sp-transaction-pool",
  "sp-version",
  "staging-xcm",
modifiednode/cli/src/chain_spec.rsdiffbeforeafterboth
--- a/node/cli/src/chain_spec.rs
+++ b/node/cli/src/chain_spec.rs
@@ -238,7 +238,7 @@
 			vesting: VestingConfig { vesting: vec![] },
 			parachain_info: ParachainInfoConfig {
 				parachain_id: $id.into(),
-				Default::default()
+				..Default::default()
 			},
 			aura: AuraConfig {
 				authorities: $initial_invulnerables
modifiednode/cli/src/command.rsdiffbeforeafterboth
--- a/node/cli/src/command.rs
+++ b/node/cli/src/command.rs
@@ -399,6 +399,7 @@
 		Some(Subcommand::TryRuntime(cmd)) => {
 			use std::{future::Future, pin::Pin};
 
+			use polkadot_cli::Block;
 			use sc_executor::{sp_wasm_interface::ExtendedHostFunctions, NativeExecutionDispatch};
 			use try_runtime_cli::block_building_info::timestamp_with_aura_info;
 
modifiednode/cli/src/rpc.rsdiffbeforeafterboth
--- a/node/cli/src/rpc.rs
+++ b/node/cli/src/rpc.rs
@@ -67,7 +67,7 @@
 }
 
 /// Instantiate all Full RPC extensions.
-pub fn create_full<C, P, SC, R, A, B>(
+pub fn create_full<C, P, SC, R, B>(
 	io: &mut RpcModule<()>,
 	deps: FullDeps<C, P, SC>,
 ) -> Result<(), Box<dyn std::error::Error + Send + Sync>>
@@ -244,7 +244,7 @@
 			EthFilter::new(
 				client.clone(),
 				eth_backend,
-				graph.clone(),
+				graph,
 				filter_pool,
 				500_usize, // max stored filters
 				max_past_logs,
modifiednode/cli/src/service.rsdiffbeforeafterboth
--- a/node/cli/src/service.rs
+++ b/node/cli/src/service.rs
@@ -498,7 +498,7 @@
 				select_chain,
 			};
 
-			create_full::<_, _, _, Runtime, RuntimeApi, _>(&mut rpc_handle, full_deps)?;
+			create_full::<_, _, _, Runtime, _>(&mut rpc_handle, full_deps)?;
 
 			let eth_deps = EthDeps {
 				client,
@@ -547,7 +547,7 @@
 		config: parachain_config,
 		keystore: params.keystore_container.keystore(),
 		backend: backend.clone(),
-		network: network.clone(),
+		network,
 		sync_service: sync_service.clone(),
 		system_rpc_tx,
 		telemetry: telemetry.as_mut(),
@@ -600,19 +600,21 @@
 	if validator {
 		start_consensus(
 			client.clone(),
-			backend.clone(),
-			prometheus_registry.as_ref(),
-			telemetry.as_ref().map(|t| t.handle()),
-			&task_manager,
-			relay_chain_interface.clone(),
 			transaction_pool,
-			sync_service.clone(),
-			params.keystore_container.keystore(),
-			overseer_handle,
-			relay_chain_slot_duration,
-			para_id,
-			collator_key.expect("cli args do not allow this"),
-			announce_block,
+			StartConsensusParameters {
+				backend: backend.clone(),
+				prometheus_registry: prometheus_registry.as_ref(),
+				telemetry: telemetry.as_ref().map(|t| t.handle()),
+				task_manager: &task_manager,
+				relay_chain_interface: relay_chain_interface.clone(),
+				sync_oracle: sync_service,
+				keystore: params.keystore_container.keystore(),
+				overseer_handle,
+				relay_chain_slot_duration,
+				para_id,
+				collator_key: collator_key.expect("cli args do not allow this"),
+				announce_block,
+			}
 		)?;
 	}
 
@@ -670,16 +672,12 @@
 	.map_err(Into::into)
 }
 
-pub fn start_consensus<ExecutorDispatch, RuntimeApi, Runtime>(
-	client: Arc<FullClient<RuntimeApi, ExecutorDispatch>>,
+pub struct StartConsensusParameters<'a> {
 	backend: Arc<FullBackend>,
-	prometheus_registry: Option<&Registry>,
+	prometheus_registry: Option<&'a Registry>,
 	telemetry: Option<TelemetryHandle>,
-	task_manager: &TaskManager,
+	task_manager: &'a TaskManager,
 	relay_chain_interface: Arc<dyn RelayChainInterface>,
-	transaction_pool: Arc<
-		sc_transaction_pool::FullPool<Block, FullClient<RuntimeApi, ExecutorDispatch>>,
-	>,
 	sync_oracle: Arc<SyncingService<Block>>,
 	keystore: KeystorePtr,
 	overseer_handle: OverseerHandle,
@@ -687,6 +685,14 @@
 	para_id: ParaId,
 	collator_key: CollatorPair,
 	announce_block: Arc<dyn Fn(Hash, Option<Vec<u8>>) + Send + Sync>,
+}
+
+pub fn start_consensus<ExecutorDispatch, RuntimeApi, Runtime>(
+	client: Arc<FullClient<RuntimeApi, ExecutorDispatch>>,
+	transaction_pool: Arc<
+		sc_transaction_pool::FullPool<Block, FullClient<RuntimeApi, ExecutorDispatch>>,
+	>,
+	parameters: StartConsensusParameters<'_>,
 ) -> Result<(), sc_service::Error>
 where
 	ExecutorDispatch: NativeExecutionDispatch + 'static,
@@ -697,6 +703,20 @@
 	RuntimeApi::RuntimeApi: RuntimeApiDep<Runtime> + 'static,
 	Runtime: RuntimeInstance,
 {
+	let StartConsensusParameters {
+		backend,
+		prometheus_registry,
+		telemetry,
+		task_manager,
+		relay_chain_interface,
+		sync_oracle,
+		keystore,
+		overseer_handle,
+		relay_chain_slot_duration,
+		para_id,
+		collator_key,
+		announce_block,
+	} = parameters;
 	let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?;
 
 	let proposer_factory = sc_basic_authorship::ProposerFactory::with_proof_recording(
@@ -704,7 +724,7 @@
 		client.clone(),
 		transaction_pool,
 		prometheus_registry,
-		telemetry.clone(),
+		telemetry,
 	);
 	let proposer = Proposer::new(proposer_factory);
 
@@ -1043,7 +1063,7 @@
 				select_chain,
 			};
 
-			create_full::<_, _, _, Runtime, RuntimeApi, _>(&mut rpc_module, full_deps)?;
+			create_full::<_, _, _, Runtime, _>(&mut rpc_module, full_deps)?;
 
 			let eth_deps = EthDeps {
 				client,
modifiedpallets/app-promotion/src/benchmarking.rsdiffbeforeafterboth
--- a/pallets/app-promotion/src/benchmarking.rs
+++ b/pallets/app-promotion/src/benchmarking.rs
@@ -161,7 +161,7 @@
 		T::RelayBlockNumberProvider::set_block_number(30_000.into());
 
 		#[extrinsic_call]
-		_(RawOrigin::Signed(pallet_admin.clone()), Some(b as u8));
+		_(RawOrigin::Signed(pallet_admin), Some(b as u8));
 
 		Ok(())
 	}
@@ -178,7 +178,7 @@
 
 		#[extrinsic_call]
 		_(
-			RawOrigin::Signed(caller.clone()),
+			RawOrigin::Signed(caller),
 			share * <T as Config>::Currency::total_balance(&caller),
 		);
 
@@ -211,7 +211,7 @@
 			.collect::<Result<Vec<_>, _>>()?;
 
 		#[extrinsic_call]
-		_(RawOrigin::Signed(caller.clone()));
+		_(RawOrigin::Signed(caller));
 
 		Ok(())
 	}
@@ -242,7 +242,7 @@
 
 		#[extrinsic_call]
 		_(
-			RawOrigin::Signed(caller.clone()),
+			RawOrigin::Signed(caller),
 			Into::<BalanceOf<T>>::into(1000u128) * T::Nominal::get(),
 		);
 
@@ -268,7 +268,7 @@
 		let collection = create_nft_collection::<T>(caller)?;
 
 		#[extrinsic_call]
-		_(RawOrigin::Signed(pallet_admin.clone()), collection);
+		_(RawOrigin::Signed(pallet_admin), collection);
 
 		Ok(())
 	}
@@ -296,7 +296,7 @@
 		)?;
 
 		#[extrinsic_call]
-		_(RawOrigin::Signed(pallet_admin.clone()), collection);
+		_(RawOrigin::Signed(pallet_admin), collection);
 
 		Ok(())
 	}
@@ -319,7 +319,7 @@
 		<EvmMigrationPallet<T>>::finish(RawOrigin::Root.into(), address, data)?;
 
 		#[extrinsic_call]
-		_(RawOrigin::Signed(pallet_admin.clone()), address);
+		_(RawOrigin::Signed(pallet_admin), address);
 
 		Ok(())
 	}
@@ -346,7 +346,7 @@
 		)?;
 
 		#[extrinsic_call]
-		_(RawOrigin::Signed(pallet_admin.clone()), address);
+		_(RawOrigin::Signed(pallet_admin), address);
 
 		Ok(())
 	}
modifiedpallets/nonfungible/src/benchmarking.rsdiffbeforeafterboth
--- a/pallets/nonfungible/src/benchmarking.rs
+++ b/pallets/nonfungible/src/benchmarking.rs
@@ -75,7 +75,7 @@
 
 		#[block]
 		{
-			create_max_item(&collection, &sender, to.clone())?;
+			create_max_item(&collection, &sender, to)?;
 		}
 
 		Ok(())
modifiedpallets/refungible/src/benchmarking.rsdiffbeforeafterboth
--- a/pallets/refungible/src/benchmarking.rs
+++ b/pallets/refungible/src/benchmarking.rs
@@ -82,7 +82,7 @@
 
 		#[block]
 		{
-			create_max_item(&collection, &sender, [(to.clone(), 200)])?;
+			create_max_item(&collection, &sender, [(to, 200)])?;
 		}
 
 		Ok(())
modifiedpallets/unique/src/benchmarking.rsdiffbeforeafterboth
--- a/pallets/unique/src/benchmarking.rs
+++ b/pallets/unique/src/benchmarking.rs
@@ -107,7 +107,7 @@
 		let collection = create_nft_collection::<T>(caller.clone())?;
 
 		#[extrinsic_call]
-		_(RawOrigin::Signed(caller.clone()), collection);
+		_(RawOrigin::Signed(caller), collection);
 
 		Ok(())
 	}
@@ -120,7 +120,7 @@
 
 		#[extrinsic_call]
 		_(
-			RawOrigin::Signed(caller.clone()),
+			RawOrigin::Signed(caller),
 			collection,
 			T::CrossAccountId::from_sub(allowlist_account),
 		);
@@ -141,7 +141,7 @@
 
 		#[extrinsic_call]
 		_(
-			RawOrigin::Signed(caller.clone()),
+			RawOrigin::Signed(caller),
 			collection,
 			T::CrossAccountId::from_sub(allowlist_account),
 		);
@@ -156,7 +156,7 @@
 		let new_owner: T::AccountId = account("admin", 0, SEED);
 
 		#[extrinsic_call]
-		_(RawOrigin::Signed(caller.clone()), collection, new_owner);
+		_(RawOrigin::Signed(caller), collection, new_owner);
 
 		Ok(())
 	}
@@ -169,7 +169,7 @@
 
 		#[extrinsic_call]
 		_(
-			RawOrigin::Signed(caller.clone()),
+			RawOrigin::Signed(caller),
 			collection,
 			T::CrossAccountId::from_sub(new_admin),
 		);
@@ -190,7 +190,7 @@
 
 		#[extrinsic_call]
 		_(
-			RawOrigin::Signed(caller.clone()),
+			RawOrigin::Signed(caller),
 			collection,
 			T::CrossAccountId::from_sub(new_admin),
 		);
@@ -204,11 +204,7 @@
 		let collection = create_nft_collection::<T>(caller.clone())?;
 
 		#[extrinsic_call]
-		_(
-			RawOrigin::Signed(caller.clone()),
-			collection,
-			caller.clone(),
-		);
+		_(RawOrigin::Signed(caller), collection, caller.clone());
 
 		Ok(())
 	}
@@ -224,7 +220,7 @@
 		)?;
 
 		#[extrinsic_call]
-		_(RawOrigin::Signed(caller.clone()), collection);
+		_(RawOrigin::Signed(caller), collection);
 
 		Ok(())
 	}
@@ -241,7 +237,7 @@
 		<Pallet<T>>::confirm_sponsorship(RawOrigin::Signed(caller.clone()).into(), collection)?;
 
 		#[extrinsic_call]
-		_(RawOrigin::Signed(caller.clone()), collection);
+		_(RawOrigin::Signed(caller), collection);
 
 		Ok(())
 	}
@@ -252,7 +248,7 @@
 		let collection = create_nft_collection::<T>(caller.clone())?;
 
 		#[extrinsic_call]
-		_(RawOrigin::Signed(caller.clone()), collection, false);
+		_(RawOrigin::Signed(caller), collection, false);
 
 		Ok(())
 	}
@@ -275,7 +271,7 @@
 		};
 
 		#[extrinsic_call]
-		set_collection_limits(RawOrigin::Signed(caller.clone()), collection, cl);
+		set_collection_limits(RawOrigin::Signed(caller), collection, cl);
 
 		Ok(())
 	}
modifiedruntime/common/config/xcm/foreignassets.rsdiffbeforeafterboth
--- a/runtime/common/config/xcm/foreignassets.rs
+++ b/runtime/common/config/xcm/foreignassets.rs
@@ -77,19 +77,18 @@
 		let here_id =
 			ConvertAssetId::convert(&AssetId::NativeAssetId(NativeCurrency::Here)).unwrap();
 
-		if asset_id.clone() == parent_id {
+		if *asset_id == parent_id {
 			return Some(MultiLocation::parent());
 		}
 
-		if asset_id.clone() == here_id {
+		if *asset_id == here_id {
 			return Some(MultiLocation::new(
 				1,
 				X1(Parachain(ParachainInfo::get().into())),
 			));
 		}
 
-		let fid =
-			<AssetId as TryAsForeign<AssetId, ForeignAssetId>>::try_as_foreign(asset_id.clone())?;
+		let fid = <AssetId as TryAsForeign<AssetId, ForeignAssetId>>::try_as_foreign(*asset_id)?;
 		XcmForeignAssetIdMapping::<Runtime>::get_multi_location(fid)
 	}
 }
modifiedruntime/quartz/Cargo.tomldiffbeforeafterboth
--- a/runtime/quartz/Cargo.toml
+++ b/runtime/quartz/Cargo.toml
@@ -271,6 +271,7 @@
 sp-runtime = { workspace = true }
 sp-session = { workspace = true }
 sp-std = { workspace = true }
+sp-storage = { workspace = true }
 sp-transaction-pool = { workspace = true }
 sp-version = { workspace = true }
 staging-xcm = { workspace = true }
modifiedruntime/unique/Cargo.tomldiffbeforeafterboth
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	'pallet-app-promotion/runtime-benchmarks',29	'pallet-balances/runtime-benchmarks',30	'pallet-collator-selection/runtime-benchmarks',31	'pallet-collective/runtime-benchmarks',32	'pallet-collective/runtime-benchmarks',33	'pallet-common/runtime-benchmarks',34	'pallet-configuration/runtime-benchmarks',35	'pallet-democracy/runtime-benchmarks',36	'pallet-democracy/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-membership/runtime-benchmarks',46	'pallet-membership/runtime-benchmarks',47	'pallet-nonfungible/runtime-benchmarks',48	'pallet-ranked-collective/runtime-benchmarks',49	'pallet-referenda/runtime-benchmarks',50	'pallet-refungible/runtime-benchmarks',51	'pallet-scheduler/runtime-benchmarks',52	'pallet-scheduler/runtime-benchmarks',53	'pallet-structure/runtime-benchmarks',54	'pallet-timestamp/runtime-benchmarks',55	'pallet-unique/runtime-benchmarks',56	'pallet-utility/runtime-benchmarks',57	'pallet-xcm/runtime-benchmarks',58	'sp-runtime/runtime-benchmarks',59	'staging-xcm-builder/runtime-benchmarks',60	'up-data-structs/runtime-benchmarks',61]62std = [63	'cumulus-pallet-aura-ext/std',64	'cumulus-pallet-parachain-system/std',65	'cumulus-pallet-xcm/std',66	'cumulus-pallet-xcmp-queue/std',67	'cumulus-primitives-core/std',68	'cumulus-primitives-utility/std',69	'frame-executive/std',70	'frame-support/std',71	'frame-system-rpc-runtime-api/std',72	'frame-system/std',73	'frame-try-runtime/std',74	'pallet-aura/std',75	'pallet-balances/std',76	'pallet-collective/std',77	'pallet-democracy/std',78	'pallet-membership/std',79	'pallet-scheduler/std',80	'parity-scale-codec/std',81	# 'pallet-contracts/std',82	# 'pallet-contracts-primitives/std',83	# 'pallet-contracts-rpc-runtime-api/std',84	# 'pallet-contract-helpers/std',85	"pallet-authorship/std",86	"pallet-identity/std",87	"pallet-preimage/std",88	"pallet-session/std",89	"pallet-state-trie-migration/std",90	"sp-consensus-aura/std",91	'app-promotion-rpc/std',92	'evm-coder/std',93	'fp-rpc/std',94	'fp-self-contained/std',95	'pallet-app-promotion/std',96	'pallet-balances-adapter/std',97	'pallet-base-fee/std',98	'pallet-charge-transaction/std',99	'pallet-collator-selection/std',100	'pallet-collective/std',101	'pallet-common/std',102	'pallet-configuration/std',103	'pallet-democracy/std',104	'pallet-ethereum/std',105	'pallet-evm-coder-substrate/std',106	'pallet-evm-contract-helpers/std',107	'pallet-evm-migration/std',108	'pallet-evm-transaction-payment/std',109	'pallet-evm/std',110	'pallet-fungible/std',111	'pallet-gov-origins/std',112	'pallet-inflation/std',113	'pallet-membership/std',114	'pallet-nonfungible/std',115	'pallet-ranked-collective/std',116	'pallet-referenda/std',117	'pallet-refungible/std',118	'pallet-scheduler/std',119	'pallet-structure/std',120	'pallet-sudo/std',121	'pallet-timestamp/std',122	'pallet-transaction-payment-rpc-runtime-api/std',123	'pallet-transaction-payment/std',124	'pallet-treasury/std',125	'pallet-unique/std',126	'pallet-utility/std',127	'parachain-info/std',128	'sp-api/std',129	'sp-block-builder/std',130	'sp-core/std',131	'sp-inherents/std',132	'sp-io/std',133	'sp-offchain/std',134	'sp-runtime/std',135	'sp-session/std',136	'sp-std/std',137	'sp-transaction-pool/std',138	'sp-version/std',139	'staging-xcm-builder/std',140	'staging-xcm-executor/std',141	'staging-xcm/std',142	'up-common/std',143	'up-data-structs/std',144	'up-pov-estimate-rpc/std',145	'up-rpc/std',146	'up-sponsorship/std',147148	"orml-tokens/std",149	"orml-traits/std",150	"orml-vesting/std",151	"orml-xcm-support/std",152	"orml-xtokens/std",153	"pallet-foreign-assets/std",154	"pallet-maintenance/std",155]156stubgen = ["evm-coder/stubgen"]157try-runtime = [158	"pallet-authorship/try-runtime",159	"pallet-collator-selection/try-runtime",160	"pallet-identity/try-runtime",161	"pallet-preimage/try-runtime",162	"pallet-session/try-runtime",163	"pallet-state-trie-migration/try-runtime",164	'cumulus-pallet-aura-ext/try-runtime',165	'cumulus-pallet-dmp-queue/try-runtime',166	'cumulus-pallet-parachain-system/try-runtime',167	'cumulus-pallet-xcm/try-runtime',168	'cumulus-pallet-xcmp-queue/try-runtime',169	'fp-self-contained/try-runtime',170	'frame-executive/try-runtime',171	'frame-support/try-runtime',172	'frame-system/try-runtime',173	'frame-try-runtime',174	'orml-tokens/try-runtime',175	'orml-vesting/try-runtime',176	'orml-xtokens/try-runtime',177	'pallet-app-promotion/try-runtime',178	'pallet-aura/try-runtime',179	'pallet-balances-adapter/try-runtime',180	'pallet-balances/try-runtime',181	'pallet-charge-transaction/try-runtime',182	'pallet-collective/try-runtime',183	'pallet-collective/try-runtime',184	'pallet-common/try-runtime',185	'pallet-configuration/try-runtime',186	'pallet-democracy/try-runtime',187	'pallet-democracy/try-runtime',188	'pallet-ethereum/try-runtime',189	'pallet-evm-coder-substrate/try-runtime',190	'pallet-evm-contract-helpers/try-runtime',191	'pallet-evm-migration/try-runtime',192	'pallet-evm-transaction-payment/try-runtime',193	'pallet-evm/try-runtime',194	'pallet-foreign-assets/try-runtime',195	'pallet-fungible/try-runtime',196	'pallet-gov-origins/try-runtime',197	'pallet-inflation/try-runtime',198	'pallet-maintenance/try-runtime',199	'pallet-membership/try-runtime',200	'pallet-membership/try-runtime',201	'pallet-nonfungible/try-runtime',202	'pallet-ranked-collective/try-runtime',203	'pallet-referenda/try-runtime',204	'pallet-refungible/try-runtime',205	'pallet-scheduler/try-runtime',206	'pallet-scheduler/try-runtime',207	'pallet-structure/try-runtime',208	'pallet-sudo/try-runtime',209	'pallet-timestamp/try-runtime',210	'pallet-transaction-payment/try-runtime',211	'pallet-treasury/try-runtime',212	'pallet-unique/try-runtime',213	'pallet-utility/try-runtime',214	'pallet-xcm/try-runtime',215	'parachain-info/try-runtime',216]217unique-runtime = ['app-promotion', 'foreign-assets', 'refungible']218219app-promotion = []220collator-selection = []221foreign-assets = []222gov-test-timings = []223governance = []224preimage = []225refungible = []226session-test-timings = []227228################################################################################229# local dependencies230231[dependencies]232cumulus-pallet-aura-ext = { workspace = true }233cumulus-pallet-dmp-queue = { workspace = true }234cumulus-pallet-parachain-system = { workspace = true }235cumulus-pallet-xcm = { workspace = true }236cumulus-pallet-xcmp-queue = { workspace = true }237cumulus-primitives-core = { workspace = true }238cumulus-primitives-timestamp = { workspace = true }239cumulus-primitives-utility = { workspace = true }240frame-executive = { workspace = true }241frame-support = { workspace = true }242frame-system = { workspace = true }243frame-system-rpc-runtime-api = { workspace = true }244orml-tokens = { workspace = true }245orml-traits = { workspace = true }246orml-vesting = { workspace = true }247orml-xcm-support = { workspace = true }248orml-xtokens = { workspace = true }249pallet-aura = { workspace = true }250pallet-authorship = { workspace = true }251pallet-balances = { features = ["insecure_zero_ed"], workspace = true }252pallet-preimage = { workspace = true }253pallet-session = { workspace = true }254pallet-state-trie-migration = { workspace = true }255pallet-sudo = { workspace = true }256pallet-timestamp = { workspace = true }257pallet-transaction-payment = { workspace = true }258pallet-transaction-payment-rpc-runtime-api = { workspace = true }259pallet-treasury = { workspace = true }260pallet-utility = { workspace = true }261pallet-xcm = { workspace = true }262parachain-info = { workspace = true }263parity-scale-codec = { workspace = true }264polkadot-parachain-primitives = { workspace = true }265smallvec = { workspace = true }266sp-api = { workspace = true }267sp-arithmetic = { workspace = true }268sp-block-builder = { workspace = true }269sp-consensus-aura = { workspace = true }270sp-core = { workspace = true }271sp-inherents = { workspace = true }272sp-io = { workspace = true }273sp-offchain = { workspace = true }274sp-runtime = { workspace = true }275sp-session = { workspace = true }276sp-std = { workspace = true }277sp-storage = { workspace = true }278sp-transaction-pool = { workspace = true }279sp-version = { workspace = true }280staging-xcm = { workspace = true }281staging-xcm-builder = { workspace = true }282staging-xcm-executor = { workspace = true }283284app-promotion-rpc = { workspace = true }285derivative = { workspace = true }286log = { workspace = true }287pallet-app-promotion = { workspace = true }288pallet-balances-adapter = { workspace = true }289pallet-collator-selection = { workspace = true }290pallet-collective = { workspace = true }291pallet-common = { workspace = true }292pallet-configuration = { workspace = true }293pallet-democracy = { workspace = true }294pallet-fungible = { workspace = true }295pallet-gov-origins = { workspace = true }296pallet-identity = { workspace = true }297pallet-inflation = { workspace = true }298pallet-membership = { workspace = true }299pallet-nonfungible = { workspace = true }300pallet-ranked-collective = { workspace = true }301pallet-referenda = { workspace = true }302pallet-refungible = { workspace = true }303pallet-scheduler = { workspace = true }304pallet-structure = { workspace = true }305pallet-unique = { workspace = true }306scale-info = { workspace = true }307up-common = { workspace = true }308up-data-structs = { workspace = true }309up-pov-estimate-rpc = { workspace = true }310up-rpc = { workspace = true }311# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }312evm-coder = { workspace = true }313fp-evm = { workspace = true }314fp-rpc = { workspace = true }315fp-self-contained = { workspace = true }316num_enum = { workspace = true }317pallet-base-fee = { workspace = true }318pallet-charge-transaction = { workspace = true }319pallet-ethereum = { workspace = true }320pallet-evm = { workspace = true }321pallet-evm-coder-substrate = { workspace = true }322pallet-evm-contract-helpers = { workspace = true }323pallet-evm-migration = { workspace = true }324pallet-evm-precompile-simple = { workspace = true }325pallet-evm-transaction-payment = { workspace = true }326pallet-foreign-assets = { workspace = true }327pallet-maintenance = { workspace = true }328precompile-utils-macro = { workspace = true }329up-sponsorship = { workspace = true }330331################################################################################332# Optional dependencies333334frame-benchmarking = { workspace = true, optional = true }335frame-system-benchmarking = { workspace = true, optional = true }336frame-try-runtime = { workspace = true, optional = true }337serde = { workspace = true, optional = true }338339################################################################################340# Test dependencies341342pallet-test-utils = { workspace = true }343344################################################################################345# Other Dependencies346347hex-literal = { workspace = true }348impl-trait-for-tuples = { workspace = true }349350[build-dependencies]351substrate-wasm-builder = { workspace = true }