mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 05:51:02 +00:00
Companion for paritytech/polkadot#6578 (#2112)
* Add ExpectTransactStatus benchmarking
* cargo fmt
* update lockfile for {"polkadot", "substrate"}
Co-authored-by: parity-processbot <>
This commit is contained in:
Generated
+255
-254
File diff suppressed because it is too large
Load Diff
@@ -185,6 +185,9 @@ impl<Call> XcmWeightInfo<Call> for StatemineXcmWeight<Call> {
|
|||||||
fn expect_error(_error: &Option<(u32, XcmError)>) -> Weight {
|
fn expect_error(_error: &Option<(u32, XcmError)>) -> Weight {
|
||||||
XcmGeneric::<Runtime>::expect_error()
|
XcmGeneric::<Runtime>::expect_error()
|
||||||
}
|
}
|
||||||
|
fn expect_transact_status(_transact_status: &MaybeErrorCode) -> Weight {
|
||||||
|
XcmGeneric::<Runtime>::expect_transact_status()
|
||||||
|
}
|
||||||
fn query_pallet(_module_name: &Vec<u8>, _response_info: &QueryResponseInfo) -> Weight {
|
fn query_pallet(_module_name: &Vec<u8>, _response_info: &QueryResponseInfo) -> Weight {
|
||||||
XcmGeneric::<Runtime>::query_pallet()
|
XcmGeneric::<Runtime>::query_pallet()
|
||||||
}
|
}
|
||||||
|
|||||||
+3
@@ -148,6 +148,9 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
|||||||
pub(crate) fn expect_error() -> Weight {
|
pub(crate) fn expect_error() -> Weight {
|
||||||
Weight::from_ref_time(5_859_000 as u64)
|
Weight::from_ref_time(5_859_000 as u64)
|
||||||
}
|
}
|
||||||
|
pub(crate) fn expect_transact_status() -> Weight {
|
||||||
|
Weight::from_ref_time(5_859_000 as u64)
|
||||||
|
}
|
||||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||||
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
||||||
|
|||||||
@@ -185,6 +185,9 @@ impl<Call> XcmWeightInfo<Call> for StatemintXcmWeight<Call> {
|
|||||||
fn expect_error(_error: &Option<(u32, XcmError)>) -> Weight {
|
fn expect_error(_error: &Option<(u32, XcmError)>) -> Weight {
|
||||||
XcmGeneric::<Runtime>::expect_error()
|
XcmGeneric::<Runtime>::expect_error()
|
||||||
}
|
}
|
||||||
|
fn expect_transact_status(_transact_status: &MaybeErrorCode) -> Weight {
|
||||||
|
XcmGeneric::<Runtime>::expect_transact_status()
|
||||||
|
}
|
||||||
fn query_pallet(_module_name: &Vec<u8>, _response_info: &QueryResponseInfo) -> Weight {
|
fn query_pallet(_module_name: &Vec<u8>, _response_info: &QueryResponseInfo) -> Weight {
|
||||||
XcmGeneric::<Runtime>::query_pallet()
|
XcmGeneric::<Runtime>::query_pallet()
|
||||||
}
|
}
|
||||||
|
|||||||
+3
@@ -148,6 +148,9 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
|||||||
pub(crate) fn expect_error() -> Weight {
|
pub(crate) fn expect_error() -> Weight {
|
||||||
Weight::from_ref_time(5_758_000 as u64)
|
Weight::from_ref_time(5_758_000 as u64)
|
||||||
}
|
}
|
||||||
|
pub(crate) fn expect_transact_status() -> Weight {
|
||||||
|
Weight::from_ref_time(5_758_000 as u64)
|
||||||
|
}
|
||||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||||
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
||||||
|
|||||||
@@ -185,6 +185,9 @@ impl<Call> XcmWeightInfo<Call> for WestmintXcmWeight<Call> {
|
|||||||
fn expect_error(_error: &Option<(u32, XcmError)>) -> Weight {
|
fn expect_error(_error: &Option<(u32, XcmError)>) -> Weight {
|
||||||
XcmGeneric::<Runtime>::expect_error()
|
XcmGeneric::<Runtime>::expect_error()
|
||||||
}
|
}
|
||||||
|
fn expect_transact_status(_transact_status: &MaybeErrorCode) -> Weight {
|
||||||
|
XcmGeneric::<Runtime>::expect_transact_status()
|
||||||
|
}
|
||||||
fn query_pallet(_module_name: &Vec<u8>, _response_info: &QueryResponseInfo) -> Weight {
|
fn query_pallet(_module_name: &Vec<u8>, _response_info: &QueryResponseInfo) -> Weight {
|
||||||
XcmGeneric::<Runtime>::query_pallet()
|
XcmGeneric::<Runtime>::query_pallet()
|
||||||
}
|
}
|
||||||
|
|||||||
+3
@@ -148,6 +148,9 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
|||||||
pub(crate) fn expect_error() -> Weight {
|
pub(crate) fn expect_error() -> Weight {
|
||||||
Weight::from_ref_time(6_044_000 as u64)
|
Weight::from_ref_time(6_044_000 as u64)
|
||||||
}
|
}
|
||||||
|
pub(crate) fn expect_transact_status() -> Weight {
|
||||||
|
Weight::from_ref_time(6_044_000 as u64)
|
||||||
|
}
|
||||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||||
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
||||||
|
|||||||
@@ -185,6 +185,9 @@ impl<Call> XcmWeightInfo<Call> for BridgeHubKusamaXcmWeight<Call> {
|
|||||||
fn expect_error(_error: &Option<(u32, XcmError)>) -> Weight {
|
fn expect_error(_error: &Option<(u32, XcmError)>) -> Weight {
|
||||||
XcmGeneric::<Runtime>::expect_error()
|
XcmGeneric::<Runtime>::expect_error()
|
||||||
}
|
}
|
||||||
|
fn expect_transact_status(_transact_status: &MaybeErrorCode) -> Weight {
|
||||||
|
XcmGeneric::<Runtime>::expect_transact_status()
|
||||||
|
}
|
||||||
fn query_pallet(_module_name: &Vec<u8>, _response_info: &QueryResponseInfo) -> Weight {
|
fn query_pallet(_module_name: &Vec<u8>, _response_info: &QueryResponseInfo) -> Weight {
|
||||||
XcmGeneric::<Runtime>::query_pallet()
|
XcmGeneric::<Runtime>::query_pallet()
|
||||||
}
|
}
|
||||||
|
|||||||
+3
@@ -147,6 +147,9 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
|||||||
pub(crate) fn expect_error() -> Weight {
|
pub(crate) fn expect_error() -> Weight {
|
||||||
Weight::from_ref_time(6_802_000 as u64)
|
Weight::from_ref_time(6_802_000 as u64)
|
||||||
}
|
}
|
||||||
|
pub(crate) fn expect_transact_status() -> Weight {
|
||||||
|
Weight::from_ref_time(6_802_000 as u64)
|
||||||
|
}
|
||||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||||
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
||||||
|
|||||||
@@ -185,6 +185,9 @@ impl<Call> XcmWeightInfo<Call> for BridgeHubRococoXcmWeight<Call> {
|
|||||||
fn expect_error(_error: &Option<(u32, XcmError)>) -> Weight {
|
fn expect_error(_error: &Option<(u32, XcmError)>) -> Weight {
|
||||||
XcmGeneric::<Runtime>::expect_error()
|
XcmGeneric::<Runtime>::expect_error()
|
||||||
}
|
}
|
||||||
|
fn expect_transact_status(_transact_status: &MaybeErrorCode) -> Weight {
|
||||||
|
XcmGeneric::<Runtime>::expect_transact_status()
|
||||||
|
}
|
||||||
fn query_pallet(_module_name: &Vec<u8>, _response_info: &QueryResponseInfo) -> Weight {
|
fn query_pallet(_module_name: &Vec<u8>, _response_info: &QueryResponseInfo) -> Weight {
|
||||||
XcmGeneric::<Runtime>::query_pallet()
|
XcmGeneric::<Runtime>::query_pallet()
|
||||||
}
|
}
|
||||||
|
|||||||
+3
@@ -147,6 +147,9 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
|||||||
pub(crate) fn expect_error() -> Weight {
|
pub(crate) fn expect_error() -> Weight {
|
||||||
Weight::from_ref_time(5_857_000 as u64)
|
Weight::from_ref_time(5_857_000 as u64)
|
||||||
}
|
}
|
||||||
|
pub(crate) fn expect_transact_status() -> Weight {
|
||||||
|
Weight::from_ref_time(5_857_000 as u64)
|
||||||
|
}
|
||||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||||
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
||||||
|
|||||||
Reference in New Issue
Block a user