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.rsdiffbeforeafterboth1// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_nonfungible4//!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-nonfungible15// --wasm-execution16// compiled17// --extrinsic18// *19// --template20// .maintain/frame-weight-template.hbs21// --steps=5022// --repeat=8023// --heap-pages=409624// --output=./pallets/nonfungible/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_nonfungible.35pub trait WeightInfo {36 fn create_item() -> Weight;37 fn create_multiple_items(b: u32, ) -> Weight;38 fn create_multiple_items_ex(b: u32, ) -> Weight;39 fn burn_item() -> Weight;40 fn burn_recursively_self_raw() -> Weight;41 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight;42 fn transfer() -> Weight;43 fn approve() -> Weight;44 fn transfer_from() -> Weight;45 fn burn_from() -> Weight;46 fn set_token_property_permissions(b: u32, ) -> Weight;47 fn set_token_properties(b: u32, ) -> Weight;48 fn delete_token_properties(b: u32, ) -> Weight;49 fn token_owner() -> Weight;50}5152/// Weights for pallet_nonfungible using the Substrate node and recommended hardware.53pub struct SubstrateWeight<T>(PhantomData<T>);54impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {55 // Storage: Nonfungible TokensMinted (r:1 w:1)56 // Storage: Nonfungible AccountBalance (r:1 w:1)57 // Storage: Nonfungible TokenData (r:0 w:1)58 // Storage: Nonfungible Owned (r:0 w:1)59 fn create_item() -> Weight {60 (20_909_000 as Weight)61 .saturating_add(T::DbWeight::get().reads(2 as Weight))62 .saturating_add(T::DbWeight::get().writes(4 as Weight))63 }64 // Storage: Nonfungible TokensMinted (r:1 w:1)65 // Storage: Nonfungible AccountBalance (r:1 w:1)66 // Storage: Nonfungible TokenData (r:0 w:4)67 // Storage: Nonfungible Owned (r:0 w:4)68 fn create_multiple_items(b: u32, ) -> Weight {69 (12_601_000 as Weight)70 // Standard Error: 1_00071 .saturating_add((4_920_000 as Weight).saturating_mul(b as Weight))72 .saturating_add(T::DbWeight::get().reads(2 as Weight))73 .saturating_add(T::DbWeight::get().writes(2 as Weight))74 .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))75 }76 // Storage: Nonfungible TokensMinted (r:1 w:1)77 // Storage: Nonfungible AccountBalance (r:4 w:4)78 // Storage: Nonfungible TokenData (r:0 w:4)79 // Storage: Nonfungible Owned (r:0 w:4)80 fn create_multiple_items_ex(b: u32, ) -> Weight {81 (0 as Weight)82 // Standard Error: 3_00083 .saturating_add((7_734_000 as Weight).saturating_mul(b as Weight))84 .saturating_add(T::DbWeight::get().reads(1 as Weight))85 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))86 .saturating_add(T::DbWeight::get().writes(1 as Weight))87 .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))88 }89 // Storage: Nonfungible TokenData (r:1 w:1)90 // Storage: Nonfungible TokenChildren (r:1 w:0)91 // Storage: Nonfungible TokensBurnt (r:1 w:1)92 // Storage: Nonfungible AccountBalance (r:1 w:1)93 // Storage: Nonfungible Allowance (r:1 w:0)94 // Storage: Nonfungible Owned (r:0 w:1)95 // Storage: Nonfungible TokenProperties (r:0 w:1)96 fn burn_item() -> Weight {97 (29_746_000 as Weight)98 .saturating_add(T::DbWeight::get().reads(5 as Weight))99 .saturating_add(T::DbWeight::get().writes(5 as Weight))100 }101 // Storage: Nonfungible TokenChildren (r:1 w:0)102 // Storage: Nonfungible TokenData (r:1 w:1)103 // Storage: Nonfungible TokensBurnt (r:1 w:1)104 // Storage: Nonfungible AccountBalance (r:1 w:1)105 // Storage: Nonfungible Allowance (r:1 w:0)106 // Storage: Nonfungible Owned (r:0 w:1)107 // Storage: Nonfungible TokenProperties (r:0 w:1)108 fn burn_recursively_self_raw() -> Weight {109 (36_077_000 as Weight)110 .saturating_add(T::DbWeight::get().reads(5 as Weight))111 .saturating_add(T::DbWeight::get().writes(5 as Weight))112 }113 // Storage: Nonfungible TokenChildren (r:1 w:0)114 // Storage: Nonfungible TokenData (r:1 w:1)115 // Storage: Nonfungible TokensBurnt (r:1 w:1)116 // Storage: Nonfungible AccountBalance (r:1 w:1)117 // Storage: Nonfungible Allowance (r:1 w:0)118 // Storage: Nonfungible Owned (r:0 w:1)119 // Storage: Nonfungible TokenProperties (r:0 w:1)120 // Storage: Common CollectionById (r:1 w:0)121 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {122 (0 as Weight)123 // Standard Error: 1_605_000124 .saturating_add((312_391_000 as Weight).saturating_mul(b as Weight))125 .saturating_add(T::DbWeight::get().reads(7 as Weight))126 .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))127 .saturating_add(T::DbWeight::get().writes(6 as Weight))128 .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))129 }130 // Storage: Nonfungible TokenData (r:1 w:1)131 // Storage: Nonfungible AccountBalance (r:2 w:2)132 // Storage: Nonfungible Allowance (r:1 w:0)133 // Storage: Nonfungible Owned (r:0 w:2)134 fn transfer() -> Weight {135 (25_248_000 as Weight)136 .saturating_add(T::DbWeight::get().reads(4 as Weight))137 .saturating_add(T::DbWeight::get().writes(5 as Weight))138 }139 // Storage: Nonfungible TokenData (r:1 w:0)140 // Storage: Nonfungible Allowance (r:1 w:1)141 fn approve() -> Weight {142 (16_321_000 as Weight)143 .saturating_add(T::DbWeight::get().reads(2 as Weight))144 .saturating_add(T::DbWeight::get().writes(1 as Weight))145 }146 // Storage: Nonfungible Allowance (r:1 w:1)147 // Storage: Nonfungible TokenData (r:1 w:1)148 // Storage: Nonfungible AccountBalance (r:2 w:2)149 // Storage: Nonfungible Owned (r:0 w:2)150 fn transfer_from() -> Weight {151 (29_325_000 as Weight)152 .saturating_add(T::DbWeight::get().reads(4 as Weight))153 .saturating_add(T::DbWeight::get().writes(6 as Weight))154 }155 // Storage: Nonfungible Allowance (r:1 w:1)156 // Storage: Nonfungible TokenData (r:1 w:1)157 // Storage: Nonfungible TokenChildren (r:1 w:0)158 // Storage: Nonfungible TokensBurnt (r:1 w:1)159 // Storage: Nonfungible AccountBalance (r:1 w:1)160 // Storage: Nonfungible Owned (r:0 w:1)161 // Storage: Nonfungible TokenProperties (r:0 w:1)162 fn burn_from() -> Weight {163 (33_323_000 as Weight)164 .saturating_add(T::DbWeight::get().reads(5 as Weight))165 .saturating_add(T::DbWeight::get().writes(6 as Weight))166 }167 // Storage: Common CollectionPropertyPermissions (r:1 w:1)168 fn set_token_property_permissions(b: u32, ) -> Weight {169 (0 as Weight)170 // Standard Error: 62_000171 .saturating_add((16_222_000 as Weight).saturating_mul(b 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: Common CollectionPropertyPermissions (r:1 w:0)176 // Storage: Nonfungible TokenProperties (r:1 w:1)177 fn set_token_properties(b: u32, ) -> Weight {178 (0 as Weight)179 // Standard Error: 1_750_000180 .saturating_add((304_476_000 as Weight).saturating_mul(b as Weight))181 .saturating_add(T::DbWeight::get().reads(2 as Weight))182 .saturating_add(T::DbWeight::get().writes(1 as Weight))183 }184 // Storage: Common CollectionPropertyPermissions (r:1 w:0)185 // Storage: Nonfungible TokenProperties (r:1 w:1)186 fn delete_token_properties(b: u32, ) -> Weight {187 (0 as Weight)188 // Standard Error: 1_638_000189 .saturating_add((294_096_000 as Weight).saturating_mul(b as Weight))190 .saturating_add(T::DbWeight::get().reads(2 as Weight))191 .saturating_add(T::DbWeight::get().writes(1 as Weight))192 }193 // Storage: Nonfungible TokenData (r:1 w:0)194 fn token_owner() -> Weight {195 (2_986_000 as Weight)196 .saturating_add(T::DbWeight::get().reads(1 as Weight))197 }198}199200// For backwards compatibility and tests201impl WeightInfo for () {202 // Storage: Nonfungible TokensMinted (r:1 w:1)203 // Storage: Nonfungible AccountBalance (r:1 w:1)204 // Storage: Nonfungible TokenData (r:0 w:1)205 // Storage: Nonfungible Owned (r:0 w:1)206 fn create_item() -> Weight {207 (20_909_000 as Weight)208 .saturating_add(RocksDbWeight::get().reads(2 as Weight))209 .saturating_add(RocksDbWeight::get().writes(4 as Weight))210 }211 // Storage: Nonfungible TokensMinted (r:1 w:1)212 // Storage: Nonfungible AccountBalance (r:1 w:1)213 // Storage: Nonfungible TokenData (r:0 w:4)214 // Storage: Nonfungible Owned (r:0 w:4)215 fn create_multiple_items(b: u32, ) -> Weight {216 (12_601_000 as Weight)217 // Standard Error: 1_000218 .saturating_add((4_920_000 as Weight).saturating_mul(b as Weight))219 .saturating_add(RocksDbWeight::get().reads(2 as Weight))220 .saturating_add(RocksDbWeight::get().writes(2 as Weight))221 .saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))222 }223 // Storage: Nonfungible TokensMinted (r:1 w:1)224 // Storage: Nonfungible AccountBalance (r:4 w:4)225 // Storage: Nonfungible TokenData (r:0 w:4)226 // Storage: Nonfungible Owned (r:0 w:4)227 fn create_multiple_items_ex(b: u32, ) -> Weight {228 (0 as Weight)229 // Standard Error: 3_000230 .saturating_add((7_734_000 as Weight).saturating_mul(b as Weight))231 .saturating_add(RocksDbWeight::get().reads(1 as Weight))232 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))233 .saturating_add(RocksDbWeight::get().writes(1 as Weight))234 .saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))235 }236 // Storage: Nonfungible TokenData (r:1 w:1)237 // Storage: Nonfungible TokenChildren (r:1 w:0)238 // Storage: Nonfungible TokensBurnt (r:1 w:1)239 // Storage: Nonfungible AccountBalance (r:1 w:1)240 // Storage: Nonfungible Allowance (r:1 w:0)241 // Storage: Nonfungible Owned (r:0 w:1)242 // Storage: Nonfungible TokenProperties (r:0 w:1)243 fn burn_item() -> Weight {244 (29_746_000 as Weight)245 .saturating_add(RocksDbWeight::get().reads(5 as Weight))246 .saturating_add(RocksDbWeight::get().writes(5 as Weight))247 }248 // Storage: Nonfungible TokenChildren (r:1 w:0)249 // Storage: Nonfungible TokenData (r:1 w:1)250 // Storage: Nonfungible TokensBurnt (r:1 w:1)251 // Storage: Nonfungible AccountBalance (r:1 w:1)252 // Storage: Nonfungible Allowance (r:1 w:0)253 // Storage: Nonfungible Owned (r:0 w:1)254 // Storage: Nonfungible TokenProperties (r:0 w:1)255 fn burn_recursively_self_raw() -> Weight {256 (36_077_000 as Weight)257 .saturating_add(RocksDbWeight::get().reads(5 as Weight))258 .saturating_add(RocksDbWeight::get().writes(5 as Weight))259 }260 // Storage: Nonfungible TokenChildren (r:1 w:0)261 // Storage: Nonfungible TokenData (r:1 w:1)262 // Storage: Nonfungible TokensBurnt (r:1 w:1)263 // Storage: Nonfungible AccountBalance (r:1 w:1)264 // Storage: Nonfungible Allowance (r:1 w:0)265 // Storage: Nonfungible Owned (r:0 w:1)266 // Storage: Nonfungible TokenProperties (r:0 w:1)267 // Storage: Common CollectionById (r:1 w:0)268 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {269 (0 as Weight)270 // Standard Error: 1_605_000271 .saturating_add((312_391_000 as Weight).saturating_mul(b as Weight))272 .saturating_add(RocksDbWeight::get().reads(7 as Weight))273 .saturating_add(RocksDbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))274 .saturating_add(RocksDbWeight::get().writes(6 as Weight))275 .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))276 }277 // Storage: Nonfungible TokenData (r:1 w:1)278 // Storage: Nonfungible AccountBalance (r:2 w:2)279 // Storage: Nonfungible Allowance (r:1 w:0)280 // Storage: Nonfungible Owned (r:0 w:2)281 fn transfer() -> Weight {282 (25_248_000 as Weight)283 .saturating_add(RocksDbWeight::get().reads(4 as Weight))284 .saturating_add(RocksDbWeight::get().writes(5 as Weight))285 }286 // Storage: Nonfungible TokenData (r:1 w:0)287 // Storage: Nonfungible Allowance (r:1 w:1)288 fn approve() -> Weight {289 (16_321_000 as Weight)290 .saturating_add(RocksDbWeight::get().reads(2 as Weight))291 .saturating_add(RocksDbWeight::get().writes(1 as Weight))292 }293 // Storage: Nonfungible Allowance (r:1 w:1)294 // Storage: Nonfungible TokenData (r:1 w:1)295 // Storage: Nonfungible AccountBalance (r:2 w:2)296 // Storage: Nonfungible Owned (r:0 w:2)297 fn transfer_from() -> Weight {298 (29_325_000 as Weight)299 .saturating_add(RocksDbWeight::get().reads(4 as Weight))300 .saturating_add(RocksDbWeight::get().writes(6 as Weight))301 }302 // Storage: Nonfungible Allowance (r:1 w:1)303 // Storage: Nonfungible TokenData (r:1 w:1)304 // Storage: Nonfungible TokenChildren (r:1 w:0)305 // Storage: Nonfungible TokensBurnt (r:1 w:1)306 // Storage: Nonfungible AccountBalance (r:1 w:1)307 // Storage: Nonfungible Owned (r:0 w:1)308 // Storage: Nonfungible TokenProperties (r:0 w:1)309 fn burn_from() -> Weight {310 (33_323_000 as Weight)311 .saturating_add(RocksDbWeight::get().reads(5 as Weight))312 .saturating_add(RocksDbWeight::get().writes(6 as Weight))313 }314 // Storage: Common CollectionPropertyPermissions (r:1 w:1)315 fn set_token_property_permissions(b: u32, ) -> Weight {316 (0 as Weight)317 // Standard Error: 62_000318 .saturating_add((16_222_000 as Weight).saturating_mul(b as Weight))319 .saturating_add(RocksDbWeight::get().reads(1 as Weight))320 .saturating_add(RocksDbWeight::get().writes(1 as Weight))321 }322 // Storage: Common CollectionPropertyPermissions (r:1 w:0)323 // Storage: Nonfungible TokenProperties (r:1 w:1)324 fn set_token_properties(b: u32, ) -> Weight {325 (0 as Weight)326 // Standard Error: 1_750_000327 .saturating_add((304_476_000 as Weight).saturating_mul(b as Weight))328 .saturating_add(RocksDbWeight::get().reads(2 as Weight))329 .saturating_add(RocksDbWeight::get().writes(1 as Weight))330 }331 // Storage: Common CollectionPropertyPermissions (r:1 w:0)332 // Storage: Nonfungible TokenProperties (r:1 w:1)333 fn delete_token_properties(b: u32, ) -> Weight {334 (0 as Weight)335 // Standard Error: 1_638_000336 .saturating_add((294_096_000 as Weight).saturating_mul(b as Weight))337 .saturating_add(RocksDbWeight::get().reads(2 as Weight))338 .saturating_add(RocksDbWeight::get().writes(1 as Weight))339 }340 // Storage: Nonfungible TokenData (r:1 w:0)341 fn token_owner() -> Weight {342 (2_986_000 as Weight)343 .saturating_add(RocksDbWeight::get().reads(1 as Weight))344 }345}pallets/proxy-rmrk-core/src/weights.rsdiffbeforeafterboth--- a/pallets/proxy-rmrk-core/src/weights.rs
+++ b/pallets/proxy-rmrk-core/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_proxy_rmrk_core
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-07-01, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -64,7 +64,7 @@
// Storage: Common CollectionById (r:0 w:1)
// Storage: RmrkCore UniqueCollectionId (r:0 w:1)
fn create_collection() -> Weight {
- (49_365_000 as Weight)
+ (49_754_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(8 as Weight))
}
@@ -77,7 +77,7 @@
// Storage: Nonfungible TokensBurnt (r:0 w:1)
// Storage: Common AdminAmount (r:0 w:1)
fn destroy_collection() -> Weight {
- (49_903_000 as Weight)
+ (48_588_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(6 as Weight))
}
@@ -85,7 +85,7 @@
// Storage: Common CollectionById (r:1 w:1)
// Storage: Common CollectionProperties (r:1 w:0)
fn change_collection_issuer() -> Weight {
- (26_134_000 as Weight)
+ (25_054_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -95,7 +95,7 @@
// Storage: Nonfungible TokensMinted (r:1 w:0)
// Storage: Nonfungible TokensBurnt (r:1 w:0)
fn lock_collection() -> Weight {
- (28_020_000 as Weight)
+ (26_483_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -109,9 +109,9 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenAuxProperties (r:2 w:2)
fn mint_nft(b: u32, ) -> Weight {
- (67_476_000 as Weight)
- // Standard Error: 19_000
- .saturating_add((12_373_000 as Weight).saturating_mul(b as Weight))
+ (62_419_000 as Weight)
+ // Standard Error: 7_000
+ .saturating_add((12_325_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(6 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
@@ -129,8 +129,8 @@
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_nft(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_500_000
- .saturating_add((300_520_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 1_488_000
+ .saturating_add((298_367_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(9 as Weight))
.saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))
.saturating_add(T::DbWeight::get().writes(6 as Weight))
@@ -146,7 +146,7 @@
// Storage: Nonfungible TokenChildren (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:2)
fn send() -> Weight {
- (84_023_000 as Weight)
+ (81_942_000 as Weight)
.saturating_add(T::DbWeight::get().reads(12 as Weight))
.saturating_add(T::DbWeight::get().writes(6 as Weight))
}
@@ -161,7 +161,7 @@
// Storage: Nonfungible TokenChildren (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:2)
fn accept_nft() -> Weight {
- (98_502_000 as Weight)
+ (97_925_000 as Weight)
.saturating_add(T::DbWeight::get().reads(16 as Weight))
.saturating_add(T::DbWeight::get().writes(8 as Weight))
}
@@ -177,7 +177,7 @@
// Storage: Nonfungible Allowance (r:5 w:0)
// Storage: Nonfungible Owned (r:0 w:5)
fn reject_nft() -> Weight {
- (277_017_000 as Weight)
+ (277_794_000 as Weight)
.saturating_add(T::DbWeight::get().reads(30 as Weight))
.saturating_add(T::DbWeight::get().writes(26 as Weight))
}
@@ -187,7 +187,7 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenData (r:5 w:0)
fn set_property() -> Weight {
- (55_408_000 as Weight)
+ (54_657_000 as Weight)
.saturating_add(T::DbWeight::get().reads(9 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -197,7 +197,7 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenData (r:5 w:0)
fn set_priority() -> Weight {
- (55_063_000 as Weight)
+ (55_056_000 as Weight)
.saturating_add(T::DbWeight::get().reads(9 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -208,7 +208,7 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn add_basic_resource() -> Weight {
- (64_656_000 as Weight)
+ (61_673_000 as Weight)
.saturating_add(T::DbWeight::get().reads(10 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
@@ -219,7 +219,7 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenAuxProperties (r:2 w:2)
fn add_composable_resource() -> Weight {
- (67_593_000 as Weight)
+ (67_125_000 as Weight)
.saturating_add(T::DbWeight::get().reads(11 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
@@ -230,7 +230,7 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn add_slot_resource() -> Weight {
- (63_845_000 as Weight)
+ (69_058_000 as Weight)
.saturating_add(T::DbWeight::get().reads(10 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
@@ -240,7 +240,7 @@
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
// Storage: Nonfungible TokenData (r:5 w:0)
fn remove_resource() -> Weight {
- (53_414_000 as Weight)
+ (53_427_000 as Weight)
.saturating_add(T::DbWeight::get().reads(9 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -250,7 +250,7 @@
// Storage: Nonfungible TokenData (r:5 w:0)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn accept_resource() -> Weight {
- (51_869_000 as Weight)
+ (50_623_000 as Weight)
.saturating_add(T::DbWeight::get().reads(9 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -260,7 +260,7 @@
// Storage: Nonfungible TokenData (r:5 w:0)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn accept_resource_removal() -> Weight {
- (53_168_000 as Weight)
+ (50_917_000 as Weight)
.saturating_add(T::DbWeight::get().reads(9 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -277,7 +277,7 @@
// Storage: Common CollectionById (r:0 w:1)
// Storage: RmrkCore UniqueCollectionId (r:0 w:1)
fn create_collection() -> Weight {
- (49_365_000 as Weight)
+ (49_754_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(8 as Weight))
}
@@ -290,7 +290,7 @@
// Storage: Nonfungible TokensBurnt (r:0 w:1)
// Storage: Common AdminAmount (r:0 w:1)
fn destroy_collection() -> Weight {
- (49_903_000 as Weight)
+ (48_588_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(6 as Weight))
}
@@ -298,7 +298,7 @@
// Storage: Common CollectionById (r:1 w:1)
// Storage: Common CollectionProperties (r:1 w:0)
fn change_collection_issuer() -> Weight {
- (26_134_000 as Weight)
+ (25_054_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -308,7 +308,7 @@
// Storage: Nonfungible TokensMinted (r:1 w:0)
// Storage: Nonfungible TokensBurnt (r:1 w:0)
fn lock_collection() -> Weight {
- (28_020_000 as Weight)
+ (26_483_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -322,9 +322,9 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenAuxProperties (r:2 w:2)
fn mint_nft(b: u32, ) -> Weight {
- (67_476_000 as Weight)
- // Standard Error: 19_000
- .saturating_add((12_373_000 as Weight).saturating_mul(b as Weight))
+ (62_419_000 as Weight)
+ // Standard Error: 7_000
+ .saturating_add((12_325_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(6 as Weight))
.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
.saturating_add(RocksDbWeight::get().writes(5 as Weight))
@@ -342,8 +342,8 @@
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_nft(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_500_000
- .saturating_add((300_520_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 1_488_000
+ .saturating_add((298_367_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(9 as Weight))
.saturating_add(RocksDbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))
.saturating_add(RocksDbWeight::get().writes(6 as Weight))
@@ -359,7 +359,7 @@
// Storage: Nonfungible TokenChildren (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:2)
fn send() -> Weight {
- (84_023_000 as Weight)
+ (81_942_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(12 as Weight))
.saturating_add(RocksDbWeight::get().writes(6 as Weight))
}
@@ -374,7 +374,7 @@
// Storage: Nonfungible TokenChildren (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:2)
fn accept_nft() -> Weight {
- (98_502_000 as Weight)
+ (97_925_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(16 as Weight))
.saturating_add(RocksDbWeight::get().writes(8 as Weight))
}
@@ -390,7 +390,7 @@
// Storage: Nonfungible Allowance (r:5 w:0)
// Storage: Nonfungible Owned (r:0 w:5)
fn reject_nft() -> Weight {
- (277_017_000 as Weight)
+ (277_794_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(30 as Weight))
.saturating_add(RocksDbWeight::get().writes(26 as Weight))
}
@@ -400,7 +400,7 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenData (r:5 w:0)
fn set_property() -> Weight {
- (55_408_000 as Weight)
+ (54_657_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(9 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -410,7 +410,7 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenData (r:5 w:0)
fn set_priority() -> Weight {
- (55_063_000 as Weight)
+ (55_056_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(9 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -421,7 +421,7 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn add_basic_resource() -> Weight {
- (64_656_000 as Weight)
+ (61_673_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(10 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
@@ -432,7 +432,7 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenAuxProperties (r:2 w:2)
fn add_composable_resource() -> Weight {
- (67_593_000 as Weight)
+ (67_125_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(11 as Weight))
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
}
@@ -443,7 +443,7 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn add_slot_resource() -> Weight {
- (63_845_000 as Weight)
+ (69_058_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(10 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
@@ -453,7 +453,7 @@
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
// Storage: Nonfungible TokenData (r:5 w:0)
fn remove_resource() -> Weight {
- (53_414_000 as Weight)
+ (53_427_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(9 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -463,7 +463,7 @@
// Storage: Nonfungible TokenData (r:5 w:0)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn accept_resource() -> Weight {
- (51_869_000 as Weight)
+ (50_623_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(9 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -473,7 +473,7 @@
// Storage: Nonfungible TokenData (r:5 w:0)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn accept_resource_removal() -> Weight {
- (53_168_000 as Weight)
+ (50_917_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(9 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
pallets/proxy-rmrk-equip/src/weights.rsdiffbeforeafterboth--- a/pallets/proxy-rmrk-equip/src/weights.rs
+++ b/pallets/proxy-rmrk-equip/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_proxy_rmrk_equip
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-07-01, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -54,9 +54,9 @@
// Storage: Nonfungible TokenData (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn create_base(b: u32, ) -> Weight {
- (57_871_000 as Weight)
- // Standard Error: 21_000
- .saturating_add((19_870_000 as Weight).saturating_mul(b as Weight))
+ (58_417_000 as Weight)
+ // Standard Error: 27_000
+ .saturating_add((20_439_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(6 as Weight))
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(b as Weight)))
.saturating_add(T::DbWeight::get().writes(8 as Weight))
@@ -71,9 +71,9 @@
// Storage: Nonfungible TokenData (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn theme_add(b: u32, ) -> Weight {
- (46_121_000 as Weight)
- // Standard Error: 31_000
- .saturating_add((2_988_000 as Weight).saturating_mul(b as Weight))
+ (46_005_000 as Weight)
+ // Standard Error: 42_000
+ .saturating_add((2_922_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(6 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
}
@@ -82,7 +82,7 @@
// Storage: RmrkEquip InernalPartId (r:1 w:0)
// Storage: Nonfungible TokenProperties (r:1 w:1)
fn equippable() -> Weight {
- (32_032_000 as Weight)
+ (32_526_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -103,9 +103,9 @@
// Storage: Nonfungible TokenData (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn create_base(b: u32, ) -> Weight {
- (57_871_000 as Weight)
- // Standard Error: 21_000
- .saturating_add((19_870_000 as Weight).saturating_mul(b as Weight))
+ (58_417_000 as Weight)
+ // Standard Error: 27_000
+ .saturating_add((20_439_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(6 as Weight))
.saturating_add(RocksDbWeight::get().reads((2 as Weight).saturating_mul(b as Weight)))
.saturating_add(RocksDbWeight::get().writes(8 as Weight))
@@ -120,9 +120,9 @@
// Storage: Nonfungible TokenData (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn theme_add(b: u32, ) -> Weight {
- (46_121_000 as Weight)
- // Standard Error: 31_000
- .saturating_add((2_988_000 as Weight).saturating_mul(b as Weight))
+ (46_005_000 as Weight)
+ // Standard Error: 42_000
+ .saturating_add((2_922_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(6 as Weight))
.saturating_add(RocksDbWeight::get().writes(5 as Weight))
}
@@ -131,7 +131,7 @@
// Storage: RmrkEquip InernalPartId (r:1 w:0)
// Storage: Nonfungible TokenProperties (r:1 w:1)
fn equippable() -> Weight {
- (32_032_000 as Weight)
+ (32_526_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
pallets/refungible/src/weights.rsdiffbeforeafterboth--- a/pallets/refungible/src/weights.rs
+++ b/pallets/refungible/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_refungible
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-08-01, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -64,147 +64,150 @@
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible Balance (r:0 w:1)
// Storage: Refungible TotalSupply (r:0 w:1)
- // Storage: Refungible TokenData (r:0 w:1)
// Storage: Refungible Owned (r:0 w:1)
fn create_item() -> Weight {
- (25_197_000 as Weight)
+ (29_527_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
- .saturating_add(T::DbWeight::get().writes(6 as Weight))
+ .saturating_add(T::DbWeight::get().writes(5 as Weight))
}
// Storage: Refungible TokensMinted (r:1 w:1)
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible Balance (r:0 w:4)
// Storage: Refungible TotalSupply (r:0 w:4)
- // Storage: Refungible TokenData (r:0 w:4)
// Storage: Refungible Owned (r:0 w:4)
fn create_multiple_items(b: u32, ) -> Weight {
- (10_852_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((8_087_000 as Weight).saturating_mul(b as Weight))
+ (28_541_000 as Weight)
+ // Standard Error: 4_000
+ .saturating_add((6_671_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
- .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))
}
// Storage: Refungible TokensMinted (r:1 w:1)
// Storage: Refungible AccountBalance (r:4 w:4)
// Storage: Refungible Balance (r:0 w:4)
// Storage: Refungible TotalSupply (r:0 w:4)
- // Storage: Refungible TokenData (r:0 w:4)
// Storage: Refungible Owned (r:0 w:4)
fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
- (9_978_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((10_848_000 as Weight).saturating_mul(b as Weight))
+ (24_366_000 as Weight)
+ // Standard Error: 5_000
+ .saturating_add((9_338_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
- .saturating_add(T::DbWeight::get().writes((5 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
}
// Storage: Refungible TokensMinted (r:1 w:1)
// Storage: Refungible TotalSupply (r:0 w:1)
- // Storage: Refungible TokenData (r:0 w:1)
// Storage: Refungible AccountBalance (r:4 w:4)
// Storage: Refungible Balance (r:0 w:4)
// Storage: Refungible Owned (r:0 w:4)
fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
- (15_419_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((7_813_000 as Weight).saturating_mul(b as Weight))
+ (27_574_000 as Weight)
+ // Standard Error: 4_000
+ .saturating_add((7_193_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
- .saturating_add(T::DbWeight::get().writes(3 as Weight))
+ .saturating_add(T::DbWeight::get().writes(2 as Weight))
.saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))
}
// Storage: Refungible TotalSupply (r:1 w:1)
- // Storage: Refungible Balance (r:1 w:1)
+ // Storage: Refungible Balance (r:3 w:1)
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible Owned (r:0 w:1)
fn burn_item_partial() -> Weight {
- (25_578_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(3 as Weight))
+ (42_943_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
// Storage: Refungible TotalSupply (r:1 w:1)
// Storage: Refungible Balance (r:1 w:1)
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible TokensBurnt (r:1 w:1)
- // Storage: Refungible TokenData (r:0 w:1)
// Storage: Refungible Owned (r:0 w:1)
// Storage: Refungible TokenProperties (r:0 w:1)
fn burn_item_fully() -> Weight {
- (33_593_000 as Weight)
+ (36_861_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
- .saturating_add(T::DbWeight::get().writes(7 as Weight))
+ .saturating_add(T::DbWeight::get().writes(6 as Weight))
}
// Storage: Refungible Balance (r:2 w:2)
+ // Storage: Refungible TotalSupply (r:1 w:0)
fn transfer_normal() -> Weight {
- (21_049_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(2 as Weight))
+ (27_789_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:1 w:1)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_creating() -> Weight {
- (24_646_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(3 as Weight))
+ (32_893_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:1 w:1)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_removing() -> Weight {
- (26_570_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(3 as Weight))
+ (34_703_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:2 w:2)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:2)
fn transfer_creating_removing() -> Weight {
- (28_906_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
+ (37_547_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(6 as Weight))
}
// Storage: Refungible Balance (r:1 w:0)
// Storage: Refungible Allowance (r:0 w:1)
fn approve() -> Weight {
- (16_451_000 as Weight)
+ (20_039_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
+ // Storage: Refungible TotalSupply (r:1 w:0)
fn transfer_from_normal() -> Weight {
- (29_545_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(3 as Weight))
+ (37_628_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:1 w:1)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_from_creating() -> Weight {
- (33_392_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
+ (42_072_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:1 w:1)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_from_removing() -> Weight {
- (35_446_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
+ (43_024_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:2 w:2)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:2)
fn transfer_from_creating_removing() -> Weight {
- (37_762_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(5 as Weight))
+ (45_910_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(6 as Weight))
.saturating_add(T::DbWeight::get().writes(7 as Weight))
}
// Storage: Refungible Allowance (r:1 w:1)
@@ -212,19 +215,18 @@
// Storage: Refungible Balance (r:1 w:1)
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible TokensBurnt (r:1 w:1)
- // Storage: Refungible TokenData (r:0 w:1)
// Storage: Refungible Owned (r:0 w:1)
// Storage: Refungible TokenProperties (r:0 w:1)
fn burn_from() -> Weight {
- (42_620_000 as Weight)
+ (48_584_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
- .saturating_add(T::DbWeight::get().writes(8 as Weight))
+ .saturating_add(T::DbWeight::get().writes(7 as Weight))
}
// Storage: Common CollectionPropertyPermissions (r:1 w:1)
fn set_token_property_permissions(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 65_000
- .saturating_add((16_513_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 60_000
+ .saturating_add((15_533_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -232,8 +234,8 @@
// Storage: Refungible TokenProperties (r:1 w:1)
fn set_token_properties(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_583_000
- .saturating_add((291_392_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 3_609_000
+ .saturating_add((590_204_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -241,15 +243,15 @@
// Storage: Refungible TokenProperties (r:1 w:1)
fn delete_token_properties(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_699_000
- .saturating_add((293_270_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 3_637_000
+ .saturating_add((603_468_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Refungible TotalSupply (r:1 w:1)
// Storage: Refungible Balance (r:1 w:1)
fn repartition_item() -> Weight {
- (19_206_000 as Weight)
+ (22_356_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
@@ -257,13 +259,13 @@
// Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible TokenProperties (r:1 w:1)
fn set_parent_nft_unchecked() -> Weight {
- (10_189_000 as Weight)
+ (12_015_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Refungible Balance (r:2 w:0)
fn token_owner() -> Weight {
- (8_205_000 as Weight)
+ (9_431_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
}
}
@@ -274,147 +276,150 @@
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible Balance (r:0 w:1)
// Storage: Refungible TotalSupply (r:0 w:1)
- // Storage: Refungible TokenData (r:0 w:1)
// Storage: Refungible Owned (r:0 w:1)
fn create_item() -> Weight {
- (25_197_000 as Weight)
+ (29_527_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes(6 as Weight))
+ .saturating_add(RocksDbWeight::get().writes(5 as Weight))
}
// Storage: Refungible TokensMinted (r:1 w:1)
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible Balance (r:0 w:4)
// Storage: Refungible TotalSupply (r:0 w:4)
- // Storage: Refungible TokenData (r:0 w:4)
// Storage: Refungible Owned (r:0 w:4)
fn create_multiple_items(b: u32, ) -> Weight {
- (10_852_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((8_087_000 as Weight).saturating_mul(b as Weight))
+ (28_541_000 as Weight)
+ // Standard Error: 4_000
+ .saturating_add((6_671_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))
}
// Storage: Refungible TokensMinted (r:1 w:1)
// Storage: Refungible AccountBalance (r:4 w:4)
// Storage: Refungible Balance (r:0 w:4)
// Storage: Refungible TotalSupply (r:0 w:4)
- // Storage: Refungible TokenData (r:0 w:4)
// Storage: Refungible Owned (r:0 w:4)
fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
- (9_978_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((10_848_000 as Weight).saturating_mul(b as Weight))
+ (24_366_000 as Weight)
+ // Standard Error: 5_000
+ .saturating_add((9_338_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes((5 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
}
// Storage: Refungible TokensMinted (r:1 w:1)
// Storage: Refungible TotalSupply (r:0 w:1)
- // Storage: Refungible TokenData (r:0 w:1)
// Storage: Refungible AccountBalance (r:4 w:4)
// Storage: Refungible Balance (r:0 w:4)
// Storage: Refungible Owned (r:0 w:4)
fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
- (15_419_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((7_813_000 as Weight).saturating_mul(b as Weight))
+ (27_574_000 as Weight)
+ // Standard Error: 4_000
+ .saturating_add((7_193_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
- .saturating_add(RocksDbWeight::get().writes(3 as Weight))
+ .saturating_add(RocksDbWeight::get().writes(2 as Weight))
.saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))
}
// Storage: Refungible TotalSupply (r:1 w:1)
- // Storage: Refungible Balance (r:1 w:1)
+ // Storage: Refungible Balance (r:3 w:1)
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible Owned (r:0 w:1)
fn burn_item_partial() -> Weight {
- (25_578_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(3 as Weight))
+ (42_943_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
}
// Storage: Refungible TotalSupply (r:1 w:1)
// Storage: Refungible Balance (r:1 w:1)
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible TokensBurnt (r:1 w:1)
- // Storage: Refungible TokenData (r:0 w:1)
// Storage: Refungible Owned (r:0 w:1)
// Storage: Refungible TokenProperties (r:0 w:1)
fn burn_item_fully() -> Weight {
- (33_593_000 as Weight)
+ (36_861_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
- .saturating_add(RocksDbWeight::get().writes(7 as Weight))
+ .saturating_add(RocksDbWeight::get().writes(6 as Weight))
}
// Storage: Refungible Balance (r:2 w:2)
+ // Storage: Refungible TotalSupply (r:1 w:0)
fn transfer_normal() -> Weight {
- (21_049_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(2 as Weight))
+ (27_789_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:1 w:1)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_creating() -> Weight {
- (24_646_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(3 as Weight))
+ (32_893_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
}
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:1 w:1)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_removing() -> Weight {
- (26_570_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(3 as Weight))
+ (34_703_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
}
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:2 w:2)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:2)
fn transfer_creating_removing() -> Weight {
- (28_906_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(4 as Weight))
+ (37_547_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(6 as Weight))
}
// Storage: Refungible Balance (r:1 w:0)
// Storage: Refungible Allowance (r:0 w:1)
fn approve() -> Weight {
- (16_451_000 as Weight)
+ (20_039_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
+ // Storage: Refungible TotalSupply (r:1 w:0)
fn transfer_from_normal() -> Weight {
- (29_545_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(3 as Weight))
+ (37_628_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:1 w:1)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_from_creating() -> Weight {
- (33_392_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(4 as Weight))
+ (42_072_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(5 as Weight))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:1 w:1)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_from_removing() -> Weight {
- (35_446_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(4 as Weight))
+ (43_024_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(5 as Weight))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:2 w:2)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:2)
fn transfer_from_creating_removing() -> Weight {
- (37_762_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(5 as Weight))
+ (45_910_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(6 as Weight))
.saturating_add(RocksDbWeight::get().writes(7 as Weight))
}
// Storage: Refungible Allowance (r:1 w:1)
@@ -422,19 +427,18 @@
// Storage: Refungible Balance (r:1 w:1)
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible TokensBurnt (r:1 w:1)
- // Storage: Refungible TokenData (r:0 w:1)
// Storage: Refungible Owned (r:0 w:1)
// Storage: Refungible TokenProperties (r:0 w:1)
fn burn_from() -> Weight {
- (42_620_000 as Weight)
+ (48_584_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
- .saturating_add(RocksDbWeight::get().writes(8 as Weight))
+ .saturating_add(RocksDbWeight::get().writes(7 as Weight))
}
// Storage: Common CollectionPropertyPermissions (r:1 w:1)
fn set_token_property_permissions(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 65_000
- .saturating_add((16_513_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 60_000
+ .saturating_add((15_533_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -442,8 +446,8 @@
// Storage: Refungible TokenProperties (r:1 w:1)
fn set_token_properties(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_583_000
- .saturating_add((291_392_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 3_609_000
+ .saturating_add((590_204_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -451,15 +455,15 @@
// Storage: Refungible TokenProperties (r:1 w:1)
fn delete_token_properties(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_699_000
- .saturating_add((293_270_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 3_637_000
+ .saturating_add((603_468_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Refungible TotalSupply (r:1 w:1)
// Storage: Refungible Balance (r:1 w:1)
fn repartition_item() -> Weight {
- (19_206_000 as Weight)
+ (22_356_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
@@ -467,13 +471,13 @@
// Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible TokenProperties (r:1 w:1)
fn set_parent_nft_unchecked() -> Weight {
- (10_189_000 as Weight)
+ (12_015_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Refungible Balance (r:2 w:0)
fn token_owner() -> Weight {
- (8_205_000 as Weight)
+ (9_431_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
}
}
pallets/scheduler/src/weights.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.