git.delta.rocks / unique-network / refs/commits / 71fe9c7591f1

difftreelog

Merge pull request #810 from UniqueNetwork/fix/app-promotion-benchmarks

Yaroslav Bolyukin2022-12-26parents: #192d143 #e38b41f.patch.diff
in: master

8 files changed

modifiedCargo.lockdiffbeforeafterboth
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5550,7 +5550,7 @@
 
 [[package]]
 name = "pallet-app-promotion"
-version = "0.1.2"
+version = "0.1.3"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
modifiedpallets/app-promotion/CHANGELOG.mddiffbeforeafterboth
--- a/pallets/app-promotion/CHANGELOG.md
+++ b/pallets/app-promotion/CHANGELOG.md
@@ -4,6 +4,12 @@
 
 <!-- bureaucrate goes here -->
 
+## [0.1.3] - 2022-12-25
+
+### Fixed
+
+- Benchmarks for `payoutStakers` and `unstake` extrinsics.
+
 ## [0.1.2] - 2022-12-20
 
 ### Fixed
modifiedpallets/app-promotion/Cargo.tomldiffbeforeafterboth
--- a/pallets/app-promotion/Cargo.toml
+++ b/pallets/app-promotion/Cargo.toml
@@ -9,13 +9,13 @@
 license = 'GPLv3'
 name = 'pallet-app-promotion'
 repository = 'https://github.com/UniqueNetwork/unique-chain'
-version = '0.1.2'
+version = '0.1.3'
 
 [package.metadata.docs.rs]
 targets = ['x86_64-unknown-linux-gnu']
 
 [features]
