difftreelog
bench weight #5
in: master
5 files changed
pallets/evm-migration/src/weights.rsdiffbeforeafterboth--- a/pallets/evm-migration/src/weights.rs
+++ b/pallets/evm-migration/src/weights.rs
@@ -44,23 +44,25 @@
// Storage: System Account (r:1 w:0)
// Storage: EVM AccountCodes (r:1 w:0)
fn begin() -> Weight {
- (6_750_000 as Weight)
+ (6_643_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 {
- (3_555_000 as Weight)
- // Standard Error: 3_000
- .saturating_add((1_071_000 as Weight).saturating_mul(b as Weight))
+ (2_890_000 as Weight)
+ // Standard Error: 2_000
+ .saturating_add((1_000_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 {
- (5_166_000 as Weight)
+ fn finish(b: u32, ) -> Weight {
+ (5_090_000 as Weight)
+ // Standard Error: 0
+ .saturating_add((1_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
@@ -72,23 +74,25 @@
// Storage: System Account (r:1 w:0)
// Storage: EVM AccountCodes (r:1 w:0)
fn begin() -> Weight {
- (6_750_000 as Weight)
+ (6_643_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 {
- (3_555_000 as Weight)
- // Standard Error: 3_000
- .saturating_add((1_071_000 as Weight).saturating_mul(b as Weight))
+ (2_890_000 as Weight)
+ // Standard Error: 2_000
+ .saturating_add((1_000_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 {
- (5_166_000 as Weight)
+ fn finish(b: u32, ) -> Weight {
+ (5_090_000 as Weight)
+ // Standard Error: 0
+ .saturating_add((1_000 as Weight).saturating_mul(b 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
@@ -47,16 +47,16 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn create_item() -> Weight {
- (15_063_000 as Weight)
+ (15_080_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 {
- (18_679_000 as Weight)
- // Standard Error: 7_000
- .saturating_add((3_847_000 as Weight).saturating_mul(b as Weight))
+ (17_193_000 as Weight)
+ // Standard Error: 4_000
+ .saturating_add((3_935_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))
@@ -65,27 +65,27 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn burn_item() -> Weight {
- (15_875_000 as Weight)
+ (16_967_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 {
- (17_801_000 as Weight)
+ (18_722_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 {
- (14_814_000 as Weight)
+ (15_772_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 {
- (25_305_000 as Weight)
+ (26_583_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
@@ -93,7 +93,7 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn burn_from() -> Weight {
- (23_435_000 as Weight)
+ (24_441_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
@@ -104,16 +104,16 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn create_item() -> Weight {
- (15_063_000 as Weight)
+ (15_080_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 {
- (18_679_000 as Weight)
- // Standard Error: 7_000
- .saturating_add((3_847_000 as Weight).saturating_mul(b as Weight))
+ (17_193_000 as Weight)
+ // Standard Error: 4_000
+ .saturating_add((3_935_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))
@@ -122,27 +122,27 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn burn_item() -> Weight {
- (15_875_000 as Weight)
+ (16_967_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 {
- (17_801_000 as Weight)
+ (18_722_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 {
- (14_814_000 as Weight)
+ (15_772_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 {
- (25_305_000 as Weight)
+ (26_583_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
}
@@ -150,7 +150,7 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn burn_from() -> Weight {
- (23_435_000 as Weight)
+ (24_441_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
@@ -51,7 +51,7 @@
// Storage: Nonfungible TokenData (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn create_item() -> Weight {
- (23_112_000 as Weight)
+ (18_691_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
@@ -60,9 +60,9 @@
// Storage: Nonfungible TokenData (r:0 w:4)
// Storage: Nonfungible Owned (r:0 w:4)
fn create_multiple_items(b: u32, ) -> Weight {
- (27_574_000 as Weight)
- // Standard Error: 9_000
- .saturating_add((4_368_000 as Weight).saturating_mul(b as Weight))
+ (18_845_000 as Weight)
+ // Standard Error: 6_000
+ .saturating_add((4_409_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)))
@@ -72,9 +72,9 @@
// Storage: Nonfungible TokenData (r:0 w:4)
// Storage: Nonfungible Owned (r:0 w:4)
fn create_multiple_items_ex(b: u32, ) -> Weight {
- (7_051_000 as Weight)
- // Standard Error: 14_000
- .saturating_add((7_294_000 as Weight).saturating_mul(b as Weight))
+ (16_170_000 as Weight)
+ // Standard Error: 17_000
+ .saturating_add((7_275_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))
@@ -86,7 +86,7 @@
// Storage: Nonfungible Allowance (r:1 w:0)
// Storage: Nonfungible Owned (r:0 w:1)
fn burn_item() -> Weight {
- (23_780_000 as Weight)
+ (23_809_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
@@ -95,14 +95,14 @@
// Storage: Nonfungible Allowance (r:1 w:0)
// Storage: Nonfungible Owned (r:0 w:2)
fn transfer() -> Weight {
- (34_259_000 as Weight)
+ (27_556_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 {
- (17_024_000 as Weight)
+ (16_794_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -111,7 +111,7 @@
// Storage: Nonfungible AccountBalance (r:2 w:2)
// Storage: Nonfungible Owned (r:0 w:2)
fn transfer_from() -> Weight {
- (31_708_000 as Weight)
+ (31_622_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(6 as Weight))
}
@@ -121,13 +121,13 @@
// Storage: Nonfungible AccountBalance (r:1 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn burn_from() -> Weight {
- (28_075_000 as Weight)
+ (29_719_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:1)
fn set_variable_metadata(_b: u32, ) -> Weight {
- (7_658_000 as Weight)
+ (8_273_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -140,7 +140,7 @@
// Storage: Nonfungible TokenData (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn create_item() -> Weight {
- (23_112_000 as Weight)
+ (18_691_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
}
@@ -149,9 +149,9 @@
// Storage: Nonfungible TokenData (r:0 w:4)
// Storage: Nonfungible Owned (r:0 w:4)
fn create_multiple_items(b: u32, ) -> Weight {
- (27_574_000 as Weight)
- // Standard Error: 9_000
- .saturating_add((4_368_000 as Weight).saturating_mul(b as Weight))
+ (18_845_000 as Weight)
+ // Standard Error: 6_000
+ .saturating_add((4_409_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)))
@@ -161,9 +161,9 @@
// Storage: Nonfungible TokenData (r:0 w:4)
// Storage: Nonfungible Owned (r:0 w:4)
fn create_multiple_items_ex(b: u32, ) -> Weight {
- (7_051_000 as Weight)
- // Standard Error: 14_000
- .saturating_add((7_294_000 as Weight).saturating_mul(b as Weight))
+ (16_170_000 as Weight)
+ // Standard Error: 17_000
+ .saturating_add((7_275_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))
@@ -175,7 +175,7 @@
// Storage: Nonfungible Allowance (r:1 w:0)
// Storage: Nonfungible Owned (r:0 w:1)
fn burn_item() -> Weight {
- (23_780_000 as Weight)
+ (23_809_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
}
@@ -184,14 +184,14 @@
// Storage: Nonfungible Allowance (r:1 w:0)
// Storage: Nonfungible Owned (r:0 w:2)
fn transfer() -> Weight {
- (34_259_000 as Weight)
+ (27_556_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 {
- (17_024_000 as Weight)
+ (16_794_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -200,7 +200,7 @@
// Storage: Nonfungible AccountBalance (r:2 w:2)
// Storage: Nonfungible Owned (r:0 w:2)
fn transfer_from() -> Weight {
- (31_708_000 as Weight)
+ (31_622_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(6 as Weight))
}
@@ -210,13 +210,13 @@
// Storage: Nonfungible AccountBalance (r:1 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn burn_from() -> Weight {
- (28_075_000 as Weight)
+ (29_719_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:1)
fn set_variable_metadata(_b: u32, ) -> Weight {
- (7_658_000 as Weight)
+ (8_273_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
pallets/refungible/src/weights.rsdiffbeforeafterboth61 // Storage: Refungible TokenData (r:0 w:1)61 // Storage: Refungible TokenData (r:0 w:1)62 // Storage: Refungible Owned (r:0 w:1)62 // Storage: Refungible Owned (r:0 w:1)63 fn create_item() -> Weight {63 fn create_item() -> Weight {64 (21_044_000 as Weight)64 (22_458_000 as Weight)65 .saturating_add(T::DbWeight::get().reads(2 as Weight))65 .saturating_add(T::DbWeight::get().reads(2 as Weight))66 .saturating_add(T::DbWeight::get().writes(6 as Weight))66 .saturating_add(T::DbWeight::get().writes(6 as Weight))67 }67 }72 // Storage: Refungible TokenData (r:0 w:4)72 // Storage: Refungible TokenData (r:0 w:4)73 // Storage: Refungible Owned (r:0 w:4)73 // Storage: Refungible Owned (r:0 w:4)74 fn create_multiple_items(b: u32, ) -> Weight {74 fn create_multiple_items(b: u32, ) -> Weight {75 (25_069_000 as Weight)75 (20_491_000 as Weight)76 // Standard Error: 9_00076 // Standard Error: 9_00077 .saturating_add((5_721_000 as Weight).saturating_mul(b as Weight))77 .saturating_add((5_754_000 as Weight).saturating_mul(b as Weight))78 .saturating_add(T::DbWeight::get().reads(2 as Weight))78 .saturating_add(T::DbWeight::get().reads(2 as Weight))79 .saturating_add(T::DbWeight::get().writes(2 as Weight))79 .saturating_add(T::DbWeight::get().writes(2 as Weight))80 .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))80 .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))86 // Storage: Refungible TokenData (r:0 w:4)86 // Storage: Refungible TokenData (r:0 w:4)87 // Storage: Refungible Owned (r:0 w:4)87 // Storage: Refungible Owned (r:0 w:4)88 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {88 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {89 (20_379_000 as Weight)89 (18_412_000 as Weight)90 // Standard Error: 13_00090 // Standard Error: 13_00091 .saturating_add((8_445_000 as Weight).saturating_mul(b as Weight))91 .saturating_add((8_482_000 as Weight).saturating_mul(b as Weight))92 .saturating_add(T::DbWeight::get().reads(1 as Weight))92 .saturating_add(T::DbWeight::get().reads(1 as Weight))93 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))93 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))94 .saturating_add(T::DbWeight::get().writes(1 as Weight))94 .saturating_add(T::DbWeight::get().writes(1 as Weight))101 // Storage: Refungible Balance (r:0 w:4)101 // Storage: Refungible Balance (r:0 w:4)102 // Storage: Refungible Owned (r:0 w:4)102 // Storage: Refungible Owned (r:0 w:4)103 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {103 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {104 (25_605_000 as Weight)104 (12_968_000 as Weight)105 // Standard Error: 12_000105 // Standard Error: 9_000106 .saturating_add((6_276_000 as Weight).saturating_mul(b as Weight))106 .saturating_add((6_437_000 as Weight).saturating_mul(b as Weight))107 .saturating_add(T::DbWeight::get().reads(1 as Weight))107 .saturating_add(T::DbWeight::get().reads(1 as Weight))108 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))108 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))109 .saturating_add(T::DbWeight::get().writes(3 as Weight))109 .saturating_add(T::DbWeight::get().writes(3 as Weight))114 // Storage: Refungible AccountBalance (r:1 w:1)114 // Storage: Refungible AccountBalance (r:1 w:1)115 // Storage: Refungible Owned (r:0 w:1)115 // Storage: Refungible Owned (r:0 w:1)116 fn burn_item_partial() -> Weight {116 fn burn_item_partial() -> Weight {117 (24_247_000 as Weight)117 (23_758_000 as Weight)118 .saturating_add(T::DbWeight::get().reads(3 as Weight))118 .saturating_add(T::DbWeight::get().reads(3 as Weight))119 .saturating_add(T::DbWeight::get().writes(4 as Weight))119 .saturating_add(T::DbWeight::get().writes(4 as Weight))120 }120 }125 // Storage: Refungible TokenData (r:0 w:1)125 // Storage: Refungible TokenData (r:0 w:1)126 // Storage: Refungible Owned (r:0 w:1)126 // Storage: Refungible Owned (r:0 w:1)127 fn burn_item_fully() -> Weight {127 fn burn_item_fully() -> Weight {128 (32_746_000 as Weight)128 (32_262_000 as Weight)129 .saturating_add(T::DbWeight::get().reads(4 as Weight))129 .saturating_add(T::DbWeight::get().reads(4 as Weight))130 .saturating_add(T::DbWeight::get().writes(6 as Weight))130 .saturating_add(T::DbWeight::get().writes(6 as Weight))131 }131 }132 // Storage: Refungible Balance (r:2 w:2)132 // Storage: Refungible Balance (r:2 w:2)133 fn transfer_normal() -> Weight {133 fn transfer_normal() -> Weight {134 (20_270_000 as Weight)134 (20_023_000 as Weight)135 .saturating_add(T::DbWeight::get().reads(2 as Weight))135 .saturating_add(T::DbWeight::get().reads(2 as Weight))136 .saturating_add(T::DbWeight::get().writes(2 as Weight))136 .saturating_add(T::DbWeight::get().writes(2 as Weight))137 }137 }138 // Storage: Refungible Balance (r:2 w:2)138 // Storage: Refungible Balance (r:2 w:2)139 // Storage: Refungible AccountBalance (r:1 w:1)139 // Storage: Refungible AccountBalance (r:1 w:1)140 // Storage: Refungible Owned (r:0 w:1)140 // Storage: Refungible Owned (r:0 w:1)141 fn transfer_creating() -> Weight {141 fn transfer_creating() -> Weight {142 (23_980_000 as Weight)142 (23_793_000 as Weight)143 .saturating_add(T::DbWeight::get().reads(3 as Weight))143 .saturating_add(T::DbWeight::get().reads(3 as Weight))144 .saturating_add(T::DbWeight::get().writes(4 as Weight))144 .saturating_add(T::DbWeight::get().writes(4 as Weight))145 }145 }146 // Storage: Refungible Balance (r:2 w:2)146 // Storage: Refungible Balance (r:2 w:2)147 // Storage: Refungible AccountBalance (r:1 w:1)147 // Storage: Refungible AccountBalance (r:1 w:1)148 // Storage: Refungible Owned (r:0 w:1)148 // Storage: Refungible Owned (r:0 w:1)149 fn transfer_removing() -> Weight {149 fn transfer_removing() -> Weight {150 (25_635_000 as Weight)150 (25_299_000 as Weight)151 .saturating_add(T::DbWeight::get().reads(3 as Weight))151 .saturating_add(T::DbWeight::get().reads(3 as Weight))152 .saturating_add(T::DbWeight::get().writes(4 as Weight))152 .saturating_add(T::DbWeight::get().writes(4 as Weight))153 }153 }154 // Storage: Refungible Balance (r:2 w:2)154 // Storage: Refungible Balance (r:2 w:2)155 // Storage: Refungible AccountBalance (r:2 w:2)155 // Storage: Refungible AccountBalance (r:2 w:2)156 // Storage: Refungible Owned (r:0 w:2)156 // Storage: Refungible Owned (r:0 w:2)157 fn transfer_creating_removing() -> Weight {157 fn transfer_creating_removing() -> Weight {158 (28_782_000 as Weight)158 (28_400_000 as Weight)159 .saturating_add(T::DbWeight::get().reads(4 as Weight))159 .saturating_add(T::DbWeight::get().reads(4 as Weight))160 .saturating_add(T::DbWeight::get().writes(6 as Weight))160 .saturating_add(T::DbWeight::get().writes(6 as Weight))161 }161 }162 // Storage: Refungible Balance (r:1 w:0)162 // Storage: Refungible Balance (r:1 w:0)163 // Storage: Refungible Allowance (r:0 w:1)163 // Storage: Refungible Allowance (r:0 w:1)164 fn approve() -> Weight {164 fn approve() -> Weight {165 (15_814_000 as Weight)165 (15_894_000 as Weight)166 .saturating_add(T::DbWeight::get().reads(1 as Weight))166 .saturating_add(T::DbWeight::get().reads(1 as Weight))167 .saturating_add(T::DbWeight::get().writes(1 as Weight))167 .saturating_add(T::DbWeight::get().writes(1 as Weight))168 }168 }169 // Storage: Refungible Allowance (r:1 w:1)169 // Storage: Refungible Allowance (r:1 w:1)170 // Storage: Refungible Balance (r:2 w:2)170 // Storage: Refungible Balance (r:2 w:2)171 fn transfer_from_normal() -> Weight {171 fn transfer_from_normal() -> Weight {172 (29_910_000 as Weight)172 (29_486_000 as Weight)173 .saturating_add(T::DbWeight::get().reads(3 as Weight))173 .saturating_add(T::DbWeight::get().reads(3 as Weight))174 .saturating_add(T::DbWeight::get().writes(3 as Weight))174 .saturating_add(T::DbWeight::get().writes(3 as Weight))175 }175 }178 // Storage: Refungible AccountBalance (r:1 w:1)178 // Storage: Refungible AccountBalance (r:1 w:1)179 // Storage: Refungible Owned (r:0 w:1)179 // Storage: Refungible Owned (r:0 w:1)180 fn transfer_from_creating() -> Weight {180 fn transfer_from_creating() -> Weight {181 (34_203_000 as Weight)181 (40_096_000 as Weight)182 .saturating_add(T::DbWeight::get().reads(4 as Weight))182 .saturating_add(T::DbWeight::get().reads(4 as Weight))183 .saturating_add(T::DbWeight::get().writes(5 as Weight))183 .saturating_add(T::DbWeight::get().writes(5 as Weight))184 }184 }187 // Storage: Refungible AccountBalance (r:1 w:1)187 // Storage: Refungible AccountBalance (r:1 w:1)188 // Storage: Refungible Owned (r:0 w:1)188 // Storage: Refungible Owned (r:0 w:1)189 fn transfer_from_removing() -> Weight {189 fn transfer_from_removing() -> Weight {190 (35_887_000 as Weight)190 (35_722_000 as Weight)191 .saturating_add(T::DbWeight::get().reads(4 as Weight))191 .saturating_add(T::DbWeight::get().reads(4 as Weight))192 .saturating_add(T::DbWeight::get().writes(5 as Weight))192 .saturating_add(T::DbWeight::get().writes(5 as Weight))193 }193 }196 // Storage: Refungible AccountBalance (r:2 w:2)196 // Storage: Refungible AccountBalance (r:2 w:2)197 // Storage: Refungible Owned (r:0 w:2)197 // Storage: Refungible Owned (r:0 w:2)198 fn transfer_from_creating_removing() -> Weight {198 fn transfer_from_creating_removing() -> Weight {199 (38_780_000 as Weight)199 (38_264_000 as Weight)200 .saturating_add(T::DbWeight::get().reads(5 as Weight))200 .saturating_add(T::DbWeight::get().reads(5 as Weight))201 .saturating_add(T::DbWeight::get().writes(7 as Weight))201 .saturating_add(T::DbWeight::get().writes(7 as Weight))202 }202 }208 // Storage: Refungible TokenData (r:0 w:1)208 // Storage: Refungible TokenData (r:0 w:1)209 // Storage: Refungible Owned (r:0 w:1)209 // Storage: Refungible Owned (r:0 w:1)210 fn burn_from() -> Weight {210 fn burn_from() -> Weight {211 (44_192_000 as Weight)211 (51_791_000 as Weight)212 .saturating_add(T::DbWeight::get().reads(5 as Weight))212 .saturating_add(T::DbWeight::get().reads(5 as Weight))213 .saturating_add(T::DbWeight::get().writes(7 as Weight))213 .saturating_add(T::DbWeight::get().writes(7 as Weight))214 }214 }215 // Storage: Refungible TokenData (r:1 w:1)215 // Storage: Refungible TokenData (r:1 w:1)216 fn set_variable_metadata(_b: u32, ) -> Weight {216 fn set_variable_metadata(_b: u32, ) -> Weight {217 (7_896_000 as Weight)217 (7_658_000 as Weight)218 .saturating_add(T::DbWeight::get().reads(1 as Weight))218 .saturating_add(T::DbWeight::get().reads(1 as Weight))219 .saturating_add(T::DbWeight::get().writes(1 as Weight))219 .saturating_add(T::DbWeight::get().writes(1 as Weight))220 }220 }229 // Storage: Refungible TokenData (r:0 w:1)229 // Storage: Refungible TokenData (r:0 w:1)230 // Storage: Refungible Owned (r:0 w:1)230 // Storage: Refungible Owned (r:0 w:1)231 fn create_item() -> Weight {231 fn create_item() -> Weight {232 (21_044_000 as Weight)232 (22_458_000 as Weight)233 .saturating_add(RocksDbWeight::get().reads(2 as Weight))233 .saturating_add(RocksDbWeight::get().reads(2 as Weight))234 .saturating_add(RocksDbWeight::get().writes(6 as Weight))234 .saturating_add(RocksDbWeight::get().writes(6 as Weight))235 }235 }240 // Storage: Refungible TokenData (r:0 w:4)240 // Storage: Refungible TokenData (r:0 w:4)241 // Storage: Refungible Owned (r:0 w:4)241 // Storage: Refungible Owned (r:0 w:4)242 fn create_multiple_items(b: u32, ) -> Weight {242 fn create_multiple_items(b: u32, ) -> Weight {243 (25_069_000 as Weight)243 (20_491_000 as Weight)244 // Standard Error: 9_000244 // Standard Error: 9_000245 .saturating_add((5_721_000 as Weight).saturating_mul(b as Weight))245 .saturating_add((5_754_000 as Weight).saturating_mul(b as Weight))246 .saturating_add(RocksDbWeight::get().reads(2 as Weight))246 .saturating_add(RocksDbWeight::get().reads(2 as Weight))247 .saturating_add(RocksDbWeight::get().writes(2 as Weight))247 .saturating_add(RocksDbWeight::get().writes(2 as Weight))248 .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))248 .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))254 // Storage: Refungible TokenData (r:0 w:4)254 // Storage: Refungible TokenData (r:0 w:4)255 // Storage: Refungible Owned (r:0 w:4)255 // Storage: Refungible Owned (r:0 w:4)256 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {256 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {257 (20_379_000 as Weight)257 (18_412_000 as Weight)258 // Standard Error: 13_000258 // Standard Error: 13_000259 .saturating_add((8_445_000 as Weight).saturating_mul(b as Weight))259 .saturating_add((8_482_000 as Weight).saturating_mul(b as Weight))260 .saturating_add(RocksDbWeight::get().reads(1 as Weight))260 .saturating_add(RocksDbWeight::get().reads(1 as Weight))261 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))261 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))262 .saturating_add(RocksDbWeight::get().writes(1 as Weight))262 .saturating_add(RocksDbWeight::get().writes(1 as Weight))269 // Storage: Refungible Balance (r:0 w:4)269 // Storage: Refungible Balance (r:0 w:4)270 // Storage: Refungible Owned (r:0 w:4)270 // Storage: Refungible Owned (r:0 w:4)271 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {271 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {272 (25_605_000 as Weight)272 (12_968_000 as Weight)273 // Standard Error: 12_000273 // Standard Error: 9_000274 .saturating_add((6_276_000 as Weight).saturating_mul(b as Weight))274 .saturating_add((6_437_000 as Weight).saturating_mul(b as Weight))275 .saturating_add(RocksDbWeight::get().reads(1 as Weight))275 .saturating_add(RocksDbWeight::get().reads(1 as Weight))276 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))276 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))277 .saturating_add(RocksDbWeight::get().writes(3 as Weight))277 .saturating_add(RocksDbWeight::get().writes(3 as Weight))282 // Storage: Refungible AccountBalance (r:1 w:1)282 // Storage: Refungible AccountBalance (r:1 w:1)283 // Storage: Refungible Owned (r:0 w:1)283 // Storage: Refungible Owned (r:0 w:1)284 fn burn_item_partial() -> Weight {284 fn burn_item_partial() -> Weight {285 (24_247_000 as Weight)285 (23_758_000 as Weight)286 .saturating_add(RocksDbWeight::get().reads(3 as Weight))286 .saturating_add(RocksDbWeight::get().reads(3 as Weight))287 .saturating_add(RocksDbWeight::get().writes(4 as Weight))287 .saturating_add(RocksDbWeight::get().writes(4 as Weight))288 }288 }293 // Storage: Refungible TokenData (r:0 w:1)293 // Storage: Refungible TokenData (r:0 w:1)294 // Storage: Refungible Owned (r:0 w:1)294 // Storage: Refungible Owned (r:0 w:1)295 fn burn_item_fully() -> Weight {295 fn burn_item_fully() -> Weight {296 (32_746_000 as Weight)296 (32_262_000 as Weight)297 .saturating_add(RocksDbWeight::get().reads(4 as Weight))297 .saturating_add(RocksDbWeight::get().reads(4 as Weight))298 .saturating_add(RocksDbWeight::get().writes(6 as Weight))298 .saturating_add(RocksDbWeight::get().writes(6 as Weight))299 }299 }300 // Storage: Refungible Balance (r:2 w:2)300 // Storage: Refungible Balance (r:2 w:2)301 fn transfer_normal() -> Weight {301 fn transfer_normal() -> Weight {302 (20_270_000 as Weight)302 (20_023_000 as Weight)303 .saturating_add(RocksDbWeight::get().reads(2 as Weight))303 .saturating_add(RocksDbWeight::get().reads(2 as Weight))304 .saturating_add(RocksDbWeight::get().writes(2 as Weight))304 .saturating_add(RocksDbWeight::get().writes(2 as Weight))305 }305 }306 // Storage: Refungible Balance (r:2 w:2)306 // Storage: Refungible Balance (r:2 w:2)307 // Storage: Refungible AccountBalance (r:1 w:1)307 // Storage: Refungible AccountBalance (r:1 w:1)308 // Storage: Refungible Owned (r:0 w:1)308 // Storage: Refungible Owned (r:0 w:1)309 fn transfer_creating() -> Weight {309 fn transfer_creating() -> Weight {310 (23_980_000 as Weight)310 (23_793_000 as Weight)311 .saturating_add(RocksDbWeight::get().reads(3 as Weight))311 .saturating_add(RocksDbWeight::get().reads(3 as Weight))312 .saturating_add(RocksDbWeight::get().writes(4 as Weight))312 .saturating_add(RocksDbWeight::get().writes(4 as Weight))313 }313 }314 // Storage: Refungible Balance (r:2 w:2)314 // Storage: Refungible Balance (r:2 w:2)315 // Storage: Refungible AccountBalance (r:1 w:1)315 // Storage: Refungible AccountBalance (r:1 w:1)316 // Storage: Refungible Owned (r:0 w:1)316 // Storage: Refungible Owned (r:0 w:1)317 fn transfer_removing() -> Weight {317 fn transfer_removing() -> Weight {318 (25_635_000 as Weight)318 (25_299_000 as Weight)319 .saturating_add(RocksDbWeight::get().reads(3 as Weight))319 .saturating_add(RocksDbWeight::get().reads(3 as Weight))320 .saturating_add(RocksDbWeight::get().writes(4 as Weight))320 .saturating_add(RocksDbWeight::get().writes(4 as Weight))321 }321 }322 // Storage: Refungible Balance (r:2 w:2)322 // Storage: Refungible Balance (r:2 w:2)323 // Storage: Refungible AccountBalance (r:2 w:2)323 // Storage: Refungible AccountBalance (r:2 w:2)324 // Storage: Refungible Owned (r:0 w:2)324 // Storage: Refungible Owned (r:0 w:2)325 fn transfer_creating_removing() -> Weight {325 fn transfer_creating_removing() -> Weight {326 (28_782_000 as Weight)326 (28_400_000 as Weight)327 .saturating_add(RocksDbWeight::get().reads(4 as Weight))327 .saturating_add(RocksDbWeight::get().reads(4 as Weight))328 .saturating_add(RocksDbWeight::get().writes(6 as Weight))328 .saturating_add(RocksDbWeight::get().writes(6 as Weight))329 }329 }330 // Storage: Refungible Balance (r:1 w:0)330 // Storage: Refungible Balance (r:1 w:0)331 // Storage: Refungible Allowance (r:0 w:1)331 // Storage: Refungible Allowance (r:0 w:1)332 fn approve() -> Weight {332 fn approve() -> Weight {333 (15_814_000 as Weight)333 (15_894_000 as Weight)334 .saturating_add(RocksDbWeight::get().reads(1 as Weight))334 .saturating_add(RocksDbWeight::get().reads(1 as Weight))335 .saturating_add(RocksDbWeight::get().writes(1 as Weight))335 .saturating_add(RocksDbWeight::get().writes(1 as Weight))336 }336 }337 // Storage: Refungible Allowance (r:1 w:1)337 // Storage: Refungible Allowance (r:1 w:1)338 // Storage: Refungible Balance (r:2 w:2)338 // Storage: Refungible Balance (r:2 w:2)339 fn transfer_from_normal() -> Weight {339 fn transfer_from_normal() -> Weight {340 (29_910_000 as Weight)340 (29_486_000 as Weight)341 .saturating_add(RocksDbWeight::get().reads(3 as Weight))341 .saturating_add(RocksDbWeight::get().reads(3 as Weight))342 .saturating_add(RocksDbWeight::get().writes(3 as Weight))342 .saturating_add(RocksDbWeight::get().writes(3 as Weight))343 }343 }346 // Storage: Refungible AccountBalance (r:1 w:1)346 // Storage: Refungible AccountBalance (r:1 w:1)347 // Storage: Refungible Owned (r:0 w:1)347 // Storage: Refungible Owned (r:0 w:1)348 fn transfer_from_creating() -> Weight {348 fn transfer_from_creating() -> Weight {349 (34_203_000 as Weight)349 (40_096_000 as Weight)350 .saturating_add(RocksDbWeight::get().reads(4 as Weight))350 .saturating_add(RocksDbWeight::get().reads(4 as Weight))351 .saturating_add(RocksDbWeight::get().writes(5 as Weight))351 .saturating_add(RocksDbWeight::get().writes(5 as Weight))352 }352 }355 // Storage: Refungible AccountBalance (r:1 w:1)355 // Storage: Refungible AccountBalance (r:1 w:1)356 // Storage: Refungible Owned (r:0 w:1)356 // Storage: Refungible Owned (r:0 w:1)357 fn transfer_from_removing() -> Weight {357 fn transfer_from_removing() -> Weight {358 (35_887_000 as Weight)358 (35_722_000 as Weight)359 .saturating_add(RocksDbWeight::get().reads(4 as Weight))359 .saturating_add(RocksDbWeight::get().reads(4 as Weight))360 .saturating_add(RocksDbWeight::get().writes(5 as Weight))360 .saturating_add(RocksDbWeight::get().writes(5 as Weight))361 }361 }364 // Storage: Refungible AccountBalance (r:2 w:2)364 // Storage: Refungible AccountBalance (r:2 w:2)365 // Storage: Refungible Owned (r:0 w:2)365 // Storage: Refungible Owned (r:0 w:2)366 fn transfer_from_creating_removing() -> Weight {366 fn transfer_from_creating_removing() -> Weight {367 (38_780_000 as Weight)367 (38_264_000 as Weight)368 .saturating_add(RocksDbWeight::get().reads(5 as Weight))368 .saturating_add(RocksDbWeight::get().reads(5 as Weight))369 .saturating_add(RocksDbWeight::get().writes(7 as Weight))369 .saturating_add(RocksDbWeight::get().writes(7 as Weight))370 }370 }376 // Storage: Refungible TokenData (r:0 w:1)376 // Storage: Refungible TokenData (r:0 w:1)377 // Storage: Refungible Owned (r:0 w:1)377 // Storage: Refungible Owned (r:0 w:1)378 fn burn_from() -> Weight {378 fn burn_from() -> Weight {379 (44_192_000 as Weight)379 (51_791_000 as Weight)380 .saturating_add(RocksDbWeight::get().reads(5 as Weight))380 .saturating_add(RocksDbWeight::get().reads(5 as Weight))381 .saturating_add(RocksDbWeight::get().writes(7 as Weight))381 .saturating_add(RocksDbWeight::get().writes(7 as Weight))382 }382 }383 // Storage: Refungible TokenData (r:1 w:1)383 // Storage: Refungible TokenData (r:1 w:1)384 fn set_variable_metadata(_b: u32, ) -> Weight {384 fn set_variable_metadata(_b: u32, ) -> Weight {385 (7_896_000 as Weight)385 (7_658_000 as Weight)386 .saturating_add(RocksDbWeight::get().reads(1 as Weight))386 .saturating_add(RocksDbWeight::get().reads(1 as Weight))387 .saturating_add(RocksDbWeight::get().writes(1 as Weight))387 .saturating_add(RocksDbWeight::get().writes(1 as Weight))388 }388 }pallets/unique/src/weights.rsdiffbeforeafterboth--- a/pallets/unique/src/weights.rs
+++ b/pallets/unique/src/weights.rs
@@ -61,7 +61,7 @@
// Storage: System Account (r:2 w:2)
// Storage: Common CollectionById (r:0 w:1)
fn create_collection() -> Weight {
- (28_650_000 as Weight)
+ (29_195_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
@@ -71,39 +71,39 @@
// Storage: Nonfungible TokensBurnt (r:0 w:1)
// Storage: Common AdminAmount (r:0 w:1)
fn destroy_collection() -> Weight {
- (40_437_000 as Weight)
+ (38_998_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
}
// Storage: Common CollectionById (r:1 w:0)
// Storage: Common Allowlist (r:0 w:1)
fn add_to_allow_list() -> Weight {
- (15_316_000 as Weight)
+ (15_015_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 {
- (15_189_000 as Weight)
+ (14_781_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_public_access_mode() -> Weight {
- (14_695_000 as Weight)
+ (14_160_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_mint_permission() -> Weight {
- (14_561_000 as Weight)
+ (14_239_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 {
- (15_598_000 as Weight)
+ (14_475_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -111,7 +111,7 @@
// Storage: Common IsAdmin (r:1 w:1)
// Storage: Common AdminAmount (r:1 w:1)
fn add_collection_admin() -> Weight {
- (20_230_000 as Weight)
+ (19_273_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
@@ -119,67 +119,67 @@
// Storage: Common IsAdmin (r:1 w:1)
// Storage: Common AdminAmount (r:1 w:1)
fn remove_collection_admin() -> Weight {
- (22_449_000 as Weight)
+ (22_351_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 {
- (15_619_000 as Weight)
+ (15_563_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 {
- (15_328_000 as Weight)
+ (15_276_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 {
- (15_005_000 as Weight)
+ (15_031_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 {
- (7_867_000 as Weight)
+ (7_442_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_offchain_schema(_b: u32, ) -> Weight {
- (15_644_000 as Weight)
+ (15_551_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_const_on_chain_schema(_b: u32, ) -> Weight {
- (15_398_000 as Weight)
+ (15_298_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_variable_on_chain_schema(_b: u32, ) -> Weight {
- (15_500_000 as Weight)
+ (15_734_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_schema_version() -> Weight {
- (15_097_000 as Weight)
+ (14_827_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 {
- (15_631_000 as Weight)
+ (15_592_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_meta_update_permission_flag() -> Weight {
- (7_469_000 as Weight)
+ (7_296_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -192,7 +192,7 @@
// Storage: System Account (r:2 w:2)
// Storage: Common CollectionById (r:0 w:1)
fn create_collection() -> Weight {
- (28_650_000 as Weight)
+ (29_195_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
}
@@ -202,39 +202,39 @@
// Storage: Nonfungible TokensBurnt (r:0 w:1)
// Storage: Common AdminAmount (r:0 w:1)
fn destroy_collection() -> Weight {
- (40_437_000 as Weight)
+ (38_998_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(5 as Weight))
}
// Storage: Common CollectionById (r:1 w:0)
// Storage: Common Allowlist (r:0 w:1)
fn add_to_allow_list() -> Weight {
- (15_316_000 as Weight)
+ (15_015_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 {
- (15_189_000 as Weight)
+ (14_781_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_public_access_mode() -> Weight {
- (14_695_000 as Weight)
+ (14_160_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_mint_permission() -> Weight {
- (14_561_000 as Weight)
+ (14_239_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 {
- (15_598_000 as Weight)
+ (14_475_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -242,7 +242,7 @@
// Storage: Common IsAdmin (r:1 w:1)
// Storage: Common AdminAmount (r:1 w:1)
fn add_collection_admin() -> Weight {
- (20_230_000 as Weight)
+ (19_273_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
@@ -250,67 +250,67 @@
// Storage: Common IsAdmin (r:1 w:1)
// Storage: Common AdminAmount (r:1 w:1)
fn remove_collection_admin() -> Weight {
- (22_449_000 as Weight)
+ (22_351_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 {
- (15_619_000 as Weight)
+ (15_563_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 {
- (15_328_000 as Weight)
+ (15_276_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 {
- (15_005_000 as Weight)
+ (15_031_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 {
- (7_867_000 as Weight)
+ (7_442_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_offchain_schema(_b: u32, ) -> Weight {
- (15_644_000 as Weight)
+ (15_551_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_const_on_chain_schema(_b: u32, ) -> Weight {
- (15_398_000 as Weight)
+ (15_298_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_variable_on_chain_schema(_b: u32, ) -> Weight {
- (15_500_000 as Weight)
+ (15_734_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_schema_version() -> Weight {
- (15_097_000 as Weight)
+ (14_827_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 {
- (15_631_000 as Weight)
+ (15_592_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_meta_update_permission_flag() -> Weight {
- (7_469_000 as Weight)
+ (7_296_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}