Revert "FRAME: Create TransactionExtension as a replacement for SignedExtension (#2280)" (#3665)

This PR reverts #2280 which introduced `TransactionExtension` to replace
`SignedExtension`.

As a result of the discussion
[here](https://github.com/paritytech/polkadot-sdk/pull/3623#issuecomment-1986789700),
the changes will be reverted for now with plans to reintroduce the
concept in the future.

---------

Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
This commit is contained in:
georgepisaltu
2024-03-13 16:10:59 +02:00
committed by GitHub
parent 60ac5a723c
commit bbd51ce867
350 changed files with 15826 additions and 24304 deletions
+181 -187
View File
@@ -17,29 +17,27 @@
//! Autogenerated weights for `pallet_uniques`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2024-03-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-07-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `runner-bn-ce5rx-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024`
//! HOSTNAME: `runner-gghbxkbs-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024`
// Executed Command:
// ./target/production/substrate-node
// target/production/substrate
// benchmark
// pallet
// --chain=dev
// --steps=50
// --repeat=20
// --pallet=pallet_uniques
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
// --output=./substrate/frame/uniques/src/weights.rs
// --header=./substrate/HEADER-APACHE2
// --template=./substrate/.maintain/frame-weight-template.hbs
// --json-file=/builds/parity/mirrors/substrate/.git/.artifacts/bench.json
// --pallet=pallet_uniques
// --chain=dev
// --header=./HEADER-APACHE2
// --output=./frame/uniques/src/weights.rs
// --template=./.maintain/frame-weight-template.hbs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -90,8 +88,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `249`
// Estimated: `3643`
// Minimum execution time: 27_960_000 picoseconds.
Weight::from_parts(28_781_000, 3643)
// Minimum execution time: 31_393_000 picoseconds.
Weight::from_parts(32_933_000, 3643)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -103,8 +101,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `109`
// Estimated: `3643`
// Minimum execution time: 11_970_000 picoseconds.
Weight::from_parts(12_512_000, 3643)
// Minimum execution time: 14_827_000 picoseconds.
Weight::from_parts(15_273_000, 3643)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -113,13 +111,13 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Storage: `Uniques::Asset` (r:1001 w:1000)
/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
/// Storage: `Uniques::InstanceMetadataOf` (r:1000 w:1000)
/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`)
/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
/// Storage: `Uniques::Attribute` (r:1000 w:1000)
/// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(172), added: 2647, mode: `MaxEncodedLen`)
/// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(364), added: 2839, mode: `MaxEncodedLen`)
/// Storage: `Uniques::ClassAccount` (r:0 w:1)
/// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
/// Storage: `Uniques::ClassMetadataOf` (r:0 w:1)
/// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(167), added: 2642, mode: `MaxEncodedLen`)
/// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
/// Storage: `Uniques::Account` (r:0 w:1000)
/// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
/// Storage: `Uniques::CollectionMaxSupply` (r:0 w:1)
@@ -130,15 +128,15 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `418 + a * (107 ±0) + m * (56 ±0) + n * (76 ±0)`
// Estimated: `3643 + a * (2647 ±0) + m * (2662 ±0) + n * (2597 ±0)`
// Minimum execution time: 2_979_858_000 picoseconds.
Weight::from_parts(3_007_268_000, 3643)
// Standard Error: 29_899
.saturating_add(Weight::from_parts(6_943_612, 0).saturating_mul(n.into()))
// Standard Error: 29_899
.saturating_add(Weight::from_parts(398_114, 0).saturating_mul(m.into()))
// Standard Error: 29_899
.saturating_add(Weight::from_parts(369_941, 0).saturating_mul(a.into()))
// Estimated: `3643 + a * (2839 ±0) + m * (2583 ±0) + n * (2597 ±0)`
// Minimum execution time: 3_281_673_000 picoseconds.
Weight::from_parts(3_443_387_000, 3643)
// Standard Error: 41_937
.saturating_add(Weight::from_parts(7_914_842, 0).saturating_mul(n.into()))
// Standard Error: 41_937
.saturating_add(Weight::from_parts(519_960, 0).saturating_mul(m.into()))
// Standard Error: 41_937
.saturating_add(Weight::from_parts(462_690, 0).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into())))
@@ -147,8 +145,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(m.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into())))
.saturating_add(Weight::from_parts(0, 2647).saturating_mul(a.into()))
.saturating_add(Weight::from_parts(0, 2662).saturating_mul(m.into()))
.saturating_add(Weight::from_parts(0, 2839).saturating_mul(a.into()))
.saturating_add(Weight::from_parts(0, 2583).saturating_mul(m.into()))
.saturating_add(Weight::from_parts(0, 2597).saturating_mul(n.into()))
}
/// Storage: `Uniques::Asset` (r:1 w:1)
@@ -163,8 +161,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `349`
// Estimated: `3643`
// Minimum execution time: 32_733_000 picoseconds.
Weight::from_parts(33_487_000, 3643)
// Minimum execution time: 38_122_000 picoseconds.
Weight::from_parts(38_924_000, 3643)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -180,8 +178,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `495`
// Estimated: `3643`
// Minimum execution time: 34_202_000 picoseconds.
Weight::from_parts(35_146_000, 3643)
// Minimum execution time: 38_835_000 picoseconds.
Weight::from_parts(39_754_000, 3643)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -197,8 +195,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `495`
// Estimated: `3643`
// Minimum execution time: 24_285_000 picoseconds.
Weight::from_parts(25_300_000, 3643)
// Minimum execution time: 27_032_000 picoseconds.
Weight::from_parts(27_793_000, 3643)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -211,10 +209,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `805 + i * (76 ±0)`
// Estimated: `3643 + i * (2597 ±0)`
// Minimum execution time: 11_641_000 picoseconds.
Weight::from_parts(12_261_000, 3643)
// Standard Error: 18_897
.saturating_add(Weight::from_parts(15_263_570, 0).saturating_mul(i.into()))
// Minimum execution time: 14_737_000 picoseconds.
Weight::from_parts(15_070_000, 3643)
// Standard Error: 22_500
.saturating_add(Weight::from_parts(18_855_468, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into())))
.saturating_add(T::DbWeight::get().writes(1_u64))
@@ -229,8 +227,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `495`
// Estimated: `3643`
// Minimum execution time: 16_122_000 picoseconds.
Weight::from_parts(16_627_000, 3643)
// Minimum execution time: 18_664_000 picoseconds.
Weight::from_parts(19_455_000, 3643)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -242,8 +240,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `495`
// Estimated: `3643`
// Minimum execution time: 15_824_000 picoseconds.
Weight::from_parts(16_522_000, 3643)
// Minimum execution time: 18_247_000 picoseconds.
Weight::from_parts(18_763_000, 3643)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -253,8 +251,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `349`
// Estimated: `3643`
// Minimum execution time: 10_802_000 picoseconds.
Weight::from_parts(11_206_000, 3643)
// Minimum execution time: 13_219_000 picoseconds.
Weight::from_parts(13_923_000, 3643)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -264,8 +262,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `349`
// Estimated: `3643`
// Minimum execution time: 10_805_000 picoseconds.
Weight::from_parts(11_340_000, 3643)
// Minimum execution time: 13_376_000 picoseconds.
Weight::from_parts(13_904_000, 3643)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -273,18 +271,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: `Uniques::OwnershipAcceptance` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
/// Storage: `Uniques::Class` (r:1 w:1)
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// Storage: `Uniques::ClassAccount` (r:0 w:2)
/// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
fn transfer_ownership() -> Weight {
// Proof Size summary in bytes:
// Measured: `597`
// Measured: `423`
// Estimated: `3643`
// Minimum execution time: 24_213_000 picoseconds.
Weight::from_parts(25_547_000, 3643)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
// Minimum execution time: 22_353_000 picoseconds.
Weight::from_parts(23_222_000, 3643)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
/// Storage: `Uniques::Class` (r:1 w:1)
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
@@ -292,8 +288,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `349`
// Estimated: `3643`
// Minimum execution time: 11_256_000 picoseconds.
Weight::from_parts(11_585_000, 3643)
// Minimum execution time: 14_072_000 picoseconds.
Weight::from_parts(14_619_000, 3643)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -305,90 +301,90 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `349`
// Estimated: `3643`
// Minimum execution time: 14_616_000 picoseconds.
Weight::from_parts(15_064_000, 3643)
// Minimum execution time: 17_081_000 picoseconds.
Weight::from_parts(17_698_000, 3643)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
/// Storage: `Uniques::Class` (r:1 w:1)
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
/// Storage: `Uniques::InstanceMetadataOf` (r:1 w:0)
/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`)
/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
/// Storage: `Uniques::Attribute` (r:1 w:1)
/// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(172), added: 2647, mode: `MaxEncodedLen`)
/// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(364), added: 2839, mode: `MaxEncodedLen`)
fn set_attribute() -> Weight {
// Proof Size summary in bytes:
// Measured: `626`
// Estimated: `3652`
// Minimum execution time: 35_640_000 picoseconds.
Weight::from_parts(37_007_000, 3652)
// Measured: `547`
// Estimated: `3829`
// Minimum execution time: 41_501_000 picoseconds.
Weight::from_parts(43_101_000, 3829)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
/// Storage: `Uniques::Class` (r:1 w:1)
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
/// Storage: `Uniques::InstanceMetadataOf` (r:1 w:0)
/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`)
/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
/// Storage: `Uniques::Attribute` (r:1 w:1)
/// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(172), added: 2647, mode: `MaxEncodedLen`)
/// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(364), added: 2839, mode: `MaxEncodedLen`)
fn clear_attribute() -> Weight {
// Proof Size summary in bytes:
// Measured: `823`
// Estimated: `3652`
// Minimum execution time: 34_410_000 picoseconds.
Weight::from_parts(35_431_000, 3652)
// Measured: `936`
// Estimated: `3829`
// Minimum execution time: 39_722_000 picoseconds.
Weight::from_parts(40_390_000, 3829)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
/// Storage: `Uniques::Class` (r:1 w:1)
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
/// Storage: `Uniques::InstanceMetadataOf` (r:1 w:1)
/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`)
/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
fn set_metadata() -> Weight {
// Proof Size summary in bytes:
// Measured: `415`
// Estimated: `3652`
// Minimum execution time: 26_187_000 picoseconds.
Weight::from_parts(27_837_000, 3652)
// Estimated: `3643`
// Minimum execution time: 30_726_000 picoseconds.
Weight::from_parts(31_557_000, 3643)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
/// Storage: `Uniques::Class` (r:1 w:1)
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
/// Storage: `Uniques::InstanceMetadataOf` (r:1 w:1)
/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`)
/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
fn clear_metadata() -> Weight {
// Proof Size summary in bytes:
// Measured: `626`
// Estimated: `3652`
// Minimum execution time: 26_640_000 picoseconds.
Weight::from_parts(27_688_000, 3652)
// Measured: `547`
// Estimated: `3643`
// Minimum execution time: 31_303_000 picoseconds.
Weight::from_parts(32_389_000, 3643)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
/// Storage: `Uniques::Class` (r:1 w:1)
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
/// Storage: `Uniques::ClassMetadataOf` (r:1 w:1)
/// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(167), added: 2642, mode: `MaxEncodedLen`)
/// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
fn set_collection_metadata() -> Weight {
// Proof Size summary in bytes:
// Measured: `349`
// Estimated: `3643`
// Minimum execution time: 26_781_000 picoseconds.
Weight::from_parts(27_628_000, 3643)
// Minimum execution time: 32_155_000 picoseconds.
Weight::from_parts(32_885_000, 3643)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
/// Storage: `Uniques::Class` (r:1 w:0)
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
/// Storage: `Uniques::ClassMetadataOf` (r:1 w:1)
/// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(167), added: 2642, mode: `MaxEncodedLen`)
/// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
fn clear_collection_metadata() -> Weight {
// Proof Size summary in bytes:
// Measured: `540`
// Measured: `461`
// Estimated: `3643`
// Minimum execution time: 26_295_000 picoseconds.
Weight::from_parts(26_903_000, 3643)
// Minimum execution time: 30_044_000 picoseconds.
Weight::from_parts(31_405_000, 3643)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -400,8 +396,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `495`
// Estimated: `3643`
// Minimum execution time: 16_678_000 picoseconds.
Weight::from_parts(17_548_000, 3643)
// Minimum execution time: 18_904_000 picoseconds.
Weight::from_parts(19_687_000, 3643)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -413,8 +409,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `528`
// Estimated: `3643`
// Minimum execution time: 16_408_000 picoseconds.
Weight::from_parts(16_957_000, 3643)
// Minimum execution time: 19_144_000 picoseconds.
Weight::from_parts(19_706_000, 3643)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -424,8 +420,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `109`
// Estimated: `3517`
// Minimum execution time: 12_568_000 picoseconds.
Weight::from_parts(12_960_000, 3517)
// Minimum execution time: 15_339_000 picoseconds.
Weight::from_parts(15_918_000, 3517)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -437,8 +433,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `349`
// Estimated: `3643`
// Minimum execution time: 13_110_000 picoseconds.
Weight::from_parts(13_620_000, 3643)
// Minimum execution time: 15_387_000 picoseconds.
Weight::from_parts(15_726_000, 3643)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -450,8 +446,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `326`
// Estimated: `3587`
// Minimum execution time: 13_568_000 picoseconds.
Weight::from_parts(14_211_000, 3587)
// Minimum execution time: 15_873_000 picoseconds.
Weight::from_parts(16_860_000, 3587)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -467,8 +463,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `607`
// Estimated: `3643`
// Minimum execution time: 32_660_000 picoseconds.
Weight::from_parts(33_734_000, 3643)
// Minimum execution time: 37_245_000 picoseconds.
Weight::from_parts(38_383_000, 3643)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -484,8 +480,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `249`
// Estimated: `3643`
// Minimum execution time: 27_960_000 picoseconds.
Weight::from_parts(28_781_000, 3643)
// Minimum execution time: 31_393_000 picoseconds.
Weight::from_parts(32_933_000, 3643)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -497,8 +493,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `109`
// Estimated: `3643`
// Minimum execution time: 11_970_000 picoseconds.
Weight::from_parts(12_512_000, 3643)
// Minimum execution time: 14_827_000 picoseconds.
Weight::from_parts(15_273_000, 3643)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -507,13 +503,13 @@ impl WeightInfo for () {
/// Storage: `Uniques::Asset` (r:1001 w:1000)
/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
/// Storage: `Uniques::InstanceMetadataOf` (r:1000 w:1000)
/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`)
/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
/// Storage: `Uniques::Attribute` (r:1000 w:1000)
/// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(172), added: 2647, mode: `MaxEncodedLen`)
/// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(364), added: 2839, mode: `MaxEncodedLen`)
/// Storage: `Uniques::ClassAccount` (r:0 w:1)
/// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
/// Storage: `Uniques::ClassMetadataOf` (r:0 w:1)
/// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(167), added: 2642, mode: `MaxEncodedLen`)
/// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
/// Storage: `Uniques::Account` (r:0 w:1000)
/// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
/// Storage: `Uniques::CollectionMaxSupply` (r:0 w:1)
@@ -524,15 +520,15 @@ impl WeightInfo for () {
fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `418 + a * (107 ±0) + m * (56 ±0) + n * (76 ±0)`
// Estimated: `3643 + a * (2647 ±0) + m * (2662 ±0) + n * (2597 ±0)`
// Minimum execution time: 2_979_858_000 picoseconds.
Weight::from_parts(3_007_268_000, 3643)
// Standard Error: 29_899
.saturating_add(Weight::from_parts(6_943_612, 0).saturating_mul(n.into()))
// Standard Error: 29_899
.saturating_add(Weight::from_parts(398_114, 0).saturating_mul(m.into()))
// Standard Error: 29_899
.saturating_add(Weight::from_parts(369_941, 0).saturating_mul(a.into()))
// Estimated: `3643 + a * (2839 ±0) + m * (2583 ±0) + n * (2597 ±0)`
// Minimum execution time: 3_281_673_000 picoseconds.
Weight::from_parts(3_443_387_000, 3643)
// Standard Error: 41_937
.saturating_add(Weight::from_parts(7_914_842, 0).saturating_mul(n.into()))
// Standard Error: 41_937
.saturating_add(Weight::from_parts(519_960, 0).saturating_mul(m.into()))
// Standard Error: 41_937
.saturating_add(Weight::from_parts(462_690, 0).saturating_mul(a.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(m.into())))
@@ -541,8 +537,8 @@ impl WeightInfo for () {
.saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(n.into())))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(m.into())))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(a.into())))
.saturating_add(Weight::from_parts(0, 2647).saturating_mul(a.into()))
.saturating_add(Weight::from_parts(0, 2662).saturating_mul(m.into()))
.saturating_add(Weight::from_parts(0, 2839).saturating_mul(a.into()))
.saturating_add(Weight::from_parts(0, 2583).saturating_mul(m.into()))
.saturating_add(Weight::from_parts(0, 2597).saturating_mul(n.into()))
}
/// Storage: `Uniques::Asset` (r:1 w:1)
@@ -557,8 +553,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `349`
// Estimated: `3643`
// Minimum execution time: 32_733_000 picoseconds.
Weight::from_parts(33_487_000, 3643)
// Minimum execution time: 38_122_000 picoseconds.
Weight::from_parts(38_924_000, 3643)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -574,8 +570,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `495`
// Estimated: `3643`
// Minimum execution time: 34_202_000 picoseconds.
Weight::from_parts(35_146_000, 3643)
// Minimum execution time: 38_835_000 picoseconds.
Weight::from_parts(39_754_000, 3643)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -591,8 +587,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `495`
// Estimated: `3643`
// Minimum execution time: 24_285_000 picoseconds.
Weight::from_parts(25_300_000, 3643)
// Minimum execution time: 27_032_000 picoseconds.
Weight::from_parts(27_793_000, 3643)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -605,10 +601,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `805 + i * (76 ±0)`
// Estimated: `3643 + i * (2597 ±0)`
// Minimum execution time: 11_641_000 picoseconds.
Weight::from_parts(12_261_000, 3643)
// Standard Error: 18_897
.saturating_add(Weight::from_parts(15_263_570, 0).saturating_mul(i.into()))
// Minimum execution time: 14_737_000 picoseconds.
Weight::from_parts(15_070_000, 3643)
// Standard Error: 22_500
.saturating_add(Weight::from_parts(18_855_468, 0).saturating_mul(i.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(i.into())))
.saturating_add(RocksDbWeight::get().writes(1_u64))
@@ -623,8 +619,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `495`
// Estimated: `3643`
// Minimum execution time: 16_122_000 picoseconds.
Weight::from_parts(16_627_000, 3643)
// Minimum execution time: 18_664_000 picoseconds.
Weight::from_parts(19_455_000, 3643)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -636,8 +632,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `495`
// Estimated: `3643`
// Minimum execution time: 15_824_000 picoseconds.
Weight::from_parts(16_522_000, 3643)
// Minimum execution time: 18_247_000 picoseconds.
Weight::from_parts(18_763_000, 3643)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -647,8 +643,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `349`
// Estimated: `3643`
// Minimum execution time: 10_802_000 picoseconds.
Weight::from_parts(11_206_000, 3643)
// Minimum execution time: 13_219_000 picoseconds.
Weight::from_parts(13_923_000, 3643)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -658,8 +654,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `349`
// Estimated: `3643`
// Minimum execution time: 10_805_000 picoseconds.
Weight::from_parts(11_340_000, 3643)
// Minimum execution time: 13_376_000 picoseconds.
Weight::from_parts(13_904_000, 3643)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -667,18 +663,16 @@ impl WeightInfo for () {
/// Proof: `Uniques::OwnershipAcceptance` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
/// Storage: `Uniques::Class` (r:1 w:1)
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// Storage: `Uniques::ClassAccount` (r:0 w:2)
/// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
fn transfer_ownership() -> Weight {
// Proof Size summary in bytes:
// Measured: `597`
// Measured: `423`
// Estimated: `3643`
// Minimum execution time: 24_213_000 picoseconds.
Weight::from_parts(25_547_000, 3643)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
// Minimum execution time: 22_353_000 picoseconds.
Weight::from_parts(23_222_000, 3643)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
/// Storage: `Uniques::Class` (r:1 w:1)
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
@@ -686,8 +680,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `349`
// Estimated: `3643`
// Minimum execution time: 11_256_000 picoseconds.
Weight::from_parts(11_585_000, 3643)
// Minimum execution time: 14_072_000 picoseconds.
Weight::from_parts(14_619_000, 3643)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -699,90 +693,90 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `349`
// Estimated: `3643`
// Minimum execution time: 14_616_000 picoseconds.
Weight::from_parts(15_064_000, 3643)
// Minimum execution time: 17_081_000 picoseconds.
Weight::from_parts(17_698_000, 3643)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
/// Storage: `Uniques::Class` (r:1 w:1)
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
/// Storage: `Uniques::InstanceMetadataOf` (r:1 w:0)
/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`)
/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
/// Storage: `Uniques::Attribute` (r:1 w:1)
/// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(172), added: 2647, mode: `MaxEncodedLen`)
/// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(364), added: 2839, mode: `MaxEncodedLen`)
fn set_attribute() -> Weight {
// Proof Size summary in bytes:
// Measured: `626`
// Estimated: `3652`
// Minimum execution time: 35_640_000 picoseconds.
Weight::from_parts(37_007_000, 3652)
// Measured: `547`
// Estimated: `3829`
// Minimum execution time: 41_501_000 picoseconds.
Weight::from_parts(43_101_000, 3829)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
/// Storage: `Uniques::Class` (r:1 w:1)
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
/// Storage: `Uniques::InstanceMetadataOf` (r:1 w:0)
/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`)
/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
/// Storage: `Uniques::Attribute` (r:1 w:1)
/// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(172), added: 2647, mode: `MaxEncodedLen`)
/// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(364), added: 2839, mode: `MaxEncodedLen`)
fn clear_attribute() -> Weight {
// Proof Size summary in bytes:
// Measured: `823`
// Estimated: `3652`
// Minimum execution time: 34_410_000 picoseconds.
Weight::from_parts(35_431_000, 3652)
// Measured: `936`
// Estimated: `3829`
// Minimum execution time: 39_722_000 picoseconds.
Weight::from_parts(40_390_000, 3829)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
/// Storage: `Uniques::Class` (r:1 w:1)
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
/// Storage: `Uniques::InstanceMetadataOf` (r:1 w:1)
/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`)
/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
fn set_metadata() -> Weight {
// Proof Size summary in bytes:
// Measured: `415`
// Estimated: `3652`
// Minimum execution time: 26_187_000 picoseconds.
Weight::from_parts(27_837_000, 3652)
// Estimated: `3643`
// Minimum execution time: 30_726_000 picoseconds.
Weight::from_parts(31_557_000, 3643)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
/// Storage: `Uniques::Class` (r:1 w:1)
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
/// Storage: `Uniques::InstanceMetadataOf` (r:1 w:1)
/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`)
/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
fn clear_metadata() -> Weight {
// Proof Size summary in bytes:
// Measured: `626`
// Estimated: `3652`
// Minimum execution time: 26_640_000 picoseconds.
Weight::from_parts(27_688_000, 3652)
// Measured: `547`
// Estimated: `3643`
// Minimum execution time: 31_303_000 picoseconds.
Weight::from_parts(32_389_000, 3643)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
/// Storage: `Uniques::Class` (r:1 w:1)
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
/// Storage: `Uniques::ClassMetadataOf` (r:1 w:1)
/// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(167), added: 2642, mode: `MaxEncodedLen`)
/// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
fn set_collection_metadata() -> Weight {
// Proof Size summary in bytes:
// Measured: `349`
// Estimated: `3643`
// Minimum execution time: 26_781_000 picoseconds.
Weight::from_parts(27_628_000, 3643)
// Minimum execution time: 32_155_000 picoseconds.
Weight::from_parts(32_885_000, 3643)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
/// Storage: `Uniques::Class` (r:1 w:0)
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
/// Storage: `Uniques::ClassMetadataOf` (r:1 w:1)
/// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(167), added: 2642, mode: `MaxEncodedLen`)
/// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
fn clear_collection_metadata() -> Weight {
// Proof Size summary in bytes:
// Measured: `540`
// Measured: `461`
// Estimated: `3643`
// Minimum execution time: 26_295_000 picoseconds.
Weight::from_parts(26_903_000, 3643)
// Minimum execution time: 30_044_000 picoseconds.
Weight::from_parts(31_405_000, 3643)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -794,8 +788,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `495`
// Estimated: `3643`
// Minimum execution time: 16_678_000 picoseconds.
Weight::from_parts(17_548_000, 3643)
// Minimum execution time: 18_904_000 picoseconds.
Weight::from_parts(19_687_000, 3643)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -807,8 +801,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `528`
// Estimated: `3643`
// Minimum execution time: 16_408_000 picoseconds.
Weight::from_parts(16_957_000, 3643)
// Minimum execution time: 19_144_000 picoseconds.
Weight::from_parts(19_706_000, 3643)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -818,8 +812,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `109`
// Estimated: `3517`
// Minimum execution time: 12_568_000 picoseconds.
Weight::from_parts(12_960_000, 3517)
// Minimum execution time: 15_339_000 picoseconds.
Weight::from_parts(15_918_000, 3517)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -831,8 +825,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `349`
// Estimated: `3643`
// Minimum execution time: 13_110_000 picoseconds.
Weight::from_parts(13_620_000, 3643)
// Minimum execution time: 15_387_000 picoseconds.
Weight::from_parts(15_726_000, 3643)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -844,8 +838,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `326`
// Estimated: `3587`
// Minimum execution time: 13_568_000 picoseconds.
Weight::from_parts(14_211_000, 3587)
// Minimum execution time: 15_873_000 picoseconds.
Weight::from_parts(16_860_000, 3587)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -861,8 +855,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `607`
// Estimated: `3643`
// Minimum execution time: 32_660_000 picoseconds.
Weight::from_parts(33_734_000, 3643)
// Minimum execution time: 37_245_000 picoseconds.
Weight::from_parts(38_383_000, 3643)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}