difftreelog
chore regenerate weights
in: master
10 files changed
pallets/evm-migration/src/weights.rsdiffbeforeafterboth--- a/pallets/evm-migration/src/weights.rs
+++ b/pallets/evm-migration/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_evm_migration
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-06-15, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -19,7 +19,7 @@
// --template
// .maintain/frame-weight-template.hbs
// --steps=50
-// --repeat=200
+// --repeat=80
// --heap-pages=4096
// --output=./pallets/evm-migration/src/weights.rs
@@ -45,25 +45,23 @@
// Storage: System Account (r:1 w:0)
// Storage: EVM AccountCodes (r:1 w:0)
fn begin() -> Weight {
- (6_914_000 as Weight)
+ (8_035_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: EvmMigration MigrationPending (r:1 w:0)
// Storage: EVM AccountStorages (r:0 w:1)
fn set_data(b: u32, ) -> Weight {
- (2_875_000 as Weight)
+ (3_076_000 as Weight)
// Standard Error: 0
- .saturating_add((794_000 as Weight).saturating_mul(b as Weight))
+ .saturating_add((828_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))
}
// Storage: EvmMigration MigrationPending (r:1 w:1)
// Storage: EVM AccountCodes (r:0 w:1)
- fn finish(b: u32, ) -> Weight {
- (6_320_000 as Weight)
- // Standard Error: 0
- .saturating_add((2_000 as Weight).saturating_mul(b as Weight))
+ fn finish(_b: u32, ) -> Weight {
+ (6_591_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
@@ -75,25 +73,23 @@
// Storage: System Account (r:1 w:0)
// Storage: EVM AccountCodes (r:1 w:0)
fn begin() -> Weight {
- (6_914_000 as Weight)
+ (8_035_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: EvmMigration MigrationPending (r:1 w:0)
// Storage: EVM AccountStorages (r:0 w:1)
fn set_data(b: u32, ) -> Weight {
- (2_875_000 as Weight)
+ (3_076_000 as Weight)
// Standard Error: 0
- .saturating_add((794_000 as Weight).saturating_mul(b as Weight))
+ .saturating_add((828_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))
}
// Storage: EvmMigration MigrationPending (r:1 w:1)
// Storage: EVM AccountCodes (r:0 w:1)
- fn finish(b: u32, ) -> Weight {
- (6_320_000 as Weight)
- // Standard Error: 0
- .saturating_add((2_000 as Weight).saturating_mul(b as Weight))
+ fn finish(_b: u32, ) -> Weight {
+ (6_591_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
pallets/fungible/src/weights.rsdiffbeforeafterboth--- a/pallets/fungible/src/weights.rs
+++ b/pallets/fungible/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_fungible
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-06-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -48,16 +48,16 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn create_item() -> Weight {
- (17_828_000 as Weight)
+ (18_195_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:4 w:4)
fn create_multiple_items_ex(b: u32, ) -> Weight {
- (17_574_000 as Weight)
+ (19_218_000 as Weight)
// Standard Error: 3_000
- .saturating_add((4_288_000 as Weight).saturating_mul(b as Weight))
+ .saturating_add((4_516_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
@@ -66,27 +66,27 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn burn_item() -> Weight {
- (18_417_000 as Weight)
+ (18_719_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: Fungible Balance (r:2 w:2)
fn transfer() -> Weight {
- (20_090_000 as Weight)
+ (20_563_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: Fungible Balance (r:1 w:0)
// Storage: Fungible Allowance (r:0 w:1)
fn approve() -> Weight {
- (17_532_000 as Weight)
+ (17_583_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Fungible Allowance (r:1 w:1)
// Storage: Fungible Balance (r:2 w:2)
fn transfer_from() -> Weight {
- (29_869_000 as Weight)
+ (29_845_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
@@ -94,7 +94,7 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn burn_from() -> Weight {
- (27_835_000 as Weight)
+ (28_248_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
@@ -105,16 +105,16 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn create_item() -> Weight {
- (17_828_000 as Weight)
+ (18_195_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:4 w:4)
fn create_multiple_items_ex(b: u32, ) -> Weight {
- (17_574_000 as Weight)
+ (19_218_000 as Weight)
// Standard Error: 3_000
- .saturating_add((4_288_000 as Weight).saturating_mul(b as Weight))
+ .saturating_add((4_516_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
@@ -123,27 +123,27 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn burn_item() -> Weight {
- (18_417_000 as Weight)
+ (18_719_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
// Storage: Fungible Balance (r:2 w:2)
fn transfer() -> Weight {
- (20_090_000 as Weight)
+ (20_563_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
// Storage: Fungible Balance (r:1 w:0)
// Storage: Fungible Allowance (r:0 w:1)
fn approve() -> Weight {
- (17_532_000 as Weight)
+ (17_583_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Fungible Allowance (r:1 w:1)
// Storage: Fungible Balance (r:2 w:2)
fn transfer_from() -> Weight {
- (29_869_000 as Weight)
+ (29_845_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
}
@@ -151,7 +151,7 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn burn_from() -> Weight {
- (27_835_000 as Weight)
+ (28_248_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
}
pallets/nonfungible/src/weights.rsdiffbeforeafterboth--- a/pallets/nonfungible/src/weights.rs
+++ b/pallets/nonfungible/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_nonfungible
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-08-01, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -57,7 +57,7 @@
// Storage: Nonfungible TokenData (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn create_item() -> Weight {
- (20_909_000 as Weight)
+ (25_905_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
@@ -66,9 +66,9 @@
// Storage: Nonfungible TokenData (r:0 w:4)
// Storage: Nonfungible Owned (r:0 w:4)
fn create_multiple_items(b: u32, ) -> Weight {
- (12_601_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((4_920_000 as Weight).saturating_mul(b as Weight))
+ (24_955_000 as Weight)
+ // Standard Error: 3_000
+ .saturating_add((5_340_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
.saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))
@@ -78,9 +78,9 @@
// Storage: Nonfungible TokenData (r:0 w:4)
// Storage: Nonfungible Owned (r:0 w:4)
fn create_multiple_items_ex(b: u32, ) -> Weight {
- (0 as Weight)
- // Standard Error: 3_000
- .saturating_add((7_734_000 as Weight).saturating_mul(b as Weight))
+ (13_666_000 as Weight)
+ // Standard Error: 5_000
+ .saturating_add((8_299_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
@@ -94,7 +94,7 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_item() -> Weight {
- (29_746_000 as Weight)
+ (36_205_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
}
@@ -106,7 +106,7 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_recursively_self_raw() -> Weight {
- (36_077_000 as Weight)
+ (44_550_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
}
@@ -120,8 +120,8 @@
// Storage: Common CollectionById (r:1 w:0)
fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_605_000
- .saturating_add((312_391_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 1_536_000
+ .saturating_add((312_125_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(7 as Weight))
.saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))
.saturating_add(T::DbWeight::get().writes(6 as Weight))
@@ -132,14 +132,14 @@
// Storage: Nonfungible Allowance (r:1 w:0)
// Storage: Nonfungible Owned (r:0 w:2)
fn transfer() -> Weight {
- (25_248_000 as Weight)
+ (31_116_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
}
// Storage: Nonfungible TokenData (r:1 w:0)
// Storage: Nonfungible Allowance (r:1 w:1)
fn approve() -> Weight {
- (16_321_000 as Weight)
+ (20_802_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -148,7 +148,7 @@
// Storage: Nonfungible AccountBalance (r:2 w:2)
// Storage: Nonfungible Owned (r:0 w:2)
fn transfer_from() -> Weight {
- (29_325_000 as Weight)
+ (36_083_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(6 as Weight))
}
@@ -160,15 +160,15 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_from() -> Weight {
- (33_323_000 as Weight)
+ (41_781_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(6 as Weight))
}
// Storage: Common CollectionPropertyPermissions (r:1 w:1)
fn set_token_property_permissions(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 62_000
- .saturating_add((16_222_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 58_000
+ .saturating_add((15_705_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -176,8 +176,8 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
fn set_token_properties(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_750_000
- .saturating_add((304_476_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 3_595_000
+ .saturating_add((590_344_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -185,14 +185,14 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
fn delete_token_properties(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_638_000
- .saturating_add((294_096_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 3_664_000
+ .saturating_add((605_836_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Nonfungible TokenData (r:1 w:0)
fn token_owner() -> Weight {
- (2_986_000 as Weight)
+ (4_366_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
}
}
@@ -204,7 +204,7 @@
// Storage: Nonfungible TokenData (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn create_item() -> Weight {
- (20_909_000 as Weight)
+ (25_905_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
}
@@ -213,9 +213,9 @@
// Storage: Nonfungible TokenData (r:0 w:4)
// Storage: Nonfungible Owned (r:0 w:4)
fn create_multiple_items(b: u32, ) -> Weight {
- (12_601_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((4_920_000 as Weight).saturating_mul(b as Weight))
+ (24_955_000 as Weight)
+ // Standard Error: 3_000
+ .saturating_add((5_340_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
.saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))
@@ -225,9 +225,9 @@
// Storage: Nonfungible TokenData (r:0 w:4)
// Storage: Nonfungible Owned (r:0 w:4)
fn create_multiple_items_ex(b: u32, ) -> Weight {
- (0 as Weight)
- // Standard Error: 3_000
- .saturating_add((7_734_000 as Weight).saturating_mul(b as Weight))
+ (13_666_000 as Weight)
+ // Standard Error: 5_000
+ .saturating_add((8_299_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
@@ -241,7 +241,7 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_item() -> Weight {
- (29_746_000 as Weight)
+ (36_205_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(5 as Weight))
}
@@ -253,7 +253,7 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_recursively_self_raw() -> Weight {
- (36_077_000 as Weight)
+ (44_550_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(5 as Weight))
}
@@ -267,8 +267,8 @@
// Storage: Common CollectionById (r:1 w:0)
fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_605_000
- .saturating_add((312_391_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 1_536_000
+ .saturating_add((312_125_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(7 as Weight))
.saturating_add(RocksDbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))
.saturating_add(RocksDbWeight::get().writes(6 as Weight))
@@ -279,14 +279,14 @@
// Storage: Nonfungible Allowance (r:1 w:0)
// Storage: Nonfungible Owned (r:0 w:2)
fn transfer() -> Weight {
- (25_248_000 as Weight)
+ (31_116_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(5 as Weight))
}
// Storage: Nonfungible TokenData (r:1 w:0)
// Storage: Nonfungible Allowance (r:1 w:1)
fn approve() -> Weight {
- (16_321_000 as Weight)
+ (20_802_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -295,7 +295,7 @@
// Storage: Nonfungible AccountBalance (r:2 w:2)
// Storage: Nonfungible Owned (r:0 w:2)
fn transfer_from() -> Weight {
- (29_325_000 as Weight)
+ (36_083_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(6 as Weight))
}
@@ -307,15 +307,15 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_from() -> Weight {
- (33_323_000 as Weight)
+ (41_781_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(6 as Weight))
}
// Storage: Common CollectionPropertyPermissions (r:1 w:1)
fn set_token_property_permissions(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 62_000
- .saturating_add((16_222_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 58_000
+ .saturating_add((15_705_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -323,8 +323,8 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
fn set_token_properties(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_750_000
- .saturating_add((304_476_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 3_595_000
+ .saturating_add((590_344_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -332,14 +332,14 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
fn delete_token_properties(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_638_000
- .saturating_add((294_096_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 3_664_000
+ .saturating_add((605_836_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Nonfungible TokenData (r:1 w:0)
fn token_owner() -> Weight {
- (2_986_000 as Weight)
+ (4_366_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
}
}
pallets/proxy-rmrk-core/src/weights.rsdiffbeforeafterboth--- a/pallets/proxy-rmrk-core/src/weights.rs
+++ b/pallets/proxy-rmrk-core/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_proxy_rmrk_core
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-07-01, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -64,7 +64,7 @@
// Storage: Common CollectionById (r:0 w:1)
// Storage: RmrkCore UniqueCollectionId (r:0 w:1)
fn create_collection() -> Weight {
- (49_365_000 as Weight)
+ (49_754_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(8 as Weight))
}
@@ -77,7 +77,7 @@
// Storage: Nonfungible TokensBurnt (r:0 w:1)
// Storage: Common AdminAmount (r:0 w:1)
fn destroy_collection() -> Weight {
- (49_903_000 as Weight)
+ (48_588_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(6 as Weight))
}
@@ -85,7 +85,7 @@
// Storage: Common CollectionById (r:1 w:1)
// Storage: Common CollectionProperties (r:1 w:0)
fn change_collection_issuer() -> Weight {
- (26_134_000 as Weight)
+ (25_054_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -95,7 +95,7 @@
// Storage: Nonfungible TokensMinted (r:1 w:0)
// Storage: Nonfungible TokensBurnt (r:1 w:0)
fn lock_collection() -> Weight {
- (28_020_000 as Weight)
+ (26_483_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -109,9 +109,9 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenAuxProperties (r:2 w:2)
fn mint_nft(b: u32, ) -> Weight {
- (67_476_000 as Weight)
- // Standard Error: 19_000
- .saturating_add((12_373_000 as Weight).saturating_mul(b as Weight))
+ (62_419_000 as Weight)
+ // Standard Error: 7_000
+ .saturating_add((12_325_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(6 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
@@ -129,8 +129,8 @@
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_nft(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_500_000
- .saturating_add((300_520_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 1_488_000
+ .saturating_add((298_367_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(9 as Weight))
.saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))
.saturating_add(T::DbWeight::get().writes(6 as Weight))
@@ -146,7 +146,7 @@
// Storage: Nonfungible TokenChildren (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:2)
fn send() -> Weight {
- (84_023_000 as Weight)
+ (81_942_000 as Weight)
.saturating_add(T::DbWeight::get().reads(12 as Weight))
.saturating_add(T::DbWeight::get().writes(6 as Weight))
}
@@ -161,7 +161,7 @@
// Storage: Nonfungible TokenChildren (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:2)
fn accept_nft() -> Weight {
- (98_502_000 as Weight)
+ (97_925_000 as Weight)
.saturating_add(T::DbWeight::get().reads(16 as Weight))
.saturating_add(T::DbWeight::get().writes(8 as Weight))
}
@@ -177,7 +177,7 @@
// Storage: Nonfungible Allowance (r:5 w:0)
// Storage: Nonfungible Owned (r:0 w:5)
fn reject_nft() -> Weight {
- (277_017_000 as Weight)
+ (277_794_000 as Weight)
.saturating_add(T::DbWeight::get().reads(30 as Weight))
.saturating_add(T::DbWeight::get().writes(26 as Weight))
}
@@ -187,7 +187,7 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenData (r:5 w:0)
fn set_property() -> Weight {
- (55_408_000 as Weight)
+ (54_657_000 as Weight)
.saturating_add(T::DbWeight::get().reads(9 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -197,7 +197,7 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenData (r:5 w:0)
fn set_priority() -> Weight {
- (55_063_000 as Weight)
+ (55_056_000 as Weight)
.saturating_add(T::DbWeight::get().reads(9 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -208,7 +208,7 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn add_basic_resource() -> Weight {
- (64_656_000 as Weight)
+ (61_673_000 as Weight)
.saturating_add(T::DbWeight::get().reads(10 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
@@ -219,7 +219,7 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenAuxProperties (r:2 w:2)
fn add_composable_resource() -> Weight {
- (67_593_000 as Weight)
+ (67_125_000 as Weight)
.saturating_add(T::DbWeight::get().reads(11 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
@@ -230,7 +230,7 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn add_slot_resource() -> Weight {
- (63_845_000 as Weight)
+ (69_058_000 as Weight)
.saturating_add(T::DbWeight::get().reads(10 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
@@ -240,7 +240,7 @@
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
// Storage: Nonfungible TokenData (r:5 w:0)
fn remove_resource() -> Weight {
- (53_414_000 as Weight)
+ (53_427_000 as Weight)
.saturating_add(T::DbWeight::get().reads(9 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -250,7 +250,7 @@
// Storage: Nonfungible TokenData (r:5 w:0)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn accept_resource() -> Weight {
- (51_869_000 as Weight)
+ (50_623_000 as Weight)
.saturating_add(T::DbWeight::get().reads(9 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -260,7 +260,7 @@
// Storage: Nonfungible TokenData (r:5 w:0)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn accept_resource_removal() -> Weight {
- (53_168_000 as Weight)
+ (50_917_000 as Weight)
.saturating_add(T::DbWeight::get().reads(9 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -277,7 +277,7 @@
// Storage: Common CollectionById (r:0 w:1)
// Storage: RmrkCore UniqueCollectionId (r:0 w:1)
fn create_collection() -> Weight {
- (49_365_000 as Weight)
+ (49_754_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(8 as Weight))
}
@@ -290,7 +290,7 @@
// Storage: Nonfungible TokensBurnt (r:0 w:1)
// Storage: Common AdminAmount (r:0 w:1)
fn destroy_collection() -> Weight {
- (49_903_000 as Weight)
+ (48_588_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(6 as Weight))
}
@@ -298,7 +298,7 @@
// Storage: Common CollectionById (r:1 w:1)
// Storage: Common CollectionProperties (r:1 w:0)
fn change_collection_issuer() -> Weight {
- (26_134_000 as Weight)
+ (25_054_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -308,7 +308,7 @@
// Storage: Nonfungible TokensMinted (r:1 w:0)
// Storage: Nonfungible TokensBurnt (r:1 w:0)
fn lock_collection() -> Weight {
- (28_020_000 as Weight)
+ (26_483_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -322,9 +322,9 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenAuxProperties (r:2 w:2)
fn mint_nft(b: u32, ) -> Weight {
- (67_476_000 as Weight)
- // Standard Error: 19_000
- .saturating_add((12_373_000 as Weight).saturating_mul(b as Weight))
+ (62_419_000 as Weight)
+ // Standard Error: 7_000
+ .saturating_add((12_325_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(6 as Weight))
.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
.saturating_add(RocksDbWeight::get().writes(5 as Weight))
@@ -342,8 +342,8 @@
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_nft(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_500_000
- .saturating_add((300_520_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 1_488_000
+ .saturating_add((298_367_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(9 as Weight))
.saturating_add(RocksDbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))
.saturating_add(RocksDbWeight::get().writes(6 as Weight))
@@ -359,7 +359,7 @@
// Storage: Nonfungible TokenChildren (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:2)
fn send() -> Weight {
- (84_023_000 as Weight)
+ (81_942_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(12 as Weight))
.saturating_add(RocksDbWeight::get().writes(6 as Weight))
}
@@ -374,7 +374,7 @@
// Storage: Nonfungible TokenChildren (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:2)
fn accept_nft() -> Weight {
- (98_502_000 as Weight)
+ (97_925_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(16 as Weight))
.saturating_add(RocksDbWeight::get().writes(8 as Weight))
}
@@ -390,7 +390,7 @@
// Storage: Nonfungible Allowance (r:5 w:0)
// Storage: Nonfungible Owned (r:0 w:5)
fn reject_nft() -> Weight {
- (277_017_000 as Weight)
+ (277_794_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(30 as Weight))
.saturating_add(RocksDbWeight::get().writes(26 as Weight))
}
@@ -400,7 +400,7 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenData (r:5 w:0)
fn set_property() -> Weight {
- (55_408_000 as Weight)
+ (54_657_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(9 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -410,7 +410,7 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenData (r:5 w:0)
fn set_priority() -> Weight {
- (55_063_000 as Weight)
+ (55_056_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(9 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -421,7 +421,7 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn add_basic_resource() -> Weight {
- (64_656_000 as Weight)
+ (61_673_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(10 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
@@ -432,7 +432,7 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenAuxProperties (r:2 w:2)
fn add_composable_resource() -> Weight {
- (67_593_000 as Weight)
+ (67_125_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(11 as Weight))
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
}
@@ -443,7 +443,7 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn add_slot_resource() -> Weight {
- (63_845_000 as Weight)
+ (69_058_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(10 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
@@ -453,7 +453,7 @@
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
// Storage: Nonfungible TokenData (r:5 w:0)
fn remove_resource() -> Weight {
- (53_414_000 as Weight)
+ (53_427_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(9 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -463,7 +463,7 @@
// Storage: Nonfungible TokenData (r:5 w:0)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn accept_resource() -> Weight {
- (51_869_000 as Weight)
+ (50_623_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(9 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -473,7 +473,7 @@
// Storage: Nonfungible TokenData (r:5 w:0)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn accept_resource_removal() -> Weight {
- (53_168_000 as Weight)
+ (50_917_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(9 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
pallets/proxy-rmrk-equip/src/weights.rsdiffbeforeafterboth--- a/pallets/proxy-rmrk-equip/src/weights.rs
+++ b/pallets/proxy-rmrk-equip/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_proxy_rmrk_equip
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-07-01, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -54,9 +54,9 @@
// Storage: Nonfungible TokenData (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn create_base(b: u32, ) -> Weight {
- (57_871_000 as Weight)
- // Standard Error: 21_000
- .saturating_add((19_870_000 as Weight).saturating_mul(b as Weight))
+ (58_417_000 as Weight)
+ // Standard Error: 27_000
+ .saturating_add((20_439_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(6 as Weight))
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(b as Weight)))
.saturating_add(T::DbWeight::get().writes(8 as Weight))
@@ -71,9 +71,9 @@
// Storage: Nonfungible TokenData (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn theme_add(b: u32, ) -> Weight {
- (46_121_000 as Weight)
- // Standard Error: 31_000
- .saturating_add((2_988_000 as Weight).saturating_mul(b as Weight))
+ (46_005_000 as Weight)
+ // Standard Error: 42_000
+ .saturating_add((2_922_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(6 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
}
@@ -82,7 +82,7 @@
// Storage: RmrkEquip InernalPartId (r:1 w:0)
// Storage: Nonfungible TokenProperties (r:1 w:1)
fn equippable() -> Weight {
- (32_032_000 as Weight)
+ (32_526_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -103,9 +103,9 @@
// Storage: Nonfungible TokenData (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn create_base(b: u32, ) -> Weight {
- (57_871_000 as Weight)
- // Standard Error: 21_000
- .saturating_add((19_870_000 as Weight).saturating_mul(b as Weight))
+ (58_417_000 as Weight)
+ // Standard Error: 27_000
+ .saturating_add((20_439_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(6 as Weight))
.saturating_add(RocksDbWeight::get().reads((2 as Weight).saturating_mul(b as Weight)))
.saturating_add(RocksDbWeight::get().writes(8 as Weight))
@@ -120,9 +120,9 @@
// Storage: Nonfungible TokenData (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn theme_add(b: u32, ) -> Weight {
- (46_121_000 as Weight)
- // Standard Error: 31_000
- .saturating_add((2_988_000 as Weight).saturating_mul(b as Weight))
+ (46_005_000 as Weight)
+ // Standard Error: 42_000
+ .saturating_add((2_922_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(6 as Weight))
.saturating_add(RocksDbWeight::get().writes(5 as Weight))
}
@@ -131,7 +131,7 @@
// Storage: RmrkEquip InernalPartId (r:1 w:0)
// Storage: Nonfungible TokenProperties (r:1 w:1)
fn equippable() -> Weight {
- (32_032_000 as Weight)
+ (32_526_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
pallets/refungible/src/weights.rsdiffbeforeafterboth--- a/pallets/refungible/src/weights.rs
+++ b/pallets/refungible/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_refungible
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-08-01, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -64,147 +64,150 @@
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible Balance (r:0 w:1)
// Storage: Refungible TotalSupply (r:0 w:1)
- // Storage: Refungible TokenData (r:0 w:1)
// Storage: Refungible Owned (r:0 w:1)
fn create_item() -> Weight {
- (25_197_000 as Weight)
+ (29_527_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
- .saturating_add(T::DbWeight::get().writes(6 as Weight))
+ .saturating_add(T::DbWeight::get().writes(5 as Weight))
}
// Storage: Refungible TokensMinted (r:1 w:1)
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible Balance (r:0 w:4)
// Storage: Refungible TotalSupply (r:0 w:4)
- // Storage: Refungible TokenData (r:0 w:4)
// Storage: Refungible Owned (r:0 w:4)
fn create_multiple_items(b: u32, ) -> Weight {
- (10_852_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((8_087_000 as Weight).saturating_mul(b as Weight))
+ (28_541_000 as Weight)
+ // Standard Error: 4_000
+ .saturating_add((6_671_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
- .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))
}
// Storage: Refungible TokensMinted (r:1 w:1)
// Storage: Refungible AccountBalance (r:4 w:4)
// Storage: Refungible Balance (r:0 w:4)
// Storage: Refungible TotalSupply (r:0 w:4)
- // Storage: Refungible TokenData (r:0 w:4)
// Storage: Refungible Owned (r:0 w:4)
fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
- (9_978_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((10_848_000 as Weight).saturating_mul(b as Weight))
+ (24_366_000 as Weight)
+ // Standard Error: 5_000
+ .saturating_add((9_338_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
- .saturating_add(T::DbWeight::get().writes((5 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
}
// Storage: Refungible TokensMinted (r:1 w:1)
// Storage: Refungible TotalSupply (r:0 w:1)
- // Storage: Refungible TokenData (r:0 w:1)
// Storage: Refungible AccountBalance (r:4 w:4)
// Storage: Refungible Balance (r:0 w:4)
// Storage: Refungible Owned (r:0 w:4)
fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
- (15_419_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((7_813_000 as Weight).saturating_mul(b as Weight))
+ (27_574_000 as Weight)
+ // Standard Error: 4_000
+ .saturating_add((7_193_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
- .saturating_add(T::DbWeight::get().writes(3 as Weight))
+ .saturating_add(T::DbWeight::get().writes(2 as Weight))
.saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))
}
// Storage: Refungible TotalSupply (r:1 w:1)
- // Storage: Refungible Balance (r:1 w:1)
+ // Storage: Refungible Balance (r:3 w:1)
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible Owned (r:0 w:1)
fn burn_item_partial() -> Weight {
- (25_578_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(3 as Weight))
+ (42_943_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
// Storage: Refungible TotalSupply (r:1 w:1)
// Storage: Refungible Balance (r:1 w:1)
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible TokensBurnt (r:1 w:1)
- // Storage: Refungible TokenData (r:0 w:1)
// Storage: Refungible Owned (r:0 w:1)
// Storage: Refungible TokenProperties (r:0 w:1)
fn burn_item_fully() -> Weight {
- (33_593_000 as Weight)
+ (36_861_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
- .saturating_add(T::DbWeight::get().writes(7 as Weight))
+ .saturating_add(T::DbWeight::get().writes(6 as Weight))
}
// Storage: Refungible Balance (r:2 w:2)
+ // Storage: Refungible TotalSupply (r:1 w:0)
fn transfer_normal() -> Weight {
- (21_049_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(2 as Weight))
+ (27_789_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:1 w:1)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_creating() -> Weight {
- (24_646_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(3 as Weight))
+ (32_893_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:1 w:1)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_removing() -> Weight {
- (26_570_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(3 as Weight))
+ (34_703_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:2 w:2)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:2)
fn transfer_creating_removing() -> Weight {
- (28_906_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
+ (37_547_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(6 as Weight))
}
// Storage: Refungible Balance (r:1 w:0)
// Storage: Refungible Allowance (r:0 w:1)
fn approve() -> Weight {
- (16_451_000 as Weight)
+ (20_039_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
+ // Storage: Refungible TotalSupply (r:1 w:0)
fn transfer_from_normal() -> Weight {
- (29_545_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(3 as Weight))
+ (37_628_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:1 w:1)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_from_creating() -> Weight {
- (33_392_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
+ (42_072_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:1 w:1)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_from_removing() -> Weight {
- (35_446_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
+ (43_024_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:2 w:2)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:2)
fn transfer_from_creating_removing() -> Weight {
- (37_762_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(5 as Weight))
+ (45_910_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(6 as Weight))
.saturating_add(T::DbWeight::get().writes(7 as Weight))
}
// Storage: Refungible Allowance (r:1 w:1)
@@ -212,19 +215,18 @@
// Storage: Refungible Balance (r:1 w:1)
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible TokensBurnt (r:1 w:1)
- // Storage: Refungible TokenData (r:0 w:1)
// Storage: Refungible Owned (r:0 w:1)
// Storage: Refungible TokenProperties (r:0 w:1)
fn burn_from() -> Weight {
- (42_620_000 as Weight)
+ (48_584_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
- .saturating_add(T::DbWeight::get().writes(8 as Weight))
+ .saturating_add(T::DbWeight::get().writes(7 as Weight))
}
// Storage: Common CollectionPropertyPermissions (r:1 w:1)
fn set_token_property_permissions(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 65_000
- .saturating_add((16_513_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 60_000
+ .saturating_add((15_533_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -232,8 +234,8 @@
// Storage: Refungible TokenProperties (r:1 w:1)
fn set_token_properties(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_583_000
- .saturating_add((291_392_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 3_609_000
+ .saturating_add((590_204_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -241,15 +243,15 @@
// Storage: Refungible TokenProperties (r:1 w:1)
fn delete_token_properties(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_699_000
- .saturating_add((293_270_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 3_637_000
+ .saturating_add((603_468_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Refungible TotalSupply (r:1 w:1)
// Storage: Refungible Balance (r:1 w:1)
fn repartition_item() -> Weight {
- (19_206_000 as Weight)
+ (22_356_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
@@ -257,13 +259,13 @@
// Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible TokenProperties (r:1 w:1)
fn set_parent_nft_unchecked() -> Weight {
- (10_189_000 as Weight)
+ (12_015_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Refungible Balance (r:2 w:0)
fn token_owner() -> Weight {
- (8_205_000 as Weight)
+ (9_431_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
}
}
@@ -274,147 +276,150 @@
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible Balance (r:0 w:1)
// Storage: Refungible TotalSupply (r:0 w:1)
- // Storage: Refungible TokenData (r:0 w:1)
// Storage: Refungible Owned (r:0 w:1)
fn create_item() -> Weight {
- (25_197_000 as Weight)
+ (29_527_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes(6 as Weight))
+ .saturating_add(RocksDbWeight::get().writes(5 as Weight))
}
// Storage: Refungible TokensMinted (r:1 w:1)
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible Balance (r:0 w:4)
// Storage: Refungible TotalSupply (r:0 w:4)
- // Storage: Refungible TokenData (r:0 w:4)
// Storage: Refungible Owned (r:0 w:4)
fn create_multiple_items(b: u32, ) -> Weight {
- (10_852_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((8_087_000 as Weight).saturating_mul(b as Weight))
+ (28_541_000 as Weight)
+ // Standard Error: 4_000
+ .saturating_add((6_671_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))
}
// Storage: Refungible TokensMinted (r:1 w:1)
// Storage: Refungible AccountBalance (r:4 w:4)
// Storage: Refungible Balance (r:0 w:4)
// Storage: Refungible TotalSupply (r:0 w:4)
- // Storage: Refungible TokenData (r:0 w:4)
// Storage: Refungible Owned (r:0 w:4)
fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
- (9_978_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((10_848_000 as Weight).saturating_mul(b as Weight))
+ (24_366_000 as Weight)
+ // Standard Error: 5_000
+ .saturating_add((9_338_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes((5 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
}
// Storage: Refungible TokensMinted (r:1 w:1)
// Storage: Refungible TotalSupply (r:0 w:1)
- // Storage: Refungible TokenData (r:0 w:1)
// Storage: Refungible AccountBalance (r:4 w:4)
// Storage: Refungible Balance (r:0 w:4)
// Storage: Refungible Owned (r:0 w:4)
fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
- (15_419_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((7_813_000 as Weight).saturating_mul(b as Weight))
+ (27_574_000 as Weight)
+ // Standard Error: 4_000
+ .saturating_add((7_193_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
- .saturating_add(RocksDbWeight::get().writes(3 as Weight))
+ .saturating_add(RocksDbWeight::get().writes(2 as Weight))
.saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))
}
// Storage: Refungible TotalSupply (r:1 w:1)
- // Storage: Refungible Balance (r:1 w:1)
+ // Storage: Refungible Balance (r:3 w:1)
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible Owned (r:0 w:1)
fn burn_item_partial() -> Weight {
- (25_578_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(3 as Weight))
+ (42_943_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
}
// Storage: Refungible TotalSupply (r:1 w:1)
// Storage: Refungible Balance (r:1 w:1)
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible TokensBurnt (r:1 w:1)
- // Storage: Refungible TokenData (r:0 w:1)
// Storage: Refungible Owned (r:0 w:1)
// Storage: Refungible TokenProperties (r:0 w:1)
fn burn_item_fully() -> Weight {
- (33_593_000 as Weight)
+ (36_861_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
- .saturating_add(RocksDbWeight::get().writes(7 as Weight))
+ .saturating_add(RocksDbWeight::get().writes(6 as Weight))
}
// Storage: Refungible Balance (r:2 w:2)
+ // Storage: Refungible TotalSupply (r:1 w:0)
fn transfer_normal() -> Weight {
- (21_049_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(2 as Weight))
+ (27_789_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:1 w:1)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_creating() -> Weight {
- (24_646_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(3 as Weight))
+ (32_893_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
}
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:1 w:1)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_removing() -> Weight {
- (26_570_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(3 as Weight))
+ (34_703_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
}
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:2 w:2)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:2)
fn transfer_creating_removing() -> Weight {
- (28_906_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(4 as Weight))
+ (37_547_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(6 as Weight))
}
// Storage: Refungible Balance (r:1 w:0)
// Storage: Refungible Allowance (r:0 w:1)
fn approve() -> Weight {
- (16_451_000 as Weight)
+ (20_039_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
+ // Storage: Refungible TotalSupply (r:1 w:0)
fn transfer_from_normal() -> Weight {
- (29_545_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(3 as Weight))
+ (37_628_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:1 w:1)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_from_creating() -> Weight {
- (33_392_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(4 as Weight))
+ (42_072_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(5 as Weight))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:1 w:1)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_from_removing() -> Weight {
- (35_446_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(4 as Weight))
+ (43_024_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(5 as Weight))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:2 w:2)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:2)
fn transfer_from_creating_removing() -> Weight {
- (37_762_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(5 as Weight))
+ (45_910_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(6 as Weight))
.saturating_add(RocksDbWeight::get().writes(7 as Weight))
}
// Storage: Refungible Allowance (r:1 w:1)
@@ -422,19 +427,18 @@
// Storage: Refungible Balance (r:1 w:1)
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible TokensBurnt (r:1 w:1)
- // Storage: Refungible TokenData (r:0 w:1)
// Storage: Refungible Owned (r:0 w:1)
// Storage: Refungible TokenProperties (r:0 w:1)
fn burn_from() -> Weight {
- (42_620_000 as Weight)
+ (48_584_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
- .saturating_add(RocksDbWeight::get().writes(8 as Weight))
+ .saturating_add(RocksDbWeight::get().writes(7 as Weight))
}
// Storage: Common CollectionPropertyPermissions (r:1 w:1)
fn set_token_property_permissions(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 65_000
- .saturating_add((16_513_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 60_000
+ .saturating_add((15_533_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -442,8 +446,8 @@
// Storage: Refungible TokenProperties (r:1 w:1)
fn set_token_properties(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_583_000
- .saturating_add((291_392_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 3_609_000
+ .saturating_add((590_204_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -451,15 +455,15 @@
// Storage: Refungible TokenProperties (r:1 w:1)
fn delete_token_properties(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_699_000
- .saturating_add((293_270_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 3_637_000
+ .saturating_add((603_468_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Refungible TotalSupply (r:1 w:1)
// Storage: Refungible Balance (r:1 w:1)
fn repartition_item() -> Weight {
- (19_206_000 as Weight)
+ (22_356_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
@@ -467,13 +471,13 @@
// Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible TokenProperties (r:1 w:1)
fn set_parent_nft_unchecked() -> Weight {
- (10_189_000 as Weight)
+ (12_015_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Refungible Balance (r:2 w:0)
fn token_owner() -> Weight {
- (8_205_000 as Weight)
+ (9_431_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
}
}
pallets/scheduler/src/weights.rsdiffbeforeafterboth1// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_unique_scheduler4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2022-06-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 102489// Executed Command:10// target/release/unique-collator11// benchmark12// pallet13// --pallet14// pallet-unique-scheduler15// --wasm-execution16// compiled17// --extrinsic18// *19// --template20// .maintain/frame-weight-template.hbs21// --steps=5022// --repeat=8023// --heap-pages=409624// --output=./pallets/scheduler/src/weights.rs2526#![cfg_attr(rustfmt, rustfmt_skip)]27#![allow(unused_parens)]28#![allow(unused_imports)]29#![allow(clippy::unnecessary_cast)]3031use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};32use sp_std::marker::PhantomData;3334/// Weight functions needed for pallet_unique_scheduler.35pub trait WeightInfo {36 fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight;37 fn on_initialize_named_resolved(s: u32, ) -> Weight;38 fn on_initialize_periodic(s: u32, ) -> Weight;39 fn on_initialize_periodic_resolved(s: u32, ) -> Weight;40 fn on_initialize_aborted(s: u32, ) -> Weight;41 fn on_initialize_named_aborted(s: u32, ) -> Weight;42 fn on_initialize_named(s: u32, ) -> Weight;43 fn on_initialize(s: u32, ) -> Weight;44 fn on_initialize_resolved(s: u32, ) -> Weight;45 fn schedule_named(s: u32, ) -> Weight;46 fn cancel_named(s: u32, ) -> Weight;47}4849/// Weights for pallet_unique_scheduler using the Substrate node and recommended hardware.50pub struct SubstrateWeight<T>(PhantomData<T>);51impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {52 // Storage: Scheduler Agenda (r:2 w:2)53 // Storage: System Account (r:1 w:1)54 // Storage: System AllExtrinsicsLen (r:1 w:1)55 // Storage: System BlockWeight (r:1 w:1)56 // Storage: Scheduler Lookup (r:0 w:1)57 fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight {58 (27_374_000 as Weight)59 // Standard Error: 7_00060 .saturating_add((9_673_000 as Weight).saturating_mul(s as Weight))61 .saturating_add(T::DbWeight::get().reads(4 as Weight))62 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))63 .saturating_add(T::DbWeight::get().writes(4 as Weight))64 .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))65 }66 // Storage: Scheduler Agenda (r:1 w:1)67 // Storage: System Account (r:1 w:1)68 // Storage: System AllExtrinsicsLen (r:1 w:1)69 // Storage: System BlockWeight (r:1 w:1)70 // Storage: Scheduler Lookup (r:0 w:1)71 fn on_initialize_named_resolved(s: u32, ) -> Weight {72 (25_967_000 as Weight)73 // Standard Error: 6_00074 .saturating_add((5_916_000 as Weight).saturating_mul(s as Weight))75 .saturating_add(T::DbWeight::get().reads(4 as Weight))76 .saturating_add(T::DbWeight::get().writes(4 as Weight))77 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))78 }79 // Storage: Scheduler Agenda (r:2 w:2)80 // Storage: System Account (r:1 w:1)81 // Storage: System AllExtrinsicsLen (r:1 w:1)82 // Storage: System BlockWeight (r:1 w:1)83 // Storage: Scheduler Lookup (r:0 w:1)84 fn on_initialize_periodic(s: u32, ) -> Weight {85 (27_097_000 as Weight)86 // Standard Error: 5_00087 .saturating_add((9_652_000 as Weight).saturating_mul(s as Weight))88 .saturating_add(T::DbWeight::get().reads(4 as Weight))89 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))90 .saturating_add(T::DbWeight::get().writes(4 as Weight))91 .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))92 }93 // Storage: Scheduler Agenda (r:2 w:2)94 // Storage: System Account (r:1 w:1)95 // Storage: System AllExtrinsicsLen (r:1 w:1)96 // Storage: System BlockWeight (r:1 w:1)97 // Storage: Scheduler Lookup (r:0 w:1)98 fn on_initialize_periodic_resolved(s: u32, ) -> Weight {99 (43_116_000 as Weight)100 // Standard Error: 18_000101 .saturating_add((8_352_000 as Weight).saturating_mul(s as Weight))102 .saturating_add(T::DbWeight::get().reads(4 as Weight))103 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))104 .saturating_add(T::DbWeight::get().writes(4 as Weight))105 .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))106 }107 // Storage: Scheduler Agenda (r:2 w:2)108 // Storage: Scheduler Lookup (r:0 w:1)109 fn on_initialize_aborted(s: u32, ) -> Weight {110 (4_921_000 as Weight)111 // Standard Error: 4_000112 .saturating_add((2_249_000 as Weight).saturating_mul(s as Weight))113 .saturating_add(T::DbWeight::get().reads(2 as Weight))114 .saturating_add(T::DbWeight::get().writes(2 as Weight))115 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))116 }117 // Storage: Scheduler Agenda (r:1 w:1)118 // Storage: System Account (r:1 w:1)119 // Storage: System AllExtrinsicsLen (r:1 w:1)120 // Storage: System BlockWeight (r:1 w:1)121 // Storage: Scheduler Lookup (r:0 w:1)122 fn on_initialize_named_aborted(s: u32, ) -> Weight {123 (26_934_000 as Weight)124 // Standard Error: 7_000125 .saturating_add((5_819_000 as Weight).saturating_mul(s as Weight))126 .saturating_add(T::DbWeight::get().reads(4 as Weight))127 .saturating_add(T::DbWeight::get().writes(4 as Weight))128 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))129 }130 // Storage: Scheduler Agenda (r:2 w:2)131 // Storage: Scheduler Lookup (r:0 w:1)132 fn on_initialize_named(s: u32, ) -> Weight {133 (6_423_000 as Weight)134 // Standard Error: 1_000135 .saturating_add((2_141_000 as Weight).saturating_mul(s as Weight))136 .saturating_add(T::DbWeight::get().reads(2 as Weight))137 .saturating_add(T::DbWeight::get().writes(2 as Weight))138 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))139 }140 // Storage: Scheduler Agenda (r:1 w:1)141 // Storage: System Account (r:1 w:1)142 // Storage: System AllExtrinsicsLen (r:1 w:1)143 // Storage: System BlockWeight (r:1 w:1)144 // Storage: Scheduler Lookup (r:0 w:1)145 fn on_initialize(s: u32, ) -> Weight {146 (27_586_000 as Weight)147 // Standard Error: 11_000148 .saturating_add((5_264_000 as Weight).saturating_mul(s as Weight))149 .saturating_add(T::DbWeight::get().reads(4 as Weight))150 .saturating_add(T::DbWeight::get().writes(4 as Weight))151 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))152 }153 // Storage: Scheduler Agenda (r:1 w:1)154 // Storage: System Account (r:1 w:1)155 // Storage: System AllExtrinsicsLen (r:1 w:1)156 // Storage: System BlockWeight (r:1 w:1)157 // Storage: Scheduler Lookup (r:0 w:1)158 fn on_initialize_resolved(s: u32, ) -> Weight {159 (24_356_000 as Weight)160 // Standard Error: 4_000161 .saturating_add((5_301_000 as Weight).saturating_mul(s as Weight))162 .saturating_add(T::DbWeight::get().reads(4 as Weight))163 .saturating_add(T::DbWeight::get().writes(4 as Weight))164 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))165 }166 // Storage: Scheduler Lookup (r:1 w:1)167 // Storage: Scheduler Agenda (r:1 w:1)168 fn schedule_named(s: u32, ) -> Weight {169 (14_871_000 as Weight)170 // Standard Error: 1_000171 .saturating_add((183_000 as Weight).saturating_mul(s as Weight))172 .saturating_add(T::DbWeight::get().reads(2 as Weight))173 .saturating_add(T::DbWeight::get().writes(2 as Weight))174 }175 // Storage: Scheduler Lookup (r:1 w:1)176 // Storage: Scheduler Agenda (r:1 w:1)177 fn cancel_named(s: u32, ) -> Weight {178 (16_676_000 as Weight)179 // Standard Error: 1_000180 .saturating_add((500_000 as Weight).saturating_mul(s as Weight))181 .saturating_add(T::DbWeight::get().reads(2 as Weight))182 .saturating_add(T::DbWeight::get().writes(2 as Weight))183 }184}185186// For backwards compatibility and tests187impl WeightInfo for () {188 // Storage: Scheduler Agenda (r:2 w:2)189 // Storage: System Account (r:1 w:1)190 // Storage: System AllExtrinsicsLen (r:1 w:1)191 // Storage: System BlockWeight (r:1 w:1)192 // Storage: Scheduler Lookup (r:0 w:1)193 fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight {194 (27_374_000 as Weight)195 // Standard Error: 7_000196 .saturating_add((9_673_000 as Weight).saturating_mul(s as Weight))197 .saturating_add(RocksDbWeight::get().reads(4 as Weight))198 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))199 .saturating_add(RocksDbWeight::get().writes(4 as Weight))200 .saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))201 }202 // Storage: Scheduler Agenda (r:1 w:1)203 // Storage: System Account (r:1 w:1)204 // Storage: System AllExtrinsicsLen (r:1 w:1)205 // Storage: System BlockWeight (r:1 w:1)206 // Storage: Scheduler Lookup (r:0 w:1)207 fn on_initialize_named_resolved(s: u32, ) -> Weight {208 (25_967_000 as Weight)209 // Standard Error: 6_000210 .saturating_add((5_916_000 as Weight).saturating_mul(s as Weight))211 .saturating_add(RocksDbWeight::get().reads(4 as Weight))212 .saturating_add(RocksDbWeight::get().writes(4 as Weight))213 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))214 }215 // Storage: Scheduler Agenda (r:2 w:2)216 // Storage: System Account (r:1 w:1)217 // Storage: System AllExtrinsicsLen (r:1 w:1)218 // Storage: System BlockWeight (r:1 w:1)219 // Storage: Scheduler Lookup (r:0 w:1)220 fn on_initialize_periodic(s: u32, ) -> Weight {221 (27_097_000 as Weight)222 // Standard Error: 5_000223 .saturating_add((9_652_000 as Weight).saturating_mul(s as Weight))224 .saturating_add(RocksDbWeight::get().reads(4 as Weight))225 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))226 .saturating_add(RocksDbWeight::get().writes(4 as Weight))227 .saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))228 }229 // Storage: Scheduler Agenda (r:2 w:2)230 // Storage: System Account (r:1 w:1)231 // Storage: System AllExtrinsicsLen (r:1 w:1)232 // Storage: System BlockWeight (r:1 w:1)233 // Storage: Scheduler Lookup (r:0 w:1)234 fn on_initialize_periodic_resolved(s: u32, ) -> Weight {235 (43_116_000 as Weight)236 // Standard Error: 18_000237 .saturating_add((8_352_000 as Weight).saturating_mul(s as Weight))238 .saturating_add(RocksDbWeight::get().reads(4 as Weight))239 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))240 .saturating_add(RocksDbWeight::get().writes(4 as Weight))241 .saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))242 }243 // Storage: Scheduler Agenda (r:2 w:2)244 // Storage: Scheduler Lookup (r:0 w:1)245 fn on_initialize_aborted(s: u32, ) -> Weight {246 (4_921_000 as Weight)247 // Standard Error: 4_000248 .saturating_add((2_249_000 as Weight).saturating_mul(s as Weight))249 .saturating_add(RocksDbWeight::get().reads(2 as Weight))250 .saturating_add(RocksDbWeight::get().writes(2 as Weight))251 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))252 }253 // Storage: Scheduler Agenda (r:1 w:1)254 // Storage: System Account (r:1 w:1)255 // Storage: System AllExtrinsicsLen (r:1 w:1)256 // Storage: System BlockWeight (r:1 w:1)257 // Storage: Scheduler Lookup (r:0 w:1)258 fn on_initialize_named_aborted(s: u32, ) -> Weight {259 (26_934_000 as Weight)260 // Standard Error: 7_000261 .saturating_add((5_819_000 as Weight).saturating_mul(s as Weight))262 .saturating_add(RocksDbWeight::get().reads(4 as Weight))263 .saturating_add(RocksDbWeight::get().writes(4 as Weight))264 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))265 }266 // Storage: Scheduler Agenda (r:2 w:2)267 // Storage: Scheduler Lookup (r:0 w:1)268 fn on_initialize_named(s: u32, ) -> Weight {269 (6_423_000 as Weight)270 // Standard Error: 1_000271 .saturating_add((2_141_000 as Weight).saturating_mul(s as Weight))272 .saturating_add(RocksDbWeight::get().reads(2 as Weight))273 .saturating_add(RocksDbWeight::get().writes(2 as Weight))274 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))275 }276 // Storage: Scheduler Agenda (r:1 w:1)277 // Storage: System Account (r:1 w:1)278 // Storage: System AllExtrinsicsLen (r:1 w:1)279 // Storage: System BlockWeight (r:1 w:1)280 // Storage: Scheduler Lookup (r:0 w:1)281 fn on_initialize(s: u32, ) -> Weight {282 (27_586_000 as Weight)283 // Standard Error: 11_000284 .saturating_add((5_264_000 as Weight).saturating_mul(s as Weight))285 .saturating_add(RocksDbWeight::get().reads(4 as Weight))286 .saturating_add(RocksDbWeight::get().writes(4 as Weight))287 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))288 }289 // Storage: Scheduler Agenda (r:1 w:1)290 // Storage: System Account (r:1 w:1)291 // Storage: System AllExtrinsicsLen (r:1 w:1)292 // Storage: System BlockWeight (r:1 w:1)293 // Storage: Scheduler Lookup (r:0 w:1)294 fn on_initialize_resolved(s: u32, ) -> Weight {295 (24_356_000 as Weight)296 // Standard Error: 4_000297 .saturating_add((5_301_000 as Weight).saturating_mul(s as Weight))298 .saturating_add(RocksDbWeight::get().reads(4 as Weight))299 .saturating_add(RocksDbWeight::get().writes(4 as Weight))300 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))301 }302 // Storage: Scheduler Lookup (r:1 w:1)303 // Storage: Scheduler Agenda (r:1 w:1)304 fn schedule_named(s: u32, ) -> Weight {305 (14_871_000 as Weight)306 // Standard Error: 1_000307 .saturating_add((183_000 as Weight).saturating_mul(s as Weight))308 .saturating_add(RocksDbWeight::get().reads(2 as Weight))309 .saturating_add(RocksDbWeight::get().writes(2 as Weight))310 }311 // Storage: Scheduler Lookup (r:1 w:1)312 // Storage: Scheduler Agenda (r:1 w:1)313 fn cancel_named(s: u32, ) -> Weight {314 (16_676_000 as Weight)315 // Standard Error: 1_000316 .saturating_add((500_000 as Weight).saturating_mul(s as Weight))317 .saturating_add(RocksDbWeight::get().reads(2 as Weight))318 .saturating_add(RocksDbWeight::get().writes(2 as Weight))319 }320}pallets/structure/src/weights.rsdiffbeforeafterboth--- a/pallets/structure/src/weights.rs
+++ b/pallets/structure/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_structure
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-06-15, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -19,7 +19,7 @@
// --template
// .maintain/frame-weight-template.hbs
// --steps=50
-// --repeat=200
+// --repeat=80
// --heap-pages=4096
// --output=./pallets/structure/src/weights.rs
@@ -42,7 +42,7 @@
// Storage: Common CollectionById (r:1 w:0)
// Storage: Nonfungible TokenData (r:1 w:0)
fn find_parent() -> Weight {
- (7_013_000 as Weight)
+ (7_180_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
}
}
@@ -52,7 +52,7 @@
// Storage: Common CollectionById (r:1 w:0)
// Storage: Nonfungible TokenData (r:1 w:0)
fn find_parent() -> Weight {
- (7_013_000 as Weight)
+ (7_180_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
}
}
pallets/unique/src/weights.rsdiffbeforeafterboth--- a/pallets/unique/src/weights.rs
+++ b/pallets/unique/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_unique
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-06-28, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -57,7 +57,7 @@
// Storage: Common CollectionProperties (r:0 w:1)
// Storage: Common CollectionById (r:0 w:1)
fn create_collection() -> Weight {
- (53_511_000 as Weight)
+ (43_143_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(6 as Weight))
}
@@ -69,27 +69,27 @@
// Storage: Common AdminAmount (r:0 w:1)
// Storage: Common CollectionProperties (r:0 w:1)
fn destroy_collection() -> Weight {
- (69_481_000 as Weight)
+ (50_188_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(6 as Weight))
}
// Storage: Common CollectionById (r:1 w:0)
// Storage: Common Allowlist (r:0 w:1)
fn add_to_allow_list() -> Weight {
- (22_892_000 as Weight)
+ (18_238_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Common CollectionById (r:1 w:0)
// Storage: Common Allowlist (r:0 w:1)
fn remove_from_allow_list() -> Weight {
- (22_973_000 as Weight)
+ (18_084_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Common CollectionById (r:1 w:1)
fn change_collection_owner() -> Weight {
- (22_392_000 as Weight)
+ (18_265_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -97,7 +97,7 @@
// Storage: Common IsAdmin (r:1 w:1)
// Storage: Common AdminAmount (r:1 w:1)
fn add_collection_admin() -> Weight {
- (30_298_000 as Weight)
+ (23_558_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
@@ -105,37 +105,37 @@
// Storage: Common IsAdmin (r:1 w:1)
// Storage: Common AdminAmount (r:1 w:1)
fn remove_collection_admin() -> Weight {
- (32_842_000 as Weight)
+ (25_285_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: Common CollectionById (r:1 w:1)
fn set_collection_sponsor() -> Weight {
- (22_613_000 as Weight)
+ (17_885_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Common CollectionById (r:1 w:1)
fn confirm_sponsorship() -> Weight {
- (22_462_000 as Weight)
+ (17_897_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Common CollectionById (r:1 w:1)
fn remove_collection_sponsor() -> Weight {
- (21_730_000 as Weight)
+ (17_836_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Common CollectionById (r:1 w:1)
fn set_transfers_enabled_flag() -> Weight {
- (10_941_000 as Weight)
+ (9_714_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Common CollectionById (r:1 w:1)
fn set_collection_limits() -> Weight {
- (22_363_000 as Weight)
+ (18_166_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -150,7 +150,7 @@
// Storage: Common CollectionProperties (r:0 w:1)
// Storage: Common CollectionById (r:0 w:1)
fn create_collection() -> Weight {
- (53_511_000 as Weight)
+ (43_143_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(6 as Weight))
}
@@ -162,27 +162,27 @@
// Storage: Common AdminAmount (r:0 w:1)
// Storage: Common CollectionProperties (r:0 w:1)
fn destroy_collection() -> Weight {
- (69_481_000 as Weight)
+ (50_188_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(6 as Weight))
}
// Storage: Common CollectionById (r:1 w:0)
// Storage: Common Allowlist (r:0 w:1)
fn add_to_allow_list() -> Weight {
- (22_892_000 as Weight)
+ (18_238_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Common CollectionById (r:1 w:0)
// Storage: Common Allowlist (r:0 w:1)
fn remove_from_allow_list() -> Weight {
- (22_973_000 as Weight)
+ (18_084_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Common CollectionById (r:1 w:1)
fn change_collection_owner() -> Weight {
- (22_392_000 as Weight)
+ (18_265_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -190,7 +190,7 @@
// Storage: Common IsAdmin (r:1 w:1)
// Storage: Common AdminAmount (r:1 w:1)
fn add_collection_admin() -> Weight {
- (30_298_000 as Weight)
+ (23_558_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
@@ -198,37 +198,37 @@
// Storage: Common IsAdmin (r:1 w:1)
// Storage: Common AdminAmount (r:1 w:1)
fn remove_collection_admin() -> Weight {
- (32_842_000 as Weight)
+ (25_285_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
// Storage: Common CollectionById (r:1 w:1)
fn set_collection_sponsor() -> Weight {
- (22_613_000 as Weight)
+ (17_885_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Common CollectionById (r:1 w:1)
fn confirm_sponsorship() -> Weight {
- (22_462_000 as Weight)
+ (17_897_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Common CollectionById (r:1 w:1)
fn remove_collection_sponsor() -> Weight {
- (21_730_000 as Weight)
+ (17_836_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Common CollectionById (r:1 w:1)
fn set_transfers_enabled_flag() -> Weight {
- (10_941_000 as Weight)
+ (9_714_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Common CollectionById (r:1 w:1)
fn set_collection_limits() -> Weight {
- (22_363_000 as Weight)
+ (18_166_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
primitives/common/src/constants.rsdiffbeforeafterboth--- a/primitives/common/src/constants.rs
+++ b/primitives/common/src/constants.rs
@@ -36,10 +36,10 @@
pub const UNIQUE: Balance = 100 * CENTIUNIQUE;
// Targeting 0.1 UNQ per transfer
-pub const WEIGHT_TO_FEE_COEFF: u32 = /*<weight2fee>*/207_267_232/*</weight2fee>*/;
+pub const WEIGHT_TO_FEE_COEFF: u32 = /*<weight2fee>*/207_163_598/*</weight2fee>*/;
// Targeting 0.15 UNQ per transfer via ETH
-pub const MIN_GAS_PRICE: u64 = /*<mingasprice>*/1_019_488_372_383/*</mingasprice>*/;
+pub const MIN_GAS_PRICE: u64 = /*<mingasprice>*/1_019_483_274_941/*</mingasprice>*/;
/// We assume that ~10% of the block weight is consumed by `on_initalize` handlers.
/// This is used to limit the maximal weight of a single extrinsic.