mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 16:51:03 +00:00
Implement AliasOrigin processing in XCVM (#7245)
* Implement AliasOrigin processing in XCVM * add builder types and first test * switch to more general builder types * clone target for RemovePrefixAccountId32 * change builder types * change AliasForeignAccountId32 and add test for AliasCase * add Aliasers type to xcm configs * add benchmark * benchmark fix * add benchmark function for runtimes * fix alias_origin result types * fix benchmark test * add runtime-benchmarks feature in pallet-xcm-benchmarks * fmt * remove AliasCase, add test and fmt * address feedback * ".git/.scripts/commands/bench/bench.sh" xcm kusama pallet_xcm_benchmarks::generic * ".git/.scripts/commands/bench/bench.sh" xcm westend pallet_xcm_benchmarks::generic * ".git/.scripts/commands/bench/bench.sh" xcm rococo pallet_xcm_benchmarks::generic * address feedback * lock * ".git/.scripts/commands/bench/bench.sh" xcm kusama pallet_xcm_benchmarks::generic * ".git/.scripts/commands/bench/bench.sh" xcm westend pallet_xcm_benchmarks::generic * ".git/.scripts/commands/bench/bench.sh" xcm rococo pallet_xcm_benchmarks::generic * change doc * fmt --------- Co-authored-by: Just van Stam <just.van.stam@gmail.com> Co-authored-by: Just van Stam <vstam1@users.noreply.github.com> Co-authored-by: command-bot <>
This commit is contained in:
@@ -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("rococo-dev"), DB CACHE: 1024
|
||||
@@ -70,8 +70,8 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// 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))
|
||||
}
|
||||
@@ -79,8 +79,8 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// 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)
|
||||
@@ -88,58 +88,58 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// 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)
|
||||
@@ -161,8 +161,8 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// 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))
|
||||
}
|
||||
@@ -172,8 +172,8 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// 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))
|
||||
}
|
||||
@@ -181,8 +181,8 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// 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)
|
||||
@@ -206,8 +206,8 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// 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))
|
||||
}
|
||||
@@ -217,8 +217,8 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// 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)
|
||||
@@ -241,8 +241,8 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// 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))
|
||||
}
|
||||
@@ -250,36 +250,36 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// 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)
|
||||
@@ -301,8 +301,8 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// 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))
|
||||
}
|
||||
@@ -310,8 +310,8 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// 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)
|
||||
@@ -333,8 +333,8 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// 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))
|
||||
}
|
||||
@@ -342,35 +342,35 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// 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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user