[ci] Return benchmark to bm machines (#2225)

* [WIP][ci] Return benchmark to bm machines

* run build on docker machines

* restart pipeline

* rm docker runner

* fix refs

* add weights

* return ci

* fix asset benchmark
This commit is contained in:
Alexander Samusev
2023-02-23 11:50:38 +01:00
committed by GitHub
parent bdd75044bb
commit 6c89607b31
89 changed files with 7970 additions and 3721 deletions
@@ -17,8 +17,9 @@
//! Autogenerated weights for `pallet_assets`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,229 +47,389 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_assets`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Storage: Assets Asset (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn create() -> Weight {
// Minimum execution time: 28_325 nanoseconds.
Weight::from_ref_time(29_454_000)
// Proof Size summary in bytes:
// Measured: `141`
// Estimated: `5288`
// Minimum execution time: 21_487 nanoseconds.
Weight::from_ref_time(21_977_000)
.saturating_add(Weight::from_proof_size(5288))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Assets Asset (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
fn force_create() -> Weight {
// Minimum execution time: 17_511 nanoseconds.
Weight::from_ref_time(17_897_000)
// Proof Size summary in bytes:
// Measured: `6`
// Estimated: `2685`
// Minimum execution time: 10_630 nanoseconds.
Weight::from_ref_time(10_963_000)
.saturating_add(Weight::from_proof_size(2685))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
fn start_destroy() -> Weight {
// Minimum execution time: 19_093 nanoseconds.
Weight::from_ref_time(19_875_000)
// Proof Size summary in bytes:
// Measured: `309`
// Estimated: `2685`
// Minimum execution time: 13_627 nanoseconds.
Weight::from_ref_time(13_906_000)
.saturating_add(Weight::from_proof_size(2685))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:1 w:0)
// Storage: System Account (r:20 w:20)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Account (r:1001 w:1000)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
/// Storage: System Account (r:1000 w:1000)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `c` is `[0, 1000]`.
fn destroy_accounts(c: u32, ) -> Weight {
// Minimum execution time: 21_732 nanoseconds.
Weight::from_ref_time(21_953_000)
// Standard Error: 8_707
.saturating_add(Weight::from_ref_time(14_707_934).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `0 + c * (240 ±0)`
// Estimated: `5262 + c * (5180 ±0)`
// Minimum execution time: 15_861 nanoseconds.
Weight::from_ref_time(16_079_000)
.saturating_add(Weight::from_proof_size(5262))
// Standard Error: 10_732
.saturating_add(Weight::from_ref_time(14_192_928).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into())))
.saturating_add(Weight::from_proof_size(5180).saturating_mul(c.into()))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Approvals (r:1 w:0)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Approvals (r:1001 w:1000)
/// Proof: Assets Approvals (max_values: None, max_size: Some(148), added: 2623, mode: MaxEncodedLen)
/// The range of component `a` is `[0, 1000]`.
fn destroy_approvals(a: u32, ) -> Weight {
// Minimum execution time: 22_383 nanoseconds.
Weight::from_ref_time(22_657_000)
// Standard Error: 5_721
.saturating_add(Weight::from_ref_time(14_841_010).saturating_mul(a.into()))
// Proof Size summary in bytes:
// Measured: `446 + a * (86 ±0)`
// Estimated: `5308 + a * (2623 ±0)`
// Minimum execution time: 16_455 nanoseconds.
Weight::from_ref_time(16_720_000)
.saturating_add(Weight::from_proof_size(5308))
// Standard Error: 7_111
.saturating_add(Weight::from_ref_time(13_717_750).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into())))
.saturating_add(Weight::from_proof_size(2623).saturating_mul(a.into()))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Metadata (r:1 w:0)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Metadata (r:1 w:0)
/// Proof: Assets Metadata (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
fn finish_destroy() -> Weight {
// Minimum execution time: 19_205 nanoseconds.
Weight::from_ref_time(19_758_000)
// Proof Size summary in bytes:
// Measured: `275`
// Estimated: `5300`
// Minimum execution time: 12_819 nanoseconds.
Weight::from_ref_time(13_111_000)
.saturating_add(Weight::from_proof_size(5300))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Account (r:1 w:1)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
fn mint() -> Weight {
// Minimum execution time: 31_975 nanoseconds.
Weight::from_ref_time(32_909_000)
// Proof Size summary in bytes:
// Measured: `275`
// Estimated: `5262`
// Minimum execution time: 22_897 nanoseconds.
Weight::from_ref_time(23_386_000)
.saturating_add(Weight::from_proof_size(5262))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Account (r:1 w:1)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
fn burn() -> Weight {
// Minimum execution time: 38_612 nanoseconds.
Weight::from_ref_time(39_693_000)
// Proof Size summary in bytes:
// Measured: `383`
// Estimated: `5262`
// Minimum execution time: 28_432 nanoseconds.
Weight::from_ref_time(28_903_000)
.saturating_add(Weight::from_proof_size(5262))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Account (r:2 w:2)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn transfer() -> Weight {
// Minimum execution time: 49_986 nanoseconds.
Weight::from_ref_time(51_660_000)
// Proof Size summary in bytes:
// Measured: `383`
// Estimated: `10442`
// Minimum execution time: 39_823 nanoseconds.
Weight::from_ref_time(40_380_000)
.saturating_add(Weight::from_proof_size(10442))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Account (r:2 w:2)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn transfer_keep_alive() -> Weight {
// Minimum execution time: 43_079 nanoseconds.
Weight::from_ref_time(44_369_000)
// Proof Size summary in bytes:
// Measured: `383`
// Estimated: `10442`
// Minimum execution time: 34_924 nanoseconds.
Weight::from_ref_time(35_584_000)
.saturating_add(Weight::from_proof_size(10442))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Account (r:2 w:2)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn force_transfer() -> Weight {
// Minimum execution time: 50_736 nanoseconds.
Weight::from_ref_time(51_851_000)
// Proof Size summary in bytes:
// Measured: `383`
// Estimated: `10442`
// Minimum execution time: 39_647 nanoseconds.
Weight::from_ref_time(40_611_000)
.saturating_add(Weight::from_proof_size(10442))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Account (r:1 w:1)
/// Storage: Assets Asset (r:1 w:0)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Account (r:1 w:1)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
fn freeze() -> Weight {
// Minimum execution time: 22_127 nanoseconds.
Weight::from_ref_time(22_909_000)
// Proof Size summary in bytes:
// Measured: `383`
// Estimated: `5262`
// Minimum execution time: 16_462 nanoseconds.
Weight::from_ref_time(16_821_000)
.saturating_add(Weight::from_proof_size(5262))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Account (r:1 w:1)
/// Storage: Assets Asset (r:1 w:0)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Account (r:1 w:1)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
fn thaw() -> Weight {
// Minimum execution time: 22_065 nanoseconds.
Weight::from_ref_time(22_719_000)
// Proof Size summary in bytes:
// Measured: `383`
// Estimated: `5262`
// Minimum execution time: 16_416 nanoseconds.
Weight::from_ref_time(16_758_000)
.saturating_add(Weight::from_proof_size(5262))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
fn freeze_asset() -> Weight {
// Minimum execution time: 18_550 nanoseconds.
Weight::from_ref_time(18_966_000)
// Proof Size summary in bytes:
// Measured: `309`
// Estimated: `2685`
// Minimum execution time: 12_853 nanoseconds.
Weight::from_ref_time(13_257_000)
.saturating_add(Weight::from_proof_size(2685))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
fn thaw_asset() -> Weight {
// Minimum execution time: 18_581 nanoseconds.
Weight::from_ref_time(19_387_000)
// Proof Size summary in bytes:
// Measured: `309`
// Estimated: `2685`
// Minimum execution time: 12_422 nanoseconds.
Weight::from_ref_time(12_763_000)
.saturating_add(Weight::from_proof_size(2685))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Metadata (r:1 w:0)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Metadata (r:1 w:0)
/// Proof: Assets Metadata (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
fn transfer_ownership() -> Weight {
// Minimum execution time: 19_749 nanoseconds.
Weight::from_ref_time(20_429_000)
// Proof Size summary in bytes:
// Measured: `275`
// Estimated: `5300`
// Minimum execution time: 13_950 nanoseconds.
Weight::from_ref_time(14_242_000)
.saturating_add(Weight::from_proof_size(5300))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
fn set_team() -> Weight {
// Minimum execution time: 18_894 nanoseconds.
Weight::from_ref_time(19_387_000)
// Proof Size summary in bytes:
// Measured: `275`
// Estimated: `2685`
// Minimum execution time: 12_726 nanoseconds.
Weight::from_ref_time(13_072_000)
.saturating_add(Weight::from_proof_size(2685))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Metadata (r:1 w:1)
/// Storage: Assets Asset (r:1 w:0)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Metadata (r:1 w:1)
/// Proof: Assets Metadata (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
/// The range of component `n` is `[0, 50]`.
/// The range of component `s` is `[0, 50]`.
fn set_metadata(_n: u32, s: u32, ) -> Weight {
// Minimum execution time: 31_524 nanoseconds.
Weight::from_ref_time(33_046_758)
// Standard Error: 1_119
.saturating_add(Weight::from_ref_time(294).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `275`
// Estimated: `5300`
// Minimum execution time: 22_772 nanoseconds.
Weight::from_ref_time(24_026_274)
.saturating_add(Weight::from_proof_size(5300))
// Standard Error: 1_231
.saturating_add(Weight::from_ref_time(203).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Metadata (r:1 w:1)
/// Storage: Assets Asset (r:1 w:0)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Metadata (r:1 w:1)
/// Proof: Assets Metadata (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
fn clear_metadata() -> Weight {
// Minimum execution time: 33_196 nanoseconds.
Weight::from_ref_time(34_732_000)
// Proof Size summary in bytes:
// Measured: `471`
// Estimated: `5300`
// Minimum execution time: 23_310 nanoseconds.
Weight::from_ref_time(23_724_000)
.saturating_add(Weight::from_proof_size(5300))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Metadata (r:1 w:1)
/// Storage: Assets Asset (r:1 w:0)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Metadata (r:1 w:1)
/// Proof: Assets Metadata (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
/// The range of component `n` is `[0, 50]`.
/// The range of component `s` is `[0, 50]`.
fn force_set_metadata(_n: u32, s: u32, ) -> Weight {
// Minimum execution time: 19_287 nanoseconds.
Weight::from_ref_time(20_205_504)
// Standard Error: 513
.saturating_add(Weight::from_ref_time(1_006).saturating_mul(s.into()))
fn force_set_metadata(n: u32, s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `82`
// Estimated: `5300`
// Minimum execution time: 12_379 nanoseconds.
Weight::from_ref_time(12_903_065)
.saturating_add(Weight::from_proof_size(5300))
// Standard Error: 330
.saturating_add(Weight::from_ref_time(667).saturating_mul(n.into()))
// Standard Error: 330
.saturating_add(Weight::from_ref_time(2_891).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Metadata (r:1 w:1)
/// Storage: Assets Asset (r:1 w:0)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Metadata (r:1 w:1)
/// Proof: Assets Metadata (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
fn force_clear_metadata() -> Weight {
// Minimum execution time: 33_022 nanoseconds.
Weight::from_ref_time(34_035_000)
// Proof Size summary in bytes:
// Measured: `471`
// Estimated: `5300`
// Minimum execution time: 23_531 nanoseconds.
Weight::from_ref_time(23_845_000)
.saturating_add(Weight::from_proof_size(5300))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
fn force_asset_status() -> Weight {
// Minimum execution time: 18_229 nanoseconds.
Weight::from_ref_time(18_920_000)
// Proof Size summary in bytes:
// Measured: `275`
// Estimated: `2685`
// Minimum execution time: 12_426 nanoseconds.
Weight::from_ref_time(12_888_000)
.saturating_add(Weight::from_proof_size(2685))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Approvals (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Approvals (r:1 w:1)
/// Proof: Assets Approvals (max_values: None, max_size: Some(148), added: 2623, mode: MaxEncodedLen)
fn approve_transfer() -> Weight {
// Minimum execution time: 34_912 nanoseconds.
Weight::from_ref_time(36_084_000)
// Proof Size summary in bytes:
// Measured: `309`
// Estimated: `5308`
// Minimum execution time: 26_365 nanoseconds.
Weight::from_ref_time(26_700_000)
.saturating_add(Weight::from_proof_size(5308))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Approvals (r:1 w:1)
// Storage: Assets Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Approvals (r:1 w:1)
/// Proof: Assets Approvals (max_values: None, max_size: Some(148), added: 2623, mode: MaxEncodedLen)
/// Storage: Assets Account (r:2 w:2)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn transfer_approved() -> Weight {
// Minimum execution time: 65_747 nanoseconds.
Weight::from_ref_time(67_478_000)
// Proof Size summary in bytes:
// Measured: `553`
// Estimated: `13065`
// Minimum execution time: 53_167 nanoseconds.
Weight::from_ref_time(53_564_000)
.saturating_add(Weight::from_proof_size(13065))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Approvals (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Approvals (r:1 w:1)
/// Proof: Assets Approvals (max_values: None, max_size: Some(148), added: 2623, mode: MaxEncodedLen)
fn cancel_approval() -> Weight {
// Minimum execution time: 37_067 nanoseconds.
Weight::from_ref_time(38_033_000)
// Proof Size summary in bytes:
// Measured: `479`
// Estimated: `5308`
// Minimum execution time: 28_120 nanoseconds.
Weight::from_ref_time(28_540_000)
.saturating_add(Weight::from_proof_size(5308))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Approvals (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Approvals (r:1 w:1)
/// Proof: Assets Approvals (max_values: None, max_size: Some(148), added: 2623, mode: MaxEncodedLen)
fn force_cancel_approval() -> Weight {
// Minimum execution time: 37_959 nanoseconds.
Weight::from_ref_time(39_050_000)
// Proof Size summary in bytes:
// Measured: `479`
// Estimated: `5308`
// Minimum execution time: 28_503 nanoseconds.
Weight::from_ref_time(28_988_000)
.saturating_add(Weight::from_proof_size(5308))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}