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.rsdiffbeforeafterboth1// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_refungible4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2022-08-01, 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-refungible15// --wasm-execution16// compiled17// --extrinsic18// *19// --template20// .maintain/frame-weight-template.hbs21// --steps=5022// --repeat=8023// --heap-pages=409624// --output=./pallets/refungible/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_refungible.35pub trait WeightInfo {36 fn create_item() -> Weight;37 fn create_multiple_items(b: u32, ) -> Weight;38 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight;39 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight;40 fn burn_item_partial() -> Weight;41 fn burn_item_fully() -> Weight;42 fn transfer_normal() -> Weight;43 fn transfer_creating() -> Weight;44 fn transfer_removing() -> Weight;45 fn transfer_creating_removing() -> Weight;46 fn approve() -> Weight;47 fn transfer_from_normal() -> Weight;48 fn transfer_from_creating() -> Weight;49 fn transfer_from_removing() -> Weight;50 fn transfer_from_creating_removing() -> Weight;51 fn burn_from() -> Weight;52 fn set_token_property_permissions(b: u32, ) -> Weight;53 fn set_token_properties(b: u32, ) -> Weight;54 fn delete_token_properties(b: u32, ) -> Weight;55 fn repartition_item() -> Weight;56 fn set_parent_nft_unchecked() -> Weight;57 fn token_owner() -> Weight;58}5960/// Weights for pallet_refungible using the Substrate node and recommended hardware.61pub struct SubstrateWeight<T>(PhantomData<T>);62impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {63 // Storage: Refungible TokensMinted (r:1 w:1)64 // Storage: Refungible AccountBalance (r:1 w:1)65 // Storage: Refungible Balance (r:0 w:1)66 // Storage: Refungible TotalSupply (r:0 w:1)67 // Storage: Refungible TokenData (r:0 w:1)68 // Storage: Refungible Owned (r:0 w:1)69 fn create_item() -> Weight {70 (25_197_000 as Weight)71 .saturating_add(T::DbWeight::get().reads(2 as Weight))72 .saturating_add(T::DbWeight::get().writes(6 as Weight))73 }74 // Storage: Refungible TokensMinted (r:1 w:1)75 // Storage: Refungible AccountBalance (r:1 w:1)76 // Storage: Refungible Balance (r:0 w:4)77 // Storage: Refungible TotalSupply (r:0 w:4)78 // Storage: Refungible TokenData (r:0 w:4)79 // Storage: Refungible Owned (r:0 w:4)80 fn create_multiple_items(b: u32, ) -> Weight {81 (10_852_000 as Weight)82 // Standard Error: 2_00083 .saturating_add((8_087_000 as Weight).saturating_mul(b as Weight))84 .saturating_add(T::DbWeight::get().reads(2 as Weight))85 .saturating_add(T::DbWeight::get().writes(2 as Weight))86 .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))87 }88 // Storage: Refungible TokensMinted (r:1 w:1)89 // Storage: Refungible AccountBalance (r:4 w:4)90 // Storage: Refungible Balance (r:0 w:4)91 // Storage: Refungible TotalSupply (r:0 w:4)92 // Storage: Refungible TokenData (r:0 w:4)93 // Storage: Refungible Owned (r:0 w:4)94 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {95 (9_978_000 as Weight)96 // Standard Error: 2_00097 .saturating_add((10_848_000 as Weight).saturating_mul(b as Weight))98 .saturating_add(T::DbWeight::get().reads(1 as Weight))99 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))100 .saturating_add(T::DbWeight::get().writes(1 as Weight))101 .saturating_add(T::DbWeight::get().writes((5 as Weight).saturating_mul(b as Weight)))102 }103 // Storage: Refungible TokensMinted (r:1 w:1)104 // Storage: Refungible TotalSupply (r:0 w:1)105 // Storage: Refungible TokenData (r:0 w:1)106 // Storage: Refungible AccountBalance (r:4 w:4)107 // Storage: Refungible Balance (r:0 w:4)108 // Storage: Refungible Owned (r:0 w:4)109 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {110 (15_419_000 as Weight)111 // Standard Error: 2_000112 .saturating_add((7_813_000 as Weight).saturating_mul(b as Weight))113 .saturating_add(T::DbWeight::get().reads(1 as Weight))114 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))115 .saturating_add(T::DbWeight::get().writes(3 as Weight))116 .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))117 }118 // Storage: Refungible TotalSupply (r:1 w:1)119 // Storage: Refungible Balance (r:1 w:1)120 // Storage: Refungible AccountBalance (r:1 w:1)121 // Storage: Refungible Owned (r:0 w:1)122 fn burn_item_partial() -> Weight {123 (25_578_000 as Weight)124 .saturating_add(T::DbWeight::get().reads(3 as Weight))125 .saturating_add(T::DbWeight::get().writes(4 as Weight))126 }127 // Storage: Refungible TotalSupply (r:1 w:1)128 // Storage: Refungible Balance (r:1 w:1)129 // Storage: Refungible AccountBalance (r:1 w:1)130 // Storage: Refungible TokensBurnt (r:1 w:1)131 // Storage: Refungible TokenData (r:0 w:1)132 // Storage: Refungible Owned (r:0 w:1)133 // Storage: Refungible TokenProperties (r:0 w:1)134 fn burn_item_fully() -> Weight {135 (33_593_000 as Weight)136 .saturating_add(T::DbWeight::get().reads(4 as Weight))137 .saturating_add(T::DbWeight::get().writes(7 as Weight))138 }139 // Storage: Refungible Balance (r:2 w:2)140 fn transfer_normal() -> Weight {141 (21_049_000 as Weight)142 .saturating_add(T::DbWeight::get().reads(2 as Weight))143 .saturating_add(T::DbWeight::get().writes(2 as Weight))144 }145 // Storage: Refungible Balance (r:2 w:2)146 // Storage: Refungible AccountBalance (r:1 w:1)147 // Storage: Refungible Owned (r:0 w:1)148 fn transfer_creating() -> Weight {149 (24_646_000 as Weight)150 .saturating_add(T::DbWeight::get().reads(3 as Weight))151 .saturating_add(T::DbWeight::get().writes(4 as Weight))152 }153 // Storage: Refungible Balance (r:2 w:2)154 // Storage: Refungible AccountBalance (r:1 w:1)155 // Storage: Refungible Owned (r:0 w:1)156 fn transfer_removing() -> Weight {157 (26_570_000 as Weight)158 .saturating_add(T::DbWeight::get().reads(3 as Weight))159 .saturating_add(T::DbWeight::get().writes(4 as Weight))160 }161 // Storage: Refungible Balance (r:2 w:2)162 // Storage: Refungible AccountBalance (r:2 w:2)163 // Storage: Refungible Owned (r:0 w:2)164 fn transfer_creating_removing() -> Weight {165 (28_906_000 as Weight)166 .saturating_add(T::DbWeight::get().reads(4 as Weight))167 .saturating_add(T::DbWeight::get().writes(6 as Weight))168 }169 // Storage: Refungible Balance (r:1 w:0)170 // Storage: Refungible Allowance (r:0 w:1)171 fn approve() -> Weight {172 (16_451_000 as Weight)173 .saturating_add(T::DbWeight::get().reads(1 as Weight))174 .saturating_add(T::DbWeight::get().writes(1 as Weight))175 }176 // Storage: Refungible Allowance (r:1 w:1)177 // Storage: Refungible Balance (r:2 w:2)178 fn transfer_from_normal() -> Weight {179 (29_545_000 as Weight)180 .saturating_add(T::DbWeight::get().reads(3 as Weight))181 .saturating_add(T::DbWeight::get().writes(3 as Weight))182 }183 // Storage: Refungible Allowance (r:1 w:1)184 // Storage: Refungible Balance (r:2 w:2)185 // Storage: Refungible AccountBalance (r:1 w:1)186 // Storage: Refungible Owned (r:0 w:1)187 fn transfer_from_creating() -> Weight {188 (33_392_000 as Weight)189 .saturating_add(T::DbWeight::get().reads(4 as Weight))190 .saturating_add(T::DbWeight::get().writes(5 as Weight))191 }192 // Storage: Refungible Allowance (r:1 w:1)193 // Storage: Refungible Balance (r:2 w:2)194 // Storage: Refungible AccountBalance (r:1 w:1)195 // Storage: Refungible Owned (r:0 w:1)196 fn transfer_from_removing() -> Weight {197 (35_446_000 as Weight)198 .saturating_add(T::DbWeight::get().reads(4 as Weight))199 .saturating_add(T::DbWeight::get().writes(5 as Weight))200 }201 // Storage: Refungible Allowance (r:1 w:1)202 // Storage: Refungible Balance (r:2 w:2)203 // Storage: Refungible AccountBalance (r:2 w:2)204 // Storage: Refungible Owned (r:0 w:2)205 fn transfer_from_creating_removing() -> Weight {206 (37_762_000 as Weight)207 .saturating_add(T::DbWeight::get().reads(5 as Weight))208 .saturating_add(T::DbWeight::get().writes(7 as Weight))209 }210 // Storage: Refungible Allowance (r:1 w:1)211 // Storage: Refungible TotalSupply (r:1 w:1)212 // Storage: Refungible Balance (r:1 w:1)213 // Storage: Refungible AccountBalance (r:1 w:1)214 // Storage: Refungible TokensBurnt (r:1 w:1)215 // Storage: Refungible TokenData (r:0 w:1)216 // Storage: Refungible Owned (r:0 w:1)217 // Storage: Refungible TokenProperties (r:0 w:1)218 fn burn_from() -> Weight {219 (42_620_000 as Weight)220 .saturating_add(T::DbWeight::get().reads(5 as Weight))221 .saturating_add(T::DbWeight::get().writes(8 as Weight))222 }223 // Storage: Common CollectionPropertyPermissions (r:1 w:1)224 fn set_token_property_permissions(b: u32, ) -> Weight {225 (0 as Weight)226 // Standard Error: 65_000227 .saturating_add((16_513_000 as Weight).saturating_mul(b as Weight))228 .saturating_add(T::DbWeight::get().reads(1 as Weight))229 .saturating_add(T::DbWeight::get().writes(1 as Weight))230 }231 // Storage: Common CollectionPropertyPermissions (r:1 w:0)232 // Storage: Refungible TokenProperties (r:1 w:1)233 fn set_token_properties(b: u32, ) -> Weight {234 (0 as Weight)235 // Standard Error: 1_583_000236 .saturating_add((291_392_000 as Weight).saturating_mul(b as Weight))237 .saturating_add(T::DbWeight::get().reads(2 as Weight))238 .saturating_add(T::DbWeight::get().writes(1 as Weight))239 }240 // Storage: Common CollectionPropertyPermissions (r:1 w:0)241 // Storage: Refungible TokenProperties (r:1 w:1)242 fn delete_token_properties(b: u32, ) -> Weight {243 (0 as Weight)244 // Standard Error: 1_699_000245 .saturating_add((293_270_000 as Weight).saturating_mul(b as Weight))246 .saturating_add(T::DbWeight::get().reads(2 as Weight))247 .saturating_add(T::DbWeight::get().writes(1 as Weight))248 }249 // Storage: Refungible TotalSupply (r:1 w:1)250 // Storage: Refungible Balance (r:1 w:1)251 fn repartition_item() -> Weight {252 (19_206_000 as Weight)253 .saturating_add(T::DbWeight::get().reads(2 as Weight))254 .saturating_add(T::DbWeight::get().writes(2 as Weight))255 }256 // Storage: Refungible Balance (r:1 w:0)257 // Storage: Refungible TotalSupply (r:1 w:0)258 // Storage: Refungible TokenProperties (r:1 w:1)259 fn set_parent_nft_unchecked() -> Weight {260 (10_189_000 as Weight)261 .saturating_add(T::DbWeight::get().reads(3 as Weight))262 .saturating_add(T::DbWeight::get().writes(1 as Weight))263 }264 // Storage: Refungible Balance (r:2 w:0)265 fn token_owner() -> Weight {266 (8_205_000 as Weight)267 .saturating_add(T::DbWeight::get().reads(2 as Weight))268 }269}270271// For backwards compatibility and tests272impl WeightInfo for () {273 // Storage: Refungible TokensMinted (r:1 w:1)274 // Storage: Refungible AccountBalance (r:1 w:1)275 // Storage: Refungible Balance (r:0 w:1)276 // Storage: Refungible TotalSupply (r:0 w:1)277 // Storage: Refungible TokenData (r:0 w:1)278 // Storage: Refungible Owned (r:0 w:1)279 fn create_item() -> Weight {280 (25_197_000 as Weight)281 .saturating_add(RocksDbWeight::get().reads(2 as Weight))282 .saturating_add(RocksDbWeight::get().writes(6 as Weight))283 }284 // Storage: Refungible TokensMinted (r:1 w:1)285 // Storage: Refungible AccountBalance (r:1 w:1)286 // Storage: Refungible Balance (r:0 w:4)287 // Storage: Refungible TotalSupply (r:0 w:4)288 // Storage: Refungible TokenData (r:0 w:4)289 // Storage: Refungible Owned (r:0 w:4)290 fn create_multiple_items(b: u32, ) -> Weight {291 (10_852_000 as Weight)292 // Standard Error: 2_000293 .saturating_add((8_087_000 as Weight).saturating_mul(b as Weight))294 .saturating_add(RocksDbWeight::get().reads(2 as Weight))295 .saturating_add(RocksDbWeight::get().writes(2 as Weight))296 .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))297 }298 // Storage: Refungible TokensMinted (r:1 w:1)299 // Storage: Refungible AccountBalance (r:4 w:4)300 // Storage: Refungible Balance (r:0 w:4)301 // Storage: Refungible TotalSupply (r:0 w:4)302 // Storage: Refungible TokenData (r:0 w:4)303 // Storage: Refungible Owned (r:0 w:4)304 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {305 (9_978_000 as Weight)306 // Standard Error: 2_000307 .saturating_add((10_848_000 as Weight).saturating_mul(b as Weight))308 .saturating_add(RocksDbWeight::get().reads(1 as Weight))309 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))310 .saturating_add(RocksDbWeight::get().writes(1 as Weight))311 .saturating_add(RocksDbWeight::get().writes((5 as Weight).saturating_mul(b as Weight)))312 }313 // Storage: Refungible TokensMinted (r:1 w:1)314 // Storage: Refungible TotalSupply (r:0 w:1)315 // Storage: Refungible TokenData (r:0 w:1)316 // Storage: Refungible AccountBalance (r:4 w:4)317 // Storage: Refungible Balance (r:0 w:4)318 // Storage: Refungible Owned (r:0 w:4)319 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {320 (15_419_000 as Weight)321 // Standard Error: 2_000322 .saturating_add((7_813_000 as Weight).saturating_mul(b as Weight))323 .saturating_add(RocksDbWeight::get().reads(1 as Weight))324 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))325 .saturating_add(RocksDbWeight::get().writes(3 as Weight))326 .saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))327 }328 // Storage: Refungible TotalSupply (r:1 w:1)329 // Storage: Refungible Balance (r:1 w:1)330 // Storage: Refungible AccountBalance (r:1 w:1)331 // Storage: Refungible Owned (r:0 w:1)332 fn burn_item_partial() -> Weight {333 (25_578_000 as Weight)334 .saturating_add(RocksDbWeight::get().reads(3 as Weight))335 .saturating_add(RocksDbWeight::get().writes(4 as Weight))336 }337 // Storage: Refungible TotalSupply (r:1 w:1)338 // Storage: Refungible Balance (r:1 w:1)339 // Storage: Refungible AccountBalance (r:1 w:1)340 // Storage: Refungible TokensBurnt (r:1 w:1)341 // Storage: Refungible TokenData (r:0 w:1)342 // Storage: Refungible Owned (r:0 w:1)343 // Storage: Refungible TokenProperties (r:0 w:1)344 fn burn_item_fully() -> Weight {345 (33_593_000 as Weight)346 .saturating_add(RocksDbWeight::get().reads(4 as Weight))347 .saturating_add(RocksDbWeight::get().writes(7 as Weight))348 }349 // Storage: Refungible Balance (r:2 w:2)350 fn transfer_normal() -> Weight {351 (21_049_000 as Weight)352 .saturating_add(RocksDbWeight::get().reads(2 as Weight))353 .saturating_add(RocksDbWeight::get().writes(2 as Weight))354 }355 // Storage: Refungible Balance (r:2 w:2)356 // Storage: Refungible AccountBalance (r:1 w:1)357 // Storage: Refungible Owned (r:0 w:1)358 fn transfer_creating() -> Weight {359 (24_646_000 as Weight)360 .saturating_add(RocksDbWeight::get().reads(3 as Weight))361 .saturating_add(RocksDbWeight::get().writes(4 as Weight))362 }363 // Storage: Refungible Balance (r:2 w:2)364 // Storage: Refungible AccountBalance (r:1 w:1)365 // Storage: Refungible Owned (r:0 w:1)366 fn transfer_removing() -> Weight {367 (26_570_000 as Weight)368 .saturating_add(RocksDbWeight::get().reads(3 as Weight))369 .saturating_add(RocksDbWeight::get().writes(4 as Weight))370 }371 // Storage: Refungible Balance (r:2 w:2)372 // Storage: Refungible AccountBalance (r:2 w:2)373 // Storage: Refungible Owned (r:0 w:2)374 fn transfer_creating_removing() -> Weight {375 (28_906_000 as Weight)376 .saturating_add(RocksDbWeight::get().reads(4 as Weight))377 .saturating_add(RocksDbWeight::get().writes(6 as Weight))378 }379 // Storage: Refungible Balance (r:1 w:0)380 // Storage: Refungible Allowance (r:0 w:1)381 fn approve() -> Weight {382 (16_451_000 as Weight)383 .saturating_add(RocksDbWeight::get().reads(1 as Weight))384 .saturating_add(RocksDbWeight::get().writes(1 as Weight))385 }386 // Storage: Refungible Allowance (r:1 w:1)387 // Storage: Refungible Balance (r:2 w:2)388 fn transfer_from_normal() -> Weight {389 (29_545_000 as Weight)390 .saturating_add(RocksDbWeight::get().reads(3 as Weight))391 .saturating_add(RocksDbWeight::get().writes(3 as Weight))392 }393 // Storage: Refungible Allowance (r:1 w:1)394 // Storage: Refungible Balance (r:2 w:2)395 // Storage: Refungible AccountBalance (r:1 w:1)396 // Storage: Refungible Owned (r:0 w:1)397 fn transfer_from_creating() -> Weight {398 (33_392_000 as Weight)399 .saturating_add(RocksDbWeight::get().reads(4 as Weight))400 .saturating_add(RocksDbWeight::get().writes(5 as Weight))401 }402 // Storage: Refungible Allowance (r:1 w:1)403 // Storage: Refungible Balance (r:2 w:2)404 // Storage: Refungible AccountBalance (r:1 w:1)405 // Storage: Refungible Owned (r:0 w:1)406 fn transfer_from_removing() -> Weight {407 (35_446_000 as Weight)408 .saturating_add(RocksDbWeight::get().reads(4 as Weight))409 .saturating_add(RocksDbWeight::get().writes(5 as Weight))410 }411 // Storage: Refungible Allowance (r:1 w:1)412 // Storage: Refungible Balance (r:2 w:2)413 // Storage: Refungible AccountBalance (r:2 w:2)414 // Storage: Refungible Owned (r:0 w:2)415 fn transfer_from_creating_removing() -> Weight {416 (37_762_000 as Weight)417 .saturating_add(RocksDbWeight::get().reads(5 as Weight))418 .saturating_add(RocksDbWeight::get().writes(7 as Weight))419 }420 // Storage: Refungible Allowance (r:1 w:1)421 // Storage: Refungible TotalSupply (r:1 w:1)422 // Storage: Refungible Balance (r:1 w:1)423 // Storage: Refungible AccountBalance (r:1 w:1)424 // Storage: Refungible TokensBurnt (r:1 w:1)425 // Storage: Refungible TokenData (r:0 w:1)426 // Storage: Refungible Owned (r:0 w:1)427 // Storage: Refungible TokenProperties (r:0 w:1)428 fn burn_from() -> Weight {429 (42_620_000 as Weight)430 .saturating_add(RocksDbWeight::get().reads(5 as Weight))431 .saturating_add(RocksDbWeight::get().writes(8 as Weight))432 }433 // Storage: Common CollectionPropertyPermissions (r:1 w:1)434 fn set_token_property_permissions(b: u32, ) -> Weight {435 (0 as Weight)436 // Standard Error: 65_000437 .saturating_add((16_513_000 as Weight).saturating_mul(b as Weight))438 .saturating_add(RocksDbWeight::get().reads(1 as Weight))439 .saturating_add(RocksDbWeight::get().writes(1 as Weight))440 }441 // Storage: Common CollectionPropertyPermissions (r:1 w:0)442 // Storage: Refungible TokenProperties (r:1 w:1)443 fn set_token_properties(b: u32, ) -> Weight {444 (0 as Weight)445 // Standard Error: 1_583_000446 .saturating_add((291_392_000 as Weight).saturating_mul(b as Weight))447 .saturating_add(RocksDbWeight::get().reads(2 as Weight))448 .saturating_add(RocksDbWeight::get().writes(1 as Weight))449 }450 // Storage: Common CollectionPropertyPermissions (r:1 w:0)451 // Storage: Refungible TokenProperties (r:1 w:1)452 fn delete_token_properties(b: u32, ) -> Weight {453 (0 as Weight)454 // Standard Error: 1_699_000455 .saturating_add((293_270_000 as Weight).saturating_mul(b as Weight))456 .saturating_add(RocksDbWeight::get().reads(2 as Weight))457 .saturating_add(RocksDbWeight::get().writes(1 as Weight))458 }459 // Storage: Refungible TotalSupply (r:1 w:1)460 // Storage: Refungible Balance (r:1 w:1)461 fn repartition_item() -> Weight {462 (19_206_000 as Weight)463 .saturating_add(RocksDbWeight::get().reads(2 as Weight))464 .saturating_add(RocksDbWeight::get().writes(2 as Weight))465 }466 // Storage: Refungible Balance (r:1 w:0)467 // Storage: Refungible TotalSupply (r:1 w:0)468 // Storage: Refungible TokenProperties (r:1 w:1)469 fn set_parent_nft_unchecked() -> Weight {470 (10_189_000 as Weight)471 .saturating_add(RocksDbWeight::get().reads(3 as Weight))472 .saturating_add(RocksDbWeight::get().writes(1 as Weight))473 }474 // Storage: Refungible Balance (r:2 w:0)475 fn token_owner() -> Weight {476 (8_205_000 as Weight)477 .saturating_add(RocksDbWeight::get().reads(2 as Weight))478 }479}1// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_refungible4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2022-08-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-refungible15// --wasm-execution16// compiled17// --extrinsic18// *19// --template20// .maintain/frame-weight-template.hbs21// --steps=5022// --repeat=8023// --heap-pages=409624// --output=./pallets/refungible/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_refungible.35pub trait WeightInfo {36 fn create_item() -> Weight;37 fn create_multiple_items(b: u32, ) -> Weight;38 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight;39 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight;40 fn burn_item_partial() -> Weight;41 fn burn_item_fully() -> Weight;42 fn transfer_normal() -> Weight;43 fn transfer_creating() -> Weight;44 fn transfer_removing() -> Weight;45 fn transfer_creating_removing() -> Weight;46 fn approve() -> Weight;47 fn transfer_from_normal() -> Weight;48 fn transfer_from_creating() -> Weight;49 fn transfer_from_removing() -> Weight;50 fn transfer_from_creating_removing() -> Weight;51 fn burn_from() -> Weight;52 fn set_token_property_permissions(b: u32, ) -> Weight;53 fn set_token_properties(b: u32, ) -> Weight;54 fn delete_token_properties(b: u32, ) -> Weight;55 fn repartition_item() -> Weight;56 fn set_parent_nft_unchecked() -> Weight;57 fn token_owner() -> Weight;58}5960/// Weights for pallet_refungible using the Substrate node and recommended hardware.61pub struct SubstrateWeight<T>(PhantomData<T>);62impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {63 // Storage: Refungible TokensMinted (r:1 w:1)64 // Storage: Refungible AccountBalance (r:1 w:1)65 // Storage: Refungible Balance (r:0 w:1)66 // Storage: Refungible TotalSupply (r:0 w:1)67 // Storage: Refungible Owned (r:0 w:1)68 fn create_item() -> Weight {69 (29_527_000 as Weight)70 .saturating_add(T::DbWeight::get().reads(2 as Weight))71 .saturating_add(T::DbWeight::get().writes(5 as Weight))72 }73 // Storage: Refungible TokensMinted (r:1 w:1)74 // Storage: Refungible AccountBalance (r:1 w:1)75 // Storage: Refungible Balance (r:0 w:4)76 // Storage: Refungible TotalSupply (r:0 w:4)77 // Storage: Refungible Owned (r:0 w:4)78 fn create_multiple_items(b: u32, ) -> Weight {79 (28_541_000 as Weight)80 // Standard Error: 4_00081 .saturating_add((6_671_000 as Weight).saturating_mul(b as Weight))82 .saturating_add(T::DbWeight::get().reads(2 as Weight))83 .saturating_add(T::DbWeight::get().writes(2 as Weight))84 .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))85 }86 // Storage: Refungible TokensMinted (r:1 w:1)87 // Storage: Refungible AccountBalance (r:4 w:4)88 // Storage: Refungible Balance (r:0 w:4)89 // Storage: Refungible TotalSupply (r:0 w:4)90 // Storage: Refungible Owned (r:0 w:4)91 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {92 (24_366_000 as Weight)93 // Standard Error: 5_00094 .saturating_add((9_338_000 as Weight).saturating_mul(b as Weight))95 .saturating_add(T::DbWeight::get().reads(1 as Weight))96 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))97 .saturating_add(T::DbWeight::get().writes(1 as Weight))98 .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))99 }100 // Storage: Refungible TokensMinted (r:1 w:1)101 // Storage: Refungible TotalSupply (r:0 w:1)102 // Storage: Refungible AccountBalance (r:4 w:4)103 // Storage: Refungible Balance (r:0 w:4)104 // Storage: Refungible Owned (r:0 w:4)105 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {106 (27_574_000 as Weight)107 // Standard Error: 4_000108 .saturating_add((7_193_000 as Weight).saturating_mul(b as Weight))109 .saturating_add(T::DbWeight::get().reads(1 as Weight))110 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))111 .saturating_add(T::DbWeight::get().writes(2 as Weight))112 .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))113 }114 // Storage: Refungible TotalSupply (r:1 w:1)115 // Storage: Refungible Balance (r:3 w:1)116 // Storage: Refungible AccountBalance (r:1 w:1)117 // Storage: Refungible Owned (r:0 w:1)118 fn burn_item_partial() -> Weight {119 (42_943_000 as Weight)120 .saturating_add(T::DbWeight::get().reads(5 as Weight))121 .saturating_add(T::DbWeight::get().writes(4 as Weight))122 }123 // Storage: Refungible TotalSupply (r:1 w:1)124 // Storage: Refungible Balance (r:1 w:1)125 // Storage: Refungible AccountBalance (r:1 w:1)126 // Storage: Refungible TokensBurnt (r:1 w:1)127 // Storage: Refungible Owned (r:0 w:1)128 // Storage: Refungible TokenProperties (r:0 w:1)129 fn burn_item_fully() -> Weight {130 (36_861_000 as Weight)131 .saturating_add(T::DbWeight::get().reads(4 as Weight))132 .saturating_add(T::DbWeight::get().writes(6 as Weight))133 }134 // Storage: Refungible Balance (r:2 w:2)135 // Storage: Refungible TotalSupply (r:1 w:0)136 fn transfer_normal() -> Weight {137 (27_789_000 as Weight)138 .saturating_add(T::DbWeight::get().reads(3 as Weight))139 .saturating_add(T::DbWeight::get().writes(2 as Weight))140 }141 // Storage: Refungible Balance (r:2 w:2)142 // Storage: Refungible AccountBalance (r:1 w:1)143 // Storage: Refungible TotalSupply (r:1 w:0)144 // Storage: Refungible Owned (r:0 w:1)145 fn transfer_creating() -> Weight {146 (32_893_000 as Weight)147 .saturating_add(T::DbWeight::get().reads(4 as Weight))148 .saturating_add(T::DbWeight::get().writes(4 as Weight))149 }150 // Storage: Refungible Balance (r:2 w:2)151 // Storage: Refungible AccountBalance (r:1 w:1)152 // Storage: Refungible TotalSupply (r:1 w:0)153 // Storage: Refungible Owned (r:0 w:1)154 fn transfer_removing() -> Weight {155 (34_703_000 as Weight)156 .saturating_add(T::DbWeight::get().reads(4 as Weight))157 .saturating_add(T::DbWeight::get().writes(4 as Weight))158 }159 // Storage: Refungible Balance (r:2 w:2)160 // Storage: Refungible AccountBalance (r:2 w:2)161 // Storage: Refungible TotalSupply (r:1 w:0)162 // Storage: Refungible Owned (r:0 w:2)163 fn transfer_creating_removing() -> Weight {164 (37_547_000 as Weight)165 .saturating_add(T::DbWeight::get().reads(5 as Weight))166 .saturating_add(T::DbWeight::get().writes(6 as Weight))167 }168 // Storage: Refungible Balance (r:1 w:0)169 // Storage: Refungible Allowance (r:0 w:1)170 fn approve() -> Weight {171 (20_039_000 as Weight)172 .saturating_add(T::DbWeight::get().reads(1 as Weight))173 .saturating_add(T::DbWeight::get().writes(1 as Weight))174 }175 // Storage: Refungible Allowance (r:1 w:1)176 // Storage: Refungible Balance (r:2 w:2)177 // Storage: Refungible TotalSupply (r:1 w:0)178 fn transfer_from_normal() -> Weight {179 (37_628_000 as Weight)180 .saturating_add(T::DbWeight::get().reads(4 as Weight))181 .saturating_add(T::DbWeight::get().writes(3 as Weight))182 }183 // Storage: Refungible Allowance (r:1 w:1)184 // Storage: Refungible Balance (r:2 w:2)185 // Storage: Refungible AccountBalance (r:1 w:1)186 // Storage: Refungible TotalSupply (r:1 w:0)187 // Storage: Refungible Owned (r:0 w:1)188 fn transfer_from_creating() -> Weight {189 (42_072_000 as Weight)190 .saturating_add(T::DbWeight::get().reads(5 as Weight))191 .saturating_add(T::DbWeight::get().writes(5 as Weight))192 }193 // Storage: Refungible Allowance (r:1 w:1)194 // Storage: Refungible Balance (r:2 w:2)195 // Storage: Refungible AccountBalance (r:1 w:1)196 // Storage: Refungible TotalSupply (r:1 w:0)197 // Storage: Refungible Owned (r:0 w:1)198 fn transfer_from_removing() -> Weight {199 (43_024_000 as Weight)200 .saturating_add(T::DbWeight::get().reads(5 as Weight))201 .saturating_add(T::DbWeight::get().writes(5 as Weight))202 }203 // Storage: Refungible Allowance (r:1 w:1)204 // Storage: Refungible Balance (r:2 w:2)205 // Storage: Refungible AccountBalance (r:2 w:2)206 // Storage: Refungible TotalSupply (r:1 w:0)207 // Storage: Refungible Owned (r:0 w:2)208 fn transfer_from_creating_removing() -> Weight {209 (45_910_000 as Weight)210 .saturating_add(T::DbWeight::get().reads(6 as Weight))211 .saturating_add(T::DbWeight::get().writes(7 as Weight))212 }213 // Storage: Refungible Allowance (r:1 w:1)214 // Storage: Refungible TotalSupply (r:1 w:1)215 // Storage: Refungible Balance (r:1 w:1)216 // Storage: Refungible AccountBalance (r:1 w:1)217 // Storage: Refungible TokensBurnt (r:1 w:1)218 // Storage: Refungible Owned (r:0 w:1)219 // Storage: Refungible TokenProperties (r:0 w:1)220 fn burn_from() -> Weight {221 (48_584_000 as Weight)222 .saturating_add(T::DbWeight::get().reads(5 as Weight))223 .saturating_add(T::DbWeight::get().writes(7 as Weight))224 }225 // Storage: Common CollectionPropertyPermissions (r:1 w:1)226 fn set_token_property_permissions(b: u32, ) -> Weight {227 (0 as Weight)228 // Standard Error: 60_000229 .saturating_add((15_533_000 as Weight).saturating_mul(b as Weight))230 .saturating_add(T::DbWeight::get().reads(1 as Weight))231 .saturating_add(T::DbWeight::get().writes(1 as Weight))232 }233 // Storage: Common CollectionPropertyPermissions (r:1 w:0)234 // Storage: Refungible TokenProperties (r:1 w:1)235 fn set_token_properties(b: u32, ) -> Weight {236 (0 as Weight)237 // Standard Error: 3_609_000238 .saturating_add((590_204_000 as Weight).saturating_mul(b as Weight))239 .saturating_add(T::DbWeight::get().reads(2 as Weight))240 .saturating_add(T::DbWeight::get().writes(1 as Weight))241 }242 // Storage: Common CollectionPropertyPermissions (r:1 w:0)243 // Storage: Refungible TokenProperties (r:1 w:1)244 fn delete_token_properties(b: u32, ) -> Weight {245 (0 as Weight)246 // Standard Error: 3_637_000247 .saturating_add((603_468_000 as Weight).saturating_mul(b as Weight))248 .saturating_add(T::DbWeight::get().reads(2 as Weight))249 .saturating_add(T::DbWeight::get().writes(1 as Weight))250 }251 // Storage: Refungible TotalSupply (r:1 w:1)252 // Storage: Refungible Balance (r:1 w:1)253 fn repartition_item() -> Weight {254 (22_356_000 as Weight)255 .saturating_add(T::DbWeight::get().reads(2 as Weight))256 .saturating_add(T::DbWeight::get().writes(2 as Weight))257 }258 // Storage: Refungible Balance (r:1 w:0)259 // Storage: Refungible TotalSupply (r:1 w:0)260 // Storage: Refungible TokenProperties (r:1 w:1)261 fn set_parent_nft_unchecked() -> Weight {262 (12_015_000 as Weight)263 .saturating_add(T::DbWeight::get().reads(3 as Weight))264 .saturating_add(T::DbWeight::get().writes(1 as Weight))265 }266 // Storage: Refungible Balance (r:2 w:0)267 fn token_owner() -> Weight {268 (9_431_000 as Weight)269 .saturating_add(T::DbWeight::get().reads(2 as Weight))270 }271}272273// For backwards compatibility and tests274impl WeightInfo for () {275 // Storage: Refungible TokensMinted (r:1 w:1)276 // Storage: Refungible AccountBalance (r:1 w:1)277 // Storage: Refungible Balance (r:0 w:1)278 // Storage: Refungible TotalSupply (r:0 w:1)279 // Storage: Refungible Owned (r:0 w:1)280 fn create_item() -> Weight {281 (29_527_000 as Weight)282 .saturating_add(RocksDbWeight::get().reads(2 as Weight))283 .saturating_add(RocksDbWeight::get().writes(5 as Weight))284 }285 // Storage: Refungible TokensMinted (r:1 w:1)286 // Storage: Refungible AccountBalance (r:1 w:1)287 // Storage: Refungible Balance (r:0 w:4)288 // Storage: Refungible TotalSupply (r:0 w:4)289 // Storage: Refungible Owned (r:0 w:4)290 fn create_multiple_items(b: u32, ) -> Weight {291 (28_541_000 as Weight)292 // Standard Error: 4_000293 .saturating_add((6_671_000 as Weight).saturating_mul(b as Weight))294 .saturating_add(RocksDbWeight::get().reads(2 as Weight))295 .saturating_add(RocksDbWeight::get().writes(2 as Weight))296 .saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))297 }298 // Storage: Refungible TokensMinted (r:1 w:1)299 // Storage: Refungible AccountBalance (r:4 w:4)300 // Storage: Refungible Balance (r:0 w:4)301 // Storage: Refungible TotalSupply (r:0 w:4)302 // Storage: Refungible Owned (r:0 w:4)303 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {304 (24_366_000 as Weight)305 // Standard Error: 5_000306 .saturating_add((9_338_000 as Weight).saturating_mul(b as Weight))307 .saturating_add(RocksDbWeight::get().reads(1 as Weight))308 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))309 .saturating_add(RocksDbWeight::get().writes(1 as Weight))310 .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))311 }312 // Storage: Refungible TokensMinted (r:1 w:1)313 // Storage: Refungible TotalSupply (r:0 w:1)314 // Storage: Refungible AccountBalance (r:4 w:4)315 // Storage: Refungible Balance (r:0 w:4)316 // Storage: Refungible Owned (r:0 w:4)317 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {318 (27_574_000 as Weight)319 // Standard Error: 4_000320 .saturating_add((7_193_000 as Weight).saturating_mul(b as Weight))321 .saturating_add(RocksDbWeight::get().reads(1 as Weight))322 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))323 .saturating_add(RocksDbWeight::get().writes(2 as Weight))324 .saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))325 }326 // Storage: Refungible TotalSupply (r:1 w:1)327 // Storage: Refungible Balance (r:3 w:1)328 // Storage: Refungible AccountBalance (r:1 w:1)329 // Storage: Refungible Owned (r:0 w:1)330 fn burn_item_partial() -> Weight {331 (42_943_000 as Weight)332 .saturating_add(RocksDbWeight::get().reads(5 as Weight))333 .saturating_add(RocksDbWeight::get().writes(4 as Weight))334 }335 // Storage: Refungible TotalSupply (r:1 w:1)336 // Storage: Refungible Balance (r:1 w:1)337 // Storage: Refungible AccountBalance (r:1 w:1)338 // Storage: Refungible TokensBurnt (r:1 w:1)339 // Storage: Refungible Owned (r:0 w:1)340 // Storage: Refungible TokenProperties (r:0 w:1)341 fn burn_item_fully() -> Weight {342 (36_861_000 as Weight)343 .saturating_add(RocksDbWeight::get().reads(4 as Weight))344 .saturating_add(RocksDbWeight::get().writes(6 as Weight))345 }346 // Storage: Refungible Balance (r:2 w:2)347 // Storage: Refungible TotalSupply (r:1 w:0)348 fn transfer_normal() -> Weight {349 (27_789_000 as Weight)350 .saturating_add(RocksDbWeight::get().reads(3 as Weight))351 .saturating_add(RocksDbWeight::get().writes(2 as Weight))352 }353 // Storage: Refungible Balance (r:2 w:2)354 // Storage: Refungible AccountBalance (r:1 w:1)355 // Storage: Refungible TotalSupply (r:1 w:0)356 // Storage: Refungible Owned (r:0 w:1)357 fn transfer_creating() -> Weight {358 (32_893_000 as Weight)359 .saturating_add(RocksDbWeight::get().reads(4 as Weight))360 .saturating_add(RocksDbWeight::get().writes(4 as Weight))361 }362 // Storage: Refungible Balance (r:2 w:2)363 // Storage: Refungible AccountBalance (r:1 w:1)364 // Storage: Refungible TotalSupply (r:1 w:0)365 // Storage: Refungible Owned (r:0 w:1)366 fn transfer_removing() -> Weight {367 (34_703_000 as Weight)368 .saturating_add(RocksDbWeight::get().reads(4 as Weight))369 .saturating_add(RocksDbWeight::get().writes(4 as Weight))370 }371 // Storage: Refungible Balance (r:2 w:2)372 // Storage: Refungible AccountBalance (r:2 w:2)373 // Storage: Refungible TotalSupply (r:1 w:0)374 // Storage: Refungible Owned (r:0 w:2)375 fn transfer_creating_removing() -> Weight {376 (37_547_000 as Weight)377 .saturating_add(RocksDbWeight::get().reads(5 as Weight))378 .saturating_add(RocksDbWeight::get().writes(6 as Weight))379 }380 // Storage: Refungible Balance (r:1 w:0)381 // Storage: Refungible Allowance (r:0 w:1)382 fn approve() -> Weight {383 (20_039_000 as Weight)384 .saturating_add(RocksDbWeight::get().reads(1 as Weight))385 .saturating_add(RocksDbWeight::get().writes(1 as Weight))386 }387 // Storage: Refungible Allowance (r:1 w:1)388 // Storage: Refungible Balance (r:2 w:2)389 // Storage: Refungible TotalSupply (r:1 w:0)390 fn transfer_from_normal() -> Weight {391 (37_628_000 as Weight)392 .saturating_add(RocksDbWeight::get().reads(4 as Weight))393 .saturating_add(RocksDbWeight::get().writes(3 as Weight))394 }395 // Storage: Refungible Allowance (r:1 w:1)396 // Storage: Refungible Balance (r:2 w:2)397 // Storage: Refungible AccountBalance (r:1 w:1)398 // Storage: Refungible TotalSupply (r:1 w:0)399 // Storage: Refungible Owned (r:0 w:1)400 fn transfer_from_creating() -> Weight {401 (42_072_000 as Weight)402 .saturating_add(RocksDbWeight::get().reads(5 as Weight))403 .saturating_add(RocksDbWeight::get().writes(5 as Weight))404 }405 // Storage: Refungible Allowance (r:1 w:1)406 // Storage: Refungible Balance (r:2 w:2)407 // Storage: Refungible AccountBalance (r:1 w:1)408 // Storage: Refungible TotalSupply (r:1 w:0)409 // Storage: Refungible Owned (r:0 w:1)410 fn transfer_from_removing() -> Weight {411 (43_024_000 as Weight)412 .saturating_add(RocksDbWeight::get().reads(5 as Weight))413 .saturating_add(RocksDbWeight::get().writes(5 as Weight))414 }415 // Storage: Refungible Allowance (r:1 w:1)416 // Storage: Refungible Balance (r:2 w:2)417 // Storage: Refungible AccountBalance (r:2 w:2)418 // Storage: Refungible TotalSupply (r:1 w:0)419 // Storage: Refungible Owned (r:0 w:2)420 fn transfer_from_creating_removing() -> Weight {421 (45_910_000 as Weight)422 .saturating_add(RocksDbWeight::get().reads(6 as Weight))423 .saturating_add(RocksDbWeight::get().writes(7 as Weight))424 }425 // Storage: Refungible Allowance (r:1 w:1)426 // Storage: Refungible TotalSupply (r:1 w:1)427 // Storage: Refungible Balance (r:1 w:1)428 // Storage: Refungible AccountBalance (r:1 w:1)429 // Storage: Refungible TokensBurnt (r:1 w:1)430 // Storage: Refungible Owned (r:0 w:1)431 // Storage: Refungible TokenProperties (r:0 w:1)432 fn burn_from() -> Weight {433 (48_584_000 as Weight)434 .saturating_add(RocksDbWeight::get().reads(5 as Weight))435 .saturating_add(RocksDbWeight::get().writes(7 as Weight))436 }437 // Storage: Common CollectionPropertyPermissions (r:1 w:1)438 fn set_token_property_permissions(b: u32, ) -> Weight {439 (0 as Weight)440 // Standard Error: 60_000441 .saturating_add((15_533_000 as Weight).saturating_mul(b as Weight))442 .saturating_add(RocksDbWeight::get().reads(1 as Weight))443 .saturating_add(RocksDbWeight::get().writes(1 as Weight))444 }445 // Storage: Common CollectionPropertyPermissions (r:1 w:0)446 // Storage: Refungible TokenProperties (r:1 w:1)447 fn set_token_properties(b: u32, ) -> Weight {448 (0 as Weight)449 // Standard Error: 3_609_000450 .saturating_add((590_204_000 as Weight).saturating_mul(b as Weight))451 .saturating_add(RocksDbWeight::get().reads(2 as Weight))452 .saturating_add(RocksDbWeight::get().writes(1 as Weight))453 }454 // Storage: Common CollectionPropertyPermissions (r:1 w:0)455 // Storage: Refungible TokenProperties (r:1 w:1)456 fn delete_token_properties(b: u32, ) -> Weight {457 (0 as Weight)458 // Standard Error: 3_637_000459 .saturating_add((603_468_000 as Weight).saturating_mul(b as Weight))460 .saturating_add(RocksDbWeight::get().reads(2 as Weight))461 .saturating_add(RocksDbWeight::get().writes(1 as Weight))462 }463 // Storage: Refungible TotalSupply (r:1 w:1)464 // Storage: Refungible Balance (r:1 w:1)465 fn repartition_item() -> Weight {466 (22_356_000 as Weight)467 .saturating_add(RocksDbWeight::get().reads(2 as Weight))468 .saturating_add(RocksDbWeight::get().writes(2 as Weight))469 }470 // Storage: Refungible Balance (r:1 w:0)471 // Storage: Refungible TotalSupply (r:1 w:0)472 // Storage: Refungible TokenProperties (r:1 w:1)473 fn set_parent_nft_unchecked() -> Weight {474 (12_015_000 as Weight)475 .saturating_add(RocksDbWeight::get().reads(3 as Weight))476 .saturating_add(RocksDbWeight::get().writes(1 as Weight))477 }478 // Storage: Refungible Balance (r:2 w:0)479 fn token_owner() -> Weight {480 (9_431_000 as Weight)481 .saturating_add(RocksDbWeight::get().reads(2 as Weight))482 }483}pallets/scheduler/src/weights.rsdiffbeforeafterboth--- a/pallets/scheduler/src/weights.rs
+++ b/pallets/scheduler/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_unique_scheduler
//!
//! 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:
@@ -55,9 +55,9 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight {
- (27_374_000 as Weight)
- // Standard Error: 7_000
- .saturating_add((9_673_000 as Weight).saturating_mul(s as Weight))
+ (26_641_000 as Weight)
+ // Standard Error: 9_000
+ .saturating_add((8_547_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
@@ -69,9 +69,9 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_named_resolved(s: u32, ) -> Weight {
- (25_967_000 as Weight)
- // Standard Error: 6_000
- .saturating_add((5_916_000 as Weight).saturating_mul(s as Weight))
+ (23_941_000 as Weight)
+ // Standard Error: 17_000
+ .saturating_add((5_282_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -82,9 +82,9 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_periodic(s: u32, ) -> Weight {
- (27_097_000 as Weight)
- // Standard Error: 5_000
- .saturating_add((9_652_000 as Weight).saturating_mul(s as Weight))
+ (24_858_000 as Weight)
+ // Standard Error: 7_000
+ .saturating_add((8_657_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
@@ -96,9 +96,9 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_periodic_resolved(s: u32, ) -> Weight {
- (43_116_000 as Weight)
- // Standard Error: 18_000
- .saturating_add((8_352_000 as Weight).saturating_mul(s as Weight))
+ (25_515_000 as Weight)
+ // Standard Error: 14_000
+ .saturating_add((8_656_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
@@ -107,9 +107,9 @@
// Storage: Scheduler Agenda (r:2 w:2)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_aborted(s: u32, ) -> Weight {
- (4_921_000 as Weight)
- // Standard Error: 4_000
- .saturating_add((2_249_000 as Weight).saturating_mul(s as Weight))
+ (7_584_000 as Weight)
+ // Standard Error: 1_000
+ .saturating_add((2_065_000 as Weight).saturating_mul(s 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((1 as Weight).saturating_mul(s as Weight)))
@@ -120,9 +120,9 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_named_aborted(s: u32, ) -> Weight {
- (26_934_000 as Weight)
- // Standard Error: 7_000
- .saturating_add((5_819_000 as Weight).saturating_mul(s as Weight))
+ (25_552_000 as Weight)
+ // Standard Error: 4_000
+ .saturating_add((5_187_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -130,9 +130,9 @@
// Storage: Scheduler Agenda (r:2 w:2)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_named(s: u32, ) -> Weight {
- (6_423_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((2_141_000 as Weight).saturating_mul(s as Weight))
+ (8_980_000 as Weight)
+ // Standard Error: 12_000
+ .saturating_add((2_050_000 as Weight).saturating_mul(s 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((1 as Weight).saturating_mul(s as Weight)))
@@ -143,9 +143,9 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize(s: u32, ) -> Weight {
- (27_586_000 as Weight)
- // Standard Error: 11_000
- .saturating_add((5_264_000 as Weight).saturating_mul(s as Weight))
+ (24_482_000 as Weight)
+ // Standard Error: 4_000
+ .saturating_add((5_249_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -156,9 +156,9 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_resolved(s: u32, ) -> Weight {
- (24_356_000 as Weight)
+ (25_187_000 as Weight)
// Standard Error: 4_000
- .saturating_add((5_301_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add((5_216_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -166,18 +166,18 @@
// Storage: Scheduler Lookup (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:1)
fn schedule_named(s: u32, ) -> Weight {
- (14_871_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((183_000 as Weight).saturating_mul(s as Weight))
+ (17_316_000 as Weight)
+ // Standard Error: 3_000
+ .saturating_add((82_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: Scheduler Lookup (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:1)
fn cancel_named(s: u32, ) -> Weight {
- (16_676_000 as Weight)
+ (15_652_000 as Weight)
// Standard Error: 1_000
- .saturating_add((500_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add((436_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
@@ -191,9 +191,9 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight {
- (27_374_000 as Weight)
- // Standard Error: 7_000
- .saturating_add((9_673_000 as Weight).saturating_mul(s as Weight))
+ (26_641_000 as Weight)
+ // Standard Error: 9_000
+ .saturating_add((8_547_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
@@ -205,9 +205,9 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_named_resolved(s: u32, ) -> Weight {
- (25_967_000 as Weight)
- // Standard Error: 6_000
- .saturating_add((5_916_000 as Weight).saturating_mul(s as Weight))
+ (23_941_000 as Weight)
+ // Standard Error: 17_000
+ .saturating_add((5_282_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -218,9 +218,9 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_periodic(s: u32, ) -> Weight {
- (27_097_000 as Weight)
- // Standard Error: 5_000
- .saturating_add((9_652_000 as Weight).saturating_mul(s as Weight))
+ (24_858_000 as Weight)
+ // Standard Error: 7_000
+ .saturating_add((8_657_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
@@ -232,9 +232,9 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_periodic_resolved(s: u32, ) -> Weight {
- (43_116_000 as Weight)
- // Standard Error: 18_000
- .saturating_add((8_352_000 as Weight).saturating_mul(s as Weight))
+ (25_515_000 as Weight)
+ // Standard Error: 14_000
+ .saturating_add((8_656_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
@@ -243,9 +243,9 @@
// Storage: Scheduler Agenda (r:2 w:2)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_aborted(s: u32, ) -> Weight {
- (4_921_000 as Weight)
- // Standard Error: 4_000
- .saturating_add((2_249_000 as Weight).saturating_mul(s as Weight))
+ (7_584_000 as Weight)
+ // Standard Error: 1_000
+ .saturating_add((2_065_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -256,9 +256,9 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_named_aborted(s: u32, ) -> Weight {
- (26_934_000 as Weight)
- // Standard Error: 7_000
- .saturating_add((5_819_000 as Weight).saturating_mul(s as Weight))
+ (25_552_000 as Weight)
+ // Standard Error: 4_000
+ .saturating_add((5_187_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -266,9 +266,9 @@
// Storage: Scheduler Agenda (r:2 w:2)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_named(s: u32, ) -> Weight {
- (6_423_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((2_141_000 as Weight).saturating_mul(s as Weight))
+ (8_980_000 as Weight)
+ // Standard Error: 12_000
+ .saturating_add((2_050_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -279,9 +279,9 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize(s: u32, ) -> Weight {
- (27_586_000 as Weight)
- // Standard Error: 11_000
- .saturating_add((5_264_000 as Weight).saturating_mul(s as Weight))
+ (24_482_000 as Weight)
+ // Standard Error: 4_000
+ .saturating_add((5_249_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -292,9 +292,9 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_resolved(s: u32, ) -> Weight {
- (24_356_000 as Weight)
+ (25_187_000 as Weight)
// Standard Error: 4_000
- .saturating_add((5_301_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add((5_216_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -302,18 +302,18 @@
// Storage: Scheduler Lookup (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:1)
fn schedule_named(s: u32, ) -> Weight {
- (14_871_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((183_000 as Weight).saturating_mul(s as Weight))
+ (17_316_000 as Weight)
+ // Standard Error: 3_000
+ .saturating_add((82_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
// Storage: Scheduler Lookup (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:1)
fn cancel_named(s: u32, ) -> Weight {
- (16_676_000 as Weight)
+ (15_652_000 as Weight)
// Standard Error: 1_000
- .saturating_add((500_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add((436_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
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.