From 4946933c6ab0a94e4fee9dd6ae2c92fdc94cc5dd Mon Sep 17 00:00:00 2001 From: Rodrigo Quelhas Date: Thu, 9 May 2024 22:16:49 +0100 Subject: [PATCH 1/4] fix pallet-xcm benchmarks --- runtime/common/src/apis.rs | 63 +++++++++++++++++++++++++++++------- runtime/moonbase/src/lib.rs | 5 ++- runtime/moonbeam/src/lib.rs | 2 +- runtime/moonriver/src/lib.rs | 2 +- 4 files changed, 57 insertions(+), 15 deletions(-) diff --git a/runtime/common/src/apis.rs b/runtime/common/src/apis.rs index eef538c2b09..89b215beb60 100644 --- a/runtime/common/src/apis.rs +++ b/runtime/common/src/apis.rs @@ -662,7 +662,7 @@ macro_rules! impl_runtime_apis_plus_common { use frame_support::traits::StorageInfoTrait; use MoonbeamXcmBenchmarks::XcmGenericBenchmarks as MoonbeamXcmGenericBench; - use pallet_xcm::benchmarking::Pallet as PalletXcmExtrinsiscsBenchmark; + use pallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; let mut list = Vec::::new(); list_benchmarks!(list, extra); @@ -693,8 +693,8 @@ macro_rules! impl_runtime_apis_plus_common { use pallet_asset_manager::Config as PalletAssetManagerConfig; - use pallet_xcm::benchmarking::Pallet as PalletXcmExtrinsiscsBenchmark; - type ExistentialDeposit = ConstU128<0>; + use pallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; + type ExistentialDeposit = ConstU128<100>; parameter_types! { pub const RandomParaId: ParaId = ParaId::new(43211234); } @@ -705,26 +705,65 @@ macro_rules! impl_runtime_apis_plus_common { } fn teleportable_asset_and_dest() -> Option<(Asset, Location)> { - // Relay/native token can be teleported between AH and Relay. - Some(( - Asset { - fun: Fungible(ExistentialDeposit::get()), - id: AssetId(Parent.into()) - }, - Parent.into(), - )) + None } fn reserve_transferable_asset_and_dest() -> Option<(Asset, Location)> { + use xcm_config::SelfReserve; + + ParachainSystem::open_outbound_hrmp_channel_for_benchmarks_or_tests( + RandomParaId::get().into() + ); + Some(( Asset { fun: Fungible(ExistentialDeposit::get()), - id: AssetId(Parent.into()) + id: AssetId(SelfReserve::get().into()) }, // AH can reserve transfer native token to some random parachain. ParentThen(Parachain(RandomParaId::get().into()).into()).into(), )) } + + fn set_up_complex_asset_transfer( + ) -> Option<(XcmAssets, u32, Location, Box)> { + use xcm_config::SelfReserve; + + let destination: xcm::v4::Location = Parent.into(); + + let fee_amount: u128 = ExistentialDeposit::get(); + let fee_asset: Asset = (SelfReserve::get(), fee_amount).into(); + + // Give some multiple of transferred amount + let balance = fee_amount * 1000; + let who = frame_benchmarking::whitelisted_caller(); + let _ = + >::make_free_balance_be(&who, balance); + + // verify initial balance + assert_eq!(Balances::free_balance(&who), balance); + + // set up local asset + let asset_amount: u128 = 10u128; + let initial_asset_amount: u128 = asset_amount * 10; + + let (asset_id, _, _) = pallet_assets::benchmarking::create_default_minted_asset::< + Runtime, + () + >(true, initial_asset_amount); + let transfer_asset: Asset = (SelfReserve::get(), asset_amount).into(); + + let assets: XcmAssets = vec![fee_asset.clone(), transfer_asset].into(); + let fee_index: u32 = 0; + + let verify: Box = Box::new(move || { + // verify balance after transfer, decreased by + // transferred amount (and delivery fees) + assert!(Balances::free_balance(&who) <= balance - fee_amount); + }); + + Some((assets, fee_index, destination, verify)) + } } impl pallet_xcm_benchmarks::Config for Runtime { diff --git a/runtime/moonbase/src/lib.rs b/runtime/moonbase/src/lib.rs index 9e2c467ad36..8041eb0063a 100644 --- a/runtime/moonbase/src/lib.rs +++ b/runtime/moonbase/src/lib.rs @@ -304,7 +304,10 @@ impl pallet_balances::Config for Runtime { /// The ubiquitous event type. type RuntimeEvent = RuntimeEvent; type DustRemoval = (); + #[cfg(not(feature = "runtime-benchmarks"))] type ExistentialDeposit = ConstU128<0>; + #[cfg(feature = "runtime-benchmarks")] + type ExistentialDeposit = ConstU128<100>; type AccountStore = System; type FreezeIdentifier = (); type MaxFreezes = ConstU32<0>; @@ -1468,7 +1471,7 @@ mod benches { [pallet_proxy, Proxy] [pallet_identity, Identity] [cumulus_pallet_xcmp_queue, XcmpQueue] - [pallet_xcm, PalletXcmExtrinsiscsBenchmark::] + [pallet_xcm, PalletXcmExtrinsicsBenchmark::] [pallet_asset_manager, AssetManager] [pallet_xcm_transactor, XcmTransactor] [pallet_moonbeam_orbiters, MoonbeamOrbiters] diff --git a/runtime/moonbeam/src/lib.rs b/runtime/moonbeam/src/lib.rs index 0cef23f7b27..f9f0c3c08be 100644 --- a/runtime/moonbeam/src/lib.rs +++ b/runtime/moonbeam/src/lib.rs @@ -1434,7 +1434,7 @@ mod benches { [pallet_proxy, Proxy] [pallet_identity, Identity] [cumulus_pallet_xcmp_queue, XcmpQueue] - [pallet_xcm, PalletXcmExtrinsiscsBenchmark::] + [pallet_xcm, PalletXcmExtrinsicsBenchmark::] [pallet_asset_manager, AssetManager] [pallet_xcm_transactor, XcmTransactor] [pallet_moonbeam_orbiters, MoonbeamOrbiters] diff --git a/runtime/moonriver/src/lib.rs b/runtime/moonriver/src/lib.rs index baebdf84cf6..19f4e4e90c2 100644 --- a/runtime/moonriver/src/lib.rs +++ b/runtime/moonriver/src/lib.rs @@ -1436,7 +1436,7 @@ mod benches { [pallet_proxy, Proxy] [pallet_identity, Identity] [cumulus_pallet_xcmp_queue, XcmpQueue] - [pallet_xcm, PalletXcmExtrinsiscsBenchmark::] + [pallet_xcm, PalletXcmExtrinsicsBenchmark::] [pallet_asset_manager, AssetManager] [pallet_xcm_transactor, XcmTransactor] [pallet_moonbeam_orbiters, MoonbeamOrbiters] From b11693fcdca23b349620e164c6ac4d3a0dd0694d Mon Sep 17 00:00:00 2001 From: Rodrigo Quelhas Date: Fri, 10 May 2024 09:42:23 +0100 Subject: [PATCH 2/4] fix rust-tests --- runtime/common/src/apis.rs | 5 ++- runtime/moonbase/src/lib.rs | 2 +- runtime/moonbase/tests/common/mod.rs | 6 +++- runtime/moonbase/tests/integration_test.rs | 40 +++++++++++++++------- runtime/moonbase/tests/runtime_apis.rs | 5 ++- 5 files changed, 39 insertions(+), 19 deletions(-) diff --git a/runtime/common/src/apis.rs b/runtime/common/src/apis.rs index 89b215beb60..b8893ede19d 100644 --- a/runtime/common/src/apis.rs +++ b/runtime/common/src/apis.rs @@ -694,7 +694,6 @@ macro_rules! impl_runtime_apis_plus_common { use pallet_asset_manager::Config as PalletAssetManagerConfig; use pallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; - type ExistentialDeposit = ConstU128<100>; parameter_types! { pub const RandomParaId: ParaId = ParaId::new(43211234); } @@ -717,7 +716,7 @@ macro_rules! impl_runtime_apis_plus_common { Some(( Asset { - fun: Fungible(ExistentialDeposit::get()), + fun: Fungible(::ExistentialDeposit::get()), id: AssetId(SelfReserve::get().into()) }, // AH can reserve transfer native token to some random parachain. @@ -731,7 +730,7 @@ macro_rules! impl_runtime_apis_plus_common { let destination: xcm::v4::Location = Parent.into(); - let fee_amount: u128 = ExistentialDeposit::get(); + let fee_amount: u128 = ::ExistentialDeposit::get(); let fee_asset: Asset = (SelfReserve::get(), fee_amount).into(); // Give some multiple of transferred amount diff --git a/runtime/moonbase/src/lib.rs b/runtime/moonbase/src/lib.rs index 8041eb0063a..307e2b4995a 100644 --- a/runtime/moonbase/src/lib.rs +++ b/runtime/moonbase/src/lib.rs @@ -307,7 +307,7 @@ impl pallet_balances::Config for Runtime { #[cfg(not(feature = "runtime-benchmarks"))] type ExistentialDeposit = ConstU128<0>; #[cfg(feature = "runtime-benchmarks")] - type ExistentialDeposit = ConstU128<100>; + type ExistentialDeposit = ConstU128<1>; type AccountStore = System; type FreezeIdentifier = (); type MaxFreezes = ConstU32<0>; diff --git a/runtime/moonbase/tests/common/mod.rs b/runtime/moonbase/tests/common/mod.rs index 416e9a000d7..d960dc951df 100644 --- a/runtime/moonbase/tests/common/mod.rs +++ b/runtime/moonbase/tests/common/mod.rs @@ -33,7 +33,7 @@ pub use moonbase_runtime::{ use nimbus_primitives::{NimbusId, NIMBUS_ENGINE_ID}; use polkadot_parachain::primitives::HeadData; use sp_consensus_slots::Slot; -use sp_core::{Encode, H160}; +use sp_core::{Encode, Get, H160}; use sp_runtime::{traits::Dispatchable, BuildStorage, Digest, DigestItem, Perbill, Percent}; use std::collections::BTreeMap; @@ -41,6 +41,10 @@ use std::collections::BTreeMap; use fp_rpc::ConvertTransaction; use pallet_transaction_payment::Multiplier; +pub fn existential_deposit() -> u128 { + ::ExistentialDeposit::get() +} + // A valid signed Alice transfer. pub const VALID_ETH_TX: &str = "02f86d8205018085174876e80085e8d4a5100082520894f24ff3a9cf04c71dbc94d0b566f7a27b9456\ diff --git a/runtime/moonbase/tests/integration_test.rs b/runtime/moonbase/tests/integration_test.rs index 8d0831c17a8..0b3dbf50f85 100644 --- a/runtime/moonbase/tests/integration_test.rs +++ b/runtime/moonbase/tests/integration_test.rs @@ -1714,7 +1714,7 @@ fn transfer_ed_0_substrate() { ExtBuilder::default() .with_balances(vec![ (AccountId::from(ALICE), (1 * UNIT) + (1 * WEI)), - (AccountId::from(BOB), 0), + (AccountId::from(BOB), existential_deposit()), ]) .build() .execute_with(|| { @@ -1755,7 +1755,7 @@ fn transfer_ed_0_evm() { AccountId::from(ALICE), ((1 * UNIT) + (21_000 * BASE_FEE_GENISIS)) + (1 * WEI), ), - (AccountId::from(BOB), 0), + (AccountId::from(BOB), existential_deposit()), ]) .build() .execute_with(|| { @@ -1783,9 +1783,9 @@ fn refund_ed_0_evm() { .with_balances(vec![ ( AccountId::from(ALICE), - ((1 * UNIT) + (21_777 * BASE_FEE_GENISIS)), + ((1 * UNIT) + (21_777 * BASE_FEE_GENISIS) + existential_deposit()), ), - (AccountId::from(BOB), 0), + (AccountId::from(BOB), existential_deposit()), ]) .build() .execute_with(|| { @@ -1805,7 +1805,7 @@ fn refund_ed_0_evm() { // ALICE is refunded assert_eq!( Balances::free_balance(AccountId::from(ALICE)), - 777 * BASE_FEE_GENISIS, + 777 * BASE_FEE_GENISIS + existential_deposit(), ); }); } @@ -1847,10 +1847,17 @@ fn author_does_not_receive_priority_fee() { #[test] fn total_issuance_after_evm_transaction_with_priority_fee() { ExtBuilder::default() - .with_balances(vec![( - AccountId::from(BOB), - (1 * UNIT) + (21_000 * (2 * BASE_FEE_GENISIS)), - )]) + .with_balances(vec![ + ( + AccountId::from(BOB), + (1 * UNIT) + (21_000 * (2 * BASE_FEE_GENISIS) + existential_deposit()), + ), + (AccountId::from(ALICE), existential_deposit()), + ( + as sp_core::TypedGet>::get(), + existential_deposit(), + ), + ]) .build() .execute_with(|| { let issuance_before = ::Currency::total_issuance(); @@ -1884,10 +1891,17 @@ fn total_issuance_after_evm_transaction_with_priority_fee() { fn total_issuance_after_evm_transaction_without_priority_fee() { use fp_evm::FeeCalculator; ExtBuilder::default() - .with_balances(vec![( - AccountId::from(BOB), - (1 * UNIT) + (21_000 * (2 * BASE_FEE_GENISIS)), - )]) + .with_balances(vec![ + ( + AccountId::from(BOB), + (1 * UNIT) + (21_000 * (2 * BASE_FEE_GENISIS)), + ), + (AccountId::from(ALICE), existential_deposit()), + ( + as sp_core::TypedGet>::get(), + existential_deposit(), + ), + ]) .build() .execute_with(|| { let issuance_before = ::Currency::total_issuance(); diff --git a/runtime/moonbase/tests/runtime_apis.rs b/runtime/moonbase/tests/runtime_apis.rs index 9ed29655bc4..b81d3f70c97 100644 --- a/runtime/moonbase/tests/runtime_apis.rs +++ b/runtime/moonbase/tests/runtime_apis.rs @@ -40,7 +40,10 @@ fn ethereum_runtime_rpc_api_chain_id() { #[test] fn ethereum_runtime_rpc_api_account_basic() { ExtBuilder::default() - .with_balances(vec![(AccountId::from(ALICE), 2_000 * UNIT)]) + .with_balances(vec![( + AccountId::from(ALICE), + 2_000 * UNIT + existential_deposit(), + )]) .build() .execute_with(|| { assert_eq!( From 4f52ff284e36185d5dd2fb56f9cbcd3dab015f4f Mon Sep 17 00:00:00 2001 From: Rodrigo Quelhas Date: Fri, 10 May 2024 12:30:34 +0100 Subject: [PATCH 3/4] deps: update moonkit dependencies --- Cargo.lock | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b039f1d186e..56bb8584634 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -629,7 +629,7 @@ checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" [[package]] name = "async-backing-primitives" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#bca9e28b36008609860bf7970d5d7b8d361588b3" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#4184393460dc91b9735888fa21b9949c00f091f1" dependencies = [ "sp-api", "sp-consensus-slots", @@ -7453,7 +7453,7 @@ dependencies = [ [[package]] name = "nimbus-consensus" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#bca9e28b36008609860bf7970d5d7b8d361588b3" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#4184393460dc91b9735888fa21b9949c00f091f1" dependencies = [ "async-backing-primitives", "async-trait", @@ -7493,7 +7493,7 @@ dependencies = [ [[package]] name = "nimbus-primitives" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#bca9e28b36008609860bf7970d5d7b8d361588b3" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#4184393460dc91b9735888fa21b9949c00f091f1" dependencies = [ "async-trait", "frame-benchmarking", @@ -8026,7 +8026,7 @@ dependencies = [ [[package]] name = "pallet-async-backing" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#bca9e28b36008609860bf7970d5d7b8d361588b3" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#4184393460dc91b9735888fa21b9949c00f091f1" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -8046,7 +8046,7 @@ dependencies = [ [[package]] name = "pallet-author-inherent" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#bca9e28b36008609860bf7970d5d7b8d361588b3" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#4184393460dc91b9735888fa21b9949c00f091f1" dependencies = [ "frame-benchmarking", "frame-support", @@ -8065,13 +8065,14 @@ dependencies = [ [[package]] name = "pallet-author-mapping" version = "2.0.5" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#bca9e28b36008609860bf7970d5d7b8d361588b3" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#4184393460dc91b9735888fa21b9949c00f091f1" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "log", "nimbus-primitives", + "pallet-balances", "parity-scale-codec", "scale-info", "serde", @@ -8083,7 +8084,7 @@ dependencies = [ [[package]] name = "pallet-author-slot-filter" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#bca9e28b36008609860bf7970d5d7b8d361588b3" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#4184393460dc91b9735888fa21b9949c00f091f1" dependencies = [ "frame-benchmarking", "frame-support", @@ -8441,7 +8442,7 @@ dependencies = [ [[package]] name = "pallet-emergency-para-xcm" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#bca9e28b36008609860bf7970d5d7b8d361588b3" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#4184393460dc91b9735888fa21b9949c00f091f1" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -9368,7 +9369,7 @@ dependencies = [ [[package]] name = "pallet-maintenance-mode" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#bca9e28b36008609860bf7970d5d7b8d361588b3" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#4184393460dc91b9735888fa21b9949c00f091f1" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -9421,7 +9422,7 @@ dependencies = [ [[package]] name = "pallet-migrations" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#bca9e28b36008609860bf7970d5d7b8d361588b3" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#4184393460dc91b9735888fa21b9949c00f091f1" dependencies = [ "frame-benchmarking", "frame-support", @@ -9709,7 +9710,7 @@ dependencies = [ [[package]] name = "pallet-randomness" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#bca9e28b36008609860bf7970d5d7b8d361588b3" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#4184393460dc91b9735888fa21b9949c00f091f1" dependencies = [ "environmental", "frame-benchmarking", @@ -9786,7 +9787,7 @@ dependencies = [ [[package]] name = "pallet-relay-storage-roots" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#bca9e28b36008609860bf7970d5d7b8d361588b3" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#4184393460dc91b9735888fa21b9949c00f091f1" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -14277,7 +14278,7 @@ dependencies = [ [[package]] name = "session-keys-primitives" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#bca9e28b36008609860bf7970d5d7b8d361588b3" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#4184393460dc91b9735888fa21b9949c00f091f1" dependencies = [ "async-trait", "frame-support", @@ -17904,7 +17905,7 @@ dependencies = [ [[package]] name = "xcm-primitives" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#bca9e28b36008609860bf7970d5d7b8d361588b3" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#4184393460dc91b9735888fa21b9949c00f091f1" dependencies = [ "sp-runtime", ] From 117585db41a20703f5cfb38ec1e69a2d7a426c28 Mon Sep 17 00:00:00 2001 From: Rodrigo Quelhas Date: Fri, 10 May 2024 17:05:51 +0100 Subject: [PATCH 4/4] update moonkit dependencies --- Cargo.lock | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 56bb8584634..f148dea28f0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -629,7 +629,7 @@ checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" [[package]] name = "async-backing-primitives" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#4184393460dc91b9735888fa21b9949c00f091f1" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#a6af616f10d440981f1c08f4e3afc256f28405a3" dependencies = [ "sp-api", "sp-consensus-slots", @@ -7453,7 +7453,7 @@ dependencies = [ [[package]] name = "nimbus-consensus" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#4184393460dc91b9735888fa21b9949c00f091f1" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#a6af616f10d440981f1c08f4e3afc256f28405a3" dependencies = [ "async-backing-primitives", "async-trait", @@ -7493,7 +7493,7 @@ dependencies = [ [[package]] name = "nimbus-primitives" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#4184393460dc91b9735888fa21b9949c00f091f1" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#a6af616f10d440981f1c08f4e3afc256f28405a3" dependencies = [ "async-trait", "frame-benchmarking", @@ -8026,7 +8026,7 @@ dependencies = [ [[package]] name = "pallet-async-backing" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#4184393460dc91b9735888fa21b9949c00f091f1" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#a6af616f10d440981f1c08f4e3afc256f28405a3" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -8046,7 +8046,7 @@ dependencies = [ [[package]] name = "pallet-author-inherent" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#4184393460dc91b9735888fa21b9949c00f091f1" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#a6af616f10d440981f1c08f4e3afc256f28405a3" dependencies = [ "frame-benchmarking", "frame-support", @@ -8065,7 +8065,7 @@ dependencies = [ [[package]] name = "pallet-author-mapping" version = "2.0.5" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#4184393460dc91b9735888fa21b9949c00f091f1" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#a6af616f10d440981f1c08f4e3afc256f28405a3" dependencies = [ "frame-benchmarking", "frame-support", @@ -8084,7 +8084,7 @@ dependencies = [ [[package]] name = "pallet-author-slot-filter" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#4184393460dc91b9735888fa21b9949c00f091f1" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#a6af616f10d440981f1c08f4e3afc256f28405a3" dependencies = [ "frame-benchmarking", "frame-support", @@ -8442,7 +8442,7 @@ dependencies = [ [[package]] name = "pallet-emergency-para-xcm" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#4184393460dc91b9735888fa21b9949c00f091f1" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#a6af616f10d440981f1c08f4e3afc256f28405a3" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -9369,7 +9369,7 @@ dependencies = [ [[package]] name = "pallet-maintenance-mode" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#4184393460dc91b9735888fa21b9949c00f091f1" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#a6af616f10d440981f1c08f4e3afc256f28405a3" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -9422,7 +9422,7 @@ dependencies = [ [[package]] name = "pallet-migrations" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#4184393460dc91b9735888fa21b9949c00f091f1" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#a6af616f10d440981f1c08f4e3afc256f28405a3" dependencies = [ "frame-benchmarking", "frame-support", @@ -9710,7 +9710,7 @@ dependencies = [ [[package]] name = "pallet-randomness" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#4184393460dc91b9735888fa21b9949c00f091f1" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#a6af616f10d440981f1c08f4e3afc256f28405a3" dependencies = [ "environmental", "frame-benchmarking", @@ -9719,6 +9719,7 @@ dependencies = [ "hex", "log", "nimbus-primitives", + "pallet-balances", "parity-scale-codec", "scale-info", "schnorrkel 0.11.4", @@ -9787,7 +9788,7 @@ dependencies = [ [[package]] name = "pallet-relay-storage-roots" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#4184393460dc91b9735888fa21b9949c00f091f1" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#a6af616f10d440981f1c08f4e3afc256f28405a3" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -14278,7 +14279,7 @@ dependencies = [ [[package]] name = "session-keys-primitives" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#4184393460dc91b9735888fa21b9949c00f091f1" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#a6af616f10d440981f1c08f4e3afc256f28405a3" dependencies = [ "async-trait", "frame-support", @@ -17905,7 +17906,7 @@ dependencies = [ [[package]] name = "xcm-primitives" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#4184393460dc91b9735888fa21b9949c00f091f1" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-v1.7.2#a6af616f10d440981f1c08f4e3afc256f28405a3" dependencies = [ "sp-runtime", ]