From 43044fceb205b212f37c003edb6525fba2ad6ca9 Mon Sep 17 00:00:00 2001 From: Keith Yeung Date: Thu, 18 May 2023 01:29:01 +0800 Subject: [PATCH 01/26] Implement AliasOrigin processing in XCVM --- xcm/xcm-executor/src/config.rs | 4 ++++ xcm/xcm-executor/src/lib.rs | 10 +++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/xcm/xcm-executor/src/config.rs b/xcm/xcm-executor/src/config.rs index 2672eb41502f..1fc5cef39215 100644 --- a/xcm/xcm-executor/src/config.rs +++ b/xcm/xcm-executor/src/config.rs @@ -45,6 +45,10 @@ pub trait Config { /// Combinations of (Asset, Location) pairs which we trust as teleporters. type IsTeleporter: ContainsPair; + /// A list of (Origin, Target) pairs allowing a given Origin to be substituted with its + /// corresponding Target pair. + type Aliasers: ContainsPair; + /// This chain's Universal Location. type UniversalLocation: Get; diff --git a/xcm/xcm-executor/src/lib.rs b/xcm/xcm-executor/src/lib.rs index 749a63114d95..0afd1bb9e87c 100644 --- a/xcm/xcm-executor/src/lib.rs +++ b/xcm/xcm-executor/src/lib.rs @@ -909,7 +909,15 @@ impl XcmExecutor { self.context.topic = None; Ok(()) }, - AliasOrigin(_) => Err(XcmError::NoPermission), + AliasOrigin(target) => { + let origin = self.origin_ref().ok_or(XcmError::BadOrigin)?; + if Config::Aliasers::contains(origin, &target) { + self.context.origin = Some(target); + Ok(()) + } else { + Err(XcmError::NoPermission) + } + }, UnpaidExecution { check_origin, .. } => { ensure!( check_origin.is_none() || self.context.origin == check_origin, From 59b605627303819eea3789efdc6a9187cc69a6c0 Mon Sep 17 00:00:00 2001 From: Just van Stam Date: Mon, 22 May 2023 10:52:55 +0200 Subject: [PATCH 02/26] add builder types and first test --- xcm/xcm-builder/src/lib.rs | 3 + xcm/xcm-builder/src/origin_aliases.rs | 79 +++++++++++++++++++++++++++ xcm/xcm-builder/src/tests/aliases.rs | 37 +++++++++++++ xcm/xcm-builder/src/tests/mock.rs | 11 +++- xcm/xcm-builder/src/tests/mod.rs | 1 + xcm/xcm-builder/tests/mock/mod.rs | 1 + 6 files changed, 130 insertions(+), 2 deletions(-) create mode 100644 xcm/xcm-builder/src/origin_aliases.rs create mode 100644 xcm/xcm-builder/src/tests/aliases.rs diff --git a/xcm/xcm-builder/src/lib.rs b/xcm/xcm-builder/src/lib.rs index e6f4db1befd2..35cd4b7bf041 100644 --- a/xcm/xcm-builder/src/lib.rs +++ b/xcm/xcm-builder/src/lib.rs @@ -88,3 +88,6 @@ pub use universal_exports::{ ExporterFor, HaulBlob, HaulBlobError, HaulBlobExporter, NetworkExportTable, SovereignPaidRemoteExporter, UnpaidLocalExporter, UnpaidRemoteExporter, }; + +mod origin_aliases; +pub use origin_aliases::AliasSiblingAccountId32; diff --git a/xcm/xcm-builder/src/origin_aliases.rs b/xcm/xcm-builder/src/origin_aliases.rs new file mode 100644 index 000000000000..1f950c64ef67 --- /dev/null +++ b/xcm/xcm-builder/src/origin_aliases.rs @@ -0,0 +1,79 @@ +// Copyright (C) Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . + +use frame_support::traits::{ContainsPair, Get}; +use xcm::latest::prelude::*; + +pub struct AliasSiblingAccountId32(sp_std::marker::PhantomData); +impl> ContainsPair + for AliasSiblingAccountId32 +{ + fn contains(origin: &MultiLocation, target: &MultiLocation) -> bool { + match origin { + MultiLocation { + parents: 1, + interior: + X2(Parachain(para_id), origin_account @ AccountId32 {network: _, id: _, }), + } if *para_id == ParachainId::get() => match target { + MultiLocation { + parents: 0, + interior: X1(alias_account), + } if origin_account == alias_account => true, + _ => false, + }, + _ => false, + } + } +} + +pub struct AliasParentAccountId32; +impl ContainsPair for AliasParentAccountId32 { + fn contains(origin: &MultiLocation, target: &MultiLocation) -> bool { + match origin { + MultiLocation { + parents: 1, + interior: X1(origin_account @ AccountId32 {network: _, id: _, }) + } => match target { + MultiLocation { + parents: 0, + interior: X1(alias_account) + } if alias_account == origin_account => true, + _ => false, + } + _ => false + } + } +} + +pub struct AliasChildAccountId32(sp_std::marker::PhantomData); +impl> ContainsPair for AliasChildAccountId32 { + fn contains(origin: &MultiLocation, target: &MultiLocation) -> bool { + match origin { + MultiLocation { + parents: 0, + interior: + X2(Parachain(para_id), origin_account @ AccountId32 {network: _, id: _, }), + } if *para_id == ParachainId::get() => match target { + MultiLocation { + parents: 0, + interior: X1(alias_account), + } if origin_account == alias_account => true, + _ => false, + }, + _ => false, + } + } +} diff --git a/xcm/xcm-builder/src/tests/aliases.rs b/xcm/xcm-builder/src/tests/aliases.rs new file mode 100644 index 000000000000..93f8c08a7d22 --- /dev/null +++ b/xcm/xcm-builder/src/tests/aliases.rs @@ -0,0 +1,37 @@ +// Copyright (C) Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . + +use super::*; + +#[test] +fn alias_sibling_account_should_work() { + // Wrong parachain + assert!(!AliasSiblingAccountId32::>::contains( + &(Parent, Parachain(2), AccountId32 { network: None, id: [0;32] }).into(), + &(AccountId32 { network: None, id: [0;32] }).into() + )); + + // Accounts Differ + assert!(!AliasSiblingAccountId32::>::contains( + &(Parent, Parachain(1), AccountId32 { network: None, id: [0;32] }).into(), + &(AccountId32 { network: None, id: [1;32] }).into() + )); + + assert!(AliasSiblingAccountId32::>::contains( + &(Parent, Parachain(1), AccountId32 { network: None, id: [0;32] }).into(), + &(AccountId32 { network: None, id: [0;32] }).into() + )); +} \ No newline at end of file diff --git a/xcm/xcm-builder/src/tests/mock.rs b/xcm/xcm-builder/src/tests/mock.rs index dad4e8854448..107af563895f 100644 --- a/xcm/xcm-builder/src/tests/mock.rs +++ b/xcm/xcm-builder/src/tests/mock.rs @@ -16,7 +16,7 @@ use crate::{ barriers::{AllowSubscriptionsFrom, RespectSuspension}, - test_utils::*, + test_utils::*, AliasSiblingAccountId32, origin_aliases::{AliasChildAccountId32, AliasParentAccountId32}, }; pub use crate::{ AllowExplicitUnpaidExecutionFrom, AllowKnownQueryResponses, AllowTopLevelPaidExecutionFrom, @@ -30,7 +30,7 @@ pub use frame_support::{ }, ensure, parameter_types, sp_runtime::DispatchErrorWithPostInfo, - traits::{Contains, Get, IsInVec}, + traits::{Contains, Get, IsInVec, ConstU32}, }; pub use parity_scale_codec::{Decode, Encode}; pub use sp_io::hashing::blake2_256; @@ -642,6 +642,12 @@ impl AssetExchange for TestAssetExchange { } } +pub type TestAliases = ( + AliasSiblingAccountId32>, + AliasChildAccountId32>, + AliasParentAccountId32, +); + pub struct TestConfig; impl Config for TestConfig { type RuntimeCall = TestCall; @@ -667,6 +673,7 @@ impl Config for TestConfig { type MessageExporter = TestMessageExporter; type CallDispatcher = TestCall; type SafeCallFilter = Everything; + type Aliasers = TestAliases; } pub fn fungible_multi_asset(location: MultiLocation, amount: u128) -> MultiAsset { diff --git a/xcm/xcm-builder/src/tests/mod.rs b/xcm/xcm-builder/src/tests/mod.rs index 62172005a0cf..6daf1872f055 100644 --- a/xcm/xcm-builder/src/tests/mod.rs +++ b/xcm/xcm-builder/src/tests/mod.rs @@ -26,6 +26,7 @@ use xcm_executor::{traits::prelude::*, Config, XcmExecutor}; mod mock; use mock::*; +mod aliases; mod assets; mod barriers; mod basic; diff --git a/xcm/xcm-builder/tests/mock/mod.rs b/xcm/xcm-builder/tests/mock/mod.rs index 8f22b79e11bc..21f3609a7f83 100644 --- a/xcm/xcm-builder/tests/mock/mod.rs +++ b/xcm/xcm-builder/tests/mock/mod.rs @@ -203,6 +203,7 @@ impl xcm_executor::Config for XcmConfig { type UniversalAliases = Nothing; type CallDispatcher = RuntimeCall; type SafeCallFilter = Everything; + type Aliasers = (); } pub type LocalOriginToLocation = SignedToAccountId32; From cb0ff7865b73cc9b233266f9971e9889b57d1fc4 Mon Sep 17 00:00:00 2001 From: Just van Stam Date: Mon, 22 May 2023 13:29:30 +0200 Subject: [PATCH 03/26] switch to more general builder types --- xcm/xcm-builder/src/lib.rs | 2 +- xcm/xcm-builder/src/origin_aliases.rs | 71 +++++++-------------------- xcm/xcm-builder/src/tests/aliases.rs | 68 ++++++++++++++++++------- xcm/xcm-builder/src/tests/mock.rs | 18 ++++--- 4 files changed, 82 insertions(+), 77 deletions(-) diff --git a/xcm/xcm-builder/src/lib.rs b/xcm/xcm-builder/src/lib.rs index 35cd4b7bf041..1ac1a0d933e0 100644 --- a/xcm/xcm-builder/src/lib.rs +++ b/xcm/xcm-builder/src/lib.rs @@ -90,4 +90,4 @@ pub use universal_exports::{ }; mod origin_aliases; -pub use origin_aliases::AliasSiblingAccountId32; +pub use origin_aliases::{AliasCase, RemovePrefixAccountId32}; diff --git a/xcm/xcm-builder/src/origin_aliases.rs b/xcm/xcm-builder/src/origin_aliases.rs index 1f950c64ef67..e6b80fcf0514 100644 --- a/xcm/xcm-builder/src/origin_aliases.rs +++ b/xcm/xcm-builder/src/origin_aliases.rs @@ -15,65 +15,32 @@ // along with Polkadot. If not, see . use frame_support::traits::{ContainsPair, Get}; +use sp_std::marker::PhantomData; use xcm::latest::prelude::*; -pub struct AliasSiblingAccountId32(sp_std::marker::PhantomData); -impl> ContainsPair - for AliasSiblingAccountId32 +pub struct RemovePrefixAccountId32(PhantomData); +impl> ContainsPair + for RemovePrefixAccountId32 { fn contains(origin: &MultiLocation, target: &MultiLocation) -> bool { - match origin { - MultiLocation { - parents: 1, - interior: - X2(Parachain(para_id), origin_account @ AccountId32 {network: _, id: _, }), - } if *para_id == ParachainId::get() => match target { - MultiLocation { - parents: 0, - interior: X1(alias_account), - } if origin_account == alias_account => true, - _ => false, - }, - _ => false, + if let Ok(appended) = (*target).prepended_with(Prefix::get()) { + if appended == *origin { + match appended.last() { + Some(AccountId32 { .. }) => return true, + _ => return false, + } + } } + false } } -pub struct AliasParentAccountId32; -impl ContainsPair for AliasParentAccountId32 { - fn contains(origin: &MultiLocation, target: &MultiLocation) -> bool { - match origin { - MultiLocation { - parents: 1, - interior: X1(origin_account @ AccountId32 {network: _, id: _, }) - } => match target { - MultiLocation { - parents: 0, - interior: X1(alias_account) - } if alias_account == origin_account => true, - _ => false, - } - _ => false - } - } -} - -pub struct AliasChildAccountId32(sp_std::marker::PhantomData); -impl> ContainsPair for AliasChildAccountId32 { - fn contains(origin: &MultiLocation, target: &MultiLocation) -> bool { - match origin { - MultiLocation { - parents: 0, - interior: - X2(Parachain(para_id), origin_account @ AccountId32 {network: _, id: _, }), - } if *para_id == ParachainId::get() => match target { - MultiLocation { - parents: 0, - interior: X1(alias_account), - } if origin_account == alias_account => true, - _ => false, - }, - _ => false, - } +pub struct AliasCase(PhantomData); +impl> ContainsPair + for AliasCase +{ + fn contains(origin: &MultiLocation, target: &MultiLocation) -> bool { + let (o, t) = T::get(); + &o == origin && &t == target } } diff --git a/xcm/xcm-builder/src/tests/aliases.rs b/xcm/xcm-builder/src/tests/aliases.rs index 93f8c08a7d22..2cff26213cd3 100644 --- a/xcm/xcm-builder/src/tests/aliases.rs +++ b/xcm/xcm-builder/src/tests/aliases.rs @@ -18,20 +18,54 @@ use super::*; #[test] fn alias_sibling_account_should_work() { - // Wrong parachain - assert!(!AliasSiblingAccountId32::>::contains( - &(Parent, Parachain(2), AccountId32 { network: None, id: [0;32] }).into(), - &(AccountId32 { network: None, id: [0;32] }).into() - )); - - // Accounts Differ - assert!(!AliasSiblingAccountId32::>::contains( - &(Parent, Parachain(1), AccountId32 { network: None, id: [0;32] }).into(), - &(AccountId32 { network: None, id: [1;32] }).into() - )); - - assert!(AliasSiblingAccountId32::>::contains( - &(Parent, Parachain(1), AccountId32 { network: None, id: [0;32] }).into(), - &(AccountId32 { network: None, id: [0;32] }).into() - )); -} \ No newline at end of file + // Wrong parachain + assert!(!RemovePrefixAccountId32::::contains( + &(Parent, Parachain(2), AccountId32 { network: None, id: [0; 32] }).into(), + &(AccountId32 { network: None, id: [0; 32] }).into() + )); + + // Accounts Differ + assert!(!RemovePrefixAccountId32::::contains( + &(Parent, Parachain(1), AccountId32 { network: None, id: [0; 32] }).into(), + &(AccountId32 { network: None, id: [1; 32] }).into() + )); + + assert!(RemovePrefixAccountId32::::contains( + &(Parent, Parachain(1), AccountId32 { network: None, id: [0; 32] }).into(), + &(AccountId32 { network: None, id: [0; 32] }).into() + )); +} + +#[test] +fn alias_child_account_should_work() { + // Wrong parachain + assert!(!RemovePrefixAccountId32::::contains( + &(Parachain(2), AccountId32 { network: None, id: [0; 32] }).into(), + &(AccountId32 { network: None, id: [0; 32] }).into() + )); + + // Accounts Differ + assert!(!RemovePrefixAccountId32::::contains( + &(Parachain(1), AccountId32 { network: None, id: [0; 32] }).into(), + &(AccountId32 { network: None, id: [1; 32] }).into() + )); + + assert!(RemovePrefixAccountId32::::contains( + &(Parachain(1), AccountId32 { network: None, id: [0; 32] }).into(), + &(AccountId32 { network: None, id: [0; 32] }).into() + )); +} + +#[test] +fn alias_parent_account_should_work() { + // Accounts Differ + assert!(!RemovePrefixAccountId32::::contains( + &(Parent, AccountId32 { network: None, id: [0; 32] }).into(), + &(AccountId32 { network: None, id: [1; 32] }).into() + )); + + assert!(RemovePrefixAccountId32::::contains( + &(Parent, AccountId32 { network: None, id: [0; 32] }).into(), + &(AccountId32 { network: None, id: [0; 32] }).into() + )); +} diff --git a/xcm/xcm-builder/src/tests/mock.rs b/xcm/xcm-builder/src/tests/mock.rs index 107af563895f..0e981059becb 100644 --- a/xcm/xcm-builder/src/tests/mock.rs +++ b/xcm/xcm-builder/src/tests/mock.rs @@ -16,7 +16,9 @@ use crate::{ barriers::{AllowSubscriptionsFrom, RespectSuspension}, - test_utils::*, AliasSiblingAccountId32, origin_aliases::{AliasChildAccountId32, AliasParentAccountId32}, + origin_aliases::{AliasChildAccountId32, AliasParentAccountId32}, + test_utils::*, + AliasSiblingAccountId32, }; pub use crate::{ AllowExplicitUnpaidExecutionFrom, AllowKnownQueryResponses, AllowTopLevelPaidExecutionFrom, @@ -30,7 +32,7 @@ pub use frame_support::{ }, ensure, parameter_types, sp_runtime::DispatchErrorWithPostInfo, - traits::{Contains, Get, IsInVec, ConstU32}, + traits::{ConstU32, Contains, Get, IsInVec}, }; pub use parity_scale_codec::{Decode, Encode}; pub use sp_io::hashing::blake2_256; @@ -642,11 +644,13 @@ impl AssetExchange for TestAssetExchange { } } -pub type TestAliases = ( - AliasSiblingAccountId32>, - AliasChildAccountId32>, - AliasParentAccountId32, -); +parameter_types! { + pub static AliasSiblingPrefix: MultiLocation = (Parent, Parachain(1)).into(); + pub static AliasChildPrefix: MultiLocation = (Parachain(1)).into(); + pub static AliasParentPrefix: MultiLocation = (Parent).into(); +} + +pub type TestAliases = (); pub struct TestConfig; impl Config for TestConfig { From 7efcc39edc939c453a4e96aa17b935e59ea9a84d Mon Sep 17 00:00:00 2001 From: Just van Stam Date: Mon, 22 May 2023 13:39:17 +0200 Subject: [PATCH 04/26] clone target for RemovePrefixAccountId32 --- xcm/xcm-builder/src/origin_aliases.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xcm/xcm-builder/src/origin_aliases.rs b/xcm/xcm-builder/src/origin_aliases.rs index e6b80fcf0514..d025df668800 100644 --- a/xcm/xcm-builder/src/origin_aliases.rs +++ b/xcm/xcm-builder/src/origin_aliases.rs @@ -23,7 +23,7 @@ impl> ContainsPair for RemovePrefixAccountId32 { fn contains(origin: &MultiLocation, target: &MultiLocation) -> bool { - if let Ok(appended) = (*target).prepended_with(Prefix::get()) { + if let Ok(appended) = (*target).clone().prepended_with(Prefix::get()) { if appended == *origin { match appended.last() { Some(AccountId32 { .. }) => return true, From c1c41f6e48cf4d37de9539854b7e8e72a5b5bd20 Mon Sep 17 00:00:00 2001 From: Just van Stam Date: Tue, 23 May 2023 10:06:33 +0200 Subject: [PATCH 05/26] change builder types --- xcm/xcm-builder/src/lib.rs | 5 +- xcm/xcm-builder/src/origin_aliases.rs | 74 ++++++++++++++++++++------- xcm/xcm-builder/src/tests/aliases.rs | 24 +++------ xcm/xcm-builder/src/tests/mock.rs | 8 --- 4 files changed, 66 insertions(+), 45 deletions(-) diff --git a/xcm/xcm-builder/src/lib.rs b/xcm/xcm-builder/src/lib.rs index 1ac1a0d933e0..c5c5103338c2 100644 --- a/xcm/xcm-builder/src/lib.rs +++ b/xcm/xcm-builder/src/lib.rs @@ -90,4 +90,7 @@ pub use universal_exports::{ }; mod origin_aliases; -pub use origin_aliases::{AliasCase, RemovePrefixAccountId32}; +pub use origin_aliases::{ + AliasCase, AliasForeignAccountId32, ChildPrefix, IsNativeAccountId32, ParentPrefix, + SiblingPrefix, +}; diff --git a/xcm/xcm-builder/src/origin_aliases.rs b/xcm/xcm-builder/src/origin_aliases.rs index d025df668800..1db1b56b7cdc 100644 --- a/xcm/xcm-builder/src/origin_aliases.rs +++ b/xcm/xcm-builder/src/origin_aliases.rs @@ -14,33 +14,71 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -use frame_support::traits::{ContainsPair, Get}; +use frame_support::traits::{Contains, ContainsPair}; use sp_std::marker::PhantomData; use xcm::latest::prelude::*; -pub struct RemovePrefixAccountId32(PhantomData); -impl> ContainsPair - for RemovePrefixAccountId32 +pub struct AliasCase(PhantomData<(Origin, Target)>); +impl ContainsPair for AliasCase +where + Origin: Contains, + Target: Contains, { fn contains(origin: &MultiLocation, target: &MultiLocation) -> bool { - if let Ok(appended) = (*target).clone().prepended_with(Prefix::get()) { - if appended == *origin { - match appended.last() { - Some(AccountId32 { .. }) => return true, - _ => return false, - } - } - } - false + Origin::contains(origin) && Target::contains(target) } } -pub struct AliasCase(PhantomData); -impl> ContainsPair - for AliasCase +pub struct AliasForeignAccountId32(PhantomData<(Prefix, Target)>); +impl, Target: Contains> + ContainsPair for AliasForeignAccountId32 { fn contains(origin: &MultiLocation, target: &MultiLocation) -> bool { - let (o, t) = T::get(); - &o == origin && &t == target + if let (prefix, Some(account_id @ AccountId32 { .. })) = origin.split_last_interior() { + return Prefix::contains(&prefix) && + Target::contains(target) && + Some(&account_id) == target.last() + } + false + } +} + +pub struct SiblingPrefix; +impl Contains for SiblingPrefix { + fn contains(t: &MultiLocation) -> bool { + match *t { + MultiLocation { parents: 1, interior: X1(Parachain(_)) } => true, + _ => false, + } } } + +pub struct ParentPrefix; +impl Contains for ParentPrefix { + fn contains(t: &MultiLocation) -> bool { + match *t { + MultiLocation { parents: 1, interior: Here } => true, + _ => false, + } + } +} + +pub struct ChildPrefix; +impl Contains for ChildPrefix { + fn contains(t: &MultiLocation) -> bool { + match *t { + MultiLocation { parents: 0, interior: X1(Parachain(_)) } => true, + _ => false, + } + } +} + +pub struct IsNativeAccountId32; +impl Contains for IsNativeAccountId32 { + fn contains(t: &MultiLocation) -> bool { + match *t { + MultiLocation { parents: 0, interior: X1(AccountId32 { .. }) } => true, + _ => false, + } + } +} \ No newline at end of file diff --git a/xcm/xcm-builder/src/tests/aliases.rs b/xcm/xcm-builder/src/tests/aliases.rs index 2cff26213cd3..42ed1dd6d2f6 100644 --- a/xcm/xcm-builder/src/tests/aliases.rs +++ b/xcm/xcm-builder/src/tests/aliases.rs @@ -18,19 +18,13 @@ use super::*; #[test] fn alias_sibling_account_should_work() { - // Wrong parachain - assert!(!RemovePrefixAccountId32::::contains( - &(Parent, Parachain(2), AccountId32 { network: None, id: [0; 32] }).into(), - &(AccountId32 { network: None, id: [0; 32] }).into() - )); - // Accounts Differ - assert!(!RemovePrefixAccountId32::::contains( + assert!(!AliasForeignAccountId32::::contains( &(Parent, Parachain(1), AccountId32 { network: None, id: [0; 32] }).into(), &(AccountId32 { network: None, id: [1; 32] }).into() )); - assert!(RemovePrefixAccountId32::::contains( + assert!(AliasForeignAccountId32::::contains( &(Parent, Parachain(1), AccountId32 { network: None, id: [0; 32] }).into(), &(AccountId32 { network: None, id: [0; 32] }).into() )); @@ -38,19 +32,13 @@ fn alias_sibling_account_should_work() { #[test] fn alias_child_account_should_work() { - // Wrong parachain - assert!(!RemovePrefixAccountId32::::contains( - &(Parachain(2), AccountId32 { network: None, id: [0; 32] }).into(), - &(AccountId32 { network: None, id: [0; 32] }).into() - )); - // Accounts Differ - assert!(!RemovePrefixAccountId32::::contains( + assert!(!AliasForeignAccountId32::::contains( &(Parachain(1), AccountId32 { network: None, id: [0; 32] }).into(), &(AccountId32 { network: None, id: [1; 32] }).into() )); - assert!(RemovePrefixAccountId32::::contains( + assert!(AliasForeignAccountId32::::contains( &(Parachain(1), AccountId32 { network: None, id: [0; 32] }).into(), &(AccountId32 { network: None, id: [0; 32] }).into() )); @@ -59,12 +47,12 @@ fn alias_child_account_should_work() { #[test] fn alias_parent_account_should_work() { // Accounts Differ - assert!(!RemovePrefixAccountId32::::contains( + assert!(!AliasForeignAccountId32::::contains( &(Parent, AccountId32 { network: None, id: [0; 32] }).into(), &(AccountId32 { network: None, id: [1; 32] }).into() )); - assert!(RemovePrefixAccountId32::::contains( + assert!(AliasForeignAccountId32::::contains( &(Parent, AccountId32 { network: None, id: [0; 32] }).into(), &(AccountId32 { network: None, id: [0; 32] }).into() )); diff --git a/xcm/xcm-builder/src/tests/mock.rs b/xcm/xcm-builder/src/tests/mock.rs index 0e981059becb..f618a9786fb4 100644 --- a/xcm/xcm-builder/src/tests/mock.rs +++ b/xcm/xcm-builder/src/tests/mock.rs @@ -16,9 +16,7 @@ use crate::{ barriers::{AllowSubscriptionsFrom, RespectSuspension}, - origin_aliases::{AliasChildAccountId32, AliasParentAccountId32}, test_utils::*, - AliasSiblingAccountId32, }; pub use crate::{ AllowExplicitUnpaidExecutionFrom, AllowKnownQueryResponses, AllowTopLevelPaidExecutionFrom, @@ -644,12 +642,6 @@ impl AssetExchange for TestAssetExchange { } } -parameter_types! { - pub static AliasSiblingPrefix: MultiLocation = (Parent, Parachain(1)).into(); - pub static AliasChildPrefix: MultiLocation = (Parachain(1)).into(); - pub static AliasParentPrefix: MultiLocation = (Parent).into(); -} - pub type TestAliases = (); pub struct TestConfig; From 97f1f318ccab76a7dd44a9e40145afb6473d28f7 Mon Sep 17 00:00:00 2001 From: Just van Stam Date: Wed, 24 May 2023 11:23:31 +0200 Subject: [PATCH 06/26] change AliasForeignAccountId32 and add test for AliasCase --- xcm/xcm-builder/src/lib.rs | 5 +-- xcm/xcm-builder/src/origin_aliases.rs | 49 +++------------------------ xcm/xcm-builder/src/tests/aliases.rs | 38 ++++++++++++++++----- xcm/xcm-builder/src/tests/mock.rs | 24 ++++++++++++- 4 files changed, 57 insertions(+), 59 deletions(-) diff --git a/xcm/xcm-builder/src/lib.rs b/xcm/xcm-builder/src/lib.rs index c5c5103338c2..dd82aef23a0d 100644 --- a/xcm/xcm-builder/src/lib.rs +++ b/xcm/xcm-builder/src/lib.rs @@ -90,7 +90,4 @@ pub use universal_exports::{ }; mod origin_aliases; -pub use origin_aliases::{ - AliasCase, AliasForeignAccountId32, ChildPrefix, IsNativeAccountId32, ParentPrefix, - SiblingPrefix, -}; +pub use origin_aliases::{AliasCase, AliasForeignAccountId32}; diff --git a/xcm/xcm-builder/src/origin_aliases.rs b/xcm/xcm-builder/src/origin_aliases.rs index 1db1b56b7cdc..5f4dbbbba6cd 100644 --- a/xcm/xcm-builder/src/origin_aliases.rs +++ b/xcm/xcm-builder/src/origin_aliases.rs @@ -29,56 +29,15 @@ where } } -pub struct AliasForeignAccountId32(PhantomData<(Prefix, Target)>); -impl, Target: Contains> - ContainsPair for AliasForeignAccountId32 +pub struct AliasForeignAccountId32(PhantomData); +impl> ContainsPair + for AliasForeignAccountId32 { fn contains(origin: &MultiLocation, target: &MultiLocation) -> bool { if let (prefix, Some(account_id @ AccountId32 { .. })) = origin.split_last_interior() { return Prefix::contains(&prefix) && - Target::contains(target) && - Some(&account_id) == target.last() + *target == MultiLocation { parents: 0, interior: X1(account_id) } } false } } - -pub struct SiblingPrefix; -impl Contains for SiblingPrefix { - fn contains(t: &MultiLocation) -> bool { - match *t { - MultiLocation { parents: 1, interior: X1(Parachain(_)) } => true, - _ => false, - } - } -} - -pub struct ParentPrefix; -impl Contains for ParentPrefix { - fn contains(t: &MultiLocation) -> bool { - match *t { - MultiLocation { parents: 1, interior: Here } => true, - _ => false, - } - } -} - -pub struct ChildPrefix; -impl Contains for ChildPrefix { - fn contains(t: &MultiLocation) -> bool { - match *t { - MultiLocation { parents: 0, interior: X1(Parachain(_)) } => true, - _ => false, - } - } -} - -pub struct IsNativeAccountId32; -impl Contains for IsNativeAccountId32 { - fn contains(t: &MultiLocation) -> bool { - match *t { - MultiLocation { parents: 0, interior: X1(AccountId32 { .. }) } => true, - _ => false, - } - } -} \ No newline at end of file diff --git a/xcm/xcm-builder/src/tests/aliases.rs b/xcm/xcm-builder/src/tests/aliases.rs index 42ed1dd6d2f6..d9b82a311f06 100644 --- a/xcm/xcm-builder/src/tests/aliases.rs +++ b/xcm/xcm-builder/src/tests/aliases.rs @@ -17,43 +17,63 @@ use super::*; #[test] -fn alias_sibling_account_should_work() { +fn alias_foreign_account_sibling_prefix() { // Accounts Differ - assert!(!AliasForeignAccountId32::::contains( + assert!(!AliasForeignAccountId32::::contains( &(Parent, Parachain(1), AccountId32 { network: None, id: [0; 32] }).into(), &(AccountId32 { network: None, id: [1; 32] }).into() )); - assert!(AliasForeignAccountId32::::contains( + assert!(AliasForeignAccountId32::::contains( &(Parent, Parachain(1), AccountId32 { network: None, id: [0; 32] }).into(), &(AccountId32 { network: None, id: [0; 32] }).into() )); } #[test] -fn alias_child_account_should_work() { +fn alias_foreign_account_child_prefix() { // Accounts Differ - assert!(!AliasForeignAccountId32::::contains( + assert!(!AliasForeignAccountId32::::contains( &(Parachain(1), AccountId32 { network: None, id: [0; 32] }).into(), &(AccountId32 { network: None, id: [1; 32] }).into() )); - assert!(AliasForeignAccountId32::::contains( + assert!(AliasForeignAccountId32::::contains( &(Parachain(1), AccountId32 { network: None, id: [0; 32] }).into(), &(AccountId32 { network: None, id: [0; 32] }).into() )); } #[test] -fn alias_parent_account_should_work() { +fn alias_foreign_account_parent_prefix() { // Accounts Differ - assert!(!AliasForeignAccountId32::::contains( + assert!(!AliasForeignAccountId32::::contains( &(Parent, AccountId32 { network: None, id: [0; 32] }).into(), &(AccountId32 { network: None, id: [1; 32] }).into() )); - assert!(AliasForeignAccountId32::::contains( + assert!(AliasForeignAccountId32::::contains( &(Parent, AccountId32 { network: None, id: [0; 32] }).into(), &(AccountId32 { network: None, id: [0; 32] }).into() )); } + +#[test] +fn alias_case_should_work() { + // Wrong Origin + assert!(!AliasCase::::contains( + &(Parent, Parachain(2)).into(), + &(Plurality { id: BodyId::Treasury, part: BodyPart::Voice }).into() + )); + + // Wrong BodyId + assert!(!AliasCase::::contains( + &(Parent, Parachain(1)).into(), + &(Plurality { id: BodyId::Administration, part: BodyPart::Voice }).into() + )); + + assert!(AliasCase::::contains( + &(Parent, Parachain(1)).into(), + &(Plurality { id: BodyId::Treasury, part: BodyPart::Voice }).into() + )); +} diff --git a/xcm/xcm-builder/src/tests/mock.rs b/xcm/xcm-builder/src/tests/mock.rs index f618a9786fb4..aeaa20ffeb8a 100644 --- a/xcm/xcm-builder/src/tests/mock.rs +++ b/xcm/xcm-builder/src/tests/mock.rs @@ -28,7 +28,7 @@ pub use frame_support::{ DispatchError, DispatchInfo, DispatchResultWithPostInfo, Dispatchable, GetDispatchInfo, Parameter, PostDispatchInfo, }, - ensure, parameter_types, + ensure, match_types, parameter_types, sp_runtime::DispatchErrorWithPostInfo, traits::{ConstU32, Contains, Get, IsInVec}, }; @@ -642,6 +642,28 @@ impl AssetExchange for TestAssetExchange { } } +match_types! { + pub type SiblingPrefix: impl Contains = { + MultiLocation { parents: 1, interior: X1(Parachain(_)) } + }; + pub type ChildPrefix: impl Contains = { + MultiLocation { parents: 0, interior: X1(Parachain(_)) } + }; + pub type ParentPrefix: impl Contains = { + MultiLocation { parents: 1, interior: Here } + }; + pub type IsNativeAccountId32: impl Contains = { + MultiLocation { parents: 0, interior: X1(AccountId32 { .. }) } + }; + pub type SpecificParachain: impl Contains = { + MultiLocation {parents: 1, interior: X1(Parachain(1))} + }; + + pub type SpecificPlurality: impl Contains = { + MultiLocation {parents: 0, interior: X1(Plurality{id: BodyId::Treasury, part: BodyPart::Voice})} + }; +} + pub type TestAliases = (); pub struct TestConfig; From d984c951f264320de4c54fb0a1cd6b3bbcc6e59c Mon Sep 17 00:00:00 2001 From: Just van Stam Date: Wed, 24 May 2023 12:45:29 +0200 Subject: [PATCH 07/26] add Aliasers type to xcm configs --- runtime/kusama/src/xcm_config.rs | 1 + runtime/polkadot/src/xcm_config.rs | 1 + runtime/rococo/src/xcm_config.rs | 1 + runtime/test-runtime/src/xcm_config.rs | 1 + runtime/westend/src/xcm_config.rs | 1 + xcm/pallet-xcm-benchmarks/src/fungible/mock.rs | 1 + xcm/pallet-xcm-benchmarks/src/generic/mock.rs | 1 + xcm/pallet-xcm/src/mock.rs | 1 + xcm/xcm-builder/tests/mock/mod.rs | 2 +- xcm/xcm-simulator/example/src/parachain.rs | 1 + xcm/xcm-simulator/example/src/relay_chain.rs | 1 + xcm/xcm-simulator/fuzzer/src/parachain.rs | 1 + xcm/xcm-simulator/fuzzer/src/relay_chain.rs | 1 + 13 files changed, 13 insertions(+), 1 deletion(-) diff --git a/runtime/kusama/src/xcm_config.rs b/runtime/kusama/src/xcm_config.rs index 1806a06066dd..70aa9b452939 100644 --- a/runtime/kusama/src/xcm_config.rs +++ b/runtime/kusama/src/xcm_config.rs @@ -357,6 +357,7 @@ impl xcm_executor::Config for XcmConfig { type UniversalAliases = Nothing; type CallDispatcher = WithOriginFilter; type SafeCallFilter = SafeCallFilter; + type Aliasers = Nothing; } parameter_types! { diff --git a/runtime/polkadot/src/xcm_config.rs b/runtime/polkadot/src/xcm_config.rs index d154959781f9..54696f47ee6b 100644 --- a/runtime/polkadot/src/xcm_config.rs +++ b/runtime/polkadot/src/xcm_config.rs @@ -344,6 +344,7 @@ impl xcm_executor::Config for XcmConfig { type UniversalAliases = Nothing; type CallDispatcher = WithOriginFilter; type SafeCallFilter = SafeCallFilter; + type Aliasers = Nothing; } parameter_types! { diff --git a/runtime/rococo/src/xcm_config.rs b/runtime/rococo/src/xcm_config.rs index 4bf3cb3181ea..74391626628b 100644 --- a/runtime/rococo/src/xcm_config.rs +++ b/runtime/rococo/src/xcm_config.rs @@ -330,6 +330,7 @@ impl xcm_executor::Config for XcmConfig { type UniversalAliases = Nothing; type CallDispatcher = WithOriginFilter; type SafeCallFilter = SafeCallFilter; + type Aliasers = Nothing; } parameter_types! { diff --git a/runtime/test-runtime/src/xcm_config.rs b/runtime/test-runtime/src/xcm_config.rs index 8d7c57224ea6..45e7956d45ba 100644 --- a/runtime/test-runtime/src/xcm_config.rs +++ b/runtime/test-runtime/src/xcm_config.rs @@ -115,6 +115,7 @@ impl xcm_executor::Config for XcmConfig { type UniversalAliases = Nothing; type CallDispatcher = super::RuntimeCall; type SafeCallFilter = Everything; + type Aliasers = Nothing; } #[cfg(feature = "runtime-benchmarks")] diff --git a/runtime/westend/src/xcm_config.rs b/runtime/westend/src/xcm_config.rs index 7e37d227a677..e8b5209492f8 100644 --- a/runtime/westend/src/xcm_config.rs +++ b/runtime/westend/src/xcm_config.rs @@ -268,6 +268,7 @@ impl xcm_executor::Config for XcmConfig { type UniversalAliases = Nothing; type CallDispatcher = WithOriginFilter; type SafeCallFilter = SafeCallFilter; + type Aliasers = Nothing; } /// Type to convert an `Origin` type value into a `MultiLocation` value which represents an interior location diff --git a/xcm/pallet-xcm-benchmarks/src/fungible/mock.rs b/xcm/pallet-xcm-benchmarks/src/fungible/mock.rs index 382434ea1c28..b54d987d1f8d 100644 --- a/xcm/pallet-xcm-benchmarks/src/fungible/mock.rs +++ b/xcm/pallet-xcm-benchmarks/src/fungible/mock.rs @@ -160,6 +160,7 @@ impl xcm_executor::Config for XcmConfig { type UniversalAliases = Nothing; type CallDispatcher = RuntimeCall; type SafeCallFilter = Everything; + type Aliasers = Nothing; } impl crate::Config for Test { diff --git a/xcm/pallet-xcm-benchmarks/src/generic/mock.rs b/xcm/pallet-xcm-benchmarks/src/generic/mock.rs index df6e7713b8a9..d589bc000df4 100644 --- a/xcm/pallet-xcm-benchmarks/src/generic/mock.rs +++ b/xcm/pallet-xcm-benchmarks/src/generic/mock.rs @@ -132,6 +132,7 @@ impl xcm_executor::Config for XcmConfig { type UniversalAliases = TestUniversalAliases; type CallDispatcher = RuntimeCall; type SafeCallFilter = Everything; + type Aliasers = Nothing; } impl crate::Config for Test { diff --git a/xcm/pallet-xcm/src/mock.rs b/xcm/pallet-xcm/src/mock.rs index 30ad6457986b..0067a07acb79 100644 --- a/xcm/pallet-xcm/src/mock.rs +++ b/xcm/pallet-xcm/src/mock.rs @@ -309,6 +309,7 @@ impl xcm_executor::Config for XcmConfig { type UniversalAliases = Nothing; type CallDispatcher = RuntimeCall; type SafeCallFilter = Everything; + type Aliasers = Nothing; } pub type LocalOriginToLocation = SignedToAccountId32; diff --git a/xcm/xcm-builder/tests/mock/mod.rs b/xcm/xcm-builder/tests/mock/mod.rs index 21f3609a7f83..a57d4d8052e5 100644 --- a/xcm/xcm-builder/tests/mock/mod.rs +++ b/xcm/xcm-builder/tests/mock/mod.rs @@ -203,7 +203,7 @@ impl xcm_executor::Config for XcmConfig { type UniversalAliases = Nothing; type CallDispatcher = RuntimeCall; type SafeCallFilter = Everything; - type Aliasers = (); + type Aliasers = Nothing; } pub type LocalOriginToLocation = SignedToAccountId32; diff --git a/xcm/xcm-simulator/example/src/parachain.rs b/xcm/xcm-simulator/example/src/parachain.rs index 1985c721765e..a7644f56ffe9 100644 --- a/xcm/xcm-simulator/example/src/parachain.rs +++ b/xcm/xcm-simulator/example/src/parachain.rs @@ -249,6 +249,7 @@ impl Config for XcmConfig { type UniversalAliases = Nothing; type CallDispatcher = RuntimeCall; type SafeCallFilter = Everything; + type Aliasers = Nothing; } #[frame_support::pallet] diff --git a/xcm/xcm-simulator/example/src/relay_chain.rs b/xcm/xcm-simulator/example/src/relay_chain.rs index a6585b74c106..96edf1915a66 100644 --- a/xcm/xcm-simulator/example/src/relay_chain.rs +++ b/xcm/xcm-simulator/example/src/relay_chain.rs @@ -190,6 +190,7 @@ impl Config for XcmConfig { type UniversalAliases = Nothing; type CallDispatcher = RuntimeCall; type SafeCallFilter = Everything; + type Aliasers = Nothing; } pub type LocalOriginToLocation = SignedToAccountId32; diff --git a/xcm/xcm-simulator/fuzzer/src/parachain.rs b/xcm/xcm-simulator/fuzzer/src/parachain.rs index aace3b379c6a..c001a38d1002 100644 --- a/xcm/xcm-simulator/fuzzer/src/parachain.rs +++ b/xcm/xcm-simulator/fuzzer/src/parachain.rs @@ -163,6 +163,7 @@ impl Config for XcmConfig { type UniversalAliases = Nothing; type CallDispatcher = RuntimeCall; type SafeCallFilter = Everything; + type Aliasers = Nothing; } #[frame_support::pallet] diff --git a/xcm/xcm-simulator/fuzzer/src/relay_chain.rs b/xcm/xcm-simulator/fuzzer/src/relay_chain.rs index cb001d91f9b5..fbef24a063ff 100644 --- a/xcm/xcm-simulator/fuzzer/src/relay_chain.rs +++ b/xcm/xcm-simulator/fuzzer/src/relay_chain.rs @@ -154,6 +154,7 @@ impl Config for XcmConfig { type UniversalAliases = Nothing; type CallDispatcher = RuntimeCall; type SafeCallFilter = Everything; + type Aliasers = Nothing; } pub type LocalOriginToLocation = SignedToAccountId32; From 19e312313e1ce4284c8b270ac7ac2f8a38eb9756 Mon Sep 17 00:00:00 2001 From: Just van Stam Date: Wed, 24 May 2023 13:32:31 +0200 Subject: [PATCH 08/26] add benchmark --- .../src/generic/benchmarking.rs | 13 +++++++++++++ xcm/pallet-xcm-benchmarks/src/generic/mock.rs | 19 ++++++++++++++++--- xcm/pallet-xcm-benchmarks/src/generic/mod.rs | 5 +++++ 3 files changed, 34 insertions(+), 3 deletions(-) diff --git a/xcm/pallet-xcm-benchmarks/src/generic/benchmarking.rs b/xcm/pallet-xcm-benchmarks/src/generic/benchmarking.rs index b10c924529ba..545ee6e8f2cf 100644 --- a/xcm/pallet-xcm-benchmarks/src/generic/benchmarking.rs +++ b/xcm/pallet-xcm-benchmarks/src/generic/benchmarking.rs @@ -634,6 +634,19 @@ benchmarks! { executor.bench_process(xcm)?; } + origin_alias { + let (origin, target) = T::origin_alias().map_err(|_| BenchmarkError::Skip)?; + + let mut executor = new_executor::(origin); + + let instruction = Instruction::AliasOrigin(target.clone()); + let xcm = Xcm(vec![instruction]); + }: { + executor.bench_process(xcm)?; + } verify { + assert_eq!(executor.origin(), target); + } + impl_benchmark_test_suite!( Pallet, crate::generic::mock::new_test_ext(), diff --git a/xcm/pallet-xcm-benchmarks/src/generic/mock.rs b/xcm/pallet-xcm-benchmarks/src/generic/mock.rs index d589bc000df4..39fae00838dd 100644 --- a/xcm/pallet-xcm-benchmarks/src/generic/mock.rs +++ b/xcm/pallet-xcm-benchmarks/src/generic/mock.rs @@ -19,7 +19,7 @@ use crate::{generic, mock::*, *}; use codec::Decode; use frame_support::{ - parameter_types, + parameter_types, match_types, traits::{Everything, OriginTrait}, weights::Weight, }; @@ -34,7 +34,7 @@ use xcm_builder::{ Assets, TestAssetExchanger, TestAssetLocker, TestAssetTrap, TestSubscriptionService, TestUniversalAliases, }, - AllowUnpaidExecutionFrom, + AllowUnpaidExecutionFrom, AliasForeignAccountId32, }; use xcm_executor::traits::ConvertOrigin; @@ -106,6 +106,13 @@ parameter_types! { pub const MaxAssetsIntoHolding: u32 = 64; } +match_types! { + pub type OnlyParachains: impl Contains = { + MultiLocation { parents: 0, interior: X1(Parachain(_)) } + }; +} + +type Aliasers = AliasForeignAccountId32; pub struct XcmConfig; impl xcm_executor::Config for XcmConfig { type RuntimeCall = RuntimeCall; @@ -132,7 +139,7 @@ impl xcm_executor::Config for XcmConfig { type UniversalAliases = TestUniversalAliases; type CallDispatcher = RuntimeCall; type SafeCallFilter = Everything; - type Aliasers = Nothing; + type Aliasers = Aliasers; } impl crate::Config for Test { @@ -193,6 +200,12 @@ impl generic::Config for Test { // No MessageExporter in tests Err(BenchmarkError::Skip) } + + fn alias_origin() -> Result<(MultiLocation, MultiLocation), BenchmarkError> { + let origin: MultiLocation = (Parent, Parachain(1), AccountId32 { network: None, id: [0;32] }).into(); + let target: MultiLocation = AccountId32 { network: None, id: [0;32] }.into(); + Ok((origin, target)) + } } pub fn new_test_ext() -> sp_io::TestExternalities { diff --git a/xcm/pallet-xcm-benchmarks/src/generic/mod.rs b/xcm/pallet-xcm-benchmarks/src/generic/mod.rs index 17e8aa6de95f..95f047432d7d 100644 --- a/xcm/pallet-xcm-benchmarks/src/generic/mod.rs +++ b/xcm/pallet-xcm-benchmarks/src/generic/mod.rs @@ -80,6 +80,11 @@ pub mod pallet { /// If set to `Err`, benchmarks which rely on `export_message` will be skipped. fn export_message_origin_and_destination( ) -> Result<(MultiLocation, NetworkId, InteriorMultiLocation), BenchmarkError>; + + /// A `(MultiLocation, MultiLocation)` that is one of the `Aliasers` configured by the XCM executor. + /// + /// If set to `Err`, benchmarks which rely on a universal alias will be skipped. + fn alias_origin() -> Result<(MultiLocation, MultiLocation), BenchmarkError>; } #[pallet::pallet] From f115cca95cc1f1b64aaaa5f9f02be26b56fac767 Mon Sep 17 00:00:00 2001 From: Just van Stam Date: Wed, 24 May 2023 14:05:38 +0200 Subject: [PATCH 09/26] benchmark fix --- xcm/pallet-xcm-benchmarks/src/generic/benchmarking.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xcm/pallet-xcm-benchmarks/src/generic/benchmarking.rs b/xcm/pallet-xcm-benchmarks/src/generic/benchmarking.rs index 545ee6e8f2cf..3205128c5576 100644 --- a/xcm/pallet-xcm-benchmarks/src/generic/benchmarking.rs +++ b/xcm/pallet-xcm-benchmarks/src/generic/benchmarking.rs @@ -635,7 +635,7 @@ benchmarks! { } origin_alias { - let (origin, target) = T::origin_alias().map_err(|_| BenchmarkError::Skip)?; + let (origin, target) = T::alias_origin().map_err(|_| BenchmarkError::Skip)?; let mut executor = new_executor::(origin); @@ -644,7 +644,7 @@ benchmarks! { }: { executor.bench_process(xcm)?; } verify { - assert_eq!(executor.origin(), target); + assert_eq!(executor.origin(), &Some(target)); } impl_benchmark_test_suite!( From c7c347332c1afe7d17033236f309110e44944128 Mon Sep 17 00:00:00 2001 From: Just van Stam Date: Wed, 24 May 2023 15:31:52 +0200 Subject: [PATCH 10/26] add benchmark function for runtimes --- runtime/kusama/src/lib.rs | 5 +++++ runtime/rococo/src/lib.rs | 5 +++++ runtime/westend/src/lib.rs | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index b1e36028bacb..b7ef83bce8a9 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -2203,6 +2203,11 @@ sp_api::impl_runtime_apis! { // Kusama doesn't support exporting messages Err(BenchmarkError::Skip) } + + fn alias_origin() -> Result<(MultiLocation, Junction), BenchmarkError> { + // The XCM executor of Westend doesn't have a configured `Aliasers` + Err(BenchmarkError::Skip) + } } let whitelist: Vec = vec![ diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index a0b05aef8d9a..e7a84cec96a4 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -2271,6 +2271,11 @@ sp_api::impl_runtime_apis! { // Rococo doesn't support exporting messages Err(BenchmarkError::Skip) } + + fn alias_origin() -> Result<(MultiLocation, Junction), BenchmarkError> { + // The XCM executor of Westend doesn't have a configured `Aliasers` + Err(BenchmarkError::Skip) + } } let whitelist: Vec = vec![ diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 7c7477676201..0e62d4999b01 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1961,6 +1961,11 @@ sp_api::impl_runtime_apis! { // Westend doesn't support exporting messages Err(BenchmarkError::Skip) } + + fn alias_origin() -> Result<(MultiLocation, Junction), BenchmarkError> { + // The XCM executor of Westend doesn't have a configured `Aliasers` + Err(BenchmarkError::Skip) + } } type XcmBalances = pallet_xcm_benchmarks::fungible::Pallet::; From 39743b6fa320f8f771a7c3a1dc247121f25864cb Mon Sep 17 00:00:00 2001 From: Just van Stam Date: Wed, 24 May 2023 15:57:26 +0200 Subject: [PATCH 11/26] fix alias_origin result types --- runtime/kusama/src/lib.rs | 2 +- runtime/rococo/src/lib.rs | 2 +- runtime/westend/src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index b7ef83bce8a9..0b49dea85438 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -2204,7 +2204,7 @@ sp_api::impl_runtime_apis! { Err(BenchmarkError::Skip) } - fn alias_origin() -> Result<(MultiLocation, Junction), BenchmarkError> { + fn alias_origin() -> Result<(MultiLocation, MultiLocation), BenchmarkError> { // The XCM executor of Westend doesn't have a configured `Aliasers` Err(BenchmarkError::Skip) } diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index e7a84cec96a4..50468b53adc4 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -2272,7 +2272,7 @@ sp_api::impl_runtime_apis! { Err(BenchmarkError::Skip) } - fn alias_origin() -> Result<(MultiLocation, Junction), BenchmarkError> { + fn alias_origin() -> Result<(MultiLocation, MultiLocation), BenchmarkError> { // The XCM executor of Westend doesn't have a configured `Aliasers` Err(BenchmarkError::Skip) } diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 0e62d4999b01..504dc9b5de04 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1962,7 +1962,7 @@ sp_api::impl_runtime_apis! { Err(BenchmarkError::Skip) } - fn alias_origin() -> Result<(MultiLocation, Junction), BenchmarkError> { + fn alias_origin() -> Result<(MultiLocation, MultiLocation), BenchmarkError> { // The XCM executor of Westend doesn't have a configured `Aliasers` Err(BenchmarkError::Skip) } From de583b6f8e244fe19657cbeb62ce6147d3bb085e Mon Sep 17 00:00:00 2001 From: Just van Stam Date: Wed, 24 May 2023 16:39:19 +0200 Subject: [PATCH 12/26] fix benchmark test --- xcm/pallet-xcm-benchmarks/src/generic/mock.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xcm/pallet-xcm-benchmarks/src/generic/mock.rs b/xcm/pallet-xcm-benchmarks/src/generic/mock.rs index ed83df62e43d..599d8f8d41b1 100644 --- a/xcm/pallet-xcm-benchmarks/src/generic/mock.rs +++ b/xcm/pallet-xcm-benchmarks/src/generic/mock.rs @@ -201,7 +201,7 @@ impl generic::Config for Test { } fn alias_origin() -> Result<(MultiLocation, MultiLocation), BenchmarkError> { - let origin: MultiLocation = (Parent, Parachain(1), AccountId32 { network: None, id: [0;32] }).into(); + let origin: MultiLocation = (Parachain(1), AccountId32 { network: None, id: [0;32] }).into(); let target: MultiLocation = AccountId32 { network: None, id: [0;32] }.into(); Ok((origin, target)) } From 75307727163716472bca4059005f2b4a9440fb28 Mon Sep 17 00:00:00 2001 From: Just van Stam Date: Wed, 24 May 2023 17:04:40 +0200 Subject: [PATCH 13/26] add runtime-benchmarks feature in pallet-xcm-benchmarks --- xcm/pallet-xcm-benchmarks/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/xcm/pallet-xcm-benchmarks/Cargo.toml b/xcm/pallet-xcm-benchmarks/Cargo.toml index c9c04d533cd5..34a5a8fa9c88 100644 --- a/xcm/pallet-xcm-benchmarks/Cargo.toml +++ b/xcm/pallet-xcm-benchmarks/Cargo.toml @@ -49,6 +49,7 @@ std = [ runtime-benchmarks = [ "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", + "pallet-xcm/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", From f29f11186b6244fbb6b8dc853d57d5f167e71232 Mon Sep 17 00:00:00 2001 From: Just van Stam Date: Wed, 24 May 2023 17:44:17 +0200 Subject: [PATCH 14/26] fmt --- xcm/pallet-xcm-benchmarks/src/generic/mock.rs | 9 +++++---- xcm/pallet-xcm-benchmarks/src/generic/mod.rs | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/xcm/pallet-xcm-benchmarks/src/generic/mock.rs b/xcm/pallet-xcm-benchmarks/src/generic/mock.rs index 599d8f8d41b1..2d1df0164ab4 100644 --- a/xcm/pallet-xcm-benchmarks/src/generic/mock.rs +++ b/xcm/pallet-xcm-benchmarks/src/generic/mock.rs @@ -19,7 +19,7 @@ use crate::{generic, mock::*, *}; use codec::Decode; use frame_support::{ - parameter_types, match_types, + match_types, parameter_types, traits::{Everything, OriginTrait}, weights::Weight, }; @@ -33,7 +33,7 @@ use xcm_builder::{ Assets, TestAssetExchanger, TestAssetLocker, TestAssetTrap, TestSubscriptionService, TestUniversalAliases, }, - AllowUnpaidExecutionFrom, AliasForeignAccountId32, + AliasForeignAccountId32, AllowUnpaidExecutionFrom, }; use xcm_executor::traits::ConvertOrigin; @@ -201,8 +201,9 @@ impl generic::Config for Test { } fn alias_origin() -> Result<(MultiLocation, MultiLocation), BenchmarkError> { - let origin: MultiLocation = (Parachain(1), AccountId32 { network: None, id: [0;32] }).into(); - let target: MultiLocation = AccountId32 { network: None, id: [0;32] }.into(); + let origin: MultiLocation = + (Parachain(1), AccountId32 { network: None, id: [0; 32] }).into(); + let target: MultiLocation = AccountId32 { network: None, id: [0; 32] }.into(); Ok((origin, target)) } } diff --git a/xcm/pallet-xcm-benchmarks/src/generic/mod.rs b/xcm/pallet-xcm-benchmarks/src/generic/mod.rs index 95f047432d7d..e5fce008a0f2 100644 --- a/xcm/pallet-xcm-benchmarks/src/generic/mod.rs +++ b/xcm/pallet-xcm-benchmarks/src/generic/mod.rs @@ -80,7 +80,7 @@ pub mod pallet { /// If set to `Err`, benchmarks which rely on `export_message` will be skipped. fn export_message_origin_and_destination( ) -> Result<(MultiLocation, NetworkId, InteriorMultiLocation), BenchmarkError>; - + /// A `(MultiLocation, MultiLocation)` that is one of the `Aliasers` configured by the XCM executor. /// /// If set to `Err`, benchmarks which rely on a universal alias will be skipped. From 56c7e03c3a8ceac4123948a78643023d0fd60b15 Mon Sep 17 00:00:00 2001 From: Just van Stam Date: Thu, 25 May 2023 09:39:15 +0200 Subject: [PATCH 15/26] remove AliasCase, add test and fmt --- xcm/xcm-builder/src/lib.rs | 2 +- xcm/xcm-builder/src/origin_aliases.rs | 11 -------- xcm/xcm-builder/src/tests/aliases.rs | 36 ++++++++++++++++----------- xcm/xcm-builder/src/tests/mock.rs | 19 +++----------- 4 files changed, 26 insertions(+), 42 deletions(-) diff --git a/xcm/xcm-builder/src/lib.rs b/xcm/xcm-builder/src/lib.rs index ab4295e7ff4b..bdaa45393add 100644 --- a/xcm/xcm-builder/src/lib.rs +++ b/xcm/xcm-builder/src/lib.rs @@ -93,4 +93,4 @@ pub use universal_exports::{ }; mod origin_aliases; -pub use origin_aliases::{AliasCase, AliasForeignAccountId32}; +pub use origin_aliases::AliasForeignAccountId32; diff --git a/xcm/xcm-builder/src/origin_aliases.rs b/xcm/xcm-builder/src/origin_aliases.rs index 5f4dbbbba6cd..6e6db24ce84c 100644 --- a/xcm/xcm-builder/src/origin_aliases.rs +++ b/xcm/xcm-builder/src/origin_aliases.rs @@ -18,17 +18,6 @@ use frame_support::traits::{Contains, ContainsPair}; use sp_std::marker::PhantomData; use xcm::latest::prelude::*; -pub struct AliasCase(PhantomData<(Origin, Target)>); -impl ContainsPair for AliasCase -where - Origin: Contains, - Target: Contains, -{ - fn contains(origin: &MultiLocation, target: &MultiLocation) -> bool { - Origin::contains(origin) && Target::contains(target) - } -} - pub struct AliasForeignAccountId32(PhantomData); impl> ContainsPair for AliasForeignAccountId32 diff --git a/xcm/xcm-builder/src/tests/aliases.rs b/xcm/xcm-builder/src/tests/aliases.rs index d9b82a311f06..f686926a2522 100644 --- a/xcm/xcm-builder/src/tests/aliases.rs +++ b/xcm/xcm-builder/src/tests/aliases.rs @@ -59,21 +59,27 @@ fn alias_foreign_account_parent_prefix() { } #[test] -fn alias_case_should_work() { - // Wrong Origin - assert!(!AliasCase::::contains( - &(Parent, Parachain(2)).into(), - &(Plurality { id: BodyId::Treasury, part: BodyPart::Voice }).into() - )); +fn alias_origin_should_work() { + AllowUnpaidFrom::set(vec![ + (Parent, Parachain(1), AccountId32 { network: None, id: [0; 32] }).into(), + (Parachain(1), AccountId32 { network: None, id: [0; 32] }).into(), + ]); - // Wrong BodyId - assert!(!AliasCase::::contains( - &(Parent, Parachain(1)).into(), - &(Plurality { id: BodyId::Administration, part: BodyPart::Voice }).into() - )); + let message = Xcm(vec![AliasOrigin((AccountId32 { network: None, id: [0; 32] }).into())]); + let hash = fake_message_hash(&message); + let r = XcmExecutor::::execute_xcm( + (Parachain(1), AccountId32 { network: None, id: [0; 32] }), + message.clone(), + hash, + Weight::from_parts(50, 50), + ); + assert_eq!(r, Outcome::Incomplete(Weight::from_parts(10, 10), XcmError::NoPermission)); - assert!(AliasCase::::contains( - &(Parent, Parachain(1)).into(), - &(Plurality { id: BodyId::Treasury, part: BodyPart::Voice }).into() - )); + let r = XcmExecutor::::execute_xcm( + (Parent, Parachain(1), AccountId32 { network: None, id: [0; 32] }), + message.clone(), + hash, + Weight::from_parts(50, 50), + ); + assert_eq!(r, Outcome::Complete(Weight::from_parts(10, 10))); } diff --git a/xcm/xcm-builder/src/tests/mock.rs b/xcm/xcm-builder/src/tests/mock.rs index aeaa20ffeb8a..c25ec6843255 100644 --- a/xcm/xcm-builder/src/tests/mock.rs +++ b/xcm/xcm-builder/src/tests/mock.rs @@ -19,8 +19,9 @@ use crate::{ test_utils::*, }; pub use crate::{ - AllowExplicitUnpaidExecutionFrom, AllowKnownQueryResponses, AllowTopLevelPaidExecutionFrom, - AllowUnpaidExecutionFrom, FixedRateOfFungible, FixedWeightBounds, TakeWeightCredit, + AliasForeignAccountId32, AllowExplicitUnpaidExecutionFrom, AllowKnownQueryResponses, + AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, FixedRateOfFungible, + FixedWeightBounds, TakeWeightCredit, }; use frame_support::traits::{ContainsPair, Everything}; pub use frame_support::{ @@ -652,20 +653,8 @@ match_types! { pub type ParentPrefix: impl Contains = { MultiLocation { parents: 1, interior: Here } }; - pub type IsNativeAccountId32: impl Contains = { - MultiLocation { parents: 0, interior: X1(AccountId32 { .. }) } - }; - pub type SpecificParachain: impl Contains = { - MultiLocation {parents: 1, interior: X1(Parachain(1))} - }; - - pub type SpecificPlurality: impl Contains = { - MultiLocation {parents: 0, interior: X1(Plurality{id: BodyId::Treasury, part: BodyPart::Voice})} - }; } -pub type TestAliases = (); - pub struct TestConfig; impl Config for TestConfig { type RuntimeCall = TestCall; @@ -691,7 +680,7 @@ impl Config for TestConfig { type MessageExporter = TestMessageExporter; type CallDispatcher = TestCall; type SafeCallFilter = Everything; - type Aliasers = TestAliases; + type Aliasers = AliasForeignAccountId32; } pub fn fungible_multi_asset(location: MultiLocation, amount: u128) -> MultiAsset { From a325ee916be29ee2fb82a91b7690644770ca2e00 Mon Sep 17 00:00:00 2001 From: Just van Stam Date: Tue, 30 May 2023 12:40:01 +0200 Subject: [PATCH 16/26] address feedback --- Cargo.lock | 368 +++++++++++++------------- runtime/kusama/src/lib.rs | 2 +- runtime/rococo/src/lib.rs | 2 +- xcm/xcm-builder/src/origin_aliases.rs | 3 + 4 files changed, 189 insertions(+), 186 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4e37115acc04..ab516a30ed01 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -523,7 +523,7 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "hash-db", "log", @@ -2504,7 +2504,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "parity-scale-codec", ] @@ -2527,7 +2527,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-support", "frame-support-procedural", @@ -2552,7 +2552,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "Inflector", "array-bytes", @@ -2599,7 +2599,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2610,7 +2610,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2627,7 +2627,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-support", "frame-system", @@ -2656,7 +2656,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "async-recursion", "futures", @@ -2677,7 +2677,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "bitflags", "environmental", @@ -2711,7 +2711,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "Inflector", "cfg-expr", @@ -2727,7 +2727,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2739,7 +2739,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "proc-macro2", "quote", @@ -2749,7 +2749,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-executive", @@ -2775,7 +2775,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-support", "frame-system", @@ -2786,7 +2786,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "cfg-if", "frame-support", @@ -2805,7 +2805,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -2820,7 +2820,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "parity-scale-codec", "sp-api", @@ -2829,7 +2829,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-support", "parity-scale-codec", @@ -3011,7 +3011,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "chrono", "frame-election-provider-support", @@ -4931,7 +4931,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "futures", "log", @@ -4950,7 +4950,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "anyhow", "jsonrpsee", @@ -5533,7 +5533,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -5548,7 +5548,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-support", "frame-system", @@ -5564,7 +5564,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-support", "frame-system", @@ -5578,7 +5578,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -5602,7 +5602,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5622,7 +5622,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-election-provider-support", "frame-remote-externalities", @@ -5641,7 +5641,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -5656,7 +5656,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-support", "frame-system", @@ -5675,7 +5675,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "array-bytes", "binary-merkle-tree", @@ -5699,7 +5699,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -5717,7 +5717,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -5736,7 +5736,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -5753,7 +5753,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5770,7 +5770,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -5788,7 +5788,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5811,7 +5811,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5824,7 +5824,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -5842,7 +5842,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5860,7 +5860,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -5883,7 +5883,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5899,7 +5899,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -5919,7 +5919,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -5936,7 +5936,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -5953,7 +5953,7 @@ dependencies = [ [[package]] name = "pallet-message-queue" version = "7.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -5972,7 +5972,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -5989,7 +5989,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -6005,7 +6005,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -6021,7 +6021,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-support", "frame-system", @@ -6038,7 +6038,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6058,7 +6058,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -6069,7 +6069,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-support", "frame-system", @@ -6086,7 +6086,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6110,7 +6110,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -6127,7 +6127,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -6142,7 +6142,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -6160,7 +6160,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -6175,7 +6175,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "assert_matches", "frame-benchmarking", @@ -6194,7 +6194,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -6211,7 +6211,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-support", "frame-system", @@ -6232,7 +6232,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -6248,7 +6248,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-support", "frame-system", @@ -6262,7 +6262,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6285,7 +6285,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -6296,7 +6296,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "log", "sp-arithmetic", @@ -6305,7 +6305,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "parity-scale-codec", "sp-api", @@ -6314,7 +6314,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -6331,7 +6331,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -6346,7 +6346,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -6364,7 +6364,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -6383,7 +6383,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-support", "frame-system", @@ -6399,7 +6399,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -6415,7 +6415,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -6427,7 +6427,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -6444,7 +6444,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -6459,7 +6459,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -6475,7 +6475,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -6490,7 +6490,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-benchmarking", "frame-support", @@ -9583,7 +9583,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "log", "sp-core", @@ -9594,7 +9594,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "async-trait", "futures", @@ -9623,7 +9623,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "futures", "futures-timer", @@ -9646,7 +9646,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -9661,7 +9661,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -9680,7 +9680,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9691,7 +9691,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "array-bytes", "chrono", @@ -9731,7 +9731,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "fnv", "futures", @@ -9758,7 +9758,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "hash-db", "kvdb", @@ -9784,7 +9784,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "async-trait", "futures", @@ -9809,7 +9809,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "async-trait", "fork-tree", @@ -9845,7 +9845,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "futures", "jsonrpsee", @@ -9867,7 +9867,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "array-bytes", "async-channel", @@ -9903,7 +9903,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "futures", "jsonrpsee", @@ -9922,7 +9922,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "fork-tree", "parity-scale-codec", @@ -9935,7 +9935,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "ahash 0.8.2", "array-bytes", @@ -9975,7 +9975,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "finality-grandpa", "futures", @@ -9995,7 +9995,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "async-trait", "futures", @@ -10018,7 +10018,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "lru 0.8.1", "parity-scale-codec", @@ -10040,7 +10040,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -10052,7 +10052,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "anyhow", "cfg-if", @@ -10070,7 +10070,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "ansi_term", "futures", @@ -10086,7 +10086,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "array-bytes", "parking_lot 0.12.1", @@ -10100,7 +10100,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "array-bytes", "async-channel", @@ -10145,7 +10145,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "async-channel", "cid", @@ -10166,7 +10166,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "array-bytes", "async-trait", @@ -10194,7 +10194,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "ahash 0.8.2", "futures", @@ -10213,7 +10213,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "array-bytes", "async-channel", @@ -10236,7 +10236,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "array-bytes", "async-channel", @@ -10271,7 +10271,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "array-bytes", "futures", @@ -10291,7 +10291,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "array-bytes", "bytes", @@ -10322,7 +10322,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "futures", "libp2p-identity", @@ -10338,7 +10338,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -10347,7 +10347,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "futures", "jsonrpsee", @@ -10378,7 +10378,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -10397,7 +10397,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "http", "jsonrpsee", @@ -10412,7 +10412,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "array-bytes", "futures", @@ -10438,7 +10438,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "async-trait", "directories", @@ -10504,7 +10504,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "log", "parity-scale-codec", @@ -10515,7 +10515,7 @@ dependencies = [ [[package]] name = "sc-storage-monitor" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "clap 4.2.5", "fs4", @@ -10531,7 +10531,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -10550,7 +10550,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "futures", "libc", @@ -10569,7 +10569,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "chrono", "futures", @@ -10588,7 +10588,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "ansi_term", "atty", @@ -10619,7 +10619,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10630,7 +10630,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "async-trait", "futures", @@ -10657,7 +10657,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "async-trait", "futures", @@ -10671,7 +10671,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "async-channel", "futures", @@ -11219,7 +11219,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "hash-db", "log", @@ -11239,7 +11239,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "Inflector", "blake2", @@ -11253,7 +11253,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "parity-scale-codec", "scale-info", @@ -11266,7 +11266,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "integer-sqrt", "num-traits", @@ -11280,7 +11280,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "parity-scale-codec", "scale-info", @@ -11293,7 +11293,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "parity-scale-codec", "sp-api", @@ -11305,7 +11305,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "futures", "log", @@ -11323,7 +11323,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "async-trait", "futures", @@ -11338,7 +11338,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "async-trait", "parity-scale-codec", @@ -11356,7 +11356,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "async-trait", "parity-scale-codec", @@ -11377,7 +11377,7 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "lazy_static", "parity-scale-codec", @@ -11396,7 +11396,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "finality-grandpa", "log", @@ -11414,7 +11414,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "parity-scale-codec", "scale-info", @@ -11426,7 +11426,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "array-bytes", "bitflags", @@ -11470,7 +11470,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "blake2b_simd", "byteorder", @@ -11484,7 +11484,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "proc-macro2", "quote", @@ -11495,7 +11495,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -11504,7 +11504,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "proc-macro2", "quote", @@ -11514,7 +11514,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "environmental", "parity-scale-codec", @@ -11525,7 +11525,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -11540,7 +11540,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "bytes", "ed25519", @@ -11566,7 +11566,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "lazy_static", "sp-core", @@ -11577,7 +11577,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "futures", "parity-scale-codec", @@ -11591,7 +11591,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "thiserror", "zstd 0.12.3+zstd.1.5.2", @@ -11600,7 +11600,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -11611,7 +11611,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -11629,7 +11629,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "parity-scale-codec", "scale-info", @@ -11643,7 +11643,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "sp-api", "sp-core", @@ -11653,7 +11653,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "backtrace", "lazy_static", @@ -11663,7 +11663,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "rustc-hash", "serde", @@ -11673,7 +11673,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "either", "hash256-std-hasher", @@ -11695,7 +11695,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -11713,7 +11713,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "Inflector", "proc-macro-crate", @@ -11725,7 +11725,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "parity-scale-codec", "scale-info", @@ -11739,7 +11739,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "parity-scale-codec", "scale-info", @@ -11752,7 +11752,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "hash-db", "log", @@ -11772,7 +11772,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "log", "parity-scale-codec", @@ -11790,12 +11790,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "impl-serde", "parity-scale-codec", @@ -11808,7 +11808,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "async-trait", "futures-timer", @@ -11823,7 +11823,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "parity-scale-codec", "sp-std", @@ -11835,7 +11835,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "sp-api", "sp-runtime", @@ -11844,7 +11844,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "async-trait", "log", @@ -11860,7 +11860,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "ahash 0.8.2", "hash-db", @@ -11883,7 +11883,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "impl-serde", "parity-scale-codec", @@ -11900,7 +11900,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -11911,7 +11911,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -11925,7 +11925,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "parity-scale-codec", "scale-info", @@ -12166,7 +12166,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "platforms 2.0.0", ] @@ -12174,7 +12174,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -12193,7 +12193,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "hyper", "log", @@ -12205,7 +12205,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "async-trait", "jsonrpsee", @@ -12218,7 +12218,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "jsonrpsee", "log", @@ -12237,7 +12237,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "array-bytes", "async-trait", @@ -12263,7 +12263,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "futures", "substrate-test-utils-derive", @@ -12273,7 +12273,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -12284,7 +12284,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "ansi_term", "build-helper", @@ -13128,7 +13128,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#79d37ef461a4bdcf6ede7b37d64b28b58484dc7c" +source = "git+https://github.com/paritytech/substrate?branch=master#3c8666b1906680ad9461a6c46fe17439629ab082" dependencies = [ "async-trait", "clap 4.2.5", diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 702036a73aeb..aebc53fbec10 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -2204,7 +2204,7 @@ sp_api::impl_runtime_apis! { } fn alias_origin() -> Result<(MultiLocation, MultiLocation), BenchmarkError> { - // The XCM executor of Westend doesn't have a configured `Aliasers` + // The XCM executor of Kusama doesn't have a configured `Aliasers` Err(BenchmarkError::Skip) } } diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 6af3a1e0639a..fed6a886ac12 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -2269,7 +2269,7 @@ sp_api::impl_runtime_apis! { } fn alias_origin() -> Result<(MultiLocation, MultiLocation), BenchmarkError> { - // The XCM executor of Westend doesn't have a configured `Aliasers` + // The XCM executor of Rococo doesn't have a configured `Aliasers` Err(BenchmarkError::Skip) } } diff --git a/xcm/xcm-builder/src/origin_aliases.rs b/xcm/xcm-builder/src/origin_aliases.rs index 6e6db24ce84c..81fb596e6cf7 100644 --- a/xcm/xcm-builder/src/origin_aliases.rs +++ b/xcm/xcm-builder/src/origin_aliases.rs @@ -14,10 +14,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . +//! Implementation for ContainsPair. + use frame_support::traits::{Contains, ContainsPair}; use sp_std::marker::PhantomData; use xcm::latest::prelude::*; +/// Alias a Foreign AccountId32 with a sovereign AccountId32 if the Foreign AccountId32 matches the `Prefix` pattern. pub struct AliasForeignAccountId32(PhantomData); impl> ContainsPair for AliasForeignAccountId32 From e2c2da239ecd8c1f8fea6fafc192a6b75cce5514 Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Wed, 31 May 2023 11:30:59 +0000 Subject: [PATCH 17/26] ".git/.scripts/commands/bench/bench.sh" xcm kusama pallet_xcm_benchmarks::generic --- .../xcm/pallet_xcm_benchmarks_generic.rs | 161 ++++++++++++------ 1 file changed, 110 insertions(+), 51 deletions(-) diff --git a/runtime/kusama/src/weights/xcm/pallet_xcm_benchmarks_generic.rs b/runtime/kusama/src/weights/xcm/pallet_xcm_benchmarks_generic.rs index 4bc4c74af59a..10fb0eac707f 100644 --- a/runtime/kusama/src/weights/xcm/pallet_xcm_benchmarks_generic.rs +++ b/runtime/kusama/src/weights/xcm/pallet_xcm_benchmarks_generic.rs @@ -17,24 +17,25 @@ //! Autogenerated weights for `pallet_xcm_benchmarks::generic` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-04-18, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-31, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: // target/production/polkadot // benchmark // pallet -// --chain=kusama-dev // --steps=50 // --repeat=20 -// --pallet=pallet_xcm_benchmarks::generic // --extrinsic=* // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 +// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json +// --pallet=pallet_xcm_benchmarks::generic +// --chain=kusama-dev // --header=./file_header.txt // --template=./xcm/pallet-xcm-benchmarks/template.hbs -// --output=./runtime/kusama/src/weights/xcm/pallet_xcm_benchmarks_generic.rs +// --output=./runtime/kusama/src/weights/xcm/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -46,141 +47,199 @@ use sp_std::marker::PhantomData; /// Weights for `pallet_xcm_benchmarks::generic`. pub struct WeightInfo(PhantomData); impl WeightInfo { + // Storage: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Proof Skipped: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Storage: Dmp DeliveryFeeFactor (r:1 w:0) + // Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet SupportedVersion (r:1 w:0) + // Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) // Storage: XcmPallet SafeXcmVersion (r:1 w:0) - // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) + // Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) // Storage: Dmp DownwardMessageQueues (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) + // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) pub(crate) fn report_holding() -> Weight { - Weight::from_parts(25_878_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + Weight::from_ref_time(32_612_000 as u64) + .saturating_add(T::DbWeight::get().reads(7 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) } pub(crate) fn buy_execution() -> Weight { - Weight::from_parts(3_697_000 as u64, 0) + Weight::from_ref_time(2_806_000 as u64) } // Storage: XcmPallet Queries (r:1 w:0) + // Proof Skipped: XcmPallet Queries (max_values: None, max_size: None, mode: Measured) pub(crate) fn query_response() -> Weight { - Weight::from_parts(13_458_000 as u64, 0) + Weight::from_ref_time(11_074_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) } pub(crate) fn transact() -> Weight { - Weight::from_parts(13_597_000 as u64, 0) + Weight::from_ref_time(12_264_000 as u64) } pub(crate) fn refund_surplus() -> Weight { - Weight::from_parts(3_839_000 as u64, 0) + Weight::from_ref_time(2_863_000 as u64) } pub(crate) fn set_error_handler() -> Weight { - Weight::from_parts(3_657_000 as u64, 0) + Weight::from_ref_time(2_687_000 as u64) } pub(crate) fn set_appendix() -> Weight { - Weight::from_parts(3_757_000 as u64, 0) + Weight::from_ref_time(2_620_000 as u64) } pub(crate) fn clear_error() -> Weight { - Weight::from_parts(3_651_000 as u64, 0) + Weight::from_ref_time(2_636_000 as u64) } pub(crate) fn descend_origin() -> Weight { - Weight::from_parts(4_589_000 as u64, 0) + Weight::from_ref_time(3_490_000 as u64) } pub(crate) fn clear_origin() -> Weight { - Weight::from_parts(3_661_000 as u64, 0) + Weight::from_ref_time(2_604_000 as u64) } + // Storage: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Proof Skipped: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Storage: Dmp DeliveryFeeFactor (r:1 w:0) + // Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet SupportedVersion (r:1 w:0) + // Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) // Storage: XcmPallet SafeXcmVersion (r:1 w:0) - // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) + // Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) // Storage: Dmp DownwardMessageQueues (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) + // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) pub(crate) fn report_error() -> Weight { - Weight::from_parts(21_351_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + Weight::from_ref_time(27_643_000 as u64) + .saturating_add(T::DbWeight::get().reads(7 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: XcmPallet AssetTraps (r:1 w:1) + // Proof Skipped: XcmPallet AssetTraps (max_values: None, max_size: None, mode: Measured) pub(crate) fn claim_asset() -> Weight { - Weight::from_parts(7_674_000 as u64, 0) + Weight::from_ref_time(26_138_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } pub(crate) fn trap() -> Weight { - Weight::from_parts(3_606_000 as u64, 0) + Weight::from_ref_time(4_544_000 as u64) } // Storage: XcmPallet VersionNotifyTargets (r:1 w:1) + // Proof Skipped: XcmPallet VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + // Storage: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Proof Skipped: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Storage: Dmp DeliveryFeeFactor (r:1 w:0) + // Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet SupportedVersion (r:1 w:0) + // Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) // Storage: XcmPallet SafeXcmVersion (r:1 w:0) - // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) + // Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) // Storage: Dmp DownwardMessageQueues (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) + // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) pub(crate) fn subscribe_version() -> Weight { - Weight::from_parts(30_453_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + Weight::from_ref_time(61_712_000 as u64) + .saturating_add(T::DbWeight::get().reads(8 as u64)) + .saturating_add(T::DbWeight::get().writes(5 as u64)) } // Storage: XcmPallet VersionNotifyTargets (r:0 w:1) + // Proof Skipped: XcmPallet VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) pub(crate) fn unsubscribe_version() -> Weight { - Weight::from_parts(5_543_000 as u64, 0) + Weight::from_ref_time(8_716_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } + // Storage: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Proof Skipped: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Storage: Dmp DeliveryFeeFactor (r:1 w:0) + // Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet SupportedVersion (r:1 w:0) + // Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) // Storage: XcmPallet SafeXcmVersion (r:1 w:0) - // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) + // Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) // Storage: Dmp DownwardMessageQueues (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) + // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) pub(crate) fn initiate_reserve_withdraw() -> Weight { - Weight::from_parts(25_464_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + Weight::from_ref_time(32_027_000 as u64) + .saturating_add(T::DbWeight::get().reads(7 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) } pub(crate) fn burn_asset() -> Weight { - Weight::from_parts(5_194_000 as u64, 0) + Weight::from_ref_time(4_368_000 as u64) } pub(crate) fn expect_asset() -> Weight { - Weight::from_parts(3_698_000 as u64, 0) + Weight::from_ref_time(2_905_000 as u64) } pub(crate) fn expect_origin() -> Weight { - Weight::from_parts(3_786_000 as u64, 0) + Weight::from_ref_time(2_784_000 as u64) } pub(crate) fn expect_error() -> Weight { - Weight::from_parts(3_645_000 as u64, 0) + Weight::from_ref_time(4_252_000 as u64) } pub(crate) fn expect_transact_status() -> Weight { - Weight::from_parts(3_645_000 as u64, 0) + Weight::from_ref_time(2_846_000 as u64) } + // Storage: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Proof Skipped: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Storage: Dmp DeliveryFeeFactor (r:1 w:0) + // Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet SupportedVersion (r:1 w:0) + // Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) // Storage: XcmPallet SafeXcmVersion (r:1 w:0) - // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) + // Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) // Storage: Dmp DownwardMessageQueues (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) + // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) pub(crate) fn query_pallet() -> Weight { - Weight::from_parts(22_993_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + Weight::from_ref_time(34_727_000 as u64) + .saturating_add(T::DbWeight::get().reads(7 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) } pub(crate) fn expect_pallet() -> Weight { - Weight::from_parts(4_043_000 as u64, 0) + Weight::from_ref_time(8_310_000 as u64) } + // Storage: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Proof Skipped: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Storage: Dmp DeliveryFeeFactor (r:1 w:0) + // Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet SupportedVersion (r:1 w:0) + // Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) // Storage: XcmPallet SafeXcmVersion (r:1 w:0) - // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) + // Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) // Storage: Dmp DownwardMessageQueues (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) + // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) pub(crate) fn report_transact_status() -> Weight { - Weight::from_parts(21_668_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + Weight::from_ref_time(27_834_000 as u64) + .saturating_add(T::DbWeight::get().reads(7 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) } pub(crate) fn clear_transact_status() -> Weight { - Weight::from_parts(3_673_000 as u64, 0) + Weight::from_ref_time(2_721_000 as u64) } pub(crate) fn set_topic() -> Weight { - Weight::from_parts(3_661_000 as u64, 0) + Weight::from_ref_time(2_633_000 as u64) } pub(crate) fn clear_topic() -> Weight { - Weight::from_parts(3_647_000 as u64, 0) + Weight::from_ref_time(2_652_000 as u64) } pub(crate) fn set_fees_mode() -> Weight { - Weight::from_parts(3_599_000 as u64, 0) + Weight::from_ref_time(2_656_000 as u64) } pub(crate) fn unpaid_execution() -> Weight { - Weight::from_parts(3_111_000 as u64, 0) + Weight::from_ref_time(2_834_000 as u64) } } From 0f9bba56a34e030f718d15fecfd9cd332db5d74d Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Wed, 31 May 2023 12:12:11 +0000 Subject: [PATCH 18/26] ".git/.scripts/commands/bench/bench.sh" xcm westend pallet_xcm_benchmarks::generic --- .../xcm/pallet_xcm_benchmarks_generic.rs | 144 ++++++++++++------ 1 file changed, 101 insertions(+), 43 deletions(-) diff --git a/runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_generic.rs b/runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_generic.rs index a2e599d6b888..6083fe46421f 100644 --- a/runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_generic.rs +++ b/runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_generic.rs @@ -17,11 +17,11 @@ //! Autogenerated weights for `pallet_xcm_benchmarks::generic` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-12-12, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-31, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: -// /home/benchbot/cargo_target_dir/production/polkadot +// target/production/polkadot // benchmark // pallet // --steps=50 @@ -47,141 +47,199 @@ use sp_std::marker::PhantomData; /// Weights for `pallet_xcm_benchmarks::generic`. pub struct WeightInfo(PhantomData); impl WeightInfo { + // Storage: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Proof Skipped: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Storage: Dmp DeliveryFeeFactor (r:1 w:0) + // Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet SupportedVersion (r:1 w:0) + // Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) // Storage: XcmPallet SafeXcmVersion (r:1 w:0) + // Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) // Storage: Dmp DownwardMessageQueues (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) pub(crate) fn report_holding() -> Weight { - Weight::from_parts(34_089_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + Weight::from_ref_time(30_948_000 as u64) + .saturating_add(T::DbWeight::get().reads(7 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) } pub(crate) fn buy_execution() -> Weight { - Weight::from_parts(5_751_000 as u64, 0) + Weight::from_ref_time(2_921_000 as u64) } // Storage: XcmPallet Queries (r:1 w:0) + // Proof Skipped: XcmPallet Queries (max_values: None, max_size: None, mode: Measured) pub(crate) fn query_response() -> Weight { - Weight::from_parts(17_938_000 as u64, 0) + Weight::from_ref_time(10_914_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) } pub(crate) fn transact() -> Weight { - Weight::from_parts(20_699_000 as u64, 0) + Weight::from_ref_time(12_277_000 as u64) } pub(crate) fn refund_surplus() -> Weight { - Weight::from_parts(6_077_000 as u64, 0) + Weight::from_ref_time(3_063_000 as u64) } pub(crate) fn set_error_handler() -> Weight { - Weight::from_parts(5_747_000 as u64, 0) + Weight::from_ref_time(2_762_000 as u64) } pub(crate) fn set_appendix() -> Weight { - Weight::from_parts(5_837_000 as u64, 0) + Weight::from_ref_time(2_787_000 as u64) } pub(crate) fn clear_error() -> Weight { - Weight::from_parts(5_712_000 as u64, 0) + Weight::from_ref_time(2_720_000 as u64) } pub(crate) fn descend_origin() -> Weight { - Weight::from_parts(6_471_000 as u64, 0) + Weight::from_ref_time(3_627_000 as u64) } pub(crate) fn clear_origin() -> Weight { - Weight::from_parts(5_725_000 as u64, 0) + Weight::from_ref_time(2_754_000 as u64) } + // Storage: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Proof Skipped: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Storage: Dmp DeliveryFeeFactor (r:1 w:0) + // Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet SupportedVersion (r:1 w:0) + // Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) // Storage: XcmPallet SafeXcmVersion (r:1 w:0) + // Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) // Storage: Dmp DownwardMessageQueues (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) pub(crate) fn report_error() -> Weight { - Weight::from_parts(29_975_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + Weight::from_ref_time(26_021_000 as u64) + .saturating_add(T::DbWeight::get().reads(7 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: XcmPallet AssetTraps (r:1 w:1) + // Proof Skipped: XcmPallet AssetTraps (max_values: None, max_size: None, mode: Measured) pub(crate) fn claim_asset() -> Weight { - Weight::from_parts(21_598_000 as u64, 0) + Weight::from_ref_time(15_118_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } pub(crate) fn trap() -> Weight { - Weight::from_parts(5_665_000 as u64, 0) + Weight::from_ref_time(2_748_000 as u64) } // Storage: XcmPallet VersionNotifyTargets (r:1 w:1) + // Proof Skipped: XcmPallet VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + // Storage: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Proof Skipped: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Storage: Dmp DeliveryFeeFactor (r:1 w:0) + // Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet SupportedVersion (r:1 w:0) + // Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) // Storage: XcmPallet SafeXcmVersion (r:1 w:0) + // Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) // Storage: Dmp DownwardMessageQueues (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) pub(crate) fn subscribe_version() -> Weight { - Weight::from_parts(38_343_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + Weight::from_ref_time(32_626_000 as u64) + .saturating_add(T::DbWeight::get().reads(8 as u64)) + .saturating_add(T::DbWeight::get().writes(5 as u64)) } // Storage: XcmPallet VersionNotifyTargets (r:0 w:1) + // Proof Skipped: XcmPallet VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) pub(crate) fn unsubscribe_version() -> Weight { - Weight::from_parts(8_353_000 as u64, 0) + Weight::from_ref_time(5_212_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } + // Storage: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Proof Skipped: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Storage: Dmp DeliveryFeeFactor (r:1 w:0) + // Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet SupportedVersion (r:1 w:0) + // Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) // Storage: XcmPallet SafeXcmVersion (r:1 w:0) + // Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) // Storage: Dmp DownwardMessageQueues (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) pub(crate) fn initiate_reserve_withdraw() -> Weight { - Weight::from_parts(33_100_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + Weight::from_ref_time(29_915_000 as u64) + .saturating_add(T::DbWeight::get().reads(7 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) } pub(crate) fn burn_asset() -> Weight { - Weight::from_parts(7_259_000 as u64, 0) + Weight::from_ref_time(4_344_000 as u64) } pub(crate) fn expect_asset() -> Weight { - Weight::from_parts(5_848_000 as u64, 0) + Weight::from_ref_time(2_921_000 as u64) } pub(crate) fn expect_origin() -> Weight { - Weight::from_parts(5_787_000 as u64, 0) + Weight::from_ref_time(2_836_000 as u64) } pub(crate) fn expect_error() -> Weight { - Weight::from_parts(5_775_000 as u64, 0) + Weight::from_ref_time(2_741_000 as u64) } pub(crate) fn expect_transact_status() -> Weight { - Weight::from_parts(5_775_000 as u64, 0) + Weight::from_ref_time(2_959_000 as u64) } + // Storage: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Proof Skipped: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Storage: Dmp DeliveryFeeFactor (r:1 w:0) + // Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet SupportedVersion (r:1 w:0) + // Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) // Storage: XcmPallet SafeXcmVersion (r:1 w:0) + // Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) // Storage: Dmp DownwardMessageQueues (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) pub(crate) fn query_pallet() -> Weight { - Weight::from_parts(34_846_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + Weight::from_ref_time(32_245_000 as u64) + .saturating_add(T::DbWeight::get().reads(7 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) } pub(crate) fn expect_pallet() -> Weight { - Weight::from_parts(8_844_000 as u64, 0) + Weight::from_ref_time(7_399_000 as u64) } + // Storage: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Proof Skipped: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Storage: Dmp DeliveryFeeFactor (r:1 w:0) + // Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet SupportedVersion (r:1 w:0) + // Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) // Storage: XcmPallet SafeXcmVersion (r:1 w:0) + // Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) // Storage: Dmp DownwardMessageQueues (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) pub(crate) fn report_transact_status() -> Weight { - Weight::from_parts(50_256_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + Weight::from_ref_time(26_203_000 as u64) + .saturating_add(T::DbWeight::get().reads(7 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) } pub(crate) fn clear_transact_status() -> Weight { - Weight::from_parts(9_959_000 as u64, 0) + Weight::from_ref_time(2_800_000 as u64) } pub(crate) fn set_topic() -> Weight { - Weight::from_parts(10_007_000 as u64, 0) + Weight::from_ref_time(2_752_000 as u64) } pub(crate) fn clear_topic() -> Weight { - Weight::from_parts(8_289_000 as u64, 0) + Weight::from_ref_time(2_750_000 as u64) } pub(crate) fn set_fees_mode() -> Weight { - Weight::from_parts(5_764_000 as u64, 0) + Weight::from_ref_time(2_713_000 as u64) } pub(crate) fn unpaid_execution() -> Weight { - Weight::from_parts(5_924_000 as u64, 0) + Weight::from_ref_time(4_542_000 as u64) } } From cb82d9ba0c61926c9342986ca2081e40431efaaa Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Wed, 31 May 2023 12:53:11 +0000 Subject: [PATCH 19/26] ".git/.scripts/commands/bench/bench.sh" xcm rococo pallet_xcm_benchmarks::generic --- .../xcm/pallet_xcm_benchmarks_generic.rs | 178 ++++++++++++------ 1 file changed, 123 insertions(+), 55 deletions(-) diff --git a/runtime/rococo/src/weights/xcm/pallet_xcm_benchmarks_generic.rs b/runtime/rococo/src/weights/xcm/pallet_xcm_benchmarks_generic.rs index d49345abf80f..f65b7efb08c1 100644 --- a/runtime/rococo/src/weights/xcm/pallet_xcm_benchmarks_generic.rs +++ b/runtime/rococo/src/weights/xcm/pallet_xcm_benchmarks_generic.rs @@ -17,23 +17,25 @@ //! Autogenerated weights for `pallet_xcm_benchmarks::generic` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-31, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: // target/production/polkadot // benchmark -// --chain=rococo-dev +// pallet // --steps=50 // --repeat=20 -// --pallet=pallet_xcm_benchmarks::generic // --extrinsic=* // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 +// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json +// --pallet=pallet_xcm_benchmarks::generic +// --chain=rococo-dev // --header=./file_header.txt // --template=./xcm/pallet-xcm-benchmarks/template.hbs -// --output=./runtime/rococo/src/weights/xcm/pallet_xcm_benchmarks_generic.rs +// --output=./runtime/rococo/src/weights/xcm/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -45,145 +47,211 @@ use sp_std::marker::PhantomData; /// Weights for `pallet_xcm_benchmarks::generic`. pub struct WeightInfo(PhantomData); impl WeightInfo { + // Storage: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Proof Skipped: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Storage: Configuration ActiveConfig (r:1 w:0) + // Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured) + // Storage: Dmp DeliveryFeeFactor (r:1 w:0) + // Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet SupportedVersion (r:1 w:0) + // Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) // Storage: XcmPallet SafeXcmVersion (r:1 w:0) - // Storage: Configuration ActiveConfig (r:1 w:0) - // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) + // Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) // Storage: Dmp DownwardMessageQueues (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) + // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) pub(crate) fn report_holding() -> Weight { - Weight::from_parts(21_822_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + Weight::from_ref_time(36_377_000 as u64) + .saturating_add(T::DbWeight::get().reads(8 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) } pub(crate) fn buy_execution() -> Weight { - Weight::from_parts(3_109_000 as u64, 0) + Weight::from_ref_time(2_725_000 as u64) } // Storage: XcmPallet Queries (r:1 w:0) + // Proof Skipped: XcmPallet Queries (max_values: None, max_size: None, mode: Measured) pub(crate) fn query_response() -> Weight { - Weight::from_parts(12_087_000 as u64, 0) + Weight::from_ref_time(11_588_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) } pub(crate) fn transact() -> Weight { - Weight::from_parts(12_398_000 as u64, 0) + Weight::from_ref_time(12_037_000 as u64) } pub(crate) fn refund_surplus() -> Weight { - Weight::from_parts(3_247_000 as u64, 0) + Weight::from_ref_time(2_873_000 as u64) } pub(crate) fn set_error_handler() -> Weight { - Weight::from_parts(3_086_000 as u64, 0) + Weight::from_ref_time(2_578_000 as u64) } pub(crate) fn set_appendix() -> Weight { - Weight::from_parts(3_112_000 as u64, 0) + Weight::from_ref_time(2_553_000 as u64) } pub(crate) fn clear_error() -> Weight { - Weight::from_parts(3_118_000 as u64, 0) + Weight::from_ref_time(2_552_000 as u64) } pub(crate) fn descend_origin() -> Weight { - Weight::from_parts(4_054_000 as u64, 0) + Weight::from_ref_time(3_354_000 as u64) } pub(crate) fn clear_origin() -> Weight { - Weight::from_parts(3_111_000 as u64, 0) + Weight::from_ref_time(2_512_000 as u64) } + // Storage: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Proof Skipped: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Storage: Configuration ActiveConfig (r:1 w:0) + // Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured) + // Storage: Dmp DeliveryFeeFactor (r:1 w:0) + // Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet SupportedVersion (r:1 w:0) + // Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) // Storage: XcmPallet SafeXcmVersion (r:1 w:0) - // Storage: Configuration ActiveConfig (r:1 w:0) - // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) + // Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) // Storage: Dmp DownwardMessageQueues (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) + // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) pub(crate) fn report_error() -> Weight { - Weight::from_parts(18_425_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + Weight::from_ref_time(31_328_000 as u64) + .saturating_add(T::DbWeight::get().reads(8 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: XcmPallet AssetTraps (r:1 w:1) + // Proof Skipped: XcmPallet AssetTraps (max_values: None, max_size: None, mode: Measured) pub(crate) fn claim_asset() -> Weight { - Weight::from_parts(7_144_000 as u64, 0) + Weight::from_ref_time(15_865_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } pub(crate) fn trap() -> Weight { - Weight::from_parts(3_060_000 as u64, 0) + Weight::from_ref_time(2_565_000 as u64) } // Storage: XcmPallet VersionNotifyTargets (r:1 w:1) + // Proof Skipped: XcmPallet VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + // Storage: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Proof Skipped: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Storage: Configuration ActiveConfig (r:1 w:0) + // Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured) + // Storage: Dmp DeliveryFeeFactor (r:1 w:0) + // Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet SupportedVersion (r:1 w:0) + // Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) // Storage: XcmPallet SafeXcmVersion (r:1 w:0) - // Storage: Configuration ActiveConfig (r:1 w:0) - // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) + // Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) // Storage: Dmp DownwardMessageQueues (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) + // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) pub(crate) fn subscribe_version() -> Weight { - Weight::from_parts(21_642_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + Weight::from_ref_time(38_991_000 as u64) + .saturating_add(T::DbWeight::get().reads(9 as u64)) + .saturating_add(T::DbWeight::get().writes(5 as u64)) } // Storage: XcmPallet VersionNotifyTargets (r:0 w:1) + // Proof Skipped: XcmPallet VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) pub(crate) fn unsubscribe_version() -> Weight { - Weight::from_parts(4_873_000 as u64, 0) + Weight::from_ref_time(5_020_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } + // Storage: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Proof Skipped: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Storage: Configuration ActiveConfig (r:1 w:0) + // Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured) + // Storage: Dmp DeliveryFeeFactor (r:1 w:0) + // Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet SupportedVersion (r:1 w:0) + // Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) // Storage: XcmPallet SafeXcmVersion (r:1 w:0) - // Storage: Configuration ActiveConfig (r:1 w:0) - // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) + // Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) // Storage: Dmp DownwardMessageQueues (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) + // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) pub(crate) fn initiate_reserve_withdraw() -> Weight { - Weight::from_parts(22_809_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + Weight::from_ref_time(34_833_000 as u64) + .saturating_add(T::DbWeight::get().reads(8 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) } pub(crate) fn burn_asset() -> Weight { - Weight::from_parts(5_259_000 as u64, 0) + Weight::from_ref_time(4_058_000 as u64) } pub(crate) fn expect_asset() -> Weight { - Weight::from_parts(3_745_000 as u64, 0) + Weight::from_ref_time(2_689_000 as u64) } pub(crate) fn expect_origin() -> Weight { - Weight::from_parts(3_847_000 as u64, 0) + Weight::from_ref_time(2_608_000 as u64) } pub(crate) fn expect_error() -> Weight { - Weight::from_parts(3_633_000 as u64, 0) + Weight::from_ref_time(2_570_000 as u64) } pub(crate) fn expect_transact_status() -> Weight { - Weight::from_parts(3_633_000 as u64, 0) + Weight::from_ref_time(2_712_000 as u64) } + // Storage: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Proof Skipped: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Storage: Configuration ActiveConfig (r:1 w:0) + // Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured) + // Storage: Dmp DeliveryFeeFactor (r:1 w:0) + // Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet SupportedVersion (r:1 w:0) + // Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) // Storage: XcmPallet SafeXcmVersion (r:1 w:0) - // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) + // Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) // Storage: Dmp DownwardMessageQueues (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) + // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) pub(crate) fn query_pallet() -> Weight { - Weight::from_parts(21_645_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + Weight::from_ref_time(38_644_000 as u64) + .saturating_add(T::DbWeight::get().reads(8 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) } pub(crate) fn expect_pallet() -> Weight { - Weight::from_parts(4_017_000 as u64, 0) + Weight::from_ref_time(8_239_000 as u64) } + // Storage: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Proof Skipped: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) + // Storage: Configuration ActiveConfig (r:1 w:0) + // Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured) + // Storage: Dmp DeliveryFeeFactor (r:1 w:0) + // Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet SupportedVersion (r:1 w:0) + // Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) // Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) // Storage: XcmPallet SafeXcmVersion (r:1 w:0) - // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) + // Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) // Storage: Dmp DownwardMessageQueues (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) + // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) + // Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) pub(crate) fn report_transact_status() -> Weight { - Weight::from_parts(20_465_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + Weight::from_ref_time(31_838_000 as u64) + .saturating_add(T::DbWeight::get().reads(8 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) } pub(crate) fn clear_transact_status() -> Weight { - Weight::from_parts(3_723_000 as u64, 0) + Weight::from_ref_time(2_609_000 as u64) } pub(crate) fn set_topic() -> Weight { - Weight::from_parts(3_687_000 as u64, 0) + Weight::from_ref_time(2_597_000 as u64) } pub(crate) fn clear_topic() -> Weight { - Weight::from_parts(3_654_000 as u64, 0) + Weight::from_ref_time(2_521_000 as u64) } pub(crate) fn set_fees_mode() -> Weight { - Weight::from_parts(3_721_000 as u64, 0) + Weight::from_ref_time(2_577_000 as u64) } pub(crate) fn unpaid_execution() -> Weight { - Weight::from_parts(3_111_000 as u64, 0) + Weight::from_ref_time(2_744_000 as u64) } } From 26f2062527b5cd9ed0f086c5dada51d8d9f36128 Mon Sep 17 00:00:00 2001 From: Just van Stam Date: Thu, 1 Jun 2023 14:33:08 +0200 Subject: [PATCH 20/26] address feedback --- xcm/pallet-xcm-benchmarks/src/generic/benchmarking.rs | 2 +- xcm/xcm-builder/src/lib.rs | 2 +- xcm/xcm-builder/src/origin_aliases.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xcm/pallet-xcm-benchmarks/src/generic/benchmarking.rs b/xcm/pallet-xcm-benchmarks/src/generic/benchmarking.rs index b0027ff2d72c..fa062ce0f84d 100644 --- a/xcm/pallet-xcm-benchmarks/src/generic/benchmarking.rs +++ b/xcm/pallet-xcm-benchmarks/src/generic/benchmarking.rs @@ -634,7 +634,7 @@ benchmarks! { executor.bench_process(xcm)?; } - origin_alias { + alias_origin { let (origin, target) = T::alias_origin().map_err(|_| BenchmarkError::Skip)?; let mut executor = new_executor::(origin); diff --git a/xcm/xcm-builder/src/lib.rs b/xcm/xcm-builder/src/lib.rs index 45becbd0ba1a..41cb0a833195 100644 --- a/xcm/xcm-builder/src/lib.rs +++ b/xcm/xcm-builder/src/lib.rs @@ -101,4 +101,4 @@ mod origin_aliases; pub use origin_aliases::AliasForeignAccountId32; mod pay; -pub use pay::{FixedLocation, LocatableAssetId, PayAccountId32OnChainOverXcm, PayOverXcm}; \ No newline at end of file +pub use pay::{FixedLocation, LocatableAssetId, PayAccountId32OnChainOverXcm, PayOverXcm}; diff --git a/xcm/xcm-builder/src/origin_aliases.rs b/xcm/xcm-builder/src/origin_aliases.rs index 81fb596e6cf7..74766e190832 100644 --- a/xcm/xcm-builder/src/origin_aliases.rs +++ b/xcm/xcm-builder/src/origin_aliases.rs @@ -20,7 +20,7 @@ use frame_support::traits::{Contains, ContainsPair}; use sp_std::marker::PhantomData; use xcm::latest::prelude::*; -/// Alias a Foreign AccountId32 with a sovereign AccountId32 if the Foreign AccountId32 matches the `Prefix` pattern. +/// Alias a Foreign AccountId32 with a local AccountId32 if the Foreign AccountId32 matches the `Prefix` pattern. pub struct AliasForeignAccountId32(PhantomData); impl> ContainsPair for AliasForeignAccountId32 From e5c910ba55491ebbf730379916aa4e6d56709e4d Mon Sep 17 00:00:00 2001 From: Just van Stam Date: Fri, 2 Jun 2023 10:58:05 +0200 Subject: [PATCH 21/26] lock --- Cargo.lock | 531 ++++++++++++++++++++++++++++++----------------------- 1 file changed, 298 insertions(+), 233 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 147a87a96a01..4298983bf36e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -523,7 +523,7 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "hash-db", "log", @@ -1114,6 +1114,12 @@ dependencies = [ "unicode-width", ] +[[package]] +name = "common-path" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2382f75942f4b3be3690fe4f86365e9c853c1587d6ee58212cebf6e2a9ccd101" + [[package]] name = "concurrent-queue" version = "1.2.2" @@ -1918,6 +1924,33 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" +[[package]] +name = "docify" +version = "0.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "18b972b74c30cbe838fc6a07665132ff94f257350e26fd01d80bc59ee7fcf129" +dependencies = [ + "docify_macros", +] + +[[package]] +name = "docify_macros" +version = "0.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c93004d1011191c56df9e853dca42f2012e7488638bcd5078935f5ce43e06cf3" +dependencies = [ + "common-path", + "derive-syn-parse", + "lazy_static", + "prettyplease", + "proc-macro2", + "quote", + "regex", + "syn 2.0.16", + "termcolor", + "walkdir", +] + [[package]] name = "downcast" version = "0.11.0" @@ -2498,7 +2531,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "parity-scale-codec", ] @@ -2521,7 +2554,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-support", "frame-support-procedural", @@ -2546,7 +2579,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "Inflector", "array-bytes", @@ -2593,7 +2626,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2604,7 +2637,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2621,7 +2654,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-support", "frame-system", @@ -2650,7 +2683,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "async-recursion", "futures", @@ -2671,7 +2704,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "bitflags", "environmental", @@ -2680,6 +2713,7 @@ dependencies = [ "impl-trait-for-tuples", "k256", "log", + "macro_magic", "once_cell", "parity-scale-codec", "paste", @@ -2705,13 +2739,14 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "Inflector", "cfg-expr", "derive-syn-parse", "frame-support-procedural-tools", "itertools", + "macro_magic", "proc-macro-warning", "proc-macro2", "quote", @@ -2721,7 +2756,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2733,7 +2768,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "proc-macro2", "quote", @@ -2743,7 +2778,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-executive", @@ -2763,13 +2798,14 @@ dependencies = [ "sp-state-machine", "sp-std", "sp-version", + "static_assertions", "trybuild", ] [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-support", "frame-system", @@ -2781,7 +2817,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "cfg-if", "frame-support", @@ -2800,7 +2836,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -2815,7 +2851,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "parity-scale-codec", "sp-api", @@ -2824,7 +2860,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-support", "parity-scale-codec", @@ -3006,7 +3042,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "chrono", "frame-election-provider-support", @@ -4722,6 +4758,53 @@ dependencies = [ "libc", ] +[[package]] +name = "macro_magic" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8e7c1b5ffe892e88b288611ccf55f9c4f4e43214aea6f7f80f0c2c53c85e68e" +dependencies = [ + "macro_magic_core", + "macro_magic_macros", + "quote", + "syn 2.0.16", +] + +[[package]] +name = "macro_magic_core" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e812c59de90e5d50405131c676dad7d239de39ccc975620c72d467c70138851" +dependencies = [ + "derive-syn-parse", + "macro_magic_core_macros", + "proc-macro2", + "quote", + "syn 2.0.16", +] + +[[package]] +name = "macro_magic_core_macros" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21b1906fa06ee8c02b24595e121be94e0036cb64f9dce5e587edd1e823c87c94" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.16", +] + +[[package]] +name = "macro_magic_macros" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49e8939ee52e99672a887d8ee13776d0f54262c058ce7e911185fed8e43e3a59" +dependencies = [ + "macro_magic_core", + "quote", + "syn 2.0.16", +] + [[package]] name = "maplit" version = "1.0.2" @@ -4905,7 +4988,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "futures", "log", @@ -4924,7 +5007,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "anyhow", "jsonrpsee", @@ -5507,7 +5590,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5522,7 +5605,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-support", "frame-system", @@ -5538,7 +5621,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-support", "frame-system", @@ -5552,7 +5635,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5576,7 +5659,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5596,7 +5679,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-election-provider-support", "frame-remote-externalities", @@ -5615,7 +5698,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5630,7 +5713,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-support", "frame-system", @@ -5649,7 +5732,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "array-bytes", "binary-merkle-tree", @@ -5673,7 +5756,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5691,7 +5774,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5710,7 +5793,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5727,7 +5810,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5744,7 +5827,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5762,7 +5845,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5785,7 +5868,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5798,7 +5881,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5816,8 +5899,9 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ + "docify", "frame-benchmarking", "frame-election-provider-support", "frame-support", @@ -5834,7 +5918,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5857,7 +5941,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5873,7 +5957,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5893,7 +5977,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5910,7 +5994,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5927,7 +6011,7 @@ dependencies = [ [[package]] name = "pallet-message-queue" version = "7.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5946,7 +6030,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5963,7 +6047,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5979,7 +6063,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5995,7 +6079,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-support", "frame-system", @@ -6012,7 +6096,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6032,7 +6116,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -6043,7 +6127,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-support", "frame-system", @@ -6060,7 +6144,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6084,7 +6168,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -6101,7 +6185,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -6116,7 +6200,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -6134,7 +6218,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -6149,7 +6233,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "assert_matches", "frame-benchmarking", @@ -6168,7 +6252,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -6185,7 +6269,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-support", "frame-system", @@ -6206,7 +6290,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -6222,7 +6306,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-support", "frame-system", @@ -6236,7 +6320,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6259,7 +6343,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -6270,7 +6354,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "log", "sp-arithmetic", @@ -6279,7 +6363,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "parity-scale-codec", "sp-api", @@ -6288,7 +6372,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -6305,7 +6389,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -6320,7 +6404,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -6338,7 +6422,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -6357,7 +6441,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-support", "frame-system", @@ -6373,7 +6457,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -6389,7 +6473,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -6401,7 +6485,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -6418,7 +6502,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -6433,7 +6517,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -6449,7 +6533,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -6464,7 +6548,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-benchmarking", "frame-support", @@ -9593,7 +9677,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "log", "sp-core", @@ -9604,7 +9688,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "async-trait", "futures", @@ -9633,7 +9717,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "futures", "futures-timer", @@ -9656,7 +9740,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -9671,7 +9755,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -9690,7 +9774,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9701,7 +9785,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "array-bytes", "chrono", @@ -9741,7 +9825,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "fnv", "futures", @@ -9768,7 +9852,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "hash-db", "kvdb", @@ -9794,7 +9878,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "async-trait", "futures", @@ -9819,7 +9903,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "async-trait", "fork-tree", @@ -9855,7 +9939,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "futures", "jsonrpsee", @@ -9877,7 +9961,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "array-bytes", "async-channel", @@ -9913,7 +9997,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "futures", "jsonrpsee", @@ -9932,7 +10016,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "fork-tree", "parity-scale-codec", @@ -9945,7 +10029,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "ahash 0.8.2", "array-bytes", @@ -9985,7 +10069,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "finality-grandpa", "futures", @@ -10005,7 +10089,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "async-trait", "futures", @@ -10028,7 +10112,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "lru 0.10.0", "parity-scale-codec", @@ -10050,7 +10134,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -10062,7 +10146,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "anyhow", "cfg-if", @@ -10080,7 +10164,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "ansi_term", "futures", @@ -10096,7 +10180,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "array-bytes", "parking_lot 0.12.1", @@ -10110,7 +10194,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "array-bytes", "async-channel", @@ -10129,13 +10213,13 @@ dependencies = [ "mockall", "parity-scale-codec", "parking_lot 0.12.1", + "partial_sort", "pin-project", "rand 0.8.5", "sc-block-builder", "sc-client-api", "sc-consensus", "sc-network-common", - "sc-peerset", "sc-utils", "serde", "serde_json", @@ -10149,13 +10233,14 @@ dependencies = [ "substrate-prometheus-endpoint", "thiserror", "unsigned-varint", + "wasm-timer", "zeroize", ] [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "async-channel", "cid", @@ -10176,7 +10261,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "array-bytes", "async-trait", @@ -10188,7 +10273,6 @@ dependencies = [ "parity-scale-codec", "prost-build", "sc-consensus", - "sc-peerset", "sc-utils", "serde", "smallvec", @@ -10204,7 +10288,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "ahash 0.8.2", "futures", @@ -10214,7 +10298,6 @@ dependencies = [ "lru 0.10.0", "sc-network", "sc-network-common", - "sc-peerset", "sp-runtime", "substrate-prometheus-endpoint", "tracing", @@ -10223,7 +10306,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "array-bytes", "async-channel", @@ -10236,7 +10319,6 @@ dependencies = [ "sc-client-api", "sc-network", "sc-network-common", - "sc-peerset", "sp-blockchain", "sp-core", "sp-runtime", @@ -10246,7 +10328,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "array-bytes", "async-channel", @@ -10265,7 +10347,6 @@ dependencies = [ "sc-consensus", "sc-network", "sc-network-common", - "sc-peerset", "sc-utils", "smallvec", "sp-arithmetic", @@ -10281,7 +10362,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "array-bytes", "futures", @@ -10290,7 +10371,6 @@ dependencies = [ "parity-scale-codec", "sc-network", "sc-network-common", - "sc-peerset", "sc-utils", "sp-consensus", "sp-runtime", @@ -10300,7 +10380,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "array-bytes", "bytes", @@ -10318,7 +10398,6 @@ dependencies = [ "sc-client-api", "sc-network", "sc-network-common", - "sc-peerset", "sc-utils", "sp-api", "sp-core", @@ -10328,26 +10407,10 @@ dependencies = [ "tracing", ] -[[package]] -name = "sc-peerset" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" -dependencies = [ - "futures", - "libp2p-identity", - "log", - "parking_lot 0.12.1", - "partial_sort", - "sc-utils", - "serde_json", - "sp-arithmetic", - "wasm-timer", -] - [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -10356,7 +10419,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "futures", "jsonrpsee", @@ -10387,7 +10450,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -10406,7 +10469,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "http", "jsonrpsee", @@ -10421,7 +10484,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "array-bytes", "futures", @@ -10447,7 +10510,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "async-trait", "directories", @@ -10513,7 +10576,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "log", "parity-scale-codec", @@ -10524,7 +10587,7 @@ dependencies = [ [[package]] name = "sc-storage-monitor" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "clap 4.2.5", "fs4", @@ -10540,7 +10603,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -10559,7 +10622,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "futures", "libc", @@ -10578,7 +10641,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "chrono", "futures", @@ -10597,7 +10660,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "ansi_term", "atty", @@ -10628,7 +10691,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10639,7 +10702,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "async-trait", "futures", @@ -10666,13 +10729,15 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "async-trait", "futures", "log", + "parity-scale-codec", "serde", "sp-blockchain", + "sp-core", "sp-runtime", "thiserror", ] @@ -10680,7 +10745,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "async-channel", "futures", @@ -10911,18 +10976,18 @@ checksum = "f97841a747eef040fcd2e7b3b9a220a7205926e60488e673d9e4926d27772ce5" [[package]] name = "serde" -version = "1.0.158" +version = "1.0.163" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "771d4d9c4163ee138805e12c710dd365e4f44be8be0503cb1bb9eb989425d9c9" +checksum = "2113ab51b87a539ae008b5c6c02dc020ffa39afd2d83cffcb3f4eb2722cebec2" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.158" +version = "1.0.163" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e801c1712f48475582b7696ac71e0ca34ebb30e09338425384269d9717c62cad" +checksum = "8c805777e3930c8883389c602315a24224bcc738b63905ef87cd1420353ea93e" dependencies = [ "proc-macro2", "quote", @@ -11228,7 +11293,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "hash-db", "log", @@ -11248,7 +11313,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "Inflector", "blake2", @@ -11261,8 +11326,8 @@ dependencies = [ [[package]] name = "sp-application-crypto" -version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +version = "23.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "parity-scale-codec", "scale-info", @@ -11274,8 +11339,8 @@ dependencies = [ [[package]] name = "sp-arithmetic" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +version = "16.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "integer-sqrt", "num-traits", @@ -11289,7 +11354,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "parity-scale-codec", "scale-info", @@ -11302,7 +11367,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "parity-scale-codec", "sp-api", @@ -11314,7 +11379,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "futures", "log", @@ -11332,7 +11397,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "async-trait", "futures", @@ -11347,7 +11412,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "async-trait", "parity-scale-codec", @@ -11365,7 +11430,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "async-trait", "parity-scale-codec", @@ -11386,7 +11451,7 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "lazy_static", "parity-scale-codec", @@ -11405,7 +11470,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "finality-grandpa", "log", @@ -11423,7 +11488,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "parity-scale-codec", "scale-info", @@ -11434,8 +11499,8 @@ dependencies = [ [[package]] name = "sp-core" -version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +version = "21.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "array-bytes", "bitflags", @@ -11478,8 +11543,8 @@ dependencies = [ [[package]] name = "sp-core-hashing" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +version = "9.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "blake2b_simd", "byteorder", @@ -11492,8 +11557,8 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +version = "9.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "proc-macro2", "quote", @@ -11504,7 +11569,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -11512,8 +11577,8 @@ dependencies = [ [[package]] name = "sp-debug-derive" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +version = "8.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "proc-macro2", "quote", @@ -11522,8 +11587,8 @@ dependencies = [ [[package]] name = "sp-externalities" -version = "0.14.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +version = "0.19.0" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "environmental", "parity-scale-codec", @@ -11534,7 +11599,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -11548,8 +11613,8 @@ dependencies = [ [[package]] name = "sp-io" -version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +version = "23.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "bytes", "ed25519", @@ -11574,8 +11639,8 @@ dependencies = [ [[package]] name = "sp-keyring" -version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +version = "24.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "lazy_static", "sp-core", @@ -11585,8 +11650,8 @@ dependencies = [ [[package]] name = "sp-keystore" -version = "0.14.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +version = "0.27.0" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "futures", "parity-scale-codec", @@ -11600,7 +11665,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "thiserror", "zstd 0.12.3+zstd.1.5.2", @@ -11609,7 +11674,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -11620,7 +11685,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -11638,7 +11703,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "parity-scale-codec", "scale-info", @@ -11652,7 +11717,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "sp-api", "sp-core", @@ -11661,8 +11726,8 @@ dependencies = [ [[package]] name = "sp-panic-handler" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +version = "8.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "backtrace", "lazy_static", @@ -11672,7 +11737,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "rustc-hash", "serde", @@ -11681,8 +11746,8 @@ dependencies = [ [[package]] name = "sp-runtime" -version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +version = "24.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "either", "hash256-std-hasher", @@ -11703,8 +11768,8 @@ dependencies = [ [[package]] name = "sp-runtime-interface" -version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +version = "17.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -11721,8 +11786,8 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +version = "11.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "Inflector", "proc-macro-crate", @@ -11734,7 +11799,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "parity-scale-codec", "scale-info", @@ -11748,7 +11813,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "parity-scale-codec", "scale-info", @@ -11760,8 +11825,8 @@ dependencies = [ [[package]] name = "sp-state-machine" -version = "0.14.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +version = "0.28.0" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "hash-db", "log", @@ -11781,7 +11846,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "log", "parity-scale-codec", @@ -11798,13 +11863,13 @@ dependencies = [ [[package]] name = "sp-std" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +version = "8.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" [[package]] name = "sp-storage" -version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +version = "13.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "impl-serde", "parity-scale-codec", @@ -11817,7 +11882,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "async-trait", "futures-timer", @@ -11831,8 +11896,8 @@ dependencies = [ [[package]] name = "sp-tracing" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +version = "10.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "parity-scale-codec", "sp-std", @@ -11844,7 +11909,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "sp-api", "sp-runtime", @@ -11853,7 +11918,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "async-trait", "log", @@ -11868,8 +11933,8 @@ dependencies = [ [[package]] name = "sp-trie" -version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +version = "22.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "ahash 0.8.2", "hash-db", @@ -11891,8 +11956,8 @@ dependencies = [ [[package]] name = "sp-version" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +version = "22.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "impl-serde", "parity-scale-codec", @@ -11908,8 +11973,8 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" -version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +version = "8.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -11919,8 +11984,8 @@ dependencies = [ [[package]] name = "sp-wasm-interface" -version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +version = "14.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -11932,8 +11997,8 @@ dependencies = [ [[package]] name = "sp-weights" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +version = "20.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "parity-scale-codec", "scale-info", @@ -12174,7 +12239,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "platforms", ] @@ -12182,7 +12247,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -12201,7 +12266,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "hyper", "log", @@ -12213,7 +12278,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "async-trait", "jsonrpsee", @@ -12226,7 +12291,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "jsonrpsee", "log", @@ -12245,7 +12310,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "array-bytes", "async-trait", @@ -12271,7 +12336,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "futures", "substrate-test-utils-derive", @@ -12281,7 +12346,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -12292,7 +12357,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "ansi_term", "build-helper", @@ -13137,7 +13202,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c080caf784ad2fc9b1b519324355e9998c749c86" +source = "git+https://github.com/paritytech/substrate?branch=master#2577379be50ec2738174d70740c6c3a8d8eb815b" dependencies = [ "async-trait", "clap 4.2.5", From da0c6d41c1afe344652b1c10ecca88dda1c3319f Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Fri, 2 Jun 2023 09:47:56 +0000 Subject: [PATCH 22/26] ".git/.scripts/commands/bench/bench.sh" xcm kusama pallet_xcm_benchmarks::generic --- .../xcm/pallet_xcm_benchmarks_generic.rs | 119 +++++++++--------- 1 file changed, 59 insertions(+), 60 deletions(-) diff --git a/runtime/kusama/src/weights/xcm/pallet_xcm_benchmarks_generic.rs b/runtime/kusama/src/weights/xcm/pallet_xcm_benchmarks_generic.rs index 9169d44fd085..86932b997562 100644 --- a/runtime/kusama/src/weights/xcm/pallet_xcm_benchmarks_generic.rs +++ b/runtime/kusama/src/weights/xcm/pallet_xcm_benchmarks_generic.rs @@ -17,8 +17,7 @@ //! Autogenerated weights for `pallet_xcm_benchmarks::generic` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev - -//! DATE: 2023-06-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -69,8 +68,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3676` - // Minimum execution time: 31_951_000 picoseconds. - Weight::from_parts(32_879_000, 3676) + // Minimum execution time: 32_102_000 picoseconds. + Weight::from_parts(33_749_000, 3676) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -78,8 +77,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_691_000 picoseconds. - Weight::from_parts(2_783_000, 0) + // Minimum execution time: 2_624_000 picoseconds. + Weight::from_parts(2_714_000, 0) } /// Storage: XcmPallet Queries (r:1 w:0) /// Proof Skipped: XcmPallet Queries (max_values: None, max_size: None, mode: Measured) @@ -87,58 +86,58 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `169` // Estimated: `3634` - // Minimum execution time: 10_819_000 picoseconds. - Weight::from_parts(11_035_000, 3634) + // Minimum execution time: 10_599_000 picoseconds. + Weight::from_parts(10_882_000, 3634) .saturating_add(T::DbWeight::get().reads(1)) } pub(crate) fn transact() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_035_000 picoseconds. - Weight::from_parts(12_454_000, 0) + // Minimum execution time: 11_985_000 picoseconds. + Weight::from_parts(12_274_000, 0) } pub(crate) fn refund_surplus() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_874_000 picoseconds. - Weight::from_parts(2_981_000, 0) + // Minimum execution time: 2_739_000 picoseconds. + Weight::from_parts(2_862_000, 0) } pub(crate) fn set_error_handler() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_632_000 picoseconds. - Weight::from_parts(2_703_000, 0) + // Minimum execution time: 2_533_000 picoseconds. + Weight::from_parts(2_646_000, 0) } pub(crate) fn set_appendix() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_554_000 picoseconds. - Weight::from_parts(2_642_000, 0) + // Minimum execution time: 2_563_000 picoseconds. + Weight::from_parts(2_647_000, 0) } pub(crate) fn clear_error() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_642_000 picoseconds. - Weight::from_parts(2_761_000, 0) + // Minimum execution time: 2_512_000 picoseconds. + Weight::from_parts(2_574_000, 0) } pub(crate) fn descend_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_406_000 picoseconds. - Weight::from_parts(3_535_000, 0) + // Minimum execution time: 3_307_000 picoseconds. + Weight::from_parts(3_448_000, 0) } pub(crate) fn clear_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_568_000 picoseconds. - Weight::from_parts(2_647_000, 0) + // Minimum execution time: 2_524_000 picoseconds. + Weight::from_parts(2_614_000, 0) } /// Storage: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) /// Proof Skipped: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) @@ -158,8 +157,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3676` - // Minimum execution time: 27_298_000 picoseconds. - Weight::from_parts(27_716_000, 3676) + // Minimum execution time: 27_275_000 picoseconds. + Weight::from_parts(27_861_000, 3676) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -169,8 +168,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `226` // Estimated: `3691` - // Minimum execution time: 14_960_000 picoseconds. - Weight::from_parts(15_461_000, 3691) + // Minimum execution time: 14_731_000 picoseconds. + Weight::from_parts(15_006_000, 3691) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -178,8 +177,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_667_000 picoseconds. - Weight::from_parts(2_736_000, 0) + // Minimum execution time: 2_446_000 picoseconds. + Weight::from_parts(2_581_000, 0) } /// Storage: XcmPallet VersionNotifyTargets (r:1 w:1) /// Proof Skipped: XcmPallet VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) @@ -201,8 +200,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3676` - // Minimum execution time: 34_532_000 picoseconds. - Weight::from_parts(35_207_000, 3676) + // Minimum execution time: 34_319_000 picoseconds. + Weight::from_parts(34_708_000, 3676) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -212,8 +211,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_196_000 picoseconds. - Weight::from_parts(5_283_000, 0) + // Minimum execution time: 4_974_000 picoseconds. + Weight::from_parts(5_155_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) @@ -234,8 +233,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3676` - // Minimum execution time: 31_259_000 picoseconds. - Weight::from_parts(31_897_000, 3676) + // Minimum execution time: 30_858_000 picoseconds. + Weight::from_parts(31_858_000, 3676) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -243,36 +242,36 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_102_000 picoseconds. - Weight::from_parts(4_197_000, 0) + // Minimum execution time: 4_059_000 picoseconds. + Weight::from_parts(4_125_000, 0) } pub(crate) fn expect_asset() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_758_000 picoseconds. - Weight::from_parts(2_870_000, 0) + // Minimum execution time: 2_657_000 picoseconds. + Weight::from_parts(2_741_000, 0) } pub(crate) fn expect_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_629_000 picoseconds. - Weight::from_parts(2_755_000, 0) + // Minimum execution time: 2_585_000 picoseconds. + Weight::from_parts(2_653_000, 0) } pub(crate) fn expect_error() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_639_000 picoseconds. - Weight::from_parts(2_713_000, 0) + // Minimum execution time: 2_552_000 picoseconds. + Weight::from_parts(2_632_000, 0) } pub(crate) fn expect_transact_status() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_842_000 picoseconds. - Weight::from_parts(2_928_000, 0) + // Minimum execution time: 2_682_000 picoseconds. + Weight::from_parts(2_763_000, 0) } /// Storage: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) /// Proof Skipped: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) @@ -292,8 +291,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3676` - // Minimum execution time: 34_560_000 picoseconds. - Weight::from_parts(34_859_000, 3676) + // Minimum execution time: 34_316_000 picoseconds. + Weight::from_parts(34_682_000, 3676) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -301,8 +300,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_179_000 picoseconds. - Weight::from_parts(8_362_000, 0) + // Minimum execution time: 7_938_000 picoseconds. + Weight::from_parts(8_071_000, 0) } /// Storage: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) /// Proof Skipped: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) @@ -322,8 +321,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3676` - // Minimum execution time: 27_036_000 picoseconds. - Weight::from_parts(27_743_000, 3676) + // Minimum execution time: 28_002_000 picoseconds. + Weight::from_parts(28_184_000, 3676) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -331,35 +330,35 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_614_000 picoseconds. - Weight::from_parts(2_688_000, 0) + // Minimum execution time: 2_520_000 picoseconds. + Weight::from_parts(2_617_000, 0) } pub(crate) fn set_topic() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_551_000 picoseconds. - Weight::from_parts(2_656_000, 0) + // Minimum execution time: 2_506_000 picoseconds. + Weight::from_parts(2_560_000, 0) } pub(crate) fn clear_topic() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_597_000 picoseconds. - Weight::from_parts(2_708_000, 0) + // Minimum execution time: 2_503_000 picoseconds. + Weight::from_parts(2_605_000, 0) } pub(crate) fn set_fees_mode() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_610_000 picoseconds. - Weight::from_parts(2_758_000, 0) + // Minimum execution time: 2_511_000 picoseconds. + Weight::from_parts(2_597_000, 0) } pub(crate) fn unpaid_execution() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_766_000 picoseconds. - Weight::from_parts(3_372_000, 0) + // Minimum execution time: 2_617_000 picoseconds. + Weight::from_parts(2_715_000, 0) } } From c34c201dfffe02955b8b7a86599bd9b6ded1f955 Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Fri, 2 Jun 2023 10:29:17 +0000 Subject: [PATCH 23/26] ".git/.scripts/commands/bench/bench.sh" xcm westend pallet_xcm_benchmarks::generic --- .../xcm/pallet_xcm_benchmarks_generic.rs | 118 +++++++++--------- 1 file changed, 59 insertions(+), 59 deletions(-) diff --git a/runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_generic.rs b/runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_generic.rs index d125e8bf88f9..7cf3f50bde6a 100644 --- a/runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_generic.rs +++ b/runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_generic.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_xcm_benchmarks::generic` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -68,8 +68,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `169` // Estimated: `3634` - // Minimum execution time: 31_799_000 picoseconds. - Weight::from_parts(32_268_000, 3634) + // Minimum execution time: 30_790_000 picoseconds. + Weight::from_parts(31_265_000, 3634) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -77,8 +77,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_114_000 picoseconds. - Weight::from_parts(3_209_000, 0) + // Minimum execution time: 2_741_000 picoseconds. + Weight::from_parts(2_823_000, 0) } /// Storage: XcmPallet Queries (r:1 w:0) /// Proof Skipped: XcmPallet Queries (max_values: None, max_size: None, mode: Measured) @@ -86,58 +86,58 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `169` // Estimated: `3634` - // Minimum execution time: 11_350_000 picoseconds. - Weight::from_parts(11_664_000, 3634) + // Minimum execution time: 10_848_000 picoseconds. + Weight::from_parts(11_183_000, 3634) .saturating_add(T::DbWeight::get().reads(1)) } pub(crate) fn transact() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_740_000 picoseconds. - Weight::from_parts(12_997_000, 0) + // Minimum execution time: 12_145_000 picoseconds. + Weight::from_parts(12_366_000, 0) } pub(crate) fn refund_surplus() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_182_000 picoseconds. - Weight::from_parts(3_258_000, 0) + // Minimum execution time: 2_837_000 picoseconds. + Weight::from_parts(2_939_000, 0) } pub(crate) fn set_error_handler() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_909_000 picoseconds. - Weight::from_parts(2_973_000, 0) + // Minimum execution time: 2_526_000 picoseconds. + Weight::from_parts(2_622_000, 0) } pub(crate) fn set_appendix() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_967_000 picoseconds. - Weight::from_parts(3_042_000, 0) + // Minimum execution time: 2_603_000 picoseconds. + Weight::from_parts(2_642_000, 0) } pub(crate) fn clear_error() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_980_000 picoseconds. - Weight::from_parts(3_041_000, 0) + // Minimum execution time: 2_500_000 picoseconds. + Weight::from_parts(2_573_000, 0) } pub(crate) fn descend_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_798_000 picoseconds. - Weight::from_parts(3_877_000, 0) + // Minimum execution time: 3_323_000 picoseconds. + Weight::from_parts(3_401_000, 0) } pub(crate) fn clear_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_884_000 picoseconds. - Weight::from_parts(2_951_000, 0) + // Minimum execution time: 2_557_000 picoseconds. + Weight::from_parts(2_620_000, 0) } /// Storage: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) /// Proof Skipped: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) @@ -157,8 +157,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `169` // Estimated: `3634` - // Minimum execution time: 26_538_000 picoseconds. - Weight::from_parts(27_107_000, 3634) + // Minimum execution time: 25_828_000 picoseconds. + Weight::from_parts(26_318_000, 3634) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -168,8 +168,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `226` // Estimated: `3691` - // Minimum execution time: 15_633_000 picoseconds. - Weight::from_parts(15_851_000, 3691) + // Minimum execution time: 14_794_000 picoseconds. + Weight::from_parts(15_306_000, 3691) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -177,8 +177,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_873_000 picoseconds. - Weight::from_parts(2_998_000, 0) + // Minimum execution time: 2_534_000 picoseconds. + Weight::from_parts(2_574_000, 0) } /// Storage: XcmPallet VersionNotifyTargets (r:1 w:1) /// Proof Skipped: XcmPallet VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) @@ -200,8 +200,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `169` // Estimated: `3634` - // Minimum execution time: 33_283_000 picoseconds. - Weight::from_parts(33_682_000, 3634) + // Minimum execution time: 32_218_000 picoseconds. + Weight::from_parts(32_945_000, 3634) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -211,8 +211,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_240_000 picoseconds. - Weight::from_parts(5_345_000, 0) + // Minimum execution time: 4_983_000 picoseconds. + Weight::from_parts(5_132_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) @@ -233,8 +233,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `169` // Estimated: `3634` - // Minimum execution time: 30_487_000 picoseconds. - Weight::from_parts(30_935_000, 3634) + // Minimum execution time: 29_375_000 picoseconds. + Weight::from_parts(30_320_000, 3634) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -242,36 +242,36 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_584_000 picoseconds. - Weight::from_parts(4_658_000, 0) + // Minimum execution time: 4_101_000 picoseconds. + Weight::from_parts(4_228_000, 0) } pub(crate) fn expect_asset() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_112_000 picoseconds. - Weight::from_parts(3_203_000, 0) + // Minimum execution time: 2_740_000 picoseconds. + Weight::from_parts(2_814_000, 0) } pub(crate) fn expect_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_033_000 picoseconds. - Weight::from_parts(3_095_000, 0) + // Minimum execution time: 2_716_000 picoseconds. + Weight::from_parts(2_795_000, 0) } pub(crate) fn expect_error() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_945_000 picoseconds. - Weight::from_parts(3_014_000, 0) + // Minimum execution time: 2_550_000 picoseconds. + Weight::from_parts(2_601_000, 0) } pub(crate) fn expect_transact_status() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_117_000 picoseconds. - Weight::from_parts(3_204_000, 0) + // Minimum execution time: 2_762_000 picoseconds. + Weight::from_parts(2_849_000, 0) } /// Storage: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) /// Proof Skipped: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) @@ -291,8 +291,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `169` // Estimated: `3634` - // Minimum execution time: 32_939_000 picoseconds. - Weight::from_parts(33_499_000, 3634) + // Minimum execution time: 31_709_000 picoseconds. + Weight::from_parts(32_288_000, 3634) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -300,8 +300,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_781_000 picoseconds. - Weight::from_parts(7_881_000, 0) + // Minimum execution time: 7_209_000 picoseconds. + Weight::from_parts(7_332_000, 0) } /// Storage: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) /// Proof Skipped: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) @@ -321,8 +321,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `169` // Estimated: `3634` - // Minimum execution time: 26_864_000 picoseconds. - Weight::from_parts(27_419_000, 3634) + // Minimum execution time: 26_161_000 picoseconds. + Weight::from_parts(26_605_000, 3634) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -330,35 +330,35 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_000_000 picoseconds. - Weight::from_parts(3_061_000, 0) + // Minimum execution time: 2_539_000 picoseconds. + Weight::from_parts(2_647_000, 0) } pub(crate) fn set_topic() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_881_000 picoseconds. - Weight::from_parts(2_968_000, 0) + // Minimum execution time: 2_494_000 picoseconds. + Weight::from_parts(2_588_000, 0) } pub(crate) fn clear_topic() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_902_000 picoseconds. - Weight::from_parts(2_976_000, 0) + // Minimum execution time: 2_510_000 picoseconds. + Weight::from_parts(2_590_000, 0) } pub(crate) fn set_fees_mode() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_907_000 picoseconds. - Weight::from_parts(2_981_000, 0) + // Minimum execution time: 2_491_000 picoseconds. + Weight::from_parts(2_546_000, 0) } pub(crate) fn unpaid_execution() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_136_000 picoseconds. - Weight::from_parts(3_184_000, 0) + // Minimum execution time: 2_696_000 picoseconds. + Weight::from_parts(2_816_000, 0) } } From 046c7d1315382ebb7b4d258fd12827d829422b6f Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Fri, 2 Jun 2023 11:10:19 +0000 Subject: [PATCH 24/26] ".git/.scripts/commands/bench/bench.sh" xcm rococo pallet_xcm_benchmarks::generic --- .../xcm/pallet_xcm_benchmarks_generic.rs | 119 +++++++++--------- 1 file changed, 59 insertions(+), 60 deletions(-) diff --git a/runtime/rococo/src/weights/xcm/pallet_xcm_benchmarks_generic.rs b/runtime/rococo/src/weights/xcm/pallet_xcm_benchmarks_generic.rs index ff1e705f8039..11abc4666050 100644 --- a/runtime/rococo/src/weights/xcm/pallet_xcm_benchmarks_generic.rs +++ b/runtime/rococo/src/weights/xcm/pallet_xcm_benchmarks_generic.rs @@ -17,10 +17,9 @@ //! Autogenerated weights for `pallet_xcm_benchmarks::generic` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` - //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -71,8 +70,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `565` // Estimated: `4030` - // Minimum execution time: 36_529_000 picoseconds. - Weight::from_parts(37_116_000, 4030) + // Minimum execution time: 36_305_000 picoseconds. + Weight::from_parts(37_096_000, 4030) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -80,8 +79,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_948_000 picoseconds. - Weight::from_parts(3_074_000, 0) + // Minimum execution time: 2_831_000 picoseconds. + Weight::from_parts(2_904_000, 0) } /// Storage: XcmPallet Queries (r:1 w:0) /// Proof Skipped: XcmPallet Queries (max_values: None, max_size: None, mode: Measured) @@ -89,58 +88,58 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `169` // Estimated: `3634` - // Minimum execution time: 12_012_000 picoseconds. - Weight::from_parts(12_426_000, 3634) + // Minimum execution time: 11_769_000 picoseconds. + Weight::from_parts(12_122_000, 3634) .saturating_add(T::DbWeight::get().reads(1)) } pub(crate) fn transact() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_498_000 picoseconds. - Weight::from_parts(12_765_000, 0) + // Minimum execution time: 12_293_000 picoseconds. + Weight::from_parts(12_522_000, 0) } pub(crate) fn refund_surplus() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_103_000 picoseconds. - Weight::from_parts(3_194_000, 0) + // Minimum execution time: 2_858_000 picoseconds. + Weight::from_parts(2_965_000, 0) } pub(crate) fn set_error_handler() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_827_000 picoseconds. - Weight::from_parts(2_925_000, 0) + // Minimum execution time: 2_623_000 picoseconds. + Weight::from_parts(2_774_000, 0) } pub(crate) fn set_appendix() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_808_000 picoseconds. - Weight::from_parts(2_906_000, 0) + // Minimum execution time: 2_664_000 picoseconds. + Weight::from_parts(2_752_000, 0) } pub(crate) fn clear_error() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_857_000 picoseconds. - Weight::from_parts(2_904_000, 0) + // Minimum execution time: 2_646_000 picoseconds. + Weight::from_parts(2_709_000, 0) } pub(crate) fn descend_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_673_000 picoseconds. - Weight::from_parts(3_753_000, 0) + // Minimum execution time: 3_602_000 picoseconds. + Weight::from_parts(3_669_000, 0) } pub(crate) fn clear_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_803_000 picoseconds. - Weight::from_parts(2_888_000, 0) + // Minimum execution time: 2_609_000 picoseconds. + Weight::from_parts(2_721_000, 0) } /// Storage: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) /// Proof Skipped: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) @@ -162,8 +161,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `565` // Estimated: `4030` - // Minimum execution time: 31_532_000 picoseconds. - Weight::from_parts(32_226_000, 4030) + // Minimum execution time: 31_776_000 picoseconds. + Weight::from_parts(32_354_000, 4030) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -173,8 +172,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `226` // Estimated: `3691` - // Minimum execution time: 15_956_000 picoseconds. - Weight::from_parts(16_320_000, 3691) + // Minimum execution time: 15_912_000 picoseconds. + Weight::from_parts(16_219_000, 3691) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -182,8 +181,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_846_000 picoseconds. - Weight::from_parts(2_928_000, 0) + // Minimum execution time: 2_704_000 picoseconds. + Weight::from_parts(2_777_000, 0) } /// Storage: XcmPallet VersionNotifyTargets (r:1 w:1) /// Proof Skipped: XcmPallet VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) @@ -207,8 +206,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `565` // Estimated: `4030` - // Minimum execution time: 38_534_000 picoseconds. - Weight::from_parts(39_292_000, 4030) + // Minimum execution time: 38_690_000 picoseconds. + Weight::from_parts(39_157_000, 4030) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -218,8 +217,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_212_000 picoseconds. - Weight::from_parts(5_337_000, 0) + // Minimum execution time: 4_943_000 picoseconds. + Weight::from_parts(5_128_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) @@ -242,8 +241,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `565` // Estimated: `4030` - // Minimum execution time: 35_468_000 picoseconds. - Weight::from_parts(35_805_000, 4030) + // Minimum execution time: 35_068_000 picoseconds. + Weight::from_parts(36_124_000, 4030) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -251,36 +250,36 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_606_000 picoseconds. - Weight::from_parts(4_706_000, 0) + // Minimum execution time: 6_438_000 picoseconds. + Weight::from_parts(6_500_000, 0) } pub(crate) fn expect_asset() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_012_000 picoseconds. - Weight::from_parts(3_133_000, 0) + // Minimum execution time: 4_773_000 picoseconds. + Weight::from_parts(4_840_000, 0) } pub(crate) fn expect_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_926_000 picoseconds. - Weight::from_parts(3_038_000, 0) + // Minimum execution time: 2_818_000 picoseconds. + Weight::from_parts(2_893_000, 0) } pub(crate) fn expect_error() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_803_000 picoseconds. - Weight::from_parts(2_865_000, 0) + // Minimum execution time: 2_611_000 picoseconds. + Weight::from_parts(2_708_000, 0) } pub(crate) fn expect_transact_status() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_037_000 picoseconds. - Weight::from_parts(3_124_000, 0) + // Minimum execution time: 2_870_000 picoseconds. + Weight::from_parts(2_958_000, 0) } /// Storage: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) /// Proof Skipped: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) @@ -302,8 +301,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `565` // Estimated: `4030` - // Minimum execution time: 38_632_000 picoseconds. - Weight::from_parts(39_255_000, 4030) + // Minimum execution time: 40_735_000 picoseconds. + Weight::from_parts(66_023_000, 4030) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -311,8 +310,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_570_000 picoseconds. - Weight::from_parts(8_634_000, 0) + // Minimum execution time: 8_293_000 picoseconds. + Weight::from_parts(18_088_000, 0) } /// Storage: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) /// Proof Skipped: unknown `0x3a696e747261626c6f636b5f656e74726f7079` (r:1 w:1) @@ -334,8 +333,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `565` // Estimated: `4030` - // Minimum execution time: 31_792_000 picoseconds. - Weight::from_parts(32_271_000, 4030) + // Minimum execution time: 31_438_000 picoseconds. + Weight::from_parts(32_086_000, 4030) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -343,35 +342,35 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_861_000 picoseconds. - Weight::from_parts(2_967_000, 0) + // Minimum execution time: 2_676_000 picoseconds. + Weight::from_parts(2_746_000, 0) } pub(crate) fn set_topic() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_929_000 picoseconds. - Weight::from_parts(2_995_000, 0) + // Minimum execution time: 2_629_000 picoseconds. + Weight::from_parts(2_724_000, 0) } pub(crate) fn clear_topic() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_861_000 picoseconds. - Weight::from_parts(2_961_000, 0) + // Minimum execution time: 2_602_000 picoseconds. + Weight::from_parts(2_671_000, 0) } pub(crate) fn set_fees_mode() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_826_000 picoseconds. - Weight::from_parts(2_901_000, 0) + // Minimum execution time: 2_681_000 picoseconds. + Weight::from_parts(2_768_000, 0) } pub(crate) fn unpaid_execution() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_603_000 picoseconds. - Weight::from_parts(4_653_000, 0) + // Minimum execution time: 2_764_000 picoseconds. + Weight::from_parts(2_865_000, 0) } } From a6350e1fe4cc80926ae338374d5b138bbb1d90bb Mon Sep 17 00:00:00 2001 From: Just van Stam Date: Mon, 5 Jun 2023 10:12:31 +0200 Subject: [PATCH 25/26] change doc --- xcm/xcm-builder/src/origin_aliases.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xcm/xcm-builder/src/origin_aliases.rs b/xcm/xcm-builder/src/origin_aliases.rs index 74766e190832..9cb87ce90a99 100644 --- a/xcm/xcm-builder/src/origin_aliases.rs +++ b/xcm/xcm-builder/src/origin_aliases.rs @@ -20,7 +20,9 @@ use frame_support::traits::{Contains, ContainsPair}; use sp_std::marker::PhantomData; use xcm::latest::prelude::*; -/// Alias a Foreign AccountId32 with a local AccountId32 if the Foreign AccountId32 matches the `Prefix` pattern. +/// Alias a Foreign AccountId32 with a local AccountId32 if the Foreign AccountId32 matches the `Prefix` pattern. +/// +/// Requires that the prefixed origin AccountId32 matches the target AccountId32. pub struct AliasForeignAccountId32(PhantomData); impl> ContainsPair for AliasForeignAccountId32 From 2f2c80c3a7bcdc866770e8987566dab179feb9cc Mon Sep 17 00:00:00 2001 From: Just van Stam Date: Mon, 5 Jun 2023 10:14:54 +0200 Subject: [PATCH 26/26] fmt --- xcm/xcm-builder/src/origin_aliases.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xcm/xcm-builder/src/origin_aliases.rs b/xcm/xcm-builder/src/origin_aliases.rs index 9cb87ce90a99..d9e3ee3dfc4f 100644 --- a/xcm/xcm-builder/src/origin_aliases.rs +++ b/xcm/xcm-builder/src/origin_aliases.rs @@ -21,8 +21,8 @@ use sp_std::marker::PhantomData; use xcm::latest::prelude::*; /// Alias a Foreign AccountId32 with a local AccountId32 if the Foreign AccountId32 matches the `Prefix` pattern. -/// -/// Requires that the prefixed origin AccountId32 matches the target AccountId32. +/// +/// Requires that the prefixed origin AccountId32 matches the target AccountId32. pub struct AliasForeignAccountId32(PhantomData); impl> ContainsPair for AliasForeignAccountId32