difftreelog
chore run benchmarks
in: master
9 files changed
Makefilediffbeforeafterboth--- a/Makefile
+++ b/Makefile
@@ -134,4 +134,5 @@
make _bench PALLET=app-promotion PALLET_DIR=app-promotion
.PHONY: bench
-bench: bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-scheduler bench-rmrk-core bench-rmrk-equip bench-foreign-assets
+# Disabled: bench-scheduler, bench-rmrk-core, bench-rmrk-equip
+bench: bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-foreign-assets
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-11-23, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-12-26, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -48,37 +48,37 @@
// Storage: System Account (r:1 w:0)
// Storage: EVM AccountCodes (r:1 w:0)
fn begin() -> Weight {
- Weight::from_ref_time(16_080_000 as u64)
+ Weight::from_ref_time(15_073_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: EvmMigration MigrationPending (r:1 w:0)
// Storage: EVM AccountStorages (r:0 w:1)
fn set_data(b: u32, ) -> Weight {
- Weight::from_ref_time(7_945_000 as u64)
- // Standard Error: 1_272
- .saturating_add(Weight::from_ref_time(1_056_832 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(7_943_438 as u64)
+ // Standard Error: 1_792
+ .saturating_add(Weight::from_ref_time(960_230 as u64).saturating_mul(b as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
}
// Storage: EvmMigration MigrationPending (r:1 w:1)
// Storage: EVM AccountCodes (r:0 w:1)
fn finish(b: u32, ) -> Weight {
- Weight::from_ref_time(8_336_000 as u64)
- // Standard Error: 89
- .saturating_add(Weight::from_ref_time(6_411 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(9_316_585 as u64)
+ // Standard Error: 595
+ .saturating_add(Weight::from_ref_time(2_082 as u64).saturating_mul(b as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
fn insert_eth_logs(b: u32, ) -> Weight {
- Weight::from_ref_time(3_447_000 as u64)
- // Standard Error: 843
- .saturating_add(Weight::from_ref_time(901_039 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(6_570_767 as u64)
+ // Standard Error: 2_292
+ .saturating_add(Weight::from_ref_time(722_345 as u64).saturating_mul(b as u64))
}
fn insert_events(b: u32, ) -> Weight {
- Weight::from_ref_time(3_457_000 as u64)
- // Standard Error: 1_460
- .saturating_add(Weight::from_ref_time(1_491_611 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(10_936_376 as u64)
+ // Standard Error: 1_227
+ .saturating_add(Weight::from_ref_time(1_311_481 as u64).saturating_mul(b as u64))
}
}
@@ -88,36 +88,36 @@
// Storage: System Account (r:1 w:0)
// Storage: EVM AccountCodes (r:1 w:0)
fn begin() -> Weight {
- Weight::from_ref_time(16_080_000 as u64)
+ Weight::from_ref_time(15_073_000 as u64)
.saturating_add(RocksDbWeight::get().reads(3 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: EvmMigration MigrationPending (r:1 w:0)
// Storage: EVM AccountStorages (r:0 w:1)
fn set_data(b: u32, ) -> Weight {
- Weight::from_ref_time(7_945_000 as u64)
- // Standard Error: 1_272
- .saturating_add(Weight::from_ref_time(1_056_832 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(7_943_438 as u64)
+ // Standard Error: 1_792
+ .saturating_add(Weight::from_ref_time(960_230 as u64).saturating_mul(b as u64))
.saturating_add(RocksDbWeight::get().reads(1 as u64))
.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
}
// Storage: EvmMigration MigrationPending (r:1 w:1)
// Storage: EVM AccountCodes (r:0 w:1)
fn finish(b: u32, ) -> Weight {
- Weight::from_ref_time(8_336_000 as u64)
- // Standard Error: 89
- .saturating_add(Weight::from_ref_time(6_411 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(9_316_585 as u64)
+ // Standard Error: 595
+ .saturating_add(Weight::from_ref_time(2_082 as u64).saturating_mul(b as u64))
.saturating_add(RocksDbWeight::get().reads(1 as u64))
.saturating_add(RocksDbWeight::get().writes(2 as u64))
}
fn insert_eth_logs(b: u32, ) -> Weight {
- Weight::from_ref_time(3_447_000 as u64)
- // Standard Error: 843
- .saturating_add(Weight::from_ref_time(901_039 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(6_570_767 as u64)
+ // Standard Error: 2_292
+ .saturating_add(Weight::from_ref_time(722_345 as u64).saturating_mul(b as u64))
}
fn insert_events(b: u32, ) -> Weight {
- Weight::from_ref_time(3_457_000 as u64)
- // Standard Error: 1_460
- .saturating_add(Weight::from_ref_time(1_491_611 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(10_936_376 as u64)
+ // Standard Error: 1_227
+ .saturating_add(Weight::from_ref_time(1_311_481 as u64).saturating_mul(b as u64))
}
}
pallets/foreign-assets/src/weights.rsdiffbeforeafterboth--- a/pallets/foreign-assets/src/weights.rs
+++ b/pallets/foreign-assets/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_foreign_assets
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-12-26, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -53,14 +53,14 @@
// Storage: Common CollectionProperties (r:0 w:1)
// Storage: Common CollectionById (r:0 w:1)
fn register_foreign_asset() -> Weight {
- Weight::from_ref_time(52_161_000)
+ Weight::from_ref_time(54_196_000 as u64)
.saturating_add(T::DbWeight::get().reads(9 as u64))
.saturating_add(T::DbWeight::get().writes(11 as u64))
}
// Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)
// Storage: ForeignAssets AssetMetadatas (r:1 w:1)
fn update_foreign_asset() -> Weight {
- Weight::from_ref_time(19_111_000)
+ Weight::from_ref_time(23_719_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -80,14 +80,14 @@
// Storage: Common CollectionProperties (r:0 w:1)
// Storage: Common CollectionById (r:0 w:1)
fn register_foreign_asset() -> Weight {
- Weight::from_ref_time(52_161_000)
+ Weight::from_ref_time(54_196_000 as u64)
.saturating_add(RocksDbWeight::get().reads(9 as u64))
.saturating_add(RocksDbWeight::get().writes(11 as u64))
}
// Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)
// Storage: ForeignAssets AssetMetadatas (r:1 w:1)
fn update_foreign_asset() -> Weight {
- Weight::from_ref_time(19_111_000)
+ Weight::from_ref_time(23_719_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(2 as u64))
}
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-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-12-26, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -26,6 +26,7 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
+#![allow(missing_docs)]
#![allow(clippy::unnecessary_cast)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
@@ -48,16 +49,16 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn create_item() -> Weight {
- Weight::from_ref_time(18_195_000)
+ Weight::from_ref_time(19_626_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:4 w:4)
fn create_multiple_items_ex(b: u32, ) -> Weight {
- Weight::from_ref_time(19_218_000)
- // Standard Error: 3_000
- .saturating_add(Weight::from_ref_time(4_516_000).saturating_mul(b as u64))
+ Weight::from_ref_time(22_364_107 as u64)
+ // Standard Error: 6_123
+ .saturating_add(Weight::from_ref_time(3_608_476 as u64).saturating_mul(b as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
@@ -66,27 +67,27 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn burn_item() -> Weight {
- Weight::from_ref_time(18_719_000)
+ Weight::from_ref_time(21_886_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Fungible Balance (r:2 w:2)
fn transfer() -> Weight {
- Weight::from_ref_time(20_563_000)
+ Weight::from_ref_time(23_827_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Fungible Balance (r:1 w:0)
// Storage: Fungible Allowance (r:0 w:1)
fn approve() -> Weight {
- Weight::from_ref_time(17_583_000)
+ Weight::from_ref_time(21_626_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Fungible Allowance (r:1 w:1)
// Storage: Fungible Balance (r:2 w:2)
fn transfer_from() -> Weight {
- Weight::from_ref_time(29_845_000)
+ Weight::from_ref_time(31_398_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
@@ -94,7 +95,7 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn burn_from() -> Weight {
- Weight::from_ref_time(28_248_000)
+ Weight::from_ref_time(30_499_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
@@ -105,16 +106,16 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn create_item() -> Weight {
- Weight::from_ref_time(18_195_000)
+ Weight::from_ref_time(19_626_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(2 as u64))
}
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:4 w:4)
fn create_multiple_items_ex(b: u32, ) -> Weight {
- Weight::from_ref_time(19_218_000)
- // Standard Error: 3_000
- .saturating_add(Weight::from_ref_time(4_516_000).saturating_mul(b as u64))
+ Weight::from_ref_time(22_364_107 as u64)
+ // Standard Error: 6_123
+ .saturating_add(Weight::from_ref_time(3_608_476 as u64).saturating_mul(b as u64))
.saturating_add(RocksDbWeight::get().reads(1 as u64))
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
@@ -123,27 +124,27 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn burn_item() -> Weight {
- Weight::from_ref_time(18_719_000)
+ Weight::from_ref_time(21_886_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(2 as u64))
}
// Storage: Fungible Balance (r:2 w:2)
fn transfer() -> Weight {
- Weight::from_ref_time(20_563_000)
+ Weight::from_ref_time(23_827_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(2 as u64))
}
// Storage: Fungible Balance (r:1 w:0)
// Storage: Fungible Allowance (r:0 w:1)
fn approve() -> Weight {
- Weight::from_ref_time(17_583_000)
+ Weight::from_ref_time(21_626_000 as u64)
.saturating_add(RocksDbWeight::get().reads(1 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Fungible Allowance (r:1 w:1)
// Storage: Fungible Balance (r:2 w:2)
fn transfer_from() -> Weight {
- Weight::from_ref_time(29_845_000)
+ Weight::from_ref_time(31_398_000 as u64)
.saturating_add(RocksDbWeight::get().reads(3 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
@@ -151,7 +152,7 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn burn_from() -> Weight {
- Weight::from_ref_time(28_248_000)
+ Weight::from_ref_time(30_499_000 as u64)
.saturating_add(RocksDbWeight::get().reads(3 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
pallets/nonfungible/src/weights.rsdiffbeforeafterboth--- a/pallets/nonfungible/src/weights.rs
+++ b/pallets/nonfungible/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_nonfungible
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-12-26, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -61,7 +61,7 @@
// Storage: Nonfungible TokenData (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn create_item() -> Weight {
- Weight::from_ref_time(25_905_000)
+ Weight::from_ref_time(26_377_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
@@ -70,9 +70,9 @@
// Storage: Nonfungible TokenData (r:0 w:4)
// Storage: Nonfungible Owned (r:0 w:4)
fn create_multiple_items(b: u32, ) -> Weight {
- Weight::from_ref_time(24_955_000)
- // Standard Error: 3_000
- .saturating_add(Weight::from_ref_time(5_340_000).saturating_mul(b as u64))
+ Weight::from_ref_time(20_059_186 as u64)
+ // Standard Error: 4_735
+ .saturating_add(Weight::from_ref_time(4_856_306 as u64).saturating_mul(b as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(b as u64)))
@@ -82,9 +82,9 @@
// Storage: Nonfungible TokenData (r:0 w:4)
// Storage: Nonfungible Owned (r:0 w:4)
fn create_multiple_items_ex(b: u32, ) -> Weight {
- Weight::from_ref_time(13_666_000)
- // Standard Error: 5_000
- .saturating_add(Weight::from_ref_time(8_299_000).saturating_mul(b as u64))
+ Weight::from_ref_time(16_365_581 as u64)
+ // Standard Error: 9_711
+ .saturating_add(Weight::from_ref_time(6_681_940 as u64).saturating_mul(b as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
@@ -98,7 +98,7 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_item() -> Weight {
- Weight::from_ref_time(36_205_000)
+ Weight::from_ref_time(33_502_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
}
@@ -110,7 +110,7 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_recursively_self_raw() -> Weight {
- Weight::from_ref_time(44_550_000)
+ Weight::from_ref_time(43_255_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
}
@@ -123,9 +123,9 @@
// Storage: Nonfungible TokenProperties (r:0 w:1)
// Storage: Common CollectionById (r:1 w:0)
fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
- (Weight::from_ref_time(0))
- // Standard Error: 1_536_000
- .saturating_add(Weight::from_ref_time(312_125_000).saturating_mul(b as u64))
+ Weight::from_ref_time(42_992_000 as u64)
+ // Standard Error: 1_010_119
+ .saturating_add(Weight::from_ref_time(209_972_755 as u64).saturating_mul(b as u64))
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(b as u64)))
.saturating_add(T::DbWeight::get().writes(6 as u64))
@@ -136,14 +136,14 @@
// Storage: Nonfungible Allowance (r:1 w:0)
// Storage: Nonfungible Owned (r:0 w:2)
fn transfer() -> Weight {
- Weight::from_ref_time(31_116_000)
+ Weight::from_ref_time(31_239_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
}
// Storage: Nonfungible TokenData (r:1 w:0)
// Storage: Nonfungible Allowance (r:1 w:1)
fn approve() -> Weight {
- Weight::from_ref_time(20_802_000)
+ Weight::from_ref_time(21_985_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -152,7 +152,7 @@
// Storage: Nonfungible AccountBalance (r:2 w:2)
// Storage: Nonfungible Owned (r:0 w:2)
fn transfer_from() -> Weight {
- Weight::from_ref_time(36_083_000)
+ Weight::from_ref_time(36_382_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
}
@@ -164,54 +164,54 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_from() -> Weight {
- Weight::from_ref_time(41_781_000)
+ Weight::from_ref_time(42_046_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
}
// Storage: Common CollectionPropertyPermissions (r:1 w:1)
fn set_token_property_permissions(b: u32, ) -> Weight {
- (Weight::from_ref_time(0))
- // Standard Error: 58_000
- .saturating_add(Weight::from_ref_time(15_705_000).saturating_mul(b as u64))
+ Weight::from_ref_time(5_543_000 as u64)
+ // Standard Error: 40_525
+ .saturating_add(Weight::from_ref_time(12_126_787 as u64).saturating_mul(b as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionPropertyPermissions (r:1 w:0)
// Storage: Nonfungible TokenProperties (r:1 w:1)
fn set_token_properties(b: u32, ) -> Weight {
- (Weight::from_ref_time(0))
- // Standard Error: 3_595_000
- .saturating_add(Weight::from_ref_time(590_344_000).saturating_mul(b as u64))
+ Weight::from_ref_time(4_361_000 as u64)
+ // Standard Error: 5_349_868
+ .saturating_add(Weight::from_ref_time(637_246_356 as u64).saturating_mul(b as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionPropertyPermissions (r:1 w:0)
// Storage: Nonfungible TokenProperties (r:1 w:1)
fn delete_token_properties(b: u32, ) -> Weight {
- (Weight::from_ref_time(0))
- // Standard Error: 3_664_000
- .saturating_add(Weight::from_ref_time(605_836_000).saturating_mul(b as u64))
+ Weight::from_ref_time(4_489_000 as u64)
+ // Standard Error: 5_738_954
+ .saturating_add(Weight::from_ref_time(689_912_822 as u64).saturating_mul(b as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Nonfungible TokenData (r:1 w:0)
fn token_owner() -> Weight {
- Weight::from_ref_time(4_366_000)
+ Weight::from_ref_time(6_881_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
}
- // Storage: Nonfungible WalletOperator (r:0 w:1)
+ // Storage: Nonfungible CollectionAllowance (r:0 w:1)
fn set_allowance_for_all() -> Weight {
- Weight::from_ref_time(16_231_000 as u64)
+ Weight::from_ref_time(16_223_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
- // Storage: Nonfungible WalletOperator (r:1 w:0)
+ // Storage: Nonfungible CollectionAllowance (r:1 w:0)
fn allowance_for_all() -> Weight {
- Weight::from_ref_time(6_161_000 as u64)
+ Weight::from_ref_time(5_639_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
}
// Storage: Nonfungible TokenProperties (r:1 w:1)
fn repair_item() -> Weight {
- Weight::from_ref_time(5_701_000 as u64)
+ Weight::from_ref_time(6_111_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -224,7 +224,7 @@
// Storage: Nonfungible TokenData (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn create_item() -> Weight {
- Weight::from_ref_time(25_905_000)
+ Weight::from_ref_time(26_377_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(4 as u64))
}
@@ -233,9 +233,9 @@
// Storage: Nonfungible TokenData (r:0 w:4)
// Storage: Nonfungible Owned (r:0 w:4)
fn create_multiple_items(b: u32, ) -> Weight {
- Weight::from_ref_time(24_955_000)
- // Standard Error: 3_000
- .saturating_add(Weight::from_ref_time(5_340_000).saturating_mul(b as u64))
+ Weight::from_ref_time(20_059_186 as u64)
+ // Standard Error: 4_735
+ .saturating_add(Weight::from_ref_time(4_856_306 as u64).saturating_mul(b as u64))
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(2 as u64))
.saturating_add(RocksDbWeight::get().writes((2 as u64).saturating_mul(b as u64)))
@@ -245,9 +245,9 @@
// Storage: Nonfungible TokenData (r:0 w:4)
// Storage: Nonfungible Owned (r:0 w:4)
fn create_multiple_items_ex(b: u32, ) -> Weight {
- Weight::from_ref_time(13_666_000)
- // Standard Error: 5_000
- .saturating_add(Weight::from_ref_time(8_299_000).saturating_mul(b as u64))
+ Weight::from_ref_time(16_365_581 as u64)
+ // Standard Error: 9_711
+ .saturating_add(Weight::from_ref_time(6_681_940 as u64).saturating_mul(b as u64))
.saturating_add(RocksDbWeight::get().reads(1 as u64))
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
@@ -261,7 +261,7 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_item() -> Weight {
- Weight::from_ref_time(36_205_000)
+ Weight::from_ref_time(33_502_000 as u64)
.saturating_add(RocksDbWeight::get().reads(5 as u64))
.saturating_add(RocksDbWeight::get().writes(5 as u64))
}
@@ -273,7 +273,7 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_recursively_self_raw() -> Weight {
- Weight::from_ref_time(44_550_000)
+ Weight::from_ref_time(43_255_000 as u64)
.saturating_add(RocksDbWeight::get().reads(5 as u64))
.saturating_add(RocksDbWeight::get().writes(5 as u64))
}
@@ -286,9 +286,9 @@
// Storage: Nonfungible TokenProperties (r:0 w:1)
// Storage: Common CollectionById (r:1 w:0)
fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
- (Weight::from_ref_time(0))
- // Standard Error: 1_536_000
- .saturating_add(Weight::from_ref_time(312_125_000).saturating_mul(b as u64))
+ Weight::from_ref_time(42_992_000 as u64)
+ // Standard Error: 1_010_119
+ .saturating_add(Weight::from_ref_time(209_972_755 as u64).saturating_mul(b as u64))
.saturating_add(RocksDbWeight::get().reads(7 as u64))
.saturating_add(RocksDbWeight::get().reads((4 as u64).saturating_mul(b as u64)))
.saturating_add(RocksDbWeight::get().writes(6 as u64))
@@ -299,14 +299,14 @@
// Storage: Nonfungible Allowance (r:1 w:0)
// Storage: Nonfungible Owned (r:0 w:2)
fn transfer() -> Weight {
- Weight::from_ref_time(31_116_000)
+ Weight::from_ref_time(31_239_000 as u64)
.saturating_add(RocksDbWeight::get().reads(4 as u64))
.saturating_add(RocksDbWeight::get().writes(5 as u64))
}
// Storage: Nonfungible TokenData (r:1 w:0)
// Storage: Nonfungible Allowance (r:1 w:1)
fn approve() -> Weight {
- Weight::from_ref_time(20_802_000)
+ Weight::from_ref_time(21_985_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
@@ -315,7 +315,7 @@
// Storage: Nonfungible AccountBalance (r:2 w:2)
// Storage: Nonfungible Owned (r:0 w:2)
fn transfer_from() -> Weight {
- Weight::from_ref_time(36_083_000)
+ Weight::from_ref_time(36_382_000 as u64)
.saturating_add(RocksDbWeight::get().reads(4 as u64))
.saturating_add(RocksDbWeight::get().writes(6 as u64))
}
@@ -327,54 +327,54 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_from() -> Weight {
- Weight::from_ref_time(41_781_000)
+ Weight::from_ref_time(42_046_000 as u64)
.saturating_add(RocksDbWeight::get().reads(5 as u64))
.saturating_add(RocksDbWeight::get().writes(6 as u64))
}
// Storage: Common CollectionPropertyPermissions (r:1 w:1)
fn set_token_property_permissions(b: u32, ) -> Weight {
- (Weight::from_ref_time(0))
- // Standard Error: 58_000
- .saturating_add(Weight::from_ref_time(15_705_000).saturating_mul(b as u64))
+ Weight::from_ref_time(5_543_000 as u64)
+ // Standard Error: 40_525
+ .saturating_add(Weight::from_ref_time(12_126_787 as u64).saturating_mul(b as u64))
.saturating_add(RocksDbWeight::get().reads(1 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionPropertyPermissions (r:1 w:0)
// Storage: Nonfungible TokenProperties (r:1 w:1)
fn set_token_properties(b: u32, ) -> Weight {
- (Weight::from_ref_time(0))
- // Standard Error: 3_595_000
- .saturating_add(Weight::from_ref_time(590_344_000).saturating_mul(b as u64))
+ Weight::from_ref_time(4_361_000 as u64)
+ // Standard Error: 5_349_868
+ .saturating_add(Weight::from_ref_time(637_246_356 as u64).saturating_mul(b as u64))
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionPropertyPermissions (r:1 w:0)
// Storage: Nonfungible TokenProperties (r:1 w:1)
fn delete_token_properties(b: u32, ) -> Weight {
- (Weight::from_ref_time(0))
- // Standard Error: 3_664_000
- .saturating_add(Weight::from_ref_time(605_836_000).saturating_mul(b as u64))
+ Weight::from_ref_time(4_489_000 as u64)
+ // Standard Error: 5_738_954
+ .saturating_add(Weight::from_ref_time(689_912_822 as u64).saturating_mul(b as u64))
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Nonfungible TokenData (r:1 w:0)
fn token_owner() -> Weight {
- Weight::from_ref_time(4_366_000)
+ Weight::from_ref_time(6_881_000 as u64)
.saturating_add(RocksDbWeight::get().reads(1 as u64))
}
- // Storage: Nonfungible WalletOperator (r:0 w:1)
+ // Storage: Nonfungible CollectionAllowance (r:0 w:1)
fn set_allowance_for_all() -> Weight {
- Weight::from_ref_time(16_231_000 as u64)
+ Weight::from_ref_time(16_223_000 as u64)
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
- // Storage: Nonfungible WalletOperator (r:1 w:0)
+ // Storage: Nonfungible CollectionAllowance (r:1 w:0)
fn allowance_for_all() -> Weight {
- Weight::from_ref_time(6_161_000 as u64)
+ Weight::from_ref_time(5_639_000 as u64)
.saturating_add(RocksDbWeight::get().reads(1 as u64))
}
// Storage: Nonfungible TokenProperties (r:1 w:1)
fn repair_item() -> Weight {
- Weight::from_ref_time(5_701_000 as u64)
+ Weight::from_ref_time(6_111_000 as u64)
.saturating_add(RocksDbWeight::get().reads(1 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
pallets/refungible/src/weights.rsdiffbeforeafterboth1// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_refungible4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2022-11-25, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 102489// Executed Command:10// target/release/unique-collator11// benchmark12// pallet13// --pallet14// pallet-refungible15// --wasm-execution16// compiled17// --extrinsic18// *19// --template20// .maintain/frame-weight-template.hbs21// --steps=5022// --repeat=8023// --heap-pages=409624// --output=./pallets/refungible/src/weights.rs2526#![cfg_attr(rustfmt, rustfmt_skip)]27#![allow(unused_parens)]28#![allow(unused_imports)]29#![allow(missing_docs)]30#![allow(clippy::unnecessary_cast)]3132use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};33use sp_std::marker::PhantomData;3435/// Weight functions needed for pallet_refungible.36pub trait WeightInfo {37 fn create_item() -> Weight;38 fn create_multiple_items(b: u32, ) -> Weight;39 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight;40 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight;41 fn burn_item_partial() -> Weight;42 fn burn_item_fully() -> Weight;43 fn transfer_normal() -> Weight;44 fn transfer_creating() -> Weight;45 fn transfer_removing() -> Weight;46 fn transfer_creating_removing() -> Weight;47 fn approve() -> Weight;48 fn transfer_from_normal() -> Weight;49 fn transfer_from_creating() -> Weight;50 fn transfer_from_removing() -> Weight;51 fn transfer_from_creating_removing() -> Weight;52 fn burn_from() -> Weight;53 fn set_token_property_permissions(b: u32, ) -> Weight;54 fn set_token_properties(b: u32, ) -> Weight;55 fn delete_token_properties(b: u32, ) -> Weight;56 fn repartition_item() -> Weight;57 fn token_owner() -> Weight;58 fn set_allowance_for_all() -> Weight;59 fn allowance_for_all() -> Weight;60 fn repair_item() -> Weight;61}6263/// Weights for pallet_refungible using the Substrate node and recommended hardware.64pub struct SubstrateWeight<T>(PhantomData<T>);65impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {66 // Storage: Refungible TokensMinted (r:1 w:1)67 // Storage: Refungible AccountBalance (r:1 w:1)68 // Storage: Refungible Balance (r:0 w:1)69 // Storage: Refungible TotalSupply (r:0 w:1)70 // Storage: Refungible Owned (r:0 w:1)71 fn create_item() -> Weight {72 Weight::from_ref_time(29_527_000)73 .saturating_add(T::DbWeight::get().reads(2 as u64))74 .saturating_add(T::DbWeight::get().writes(5 as u64))75 }76 // Storage: Refungible TokensMinted (r:1 w:1)77 // Storage: Refungible AccountBalance (r:1 w:1)78 // Storage: Refungible Balance (r:0 w:4)79 // Storage: Refungible TotalSupply (r:0 w:4)80 // Storage: Refungible Owned (r:0 w:4)81 fn create_multiple_items(b: u32, ) -> Weight {82 Weight::from_ref_time(28_541_000)83 // Standard Error: 4_00084 .saturating_add(Weight::from_ref_time(6_671_000).saturating_mul(b as u64))85 .saturating_add(T::DbWeight::get().reads(2 as u64))86 .saturating_add(T::DbWeight::get().writes(2 as u64))87 .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(b as u64)))88 }89 // Storage: Refungible TokensMinted (r:1 w:1)90 // Storage: Refungible AccountBalance (r:4 w:4)91 // Storage: Refungible Balance (r:0 w:4)92 // Storage: Refungible TotalSupply (r:0 w:4)93 // Storage: Refungible Owned (r:0 w:4)94 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {95 Weight::from_ref_time(24_366_000)96 // Standard Error: 5_00097 .saturating_add(Weight::from_ref_time(9_338_000).saturating_mul(b as u64))98 .saturating_add(T::DbWeight::get().reads(1 as u64))99 .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))100 .saturating_add(T::DbWeight::get().writes(1 as u64))101 .saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(b as u64)))102 }103 // Storage: Refungible TokensMinted (r:1 w:1)104 // Storage: Refungible TotalSupply (r:0 w:1)105 // Storage: Refungible AccountBalance (r:4 w:4)106 // Storage: Refungible Balance (r:0 w:4)107 // Storage: Refungible Owned (r:0 w:4)108 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {109 Weight::from_ref_time(27_574_000)110 // Standard Error: 4_000111 .saturating_add(Weight::from_ref_time(7_193_000).saturating_mul(b as u64))112 .saturating_add(T::DbWeight::get().reads(1 as u64))113 .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))114 .saturating_add(T::DbWeight::get().writes(2 as u64))115 .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(b as u64)))116 }117 // Storage: Refungible TotalSupply (r:1 w:1)118 // Storage: Refungible Balance (r:3 w:1)119 // Storage: Refungible AccountBalance (r:1 w:1)120 // Storage: Refungible Owned (r:0 w:1)121 fn burn_item_partial() -> Weight {122 Weight::from_ref_time(42_943_000)123 .saturating_add(T::DbWeight::get().reads(5 as u64))124 .saturating_add(T::DbWeight::get().writes(4 as u64))125 }126 // Storage: Refungible TotalSupply (r:1 w:1)127 // Storage: Refungible Balance (r:1 w:1)128 // Storage: Refungible AccountBalance (r:1 w:1)129 // Storage: Refungible TokensBurnt (r:1 w:1)130 // Storage: Refungible Owned (r:0 w:1)131 // Storage: Refungible TokenProperties (r:0 w:1)132 fn burn_item_fully() -> Weight {133 Weight::from_ref_time(36_861_000)134 .saturating_add(T::DbWeight::get().reads(4 as u64))135 .saturating_add(T::DbWeight::get().writes(6 as u64))136 }137 // Storage: Refungible Balance (r:2 w:2)138 // Storage: Refungible TotalSupply (r:1 w:0)139 fn transfer_normal() -> Weight {140 Weight::from_ref_time(27_789_000)141 .saturating_add(T::DbWeight::get().reads(3 as u64))142 .saturating_add(T::DbWeight::get().writes(2 as u64))143 }144 // Storage: Refungible Balance (r:2 w:2)145 // Storage: Refungible AccountBalance (r:1 w:1)146 // Storage: Refungible TotalSupply (r:1 w:0)147 // Storage: Refungible Owned (r:0 w:1)148 fn transfer_creating() -> Weight {149 Weight::from_ref_time(32_893_000)150 .saturating_add(T::DbWeight::get().reads(4 as u64))151 .saturating_add(T::DbWeight::get().writes(4 as u64))152 }153 // Storage: Refungible Balance (r:2 w:2)154 // Storage: Refungible AccountBalance (r:1 w:1)155 // Storage: Refungible TotalSupply (r:1 w:0)156 // Storage: Refungible Owned (r:0 w:1)157 fn transfer_removing() -> Weight {158 Weight::from_ref_time(34_703_000)159 .saturating_add(T::DbWeight::get().reads(4 as u64))160 .saturating_add(T::DbWeight::get().writes(4 as u64))161 }162 // Storage: Refungible Balance (r:2 w:2)163 // Storage: Refungible AccountBalance (r:2 w:2)164 // Storage: Refungible TotalSupply (r:1 w:0)165 // Storage: Refungible Owned (r:0 w:2)166 fn transfer_creating_removing() -> Weight {167 Weight::from_ref_time(37_547_000)168 .saturating_add(T::DbWeight::get().reads(5 as u64))169 .saturating_add(T::DbWeight::get().writes(6 as u64))170 }171 // Storage: Refungible Balance (r:1 w:0)172 // Storage: Refungible Allowance (r:0 w:1)173 fn approve() -> Weight {174 Weight::from_ref_time(20_039_000)175 .saturating_add(T::DbWeight::get().reads(1 as u64))176 .saturating_add(T::DbWeight::get().writes(1 as u64))177 }178 // Storage: Refungible Allowance (r:1 w:1)179 // Storage: Refungible Balance (r:2 w:2)180 // Storage: Refungible TotalSupply (r:1 w:0)181 fn transfer_from_normal() -> Weight {182 Weight::from_ref_time(37_628_000)183 .saturating_add(T::DbWeight::get().reads(4 as u64))184 .saturating_add(T::DbWeight::get().writes(3 as u64))185 }186 // Storage: Refungible Allowance (r:1 w:1)187 // Storage: Refungible Balance (r:2 w:2)188 // Storage: Refungible AccountBalance (r:1 w:1)189 // Storage: Refungible TotalSupply (r:1 w:0)190 // Storage: Refungible Owned (r:0 w:1)191 fn transfer_from_creating() -> Weight {192 Weight::from_ref_time(42_072_000)193 .saturating_add(T::DbWeight::get().reads(5 as u64))194 .saturating_add(T::DbWeight::get().writes(5 as u64))195 }196 // Storage: Refungible Allowance (r:1 w:1)197 // Storage: Refungible Balance (r:2 w:2)198 // Storage: Refungible AccountBalance (r:1 w:1)199 // Storage: Refungible TotalSupply (r:1 w:0)200 // Storage: Refungible Owned (r:0 w:1)201 fn transfer_from_removing() -> Weight {202 Weight::from_ref_time(43_024_000)203 .saturating_add(T::DbWeight::get().reads(5 as u64))204 .saturating_add(T::DbWeight::get().writes(5 as u64))205 }206 // Storage: Refungible Allowance (r:1 w:1)207 // Storage: Refungible Balance (r:2 w:2)208 // Storage: Refungible AccountBalance (r:2 w:2)209 // Storage: Refungible TotalSupply (r:1 w:0)210 // Storage: Refungible Owned (r:0 w:2)211 fn transfer_from_creating_removing() -> Weight {212 Weight::from_ref_time(45_910_000)213 .saturating_add(T::DbWeight::get().reads(6 as u64))214 .saturating_add(T::DbWeight::get().writes(7 as u64))215 }216 // Storage: Refungible Allowance (r:1 w:1)217 // Storage: Refungible TotalSupply (r:1 w:1)218 // Storage: Refungible Balance (r:1 w:1)219 // Storage: Refungible AccountBalance (r:1 w:1)220 // Storage: Refungible TokensBurnt (r:1 w:1)221 // Storage: Refungible Owned (r:0 w:1)222 // Storage: Refungible TokenProperties (r:0 w:1)223 fn burn_from() -> Weight {224 Weight::from_ref_time(48_584_000)225 .saturating_add(T::DbWeight::get().reads(5 as u64))226 .saturating_add(T::DbWeight::get().writes(7 as u64))227 }228 // Storage: Common CollectionPropertyPermissions (r:1 w:1)229 fn set_token_property_permissions(b: u32, ) -> Weight {230 (Weight::from_ref_time(0))231 // Standard Error: 60_000232 .saturating_add(Weight::from_ref_time(15_533_000).saturating_mul(b as u64))233 .saturating_add(T::DbWeight::get().reads(1 as u64))234 .saturating_add(T::DbWeight::get().writes(1 as u64))235 }236 // Storage: Common CollectionPropertyPermissions (r:1 w:0)237 // Storage: Refungible TokenProperties (r:1 w:1)238 fn set_token_properties(b: u32, ) -> Weight {239 (Weight::from_ref_time(0))240 // Standard Error: 3_609_000241 .saturating_add(Weight::from_ref_time(590_204_000).saturating_mul(b as u64))242 .saturating_add(T::DbWeight::get().reads(2 as u64))243 .saturating_add(T::DbWeight::get().writes(1 as u64))244 }245 // Storage: Common CollectionPropertyPermissions (r:1 w:0)246 // Storage: Refungible TokenProperties (r:1 w:1)247 fn delete_token_properties(b: u32, ) -> Weight {248 (Weight::from_ref_time(0))249 // Standard Error: 3_637_000250 .saturating_add(Weight::from_ref_time(603_468_000).saturating_mul(b as u64))251 .saturating_add(T::DbWeight::get().reads(2 as u64))252 .saturating_add(T::DbWeight::get().writes(1 as u64))253 }254 // Storage: Refungible TotalSupply (r:1 w:1)255 // Storage: Refungible Balance (r:1 w:1)256 fn repartition_item() -> Weight {257 Weight::from_ref_time(22_356_000)258 .saturating_add(T::DbWeight::get().reads(2 as u64))259 .saturating_add(T::DbWeight::get().writes(2 as u64))260 }261 // Storage: Refungible Balance (r:2 w:0)262 fn token_owner() -> Weight {263 Weight::from_ref_time(9_431_000)264 .saturating_add(T::DbWeight::get().reads(2 as u64))265 }266 // Storage: Refungible WalletOperator (r:0 w:1)267 fn set_allowance_for_all() -> Weight {268 Weight::from_ref_time(16_150_000 as u64)269 .saturating_add(T::DbWeight::get().writes(1 as u64))270 }271 // Storage: Refungible WalletOperator (r:1 w:0)272 fn allowance_for_all() -> Weight {273 Weight::from_ref_time(5_901_000 as u64)274 .saturating_add(T::DbWeight::get().reads(1 as u64))275 }276 // Storage: Refungible TokenProperties (r:1 w:1)277 fn repair_item() -> Weight {278 Weight::from_ref_time(5_489_000 as u64)279 .saturating_add(T::DbWeight::get().reads(1 as u64))280 .saturating_add(T::DbWeight::get().writes(1 as u64))281 }282}283284// For backwards compatibility and tests285impl WeightInfo for () {286 // Storage: Refungible TokensMinted (r:1 w:1)287 // Storage: Refungible AccountBalance (r:1 w:1)288 // Storage: Refungible Balance (r:0 w:1)289 // Storage: Refungible TotalSupply (r:0 w:1)290 // Storage: Refungible Owned (r:0 w:1)291 fn create_item() -> Weight {292 Weight::from_ref_time(29_527_000)293 .saturating_add(RocksDbWeight::get().reads(2 as u64))294 .saturating_add(RocksDbWeight::get().writes(5 as u64))295 }296 // Storage: Refungible TokensMinted (r:1 w:1)297 // Storage: Refungible AccountBalance (r:1 w:1)298 // Storage: Refungible Balance (r:0 w:4)299 // Storage: Refungible TotalSupply (r:0 w:4)300 // Storage: Refungible Owned (r:0 w:4)301 fn create_multiple_items(b: u32, ) -> Weight {302 Weight::from_ref_time(28_541_000)303 // Standard Error: 4_000304 .saturating_add(Weight::from_ref_time(6_671_000).saturating_mul(b as u64))305 .saturating_add(RocksDbWeight::get().reads(2 as u64))306 .saturating_add(RocksDbWeight::get().writes(2 as u64))307 .saturating_add(RocksDbWeight::get().writes((3 as u64).saturating_mul(b as u64)))308 }309 // Storage: Refungible TokensMinted (r:1 w:1)310 // Storage: Refungible AccountBalance (r:4 w:4)311 // Storage: Refungible Balance (r:0 w:4)312 // Storage: Refungible TotalSupply (r:0 w:4)313 // Storage: Refungible Owned (r:0 w:4)314 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {315 Weight::from_ref_time(24_366_000)316 // Standard Error: 5_000317 .saturating_add(Weight::from_ref_time(9_338_000).saturating_mul(b as u64))318 .saturating_add(RocksDbWeight::get().reads(1 as u64))319 .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))320 .saturating_add(RocksDbWeight::get().writes(1 as u64))321 .saturating_add(RocksDbWeight::get().writes((4 as u64).saturating_mul(b as u64)))322 }323 // Storage: Refungible TokensMinted (r:1 w:1)324 // Storage: Refungible TotalSupply (r:0 w:1)325 // Storage: Refungible AccountBalance (r:4 w:4)326 // Storage: Refungible Balance (r:0 w:4)327 // Storage: Refungible Owned (r:0 w:4)328 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {329 Weight::from_ref_time(27_574_000)330 // Standard Error: 4_000331 .saturating_add(Weight::from_ref_time(7_193_000).saturating_mul(b as u64))332 .saturating_add(RocksDbWeight::get().reads(1 as u64))333 .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))334 .saturating_add(RocksDbWeight::get().writes(2 as u64))335 .saturating_add(RocksDbWeight::get().writes((3 as u64).saturating_mul(b as u64)))336 }337 // Storage: Refungible TotalSupply (r:1 w:1)338 // Storage: Refungible Balance (r:3 w:1)339 // Storage: Refungible AccountBalance (r:1 w:1)340 // Storage: Refungible Owned (r:0 w:1)341 fn burn_item_partial() -> Weight {342 Weight::from_ref_time(42_943_000)343 .saturating_add(RocksDbWeight::get().reads(5 as u64))344 .saturating_add(RocksDbWeight::get().writes(4 as u64))345 }346 // Storage: Refungible TotalSupply (r:1 w:1)347 // Storage: Refungible Balance (r:1 w:1)348 // Storage: Refungible AccountBalance (r:1 w:1)349 // Storage: Refungible TokensBurnt (r:1 w:1)350 // Storage: Refungible Owned (r:0 w:1)351 // Storage: Refungible TokenProperties (r:0 w:1)352 fn burn_item_fully() -> Weight {353 Weight::from_ref_time(36_861_000)354 .saturating_add(RocksDbWeight::get().reads(4 as u64))355 .saturating_add(RocksDbWeight::get().writes(6 as u64))356 }357 // Storage: Refungible Balance (r:2 w:2)358 // Storage: Refungible TotalSupply (r:1 w:0)359 fn transfer_normal() -> Weight {360 Weight::from_ref_time(27_789_000)361 .saturating_add(RocksDbWeight::get().reads(3 as u64))362 .saturating_add(RocksDbWeight::get().writes(2 as u64))363 }364 // Storage: Refungible Balance (r:2 w:2)365 // Storage: Refungible AccountBalance (r:1 w:1)366 // Storage: Refungible TotalSupply (r:1 w:0)367 // Storage: Refungible Owned (r:0 w:1)368 fn transfer_creating() -> Weight {369 Weight::from_ref_time(32_893_000)370 .saturating_add(RocksDbWeight::get().reads(4 as u64))371 .saturating_add(RocksDbWeight::get().writes(4 as u64))372 }373 // Storage: Refungible Balance (r:2 w:2)374 // Storage: Refungible AccountBalance (r:1 w:1)375 // Storage: Refungible TotalSupply (r:1 w:0)376 // Storage: Refungible Owned (r:0 w:1)377 fn transfer_removing() -> Weight {378 Weight::from_ref_time(34_703_000)379 .saturating_add(RocksDbWeight::get().reads(4 as u64))380 .saturating_add(RocksDbWeight::get().writes(4 as u64))381 }382 // Storage: Refungible Balance (r:2 w:2)383 // Storage: Refungible AccountBalance (r:2 w:2)384 // Storage: Refungible TotalSupply (r:1 w:0)385 // Storage: Refungible Owned (r:0 w:2)386 fn transfer_creating_removing() -> Weight {387 Weight::from_ref_time(37_547_000)388 .saturating_add(RocksDbWeight::get().reads(5 as u64))389 .saturating_add(RocksDbWeight::get().writes(6 as u64))390 }391 // Storage: Refungible Balance (r:1 w:0)392 // Storage: Refungible Allowance (r:0 w:1)393 fn approve() -> Weight {394 Weight::from_ref_time(20_039_000)395 .saturating_add(RocksDbWeight::get().reads(1 as u64))396 .saturating_add(RocksDbWeight::get().writes(1 as u64))397 }398 // Storage: Refungible Allowance (r:1 w:1)399 // Storage: Refungible Balance (r:2 w:2)400 // Storage: Refungible TotalSupply (r:1 w:0)401 fn transfer_from_normal() -> Weight {402 Weight::from_ref_time(37_628_000)403 .saturating_add(RocksDbWeight::get().reads(4 as u64))404 .saturating_add(RocksDbWeight::get().writes(3 as u64))405 }406 // Storage: Refungible Allowance (r:1 w:1)407 // Storage: Refungible Balance (r:2 w:2)408 // Storage: Refungible AccountBalance (r:1 w:1)409 // Storage: Refungible TotalSupply (r:1 w:0)410 // Storage: Refungible Owned (r:0 w:1)411 fn transfer_from_creating() -> Weight {412 Weight::from_ref_time(42_072_000)413 .saturating_add(RocksDbWeight::get().reads(5 as u64))414 .saturating_add(RocksDbWeight::get().writes(5 as u64))415 }416 // Storage: Refungible Allowance (r:1 w:1)417 // Storage: Refungible Balance (r:2 w:2)418 // Storage: Refungible AccountBalance (r:1 w:1)419 // Storage: Refungible TotalSupply (r:1 w:0)420 // Storage: Refungible Owned (r:0 w:1)421 fn transfer_from_removing() -> Weight {422 Weight::from_ref_time(43_024_000)423 .saturating_add(RocksDbWeight::get().reads(5 as u64))424 .saturating_add(RocksDbWeight::get().writes(5 as u64))425 }426 // Storage: Refungible Allowance (r:1 w:1)427 // Storage: Refungible Balance (r:2 w:2)428 // Storage: Refungible AccountBalance (r:2 w:2)429 // Storage: Refungible TotalSupply (r:1 w:0)430 // Storage: Refungible Owned (r:0 w:2)431 fn transfer_from_creating_removing() -> Weight {432 Weight::from_ref_time(45_910_000)433 .saturating_add(RocksDbWeight::get().reads(6 as u64))434 .saturating_add(RocksDbWeight::get().writes(7 as u64))435 }436 // Storage: Refungible Allowance (r:1 w:1)437 // Storage: Refungible TotalSupply (r:1 w:1)438 // Storage: Refungible Balance (r:1 w:1)439 // Storage: Refungible AccountBalance (r:1 w:1)440 // Storage: Refungible TokensBurnt (r:1 w:1)441 // Storage: Refungible Owned (r:0 w:1)442 // Storage: Refungible TokenProperties (r:0 w:1)443 fn burn_from() -> Weight {444 Weight::from_ref_time(48_584_000)445 .saturating_add(RocksDbWeight::get().reads(5 as u64))446 .saturating_add(RocksDbWeight::get().writes(7 as u64))447 }448 // Storage: Common CollectionPropertyPermissions (r:1 w:1)449 fn set_token_property_permissions(b: u32, ) -> Weight {450 (Weight::from_ref_time(0))451 // Standard Error: 60_000452 .saturating_add(Weight::from_ref_time(15_533_000).saturating_mul(b as u64))453 .saturating_add(RocksDbWeight::get().reads(1 as u64))454 .saturating_add(RocksDbWeight::get().writes(1 as u64))455 }456 // Storage: Common CollectionPropertyPermissions (r:1 w:0)457 // Storage: Refungible TokenProperties (r:1 w:1)458 fn set_token_properties(b: u32, ) -> Weight {459 (Weight::from_ref_time(0))460 // Standard Error: 3_609_000461 .saturating_add(Weight::from_ref_time(590_204_000).saturating_mul(b as u64))462 .saturating_add(RocksDbWeight::get().reads(2 as u64))463 .saturating_add(RocksDbWeight::get().writes(1 as u64))464 }465 // Storage: Common CollectionPropertyPermissions (r:1 w:0)466 // Storage: Refungible TokenProperties (r:1 w:1)467 fn delete_token_properties(b: u32, ) -> Weight {468 (Weight::from_ref_time(0))469 // Standard Error: 3_637_000470 .saturating_add(Weight::from_ref_time(603_468_000).saturating_mul(b as u64))471 .saturating_add(RocksDbWeight::get().reads(2 as u64))472 .saturating_add(RocksDbWeight::get().writes(1 as u64))473 }474 // Storage: Refungible TotalSupply (r:1 w:1)475 // Storage: Refungible Balance (r:1 w:1)476 fn repartition_item() -> Weight {477 Weight::from_ref_time(22_356_000)478 .saturating_add(RocksDbWeight::get().reads(2 as u64))479 .saturating_add(RocksDbWeight::get().writes(2 as u64))480 }481 // Storage: Refungible Balance (r:2 w:0)482 fn token_owner() -> Weight {483 Weight::from_ref_time(9_431_000)484 .saturating_add(RocksDbWeight::get().reads(2 as u64))485 }486 // Storage: Refungible WalletOperator (r:0 w:1)487 fn set_allowance_for_all() -> Weight {488 Weight::from_ref_time(16_150_000 as u64)489 .saturating_add(RocksDbWeight::get().writes(1 as u64))490 }491 // Storage: Refungible WalletOperator (r:1 w:0)492 fn allowance_for_all() -> Weight {493 Weight::from_ref_time(5_901_000 as u64)494 .saturating_add(RocksDbWeight::get().reads(1 as u64))495 }496 // Storage: Refungible TokenProperties (r:1 w:1)497 fn repair_item() -> Weight {498 Weight::from_ref_time(5_489_000 as u64)499 .saturating_add(RocksDbWeight::get().reads(1 as u64))500 .saturating_add(RocksDbWeight::get().writes(1 as u64))501 }502}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-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-12-26, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -26,6 +26,7 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
+#![allow(missing_docs)]
#![allow(clippy::unnecessary_cast)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
@@ -42,7 +43,7 @@
// Storage: Common CollectionById (r:1 w:0)
// Storage: Nonfungible TokenData (r:1 w:0)
fn find_parent() -> Weight {
- Weight::from_ref_time(7_180_000)
+ Weight::from_ref_time(11_355_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
}
}
@@ -52,7 +53,7 @@
// Storage: Common CollectionById (r:1 w:0)
// Storage: Nonfungible TokenData (r:1 w:0)
fn find_parent() -> Weight {
- Weight::from_ref_time(7_180_000)
+ Weight::from_ref_time(11_355_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
}
}
pallets/unique/src/benchmarking.rsdiffbeforeafterboth--- a/pallets/unique/src/benchmarking.rs
+++ b/pallets/unique/src/benchmarking.rs
@@ -126,7 +126,7 @@
}: _(RawOrigin::Signed(caller.clone()), collection, false)
- set_collection_limits{
+ set_collection_limits {
let caller: T::AccountId = account("caller", 0, SEED);
let collection = create_nft_collection::<T>(caller.clone())?;
@@ -142,4 +142,9 @@
transfers_enabled: Some(true),
};
}: set_collection_limits(RawOrigin::Signed(caller.clone()), collection, cl)
+
+ force_repair_collection {
+ let caller: T::AccountId = account("caller", 0, SEED);
+ let collection = create_nft_collection::<T>(caller.clone())?;
+ }: _(RawOrigin::Root, collection)
}
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-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-12-26, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -26,6 +26,7 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
+#![allow(missing_docs)]
#![allow(clippy::unnecessary_cast)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
@@ -58,7 +59,7 @@
// Storage: Common CollectionProperties (r:0 w:1)
// Storage: Common CollectionById (r:0 w:1)
fn create_collection() -> Weight {
- Weight::from_ref_time(43_143_000)
+ Weight::from_ref_time(52_640_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
}
@@ -70,27 +71,27 @@
// Storage: Common AdminAmount (r:0 w:1)
// Storage: Common CollectionProperties (r:0 w:1)
fn destroy_collection() -> Weight {
- Weight::from_ref_time(50_188_000)
+ Weight::from_ref_time(63_934_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
}
// Storage: Common CollectionById (r:1 w:0)
// Storage: Common Allowlist (r:0 w:1)
fn add_to_allow_list() -> Weight {
- Weight::from_ref_time(18_238_000)
+ Weight::from_ref_time(31_858_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionById (r:1 w:0)
// Storage: Common Allowlist (r:0 w:1)
fn remove_from_allow_list() -> Weight {
- Weight::from_ref_time(18_084_000)
+ Weight::from_ref_time(27_634_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionById (r:1 w:1)
fn change_collection_owner() -> Weight {
- Weight::from_ref_time(18_265_000)
+ Weight::from_ref_time(25_212_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -98,7 +99,7 @@
// Storage: Common IsAdmin (r:1 w:1)
// Storage: Common AdminAmount (r:1 w:1)
fn add_collection_admin() -> Weight {
- Weight::from_ref_time(23_558_000)
+ Weight::from_ref_time(29_307_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -106,43 +107,43 @@
// Storage: Common IsAdmin (r:1 w:1)
// Storage: Common AdminAmount (r:1 w:1)
fn remove_collection_admin() -> Weight {
- Weight::from_ref_time(25_285_000)
+ Weight::from_ref_time(32_592_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Common CollectionById (r:1 w:1)
fn set_collection_sponsor() -> Weight {
- Weight::from_ref_time(17_885_000)
+ Weight::from_ref_time(25_438_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionById (r:1 w:1)
fn confirm_sponsorship() -> Weight {
- Weight::from_ref_time(17_897_000)
+ Weight::from_ref_time(24_965_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionById (r:1 w:1)
fn remove_collection_sponsor() -> Weight {
- Weight::from_ref_time(17_836_000)
+ Weight::from_ref_time(25_094_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionById (r:1 w:1)
fn set_transfers_enabled_flag() -> Weight {
- Weight::from_ref_time(9_714_000)
+ Weight::from_ref_time(12_800_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionById (r:1 w:1)
fn set_collection_limits() -> Weight {
- Weight::from_ref_time(18_166_000)
+ Weight::from_ref_time(25_908_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionProperties (r:1 w:1)
fn force_repair_collection() -> Weight {
- Weight::from_ref_time(5_701_000 as u64)
+ Weight::from_ref_time(10_598_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -157,7 +158,7 @@
// Storage: Common CollectionProperties (r:0 w:1)
// Storage: Common CollectionById (r:0 w:1)
fn create_collection() -> Weight {
- Weight::from_ref_time(43_143_000)
+ Weight::from_ref_time(52_640_000 as u64)
.saturating_add(RocksDbWeight::get().reads(4 as u64))
.saturating_add(RocksDbWeight::get().writes(6 as u64))
}
@@ -169,27 +170,27 @@
// Storage: Common AdminAmount (r:0 w:1)
// Storage: Common CollectionProperties (r:0 w:1)
fn destroy_collection() -> Weight {
- Weight::from_ref_time(50_188_000)
+ Weight::from_ref_time(63_934_000 as u64)
.saturating_add(RocksDbWeight::get().reads(3 as u64))
.saturating_add(RocksDbWeight::get().writes(6 as u64))
}
// Storage: Common CollectionById (r:1 w:0)
// Storage: Common Allowlist (r:0 w:1)
fn add_to_allow_list() -> Weight {
- Weight::from_ref_time(18_238_000)
+ Weight::from_ref_time(31_858_000 as u64)
.saturating_add(RocksDbWeight::get().reads(1 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionById (r:1 w:0)
// Storage: Common Allowlist (r:0 w:1)
fn remove_from_allow_list() -> Weight {
- Weight::from_ref_time(18_084_000)
+ Weight::from_ref_time(27_634_000 as u64)
.saturating_add(RocksDbWeight::get().reads(1 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionById (r:1 w:1)
fn change_collection_owner() -> Weight {
- Weight::from_ref_time(18_265_000)
+ Weight::from_ref_time(25_212_000 as u64)
.saturating_add(RocksDbWeight::get().reads(1 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
@@ -197,7 +198,7 @@
// Storage: Common IsAdmin (r:1 w:1)
// Storage: Common AdminAmount (r:1 w:1)
fn add_collection_admin() -> Weight {
- Weight::from_ref_time(23_558_000)
+ Weight::from_ref_time(29_307_000 as u64)
.saturating_add(RocksDbWeight::get().reads(3 as u64))
.saturating_add(RocksDbWeight::get().writes(2 as u64))
}
@@ -205,43 +206,43 @@
// Storage: Common IsAdmin (r:1 w:1)
// Storage: Common AdminAmount (r:1 w:1)
fn remove_collection_admin() -> Weight {
- Weight::from_ref_time(25_285_000)
+ Weight::from_ref_time(32_592_000 as u64)
.saturating_add(RocksDbWeight::get().reads(3 as u64))
.saturating_add(RocksDbWeight::get().writes(2 as u64))
}
// Storage: Common CollectionById (r:1 w:1)
fn set_collection_sponsor() -> Weight {
- Weight::from_ref_time(17_885_000)
+ Weight::from_ref_time(25_438_000 as u64)
.saturating_add(RocksDbWeight::get().reads(1 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionById (r:1 w:1)
fn confirm_sponsorship() -> Weight {
- Weight::from_ref_time(17_897_000)
+ Weight::from_ref_time(24_965_000 as u64)
.saturating_add(RocksDbWeight::get().reads(1 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionById (r:1 w:1)
fn remove_collection_sponsor() -> Weight {
- Weight::from_ref_time(17_836_000)
+ Weight::from_ref_time(25_094_000 as u64)
.saturating_add(RocksDbWeight::get().reads(1 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionById (r:1 w:1)
fn set_transfers_enabled_flag() -> Weight {
- Weight::from_ref_time(9_714_000)
+ Weight::from_ref_time(12_800_000 as u64)
.saturating_add(RocksDbWeight::get().reads(1 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionById (r:1 w:1)
fn set_collection_limits() -> Weight {
- Weight::from_ref_time(18_166_000)
+ Weight::from_ref_time(25_908_000 as u64)
.saturating_add(RocksDbWeight::get().reads(1 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Common CollectionProperties (r:1 w:1)
fn force_repair_collection() -> Weight {
- Weight::from_ref_time(5_701_000 as u64)
+ Weight::from_ref_time(10_598_000 as u64)
.saturating_add(RocksDbWeight::get().reads(1 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}