-default = ['std']
+default = ['std',]
 runtime-benchmarks = [
     'frame-benchmarking',
     'frame-support/runtime-benchmarks',
modifiedpallets/app-promotion/src/benchmarking.rsdiffbeforeafterboth
--- a/pallets/app-promotion/src/benchmarking.rs
+++ b/pallets/app-promotion/src/benchmarking.rs
@@ -77,27 +77,36 @@
 	} : _(RawOrigin::Root, T::CrossAccountId::from_sub(pallet_admin))
 
 	payout_stakers{
-		let b in 1..101;
+		let b in 1..100;
 
 		let pallet_admin = account::<T::AccountId>("admin", 1, SEED);
 		let share = Perbill::from_rational(1u32, 20);
 		PromototionPallet::<T>::set_admin_address(RawOrigin::Root.into(), T::CrossAccountId::from_sub(pallet_admin.clone()))?;
 		<T as Config>::Currency::make_free_balance_be(&pallet_admin,  Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
+		<T as Config>::Currency::make_free_balance_be(&<T as pallet::Config>::TreasuryAccountId::get(),  Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
 
-		let staker: T::AccountId = account("caller", 0, SEED);
-		<T as Config>::Currency::make_free_balance_be(&staker,  Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
 		let stakers: Vec<T::AccountId> = (0..b).map(|index| account("staker", index, SEED)).collect();
 		stakers.iter().for_each(|staker| {
 			<T as Config>::Currency::make_free_balance_be(&staker,  Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
 		});
-		(0..10).try_for_each(|_| {
+		(1..11).try_for_each(|i| {
+			<frame_system::Pallet<T>>::set_block_number(i.into());
+			T::RelayBlockNumberProvider::set_block_number((2*i).into());
+			assert_eq!(<frame_system::Pallet<T>>::block_number(), i.into());
+			assert_eq!(T::RelayBlockNumberProvider::current_block_number(), (2*i).into());
 			stakers.iter()
-				.map(|staker| {
-					PromototionPallet::<T>::stake(RawOrigin::Signed(staker.clone()).into(), Into::<BalanceOf<T>>::into(100u128) * T::Nominal::get())
-				}).collect::<Result<Vec<_>, _>>()?;
-			<frame_system::Pallet<T>>::finalize();
+			.map(|staker| {
+				PromototionPallet::<T>::stake(RawOrigin::Signed(staker.clone()).into(), Into::<BalanceOf<T>>::into(100u128) * T::Nominal::get())
+			}).collect::<Result<Vec<_>, _>>()?;
+
 			Result::<(), sp_runtime::DispatchError>::Ok(())
 		})?;
+
+		let stakes = Staked::<T>::iter_prefix((&stakers[0],)).into_iter().collect::<Vec<_>>();
+		assert_eq!(stakes.len(), 10);
+
+		<frame_system::Pallet<T>>::set_block_number(15_000.into());
+		T::RelayBlockNumberProvider::set_block_number(30_000.into());
 	} : _(RawOrigin::Signed(pallet_admin.clone()), Some(b as u8))
 
 	stake {
@@ -110,9 +119,12 @@
 		let caller = account::<T::AccountId>("caller", 0, SEED);
 		let share = Perbill::from_rational(1u32, 20);
 		let _ = <T as Config>::Currency::make_free_balance_be(&caller,  Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
-		(0..10).map(|_| {
+		(1..11).map(|i| {
 			// used to change block number
-			<frame_system::Pallet<T>>::finalize();
+			<frame_system::Pallet<T>>::set_block_number(i.into());
+			T::RelayBlockNumberProvider::set_block_number((2*i).into());
+			assert_eq!(<frame_system::Pallet<T>>::block_number(), i.into());
+			assert_eq!(T::RelayBlockNumberProvider::current_block_number(), (2*i).into());
 			PromototionPallet::<T>::stake(RawOrigin::Signed(caller.clone()).into(), share * <T as Config>::Currency::total_balance(&caller))
 		}).collect::<Result<Vec<_>, _>>()?;
 
modifiedpallets/app-promotion/src/weights.rsdiffbeforeafterboth
--- a/pallets/app-promotion/src/weights.rs
+++ b/pallets/app-promotion/src/weights.rs
@@ -3,7 +3,7 @@
 //! Autogenerated weights for pallet_app_promotion
 //!
 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-09-07, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-12-25, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
 //! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
 
 // Executed Command:
@@ -51,77 +51,84 @@
 	// Storage: AppPromotion PendingUnstake (r:1 w:0)
 	// Storage: System Account (r:1 w:1)
 	fn on_initialize(b: u32, ) -> Weight {
-		Weight::from_ref_time(2_651_000)
-			// Standard Error: 103_000
-			.saturating_add(Weight::from_ref_time(6_024_000).saturating_mul(b as u64))
+		Weight::from_ref_time(3_079_948 as u64)
+			// Standard Error: 30_376
+			.saturating_add(Weight::from_ref_time(6_343_630 as u64).saturating_mul(b as u64))
 			.saturating_add(T::DbWeight::get().reads(1 as u64))
 			.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
 			.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
 	}
 	// Storage: AppPromotion Admin (r:0 w:1)
 	fn set_admin_address() -> Weight {
-		Weight::from_ref_time(7_117_000)
+		Weight::from_ref_time(6_653_000 as u64)
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
 	}
 	// Storage: AppPromotion Admin (r:1 w:0)
+	// Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
 	// Storage: ParachainSystem ValidationData (r:1 w:0)
-	// Storage: AppPromotion NextCalculatedRecord (r:1 w:1)
-	// Storage: AppPromotion Staked (r:2 w:0)
+	// Storage: AppPromotion PreviousCalculatedRecord (r:1 w:1)
+	// Storage: AppPromotion Staked (r:11 w:10)
+	// Storage: System Account (r:2 w:2)
+	// Storage: Balances Locks (r:1 w:1)
+	// Storage: AppPromotion TotalStaked (r:1 w:1)
 	fn payout_stakers(b: u32, ) -> Weight {
-		Weight::from_ref_time(9_958_000)
-			// Standard Error: 8_000
-			.saturating_add(Weight::from_ref_time(4_406_000).saturating_mul(b as u64))
-			.saturating_add(T::DbWeight::get().reads(4 as u64))
-			.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
-			.saturating_add(T::DbWeight::get().writes(1 as u64))
+		Weight::from_ref_time(74_048_000 as u64)
+			// Standard Error: 33_223
+			.saturating_add(Weight::from_ref_time(57_702_092 as u64).saturating_mul(b as u64))
+			.saturating_add(T::DbWeight::get().reads(7 as u64))
+			.saturating_add(T::DbWeight::get().reads((12 as u64).saturating_mul(b as u64)))
+			.saturating_add(T::DbWeight::get().writes(3 as u64))
+			.saturating_add(T::DbWeight::get().writes((12 as u64).saturating_mul(b as u64)))
 	}
 	// Storage: AppPromotion StakesPerAccount (r:1 w:1)
+	// Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
 	// Storage: System Account (r:1 w:1)
 	// Storage: Balances Locks (r:1 w:1)
 	// Storage: ParachainSystem ValidationData (r:1 w:0)
 	// Storage: AppPromotion Staked (r:1 w:1)
 	// Storage: AppPromotion TotalStaked (r:1 w:1)
 	fn stake() -> Weight {
-		Weight::from_ref_time(20_574_000)
-			.saturating_add(T::DbWeight::get().reads(6 as u64))
+		Weight::from_ref_time(20_314_000 as u64)
+			.saturating_add(T::DbWeight::get().reads(7 as u64))
 			.saturating_add(T::DbWeight::get().writes(5 as u64))
 	}
+	// Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
 	// Storage: AppPromotion PendingUnstake (r:1 w:1)
-	// Storage: AppPromotion Staked (r:2 w:1)
+	// Storage: AppPromotion Staked (r:11 w:10)
 	// Storage: Balances Locks (r:1 w:1)
 	// Storage: System Account (r:1 w:1)
 	// Storage: AppPromotion TotalStaked (r:1 w:1)
 	// Storage: AppPromotion StakesPerAccount (r:0 w:1)
 	fn unstake() -> Weight {
-		Weight::from_ref_time(31_703_000)
-			.saturating_add(T::DbWeight::get().reads(6 as u64))
-			.saturating_add(T::DbWeight::get().writes(6 as u64))
+		Weight::from_ref_time(64_582_000 as u64)
+			.saturating_add(T::DbWeight::get().reads(16 as u64))
+			.saturating_add(T::DbWeight::get().writes(15 as u64))
 	}
 	// Storage: AppPromotion Admin (r:1 w:0)
 	// Storage: Common CollectionById (r:1 w:1)
 	fn sponsor_collection() -> Weight {
-		Weight::from_ref_time(12_932_000)
+		Weight::from_ref_time(16_364_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(2 as u64))
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
 	}
 	// Storage: AppPromotion Admin (r:1 w:0)
 	// Storage: Common CollectionById (r:1 w:1)
 	fn stop_sponsoring_collection() -> Weight {
-		Weight::from_ref_time(12_453_000)
+		Weight::from_ref_time(15_710_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(2 as u64))
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
 	}
 	// Storage: AppPromotion Admin (r:1 w:0)
 	// Storage: EvmContractHelpers Sponsoring (r:0 w:1)
 	fn sponsor_contract() -> Weight {
-		Weight::from_ref_time(11_952_000)
+		Weight::from_ref_time(12_669_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(1 as u64))
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
 	}
 	// Storage: AppPromotion Admin (r:1 w:0)
 	// Storage: EvmContractHelpers Sponsoring (r:1 w:1)
 	fn stop_sponsoring_contract() -> Weight {
-		Weight::from_ref_time(12_538_000)
+		Weight::from_ref_time(14_406_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(2 as u64))
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
 	}
@@ -132,77 +139,84 @@
 	// Storage: AppPromotion PendingUnstake (r:1 w:0)
 	// Storage: System Account (r:1 w:1)
 	fn on_initialize(b: u32, ) -> Weight {
-		Weight::from_ref_time(2_651_000)
-			// Standard Error: 103_000
-			.saturating_add(Weight::from_ref_time(6_024_000).saturating_mul(b as u64))
+		Weight::from_ref_time(3_079_948 as u64)
+			// Standard Error: 30_376
+			.saturating_add(Weight::from_ref_time(6_343_630 as u64).saturating_mul(b as u64))
 			.saturating_add(RocksDbWeight::get().reads(1 as u64))
 			.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
 			.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
 	}
 	// Storage: AppPromotion Admin (r:0 w:1)
 	fn set_admin_address() -> Weight {
-		Weight::from_ref_time(7_117_000)
+		Weight::from_ref_time(6_653_000 as u64)
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
 	}
 	// Storage: AppPromotion Admin (r:1 w:0)
+	// Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
 	// Storage: ParachainSystem ValidationData (r:1 w:0)
-	// Storage: AppPromotion NextCalculatedRecord (r:1 w:1)
-	// Storage: AppPromotion Staked (r:2 w:0)
+	// Storage: AppPromotion PreviousCalculatedRecord (r:1 w:1)
+	// Storage: AppPromotion Staked (r:11 w:10)
+	// Storage: System Account (r:2 w:2)
+	// Storage: Balances Locks (r:1 w:1)
+	// Storage: AppPromotion TotalStaked (r:1 w:1)
 	fn payout_stakers(b: u32, ) -> Weight {
-		Weight::from_ref_time(9_958_000)
-			// Standard Error: 8_000
-			.saturating_add(Weight::from_ref_time(4_406_000).saturating_mul(b as u64))
-			.saturating_add(RocksDbWeight::get().reads(4 as u64))
-			.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
-			.saturating_add(RocksDbWeight::get().writes(1 as u64))
+		Weight::from_ref_time(74_048_000 as u64)
+			// Standard Error: 33_223
+			.saturating_add(Weight::from_ref_time(57_702_092 as u64).saturating_mul(b as u64))
+			.saturating_add(RocksDbWeight::get().reads(7 as u64))
+			.saturating_add(RocksDbWeight::get().reads((12 as u64).saturating_mul(b as u64)))
+			.saturating_add(RocksDbWeight::get().writes(3 as u64))
+			.saturating_add(RocksDbWeight::get().writes((12 as u64).saturating_mul(b as u64)))
 	}
 	// Storage: AppPromotion StakesPerAccount (r:1 w:1)
+	// Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
 	// Storage: System Account (r:1 w:1)
 	// Storage: Balances Locks (r:1 w:1)
 	// Storage: ParachainSystem ValidationData (r:1 w:0)
 	// Storage: AppPromotion Staked (r:1 w:1)
 	// Storage: AppPromotion TotalStaked (r:1 w:1)
 	fn stake() -> Weight {
-		Weight::from_ref_time(20_574_000)
-			.saturating_add(RocksDbWeight::get().reads(6 as u64))
+		Weight::from_ref_time(20_314_000 as u64)
+			.saturating_add(RocksDbWeight::get().reads(7 as u64))
 			.saturating_add(RocksDbWeight::get().writes(5 as u64))
 	}
+	// Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
 	// Storage: AppPromotion PendingUnstake (r:1 w:1)
-	// Storage: AppPromotion Staked (r:2 w:1)
+	// Storage: AppPromotion Staked (r:11 w:10)
 	// Storage: Balances Locks (r:1 w:1)
 	// Storage: System Account (r:1 w:1)
 	// Storage: AppPromotion TotalStaked (r:1 w:1)
 	// Storage: AppPromotion StakesPerAccount (r:0 w:1)
 	fn unstake() -> Weight {
-		Weight::from_ref_time(31_703_000)
-			.saturating_add(RocksDbWeight::get().reads(6 as u64))
-			.saturating_add(RocksDbWeight::get().writes(6 as u64))
+		Weight::from_ref_time(64_582_000 as u64)
+			.saturating_add(RocksDbWeight::get().reads(16 as u64))
+			.saturating_add(RocksDbWeight::get().writes(15 as u64))
 	}
 	// Storage: AppPromotion Admin (r:1 w:0)
 	// Storage: Common CollectionById (r:1 w:1)
 	fn sponsor_collection() -> Weight {
-		Weight::from_ref_time(12_932_000)
+		Weight::from_ref_time(16_364_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(2 as u64))
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
 	}
 	// Storage: AppPromotion Admin (r:1 w:0)
 	// Storage: Common CollectionById (r:1 w:1)
 	fn stop_sponsoring_collection() -> Weight {
-		Weight::from_ref_time(12_453_000)
+		Weight::from_ref_time(15_710_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(2 as u64))
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
 	}
 	// Storage: AppPromotion Admin (r:1 w:0)
 	// Storage: EvmContractHelpers Sponsoring (r:0 w:1)
 	fn sponsor_contract() -> Weight {
-		Weight::from_ref_time(11_952_000)
+		Weight::from_ref_time(12_669_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(1 as u64))
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
 	}
 	// Storage: AppPromotion Admin (r:1 w:0)
 	// Storage: EvmContractHelpers Sponsoring (r:1 w:1)
 	fn stop_sponsoring_contract() -> Weight {
-		Weight::from_ref_time(12_538_000)
+		Weight::from_ref_time(14_406_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(2 as u64))
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
 	}
modifiedruntime/common/mod.rsdiffbeforeafterboth
--- a/runtime/common/mod.rs
+++ b/runtime/common/mod.rs
@@ -145,6 +145,10 @@
 			.map(|d| d.relay_parent_number)
 			.unwrap_or_default()
 	}
+	#[cfg(feature = "runtime-benchmarks")]
+	fn set_block_number(block: Self::BlockNumber) {
+		cumulus_pallet_parachain_system::RelaychainBlockNumberProvider::<T>::set_block_number(block)
+	}
 }
 
 pub(crate) struct CheckInherents;
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 = ['std', 'opal-runtime']20runtime-benchmarks = [21    'hex-literal',22    'frame-benchmarking',23    'frame-support/runtime-benchmarks',24    'frame-system-benchmarking',25    'frame-system/runtime-benchmarks',26    'pallet-ethereum/runtime-benchmarks',27    'pallet-evm-migration/runtime-benchmarks',28    'pallet-evm-coder-substrate/runtime-benchmarks',29    'pallet-balances/runtime-benchmarks',30    'pallet-timestamp/runtime-benchmarks',31    'pallet-common/runtime-benchmarks',32    'pallet-structure/runtime-benchmarks',33    'pallet-fungible/runtime-benchmarks',34    'pallet-refungible/runtime-benchmarks',35    'pallet-nonfungible/runtime-benchmarks',36    'pallet-proxy-rmrk-core/runtime-benchmarks',37    'pallet-proxy-rmrk-equip/runtime-benchmarks',38    'pallet-foreign-assets/runtime-benchmarks',39    'pallet-unique/runtime-benchmarks',40    'pallet-inflation/runtime-benchmarks',41    'pallet-app-promotion/runtime-benchmarks',42    'pallet-unique-scheduler-v2/runtime-benchmarks',43    'pallet-xcm/runtime-benchmarks',44    'sp-runtime/runtime-benchmarks',45    'xcm-builder/runtime-benchmarks',46    'pallet-maintenance/runtime-benchmarks',47]48try-runtime = [49    'frame-try-runtime',50    'frame-try-runtime?/try-runtime',51    'frame-executive/try-runtime',52    'frame-support/try-runtime',53    'frame-system/try-runtime',54    'cumulus-pallet-parachain-system/try-runtime',55    'parachain-info/try-runtime',56    'pallet-aura/try-runtime',57    'cumulus-pallet-aura-ext/try-runtime',58    'pallet-balances/try-runtime',59    'pallet-randomness-collective-flip/try-runtime',60    'pallet-timestamp/try-runtime',61    'pallet-transaction-payment/try-runtime',62    'pallet-treasury/try-runtime',63    'pallet-sudo/try-runtime',64    'orml-vesting/try-runtime',65    'orml-xtokens/try-runtime',66    'orml-tokens/try-runtime',67    'cumulus-pallet-xcmp-queue/try-runtime',68    'pallet-xcm/try-runtime',69    'cumulus-pallet-xcm/try-runtime',70    'cumulus-pallet-dmp-queue/try-runtime',71    'pallet-inflation/try-runtime',72    'pallet-unique/try-runtime',73    'pallet-configuration/try-runtime',74    'pallet-charge-transaction/try-runtime',75    'pallet-common/try-runtime',76    'pallet-fungible/try-runtime',77    'pallet-refungible/try-runtime',78    'pallet-nonfungible/try-runtime',79    'pallet-structure/try-runtime',80    'pallet-proxy-rmrk-core/try-runtime',81    'pallet-proxy-rmrk-equip/try-runtime',82    'pallet-app-promotion/try-runtime',83    'pallet-foreign-assets/try-runtime',84    'pallet-ethereum/try-runtime',85    'pallet-evm/try-runtime',86    'pallet-evm-coder-substrate/try-runtime',87    'pallet-evm-contract-helpers/try-runtime',88    'pallet-evm-transaction-payment/try-runtime',89    'pallet-evm-migration/try-runtime',90    'pallet-base-fee/try-runtime',91    'pallet-unique-scheduler-v2/try-runtime',92    'pallet-maintenance/try-runtime',93    'pallet-test-utils?/try-runtime',94    'fp-self-contained/try-runtime',95]96std = [97    'codec/std',98    'cumulus-pallet-aura-ext/std',99    'cumulus-pallet-parachain-system/std',100    'cumulus-pallet-xcm/std',101    'cumulus-pallet-xcmp-queue/std',102    'cumulus-primitives-core/std',103    'cumulus-primitives-utility/std',104    'frame-try-runtime/std',105    'frame-executive/std',106    'frame-support/std',107    'frame-system/std',108    'frame-system-rpc-runtime-api/std',109    'pallet-aura/std',110    'pallet-balances/std',111    # 'pallet-contracts/std',112    # 'pallet-contracts-primitives/std',113    # 'pallet-contracts-rpc-runtime-api/std',114    # 'pallet-contract-helpers/std',115    'pallet-randomness-collective-flip/std',116    'pallet-sudo/std',117    'pallet-timestamp/std',118    'pallet-transaction-payment/std',119    'pallet-transaction-payment-rpc-runtime-api/std',120    'pallet-treasury/std',121    'pallet-evm/std',122    'pallet-evm-migration/std',123    'pallet-evm-contract-helpers/std',124    'pallet-evm-transaction-payment/std',125    'pallet-evm-coder-substrate/std',126    'pallet-ethereum/std',127    'pallet-base-fee/std',128    'fp-rpc/std',129    'up-rpc/std',130    'up-pov-estimate-rpc/std',131    'app-promotion-rpc/std',132    'fp-evm-mapping/std',133    'fp-self-contained/std',134    'parachain-info/std',135    'serde',136    'pallet-inflation/std',137    'pallet-configuration/std',138    'pallet-app-promotion/std',139    'pallet-common/std',140    'pallet-structure/std',141    'pallet-fungible/std',142    'pallet-refungible/std',143    'pallet-nonfungible/std',144    'pallet-proxy-rmrk-core/std',145    'pallet-proxy-rmrk-equip/std',146    'pallet-unique/std',147    'pallet-unique-scheduler-v2/std',148    'pallet-charge-transaction/std',149    'up-data-structs/std',150    'sp-api/std',151    'sp-block-builder/std',152    "sp-consensus-aura/std",153    'sp-core/std',154    'sp-inherents/std',155    'sp-io/std',156    'sp-offchain/std',157    'sp-runtime/std',158    'sp-session/std',159    'sp-std/std',160    'sp-transaction-pool/std',161    'sp-version/std',162    'xcm/std',163    'xcm-builder/std',164    'xcm-executor/std',165    'up-common/std',166    'rmrk-rpc/std',167    'evm-coder/std',168    'up-sponsorship/std',169170    "orml-vesting/std",171    "orml-tokens/std",172    "orml-xtokens/std",173    "orml-traits/std",174    "pallet-foreign-assets/std",175176    'pallet-maintenance/std',177    'pallet-test-utils?/std',178]179limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']180opal-runtime = [181    'refungible',182    'rmrk',183    'app-promotion',184    'foreign-assets',185    'pallet-test-utils',186]187become-sapphire = []188pov-estimate = []189190refungible = []191scheduler = []192rmrk = []193foreign-assets = []194app-promotion = []195196################################################################################197# Substrate Dependencies198199[dependencies.codec]200default-features = false201features = ['derive']202package = 'parity-scale-codec'203version = '3.1.2'204205[dependencies.frame-benchmarking]206default-features = false207git = "https://github.com/paritytech/substrate"208optional = true209branch = "polkadot-v0.9.36"210211[dependencies.frame-try-runtime]212default-features = false213git = "https://github.com/paritytech/substrate"214optional = true215branch = "polkadot-v0.9.36"216217[dependencies.frame-executive]218default-features = false219git = "https://github.com/paritytech/substrate"220branch = "polkadot-v0.9.36"221222[dependencies.frame-support]223default-features = false224git = "https://github.com/paritytech/substrate"225branch = "polkadot-v0.9.36"226227[dependencies.frame-system]228default-features = false229git = "https://github.com/paritytech/substrate"230branch = "polkadot-v0.9.36"231232[dependencies.frame-system-benchmarking]233default-features = false234git = "https://github.com/paritytech/substrate"235optional = true236branch = "polkadot-v0.9.36"237238[dependencies.frame-system-rpc-runtime-api]239default-features = false240git = "https://github.com/paritytech/substrate"241branch = "polkadot-v0.9.36"242243[dependencies.hex-literal]244optional = true245version = '0.3.3'246247[dependencies.serde]248default-features = false249features = ['derive']250optional = true251version = '1.0.130'252253[dependencies.pallet-aura]254default-features = false255git = "https://github.com/paritytech/substrate"256branch = "polkadot-v0.9.36"257258[dependencies.pallet-balances]259default-features = false260git = "https://github.com/paritytech/substrate"261branch = "polkadot-v0.9.36"262263# Contracts specific packages264# [dependencies.pallet-contracts]265# git = 'https://github.com/paritytech/substrate'266# default-features = false267# branch = 'master'268# version = '4.0.0-dev'269270# [dependencies.pallet-contracts-primitives]271# git = 'https://github.com/paritytech/substrate'272# default-features = false273# branch = 'master'274# version = '4.0.0-dev'275276# [dependencies.pallet-contracts-rpc-runtime-api]277# git = 'https://github.com/paritytech/substrate'278# default-features = false279# branch = 'master'280# version = '4.0.0-dev'281282[dependencies.pallet-randomness-collective-flip]283default-features = false284git = "https://github.com/paritytech/substrate"285branch = "polkadot-v0.9.36"286287[dependencies.pallet-sudo]288default-features = false289git = "https://github.com/paritytech/substrate"290branch = "polkadot-v0.9.36"291292[dependencies.pallet-timestamp]293default-features = false294git = "https://github.com/paritytech/substrate"295branch = "polkadot-v0.9.36"296297[dependencies.pallet-transaction-payment]298default-features = false299git = "https://github.com/paritytech/substrate"300branch = "polkadot-v0.9.36"301302[dependencies.pallet-transaction-payment-rpc-runtime-api]303default-features = false304git = "https://github.com/paritytech/substrate"305branch = "polkadot-v0.9.36"306307[dependencies.pallet-treasury]308default-features = false309git = "https://github.com/paritytech/substrate"310branch = "polkadot-v0.9.36"311312[dependencies.sp-arithmetic]313default-features = false314git = "https://github.com/paritytech/substrate"315branch = "polkadot-v0.9.36"316317[dependencies.sp-api]318default-features = false319git = "https://github.com/paritytech/substrate"320branch = "polkadot-v0.9.36"321322[dependencies.sp-block-builder]323default-features = false324git = "https://github.com/paritytech/substrate"325branch = "polkadot-v0.9.36"326327[dependencies.sp-core]328default-features = false329git = "https://github.com/paritytech/substrate"330branch = "polkadot-v0.9.36"331332[dependencies.sp-consensus-aura]333default-features = false334git = "https://github.com/paritytech/substrate"335branch = "polkadot-v0.9.36"336337[dependencies.sp-inherents]338default-features = false339git = "https://github.com/paritytech/substrate"340branch = "polkadot-v0.9.36"341342[dependencies.sp-io]343default-features = false344git = "https://github.com/paritytech/substrate"345branch = "polkadot-v0.9.36"346347[dependencies.sp-offchain]348default-features = false349git = "https://github.com/paritytech/substrate"350branch = "polkadot-v0.9.36"351352[dependencies.sp-runtime]353default-features = false354git = "https://github.com/paritytech/substrate"355branch = "polkadot-v0.9.36"356357[dependencies.sp-session]358default-features = false359git = "https://github.com/paritytech/substrate"360branch = "polkadot-v0.9.36"361362[dependencies.sp-std]363default-features = false364git = "https://github.com/paritytech/substrate"365branch = "polkadot-v0.9.36"366367[dependencies.sp-transaction-pool]368default-features = false369git = "https://github.com/paritytech/substrate"370branch = "polkadot-v0.9.36"371372[dependencies.sp-version]373default-features = false374git = "https://github.com/paritytech/substrate"375branch = "polkadot-v0.9.36"376377[dependencies.smallvec]378version = '1.6.1'379380################################################################################381# Cumulus dependencies382383[dependencies.parachain-info]384default-features = false385git = "https://github.com/paritytech/cumulus"386branch = "polkadot-v0.9.36"387388[dependencies.cumulus-pallet-aura-ext]389git = "https://github.com/paritytech/cumulus"390branch = "polkadot-v0.9.36"391default-features = false392393[dependencies.cumulus-pallet-parachain-system]394git = "https://github.com/paritytech/cumulus"395branch = "polkadot-v0.9.36"396default-features = false397398[dependencies.cumulus-primitives-core]399git = "https://github.com/paritytech/cumulus"400branch = "polkadot-v0.9.36"401default-features = false402403[dependencies.cumulus-pallet-xcm]404git = "https://github.com/paritytech/cumulus"405branch = "polkadot-v0.9.36"406default-features = false407408[dependencies.cumulus-pallet-dmp-queue]409git = "https://github.com/paritytech/cumulus"410branch = "polkadot-v0.9.36"411default-features = false412413[dependencies.cumulus-pallet-xcmp-queue]414git = "https://github.com/paritytech/cumulus"415branch = "polkadot-v0.9.36"416default-features = false417418[dependencies.cumulus-primitives-utility]419git = "https://github.com/paritytech/cumulus"420branch = "polkadot-v0.9.36"421default-features = false422423[dependencies.cumulus-primitives-timestamp]424git = "https://github.com/paritytech/cumulus"425branch = "polkadot-v0.9.36"426default-features = false427428################################################################################429# Polkadot dependencies430431[dependencies.polkadot-parachain]432git = "https://github.com/paritytech/polkadot"433branch = "release-v0.9.36"434default-features = false435436[dependencies.xcm]437git = "https://github.com/paritytech/polkadot"438branch = "release-v0.9.36"439default-features = false440441[dependencies.xcm-builder]442git = "https://github.com/paritytech/polkadot"443branch = "release-v0.9.36"444default-features = false445446[dependencies.xcm-executor]447git = "https://github.com/paritytech/polkadot"448branch = "release-v0.9.36"449default-features = false450451[dependencies.pallet-xcm]452git = "https://github.com/paritytech/polkadot"453branch = "release-v0.9.36"454default-features = false455456################################################################################457# local dependencies458459[dependencies]460orml-vesting.workspace = true461orml-xtokens.workspace = true462orml-tokens.workspace = true463orml-traits.workspace = true464465log = { version = "0.4.16", default-features = false }466up-common = { path = "../../primitives/common", default-features = false }467scale-info = { version = "2.0.1", default-features = false, features = [468    "derive",469] }470derivative = "2.2.0"471pallet-unique = { path = '../../pallets/unique', default-features = false }472up-rpc = { path = "../../primitives/rpc", default-features = false }473up-pov-estimate-rpc = { path = "../../primitives/pov-estimate-rpc", default-features = false }474app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false }475rmrk-rpc = { path = "../../primitives/rmrk-rpc", default-features = false }476fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }477fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }478pallet-inflation = { path = '../../pallets/inflation', default-features = false }479pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }480up-data-structs = { path = '../../primitives/data-structs', default-features = false }481pallet-configuration = { default-features = false, path = "../../pallets/configuration" }482pallet-common = { default-features = false, path = "../../pallets/common" }483pallet-structure = { default-features = false, path = "../../pallets/structure" }484pallet-fungible = { default-features = false, path = "../../pallets/fungible" }485pallet-refungible = { default-features = false, path = "../../pallets/refungible" }486pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }487pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" }488pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }489pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.36", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }490pallet-unique-scheduler-v2 = { path = '../../pallets/scheduler-v2', default-features = false }491pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }492pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }493pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }494pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }495pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }496pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }497pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }498fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }499fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }500pallet-evm-precompile-simple = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }501evm-coder = { default-features = false, path = '../../crates/evm-coder' }502up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = 'polkadot-v0.9.36' }503pallet-foreign-assets = { default-features = false, path = "../../pallets/foreign-assets" }504pallet-maintenance = { default-features = false, path = "../../pallets/maintenance" }505precompile-utils-macro = { path = "../common/ethereum/precompiles/utils/macro" }506num_enum = { version = "0.5.3", default-features = false }507508################################################################################509# Test dependencies510511pallet-test-utils = { optional = true, default-features = false, path = "../../test-pallets/utils" }512513################################################################################514# Other Dependencies515516impl-trait-for-tuples = "0.2.2"517518################################################################################519# Dev Dependencies520521[dev-dependencies.logtest]522version = "2.0.0"523524################################################################################525# Build Dependencies526527[build-dependencies.substrate-wasm-builder]528git = "https://github.com/paritytech/substrate"529branch = "polkadot-v0.9.36"
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 = ['std', 'opal-runtime']20runtime-benchmarks = [21    'hex-literal',22    'frame-benchmarking',23    'frame-support/runtime-benchmarks',24    'frame-system-benchmarking',25    'frame-system/runtime-benchmarks',26    'pallet-ethereum/runtime-benchmarks',27    'pallet-evm-migration/runtime-benchmarks',28    'pallet-evm-coder-substrate/runtime-benchmarks',29    'pallet-balances/runtime-benchmarks',30    'pallet-timestamp/runtime-benchmarks',31    'pallet-common/runtime-benchmarks',32    'pallet-structure/runtime-benchmarks',33    'pallet-fungible/runtime-benchmarks',34    'pallet-refungible/runtime-benchmarks',35    'pallet-nonfungible/runtime-benchmarks',36    'pallet-proxy-rmrk-core/runtime-benchmarks',37    'pallet-proxy-rmrk-equip/runtime-benchmarks',38    'pallet-foreign-assets/runtime-benchmarks',39    'pallet-unique/runtime-benchmarks',40    'pallet-inflation/runtime-benchmarks',41    'pallet-app-promotion/runtime-benchmarks',42    'pallet-unique-scheduler-v2/runtime-benchmarks',43    'pallet-xcm/runtime-benchmarks',44    'sp-runtime/runtime-benchmarks',45    'xcm-builder/runtime-benchmarks',46    'pallet-maintenance/runtime-benchmarks',47    'cumulus-pallet-parachain-system/runtime-benchmarks'48]49try-runtime = [50    'frame-try-runtime',51    'frame-try-runtime?/try-runtime',52    'frame-executive/try-runtime',53    'frame-support/try-runtime',54    'frame-system/try-runtime',55    'cumulus-pallet-parachain-system/try-runtime',56    'parachain-info/try-runtime',57    'pallet-aura/try-runtime',58    'cumulus-pallet-aura-ext/try-runtime',59    'pallet-balances/try-runtime',60    'pallet-randomness-collective-flip/try-runtime',61    'pallet-timestamp/try-runtime',62    'pallet-transaction-payment/try-runtime',63    'pallet-treasury/try-runtime',64    'pallet-sudo/try-runtime',65    'orml-vesting/try-runtime',66    'orml-xtokens/try-runtime',67    'orml-tokens/try-runtime',68    'cumulus-pallet-xcmp-queue/try-runtime',69    'pallet-xcm/try-runtime',70    'cumulus-pallet-xcm/try-runtime',71    'cumulus-pallet-dmp-queue/try-runtime',72    'pallet-inflation/try-runtime',73    'pallet-unique/try-runtime',74    'pallet-configuration/try-runtime',75    'pallet-charge-transaction/try-runtime',76    'pallet-common/try-runtime',77    'pallet-fungible/try-runtime',78    'pallet-refungible/try-runtime',79    'pallet-nonfungible/try-runtime',80    'pallet-structure/try-runtime',81    'pallet-proxy-rmrk-core/try-runtime',82    'pallet-proxy-rmrk-equip/try-runtime',83    'pallet-app-promotion/try-runtime',84    'pallet-foreign-assets/try-runtime',85    'pallet-ethereum/try-runtime',86    'pallet-evm/try-runtime',87    'pallet-evm-coder-substrate/try-runtime',88    'pallet-evm-contract-helpers/try-runtime',89    'pallet-evm-transaction-payment/try-runtime',90    'pallet-evm-migration/try-runtime',91    'pallet-base-fee/try-runtime',92    'pallet-unique-scheduler-v2/try-runtime',93    'pallet-maintenance/try-runtime',94    'pallet-test-utils?/try-runtime',95    'fp-self-contained/try-runtime',96]97std = [98    'codec/std',99    'cumulus-pallet-aura-ext/std',100    'cumulus-pallet-parachain-system/std',101    'cumulus-pallet-xcm/std',102    'cumulus-pallet-xcmp-queue/std',103    'cumulus-primitives-core/std',104    'cumulus-primitives-utility/std',105    'frame-try-runtime/std',106    'frame-executive/std',107    'frame-support/std',108    'frame-system/std',109    'frame-system-rpc-runtime-api/std',110    'pallet-aura/std',111    'pallet-balances/std',112    # 'pallet-contracts/std',113    # 'pallet-contracts-primitives/std',114    # 'pallet-contracts-rpc-runtime-api/std',115    # 'pallet-contract-helpers/std',116    'pallet-randomness-collective-flip/std',117    'pallet-sudo/std',118    'pallet-timestamp/std',119    'pallet-transaction-payment/std',120    'pallet-transaction-payment-rpc-runtime-api/std',121    'pallet-treasury/std',122    'pallet-evm/std',123    'pallet-evm-migration/std',124    'pallet-evm-contract-helpers/std',125    'pallet-evm-transaction-payment/std',126    'pallet-evm-coder-substrate/std',127    'pallet-ethereum/std',128    'pallet-base-fee/std',129    'fp-rpc/std',130    'up-rpc/std',131    'up-pov-estimate-rpc/std',132    'app-promotion-rpc/std',133    'fp-evm-mapping/std',134    'fp-self-contained/std',135    'parachain-info/std',136    'serde',137    'pallet-inflation/std',138    'pallet-configuration/std',139    'pallet-app-promotion/std',140    'pallet-common/std',141    'pallet-structure/std',142    'pallet-fungible/std',143    'pallet-refungible/std',144    'pallet-nonfungible/std',145    'pallet-proxy-rmrk-core/std',146    'pallet-proxy-rmrk-equip/std',147    'pallet-unique/std',148    'pallet-unique-scheduler-v2/std',149    'pallet-charge-transaction/std',150    'up-data-structs/std',151    'sp-api/std',152    'sp-block-builder/std',153    "sp-consensus-aura/std",154    'sp-core/std',155    'sp-inherents/std',156    'sp-io/std',157    'sp-offchain/std',158    'sp-runtime/std',159    'sp-session/std',160    'sp-std/std',161    'sp-transaction-pool/std',162    'sp-version/std',163    'xcm/std',164    'xcm-builder/std',165    'xcm-executor/std',166    'up-common/std',167    'rmrk-rpc/std',168    'evm-coder/std',169    'up-sponsorship/std',170171    "orml-vesting/std",172    "orml-tokens/std",173    "orml-xtokens/std",174    "orml-traits/std",175    "pallet-foreign-assets/std",176177    'pallet-maintenance/std',178    'pallet-test-utils?/std',179]180limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']181opal-runtime = [182    'refungible',183    'rmrk',184    'app-promotion',185    'foreign-assets',186    'pallet-test-utils',187]188become-sapphire = []189pov-estimate = []190191refungible = []192scheduler = []193rmrk = []194foreign-assets = []195app-promotion = []196197################################################################################198# Substrate Dependencies199200[dependencies.codec]201default-features = false202features = ['derive']203package = 'parity-scale-codec'204version = '3.1.2'205206[dependencies.frame-benchmarking]207default-features = false208git = "https://github.com/paritytech/substrate"209optional = true210branch = "polkadot-v0.9.36"211212[dependencies.frame-try-runtime]213default-features = false214git = "https://github.com/paritytech/substrate"215optional = true216branch = "polkadot-v0.9.36"217218[dependencies.frame-executive]219default-features = false220git = "https://github.com/paritytech/substrate"221branch = "polkadot-v0.9.36"222223[dependencies.frame-support]224default-features = false225git = "https://github.com/paritytech/substrate"226branch = "polkadot-v0.9.36"227228[dependencies.frame-system]229default-features = false230git = "https://github.com/paritytech/substrate"231branch = "polkadot-v0.9.36"232233[dependencies.frame-system-benchmarking]234default-features = false235git = "https://github.com/paritytech/substrate"236optional = true237branch = "polkadot-v0.9.36"238239[dependencies.frame-system-rpc-runtime-api]240default-features = false241git = "https://github.com/paritytech/substrate"242branch = "polkadot-v0.9.36"243244[dependencies.hex-literal]245optional = true246version = '0.3.3'247248[dependencies.serde]249default-features = false250features = ['derive']251optional = true252version = '1.0.130'253254[dependencies.pallet-aura]255default-features = false256git = "https://github.com/paritytech/substrate"257branch = "polkadot-v0.9.36"258259[dependencies.pallet-balances]260default-features = false261git = "https://github.com/paritytech/substrate"262branch = "polkadot-v0.9.36"263264# Contracts specific packages265# [dependencies.pallet-contracts]266# git = 'https://github.com/paritytech/substrate'267# default-features = false268# branch = 'master'269# version = '4.0.0-dev'270271# [dependencies.pallet-contracts-primitives]272# git = 'https://github.com/paritytech/substrate'273# default-features = false274# branch = 'master'275# version = '4.0.0-dev'276277# [dependencies.pallet-contracts-rpc-runtime-api]278# git = 'https://github.com/paritytech/substrate'279# default-features = false280# branch = 'master'281# version = '4.0.0-dev'282283[dependencies.pallet-randomness-collective-flip]284default-features = false285git = "https://github.com/paritytech/substrate"286branch = "polkadot-v0.9.36"287288[dependencies.pallet-sudo]289default-features = false290git = "https://github.com/paritytech/substrate"291branch = "polkadot-v0.9.36"292293[dependencies.pallet-timestamp]294default-features = false295git = "https://github.com/paritytech/substrate"296branch = "polkadot-v0.9.36"297298[dependencies.pallet-transaction-payment]299default-features = false300git = "https://github.com/paritytech/substrate"301branch = "polkadot-v0.9.36"302303[dependencies.pallet-transaction-payment-rpc-runtime-api]304default-features = false305git = "https://github.com/paritytech/substrate"306branch = "polkadot-v0.9.36"307308[dependencies.pallet-treasury]309default-features = false310git = "https://github.com/paritytech/substrate"311branch = "polkadot-v0.9.36"312313[dependencies.sp-arithmetic]314default-features = false315git = "https://github.com/paritytech/substrate"316branch = "polkadot-v0.9.36"317318[dependencies.sp-api]319default-features = false320git = "https://github.com/paritytech/substrate"321branch = "polkadot-v0.9.36"322323[dependencies.sp-block-builder]324default-features = false325git = "https://github.com/paritytech/substrate"326branch = "polkadot-v0.9.36"327328[dependencies.sp-core]329default-features = false330git = "https://github.com/paritytech/substrate"331branch = "polkadot-v0.9.36"332333[dependencies.sp-consensus-aura]334default-features = false335git = "https://github.com/paritytech/substrate"336branch = "polkadot-v0.9.36"337338[dependencies.sp-inherents]339default-features = false340git = "https://github.com/paritytech/substrate"341branch = "polkadot-v0.9.36"342343[dependencies.sp-io]344default-features = false345git = "https://github.com/paritytech/substrate"346branch = "polkadot-v0.9.36"347348[dependencies.sp-offchain]349default-features = false350git = "https://github.com/paritytech/substrate"351branch = "polkadot-v0.9.36"352353[dependencies.sp-runtime]354default-features = false355git = "https://github.com/paritytech/substrate"356branch = "polkadot-v0.9.36"357358[dependencies.sp-session]359default-features = false360git = "https://github.com/paritytech/substrate"361branch = "polkadot-v0.9.36"362363[dependencies.sp-std]364default-features = false365git = "https://github.com/paritytech/substrate"366branch = "polkadot-v0.9.36"367368[dependencies.sp-transaction-pool]369default-features = false370git = "https://github.com/paritytech/substrate"371branch = "polkadot-v0.9.36"372373[dependencies.sp-version]374default-features = false375git = "https://github.com/paritytech/substrate"376branch = "polkadot-v0.9.36"377378[dependencies.smallvec]379version = '1.6.1'380381################################################################################382# Cumulus dependencies383384[dependencies.parachain-info]385default-features = false386git = "https://github.com/paritytech/cumulus"387branch = "polkadot-v0.9.36"388389[dependencies.cumulus-pallet-aura-ext]390git = "https://github.com/paritytech/cumulus"391branch = "polkadot-v0.9.36"392default-features = false393394[dependencies.cumulus-pallet-parachain-system]395git = "https://github.com/paritytech/cumulus"396branch = "polkadot-v0.9.36"397default-features = false398399[dependencies.cumulus-primitives-core]400git = "https://github.com/paritytech/cumulus"401branch = "polkadot-v0.9.36"402default-features = false403404[dependencies.cumulus-pallet-xcm]405git = "https://github.com/paritytech/cumulus"406branch = "polkadot-v0.9.36"407default-features = false408409[dependencies.cumulus-pallet-dmp-queue]410git = "https://github.com/paritytech/cumulus"411branch = "polkadot-v0.9.36"412default-features = false413414[dependencies.cumulus-pallet-xcmp-queue]415git = "https://github.com/paritytech/cumulus"416branch = "polkadot-v0.9.36"417default-features = false418419[dependencies.cumulus-primitives-utility]420git = "https://github.com/paritytech/cumulus"421branch = "polkadot-v0.9.36"422default-features = false423424[dependencies.cumulus-primitives-timestamp]425git = "https://github.com/paritytech/cumulus"426branch = "polkadot-v0.9.36"427default-features = false428429################################################################################430# Polkadot dependencies431432[dependencies.polkadot-parachain]433git = "https://github.com/paritytech/polkadot"434branch = "release-v0.9.36"435default-features = false436437[dependencies.xcm]438git = "https://github.com/paritytech/polkadot"439branch = "release-v0.9.36"440default-features = false441442[dependencies.xcm-builder]443git = "https://github.com/paritytech/polkadot"444branch = "release-v0.9.36"445default-features = false446447[dependencies.xcm-executor]448git = "https://github.com/paritytech/polkadot"449branch = "release-v0.9.36"450default-features = false451452[dependencies.pallet-xcm]453git = "https://github.com/paritytech/polkadot"454branch = "release-v0.9.36"455default-features = false456457################################################################################458# local dependencies459460[dependencies]461orml-vesting.workspace = true462orml-xtokens.workspace = true463orml-tokens.workspace = true464orml-traits.workspace = true465466log = { version = "0.4.16", default-features = false }467up-common = { path = "../../primitives/common", default-features = false }468scale-info = { version = "2.0.1", default-features = false, features = [469    "derive",470] }471derivative = "2.2.0"472pallet-unique = { path = '../../pallets/unique', default-features = false }473up-rpc = { path = "../../primitives/rpc", default-features = false }474up-pov-estimate-rpc = { path = "../../primitives/pov-estimate-rpc", default-features = false }475app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false }476rmrk-rpc = { path = "../../primitives/rmrk-rpc", default-features = false }477fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }478fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }479pallet-inflation = { path = '../../pallets/inflation', default-features = false }480pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }481up-data-structs = { path = '../../primitives/data-structs', default-features = false }482pallet-configuration = { default-features = false, path = "../../pallets/configuration" }483pallet-common = { default-features = false, path = "../../pallets/common" }484pallet-structure = { default-features = false, path = "../../pallets/structure" }485pallet-fungible = { default-features = false, path = "../../pallets/fungible" }486pallet-refungible = { default-features = false, path = "../../pallets/refungible" }487pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }488pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" }489pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }490pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.36", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }491pallet-unique-scheduler-v2 = { path = '../../pallets/scheduler-v2', default-features = false }492pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }493pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }494pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }495pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }496pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }497pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }498pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }499fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }500fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }501pallet-evm-precompile-simple = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }502evm-coder = { default-features = false, path = '../../crates/evm-coder' }503up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = 'polkadot-v0.9.36' }504pallet-foreign-assets = { default-features = false, path = "../../pallets/foreign-assets" }505pallet-maintenance = { default-features = false, path = "../../pallets/maintenance" }506precompile-utils-macro = { path = "../common/ethereum/precompiles/utils/macro" }507num_enum = { version = "0.5.3", default-features = false }508509################################################################################510# Test dependencies511512pallet-test-utils = { optional = true, default-features = false, path = "../../test-pallets/utils" }513514################################################################################515# Other Dependencies516517impl-trait-for-tuples = "0.2.2"518519################################################################################520# Dev Dependencies521522[dev-dependencies.logtest]523version = "2.0.0"524525################################################################################526# Build Dependencies527528[build-dependencies.substrate-wasm-builder]529git = "https://github.com/paritytech/substrate"530branch = "polkadot-v0.9.36"
modifiedruntime/quartz/Cargo.tomldiffbeforeafterboth
--- a/runtime/quartz/Cargo.toml
+++ b/runtime/quartz/Cargo.toml
@@ -43,6 +43,7 @@
     'sp-runtime/runtime-benchmarks',
     'xcm-builder/runtime-benchmarks',
     'pallet-maintenance/runtime-benchmarks',
+    'cumulus-pallet-parachain-system/runtime-benchmarks',
 ]
 try-runtime = [
     'frame-try-runtime',