difftreelog
bench weights
in: master
5 files changed
pallets/evm-migration/src/weights.rsdiffbeforeafterboth223//! Autogenerated weights for pallet_evm_migration3//! Autogenerated weights for pallet_evm_migration4//!4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.05//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2021-08-12, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2022-03-01, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1287//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024889// Executed Command:9// Executed Command:10// target/release/unique-collator10// target/release/unique-collator40/// Weights for pallet_evm_migration using the Substrate node and recommended hardware.39/// Weights for pallet_evm_migration using the Substrate node and recommended hardware.41pub struct SubstrateWeight<T>(PhantomData<T>);40pub struct SubstrateWeight<T>(PhantomData<T>);42impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {41impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {42 // Storage: EvmMigration MigrationPending (r:1 w:1)43 // Storage: System Account (r:1 w:0)44 // Storage: EVM AccountCodes (r:1 w:0)43 fn begin() -> Weight {45 fn begin() -> Weight {44 (6_210_000 as Weight)46 (6_918_000 as Weight)45 .saturating_add(T::DbWeight::get().reads(3 as Weight))47 .saturating_add(T::DbWeight::get().reads(3 as Weight))46 .saturating_add(T::DbWeight::get().writes(1 as Weight))48 .saturating_add(T::DbWeight::get().writes(1 as Weight))47 }49 }50 // Storage: EvmMigration MigrationPending (r:1 w:0)51 // Storage: EVM AccountStorages (r:0 w:1)48 fn set_data(b: u32, ) -> Weight {52 fn set_data(b: u32, ) -> Weight {49 (2_926_000 as Weight)53 (3_048_000 as Weight)50 // Standard Error: 4_00054 // Standard Error: 3_00051 .saturating_add((649_000 as Weight).saturating_mul(b as Weight))55 .saturating_add((1_047_000 as Weight).saturating_mul(b as Weight))52 .saturating_add(T::DbWeight::get().reads(1 as Weight))56 .saturating_add(T::DbWeight::get().reads(1 as Weight))53 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))57 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))54 }58 }59 // Storage: EvmMigration MigrationPending (r:1 w:1)60 // Storage: EVM AccountCodes (r:0 w:1)55 fn finish(_b: u32, ) -> Weight {61 fn finish(b: u32, ) -> Weight {56 (4_309_000 as Weight)62 (4_921_000 as Weight)63 // Standard Error: 064 .saturating_add((1_000 as Weight).saturating_mul(b as Weight))57 .saturating_add(T::DbWeight::get().reads(1 as Weight))65 .saturating_add(T::DbWeight::get().reads(1 as Weight))58 .saturating_add(T::DbWeight::get().writes(2 as Weight))66 .saturating_add(T::DbWeight::get().writes(2 as Weight))59 }67 }60}68}616962// For backwards compatibility and tests70// For backwards compatibility and tests63impl WeightInfo for () {71impl WeightInfo for () {72 // Storage: EvmMigration MigrationPending (r:1 w:1)73 // Storage: System Account (r:1 w:0)74 // Storage: EVM AccountCodes (r:1 w:0)64 fn begin() -> Weight {75 fn begin() -> Weight {65 (6_210_000 as Weight)76 (6_918_000 as Weight)66 .saturating_add(RocksDbWeight::get().reads(3 as Weight))77 .saturating_add(RocksDbWeight::get().reads(3 as Weight))67 .saturating_add(RocksDbWeight::get().writes(1 as Weight))78 .saturating_add(RocksDbWeight::get().writes(1 as Weight))68 }79 }80 // Storage: EvmMigration MigrationPending (r:1 w:0)81 // Storage: EVM AccountStorages (r:0 w:1)69 fn set_data(b: u32, ) -> Weight {82 fn set_data(b: u32, ) -> Weight {70 (2_926_000 as Weight)83 (3_048_000 as Weight)71 // Standard Error: 4_00084 // Standard Error: 3_00072 .saturating_add((649_000 as Weight).saturating_mul(b as Weight))85 .saturating_add((1_047_000 as Weight).saturating_mul(b as Weight))73 .saturating_add(RocksDbWeight::get().reads(1 as Weight))86 .saturating_add(RocksDbWeight::get().reads(1 as Weight))74 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))87 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))75 }88 }89 // Storage: EvmMigration MigrationPending (r:1 w:1)90 // Storage: EVM AccountCodes (r:0 w:1)76 fn finish(_b: u32, ) -> Weight {91 fn finish(b: u32, ) -> Weight {77 (4_309_000 as Weight)92 (4_921_000 as Weight)93 // Standard Error: 094 .saturating_add((1_000 as Weight).saturating_mul(b as Weight))78 .saturating_add(RocksDbWeight::get().reads(1 as Weight))95 .saturating_add(RocksDbWeight::get().reads(1 as Weight))79 .saturating_add(RocksDbWeight::get().writes(2 as Weight))96 .saturating_add(RocksDbWeight::get().writes(2 as Weight))80 }97 }pallets/fungible/src/weights.rsdiffbeforeafterboth3//! Autogenerated weights for pallet_fungible3//! Autogenerated weights for pallet_fungible4//!4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2021-10-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2022-03-01, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1287//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024889// Executed Command:9// Executed Command:10// target/release/unique-collator10// target/release/unique-collator44/// Weights for pallet_fungible using the Substrate node and recommended hardware.43/// Weights for pallet_fungible using the Substrate node and recommended hardware.45pub struct SubstrateWeight<T>(PhantomData<T>);44pub struct SubstrateWeight<T>(PhantomData<T>);46impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {45impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {46 // Storage: Fungible TotalSupply (r:1 w:1)47 // Storage: Fungible Balance (r:1 w:1)47 // Storage: Fungible Balance (r:1 w:1)48 // Storage: Fungible TotalSupply (r:0 w:1)49 fn create_item() -> Weight {48 fn create_item() -> Weight {50 (12_069_000 as Weight)49 (15_284_000 as Weight)51 .saturating_add(T::DbWeight::get().reads(1 as Weight))50 .saturating_add(T::DbWeight::get().reads(2 as Weight))52 .saturating_add(T::DbWeight::get().writes(2 as Weight))51 .saturating_add(T::DbWeight::get().writes(2 as Weight))53 }52 }54 // Storage: Fungible TotalSupply (r:1 w:1)53 // Storage: Fungible TotalSupply (r:1 w:1)55 // Storage: Fungible Balance (r:4 w:4)54 // Storage: Fungible Balance (r:4 w:4)56 fn create_multiple_items_ex(b: u32, ) -> Weight {55 fn create_multiple_items_ex(b: u32, ) -> Weight {57 (1_055_000 as Weight)56 (15_044_000 as Weight)58 // Standard Error: 22_00057 // Standard Error: 5_00059 .saturating_add((5_273_000 as Weight).saturating_mul(b as Weight))58 .saturating_add((4_005_000 as Weight).saturating_mul(b as Weight))60 .saturating_add(T::DbWeight::get().reads(1 as Weight))59 .saturating_add(T::DbWeight::get().reads(1 as Weight))61 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))60 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))62 .saturating_add(T::DbWeight::get().writes(1 as Weight))61 .saturating_add(T::DbWeight::get().writes(1 as Weight))65 // Storage: Fungible TotalSupply (r:1 w:1)64 // Storage: Fungible TotalSupply (r:1 w:1)66 // Storage: Fungible Balance (r:1 w:1)65 // Storage: Fungible Balance (r:1 w:1)67 fn burn_item() -> Weight {66 fn burn_item() -> Weight {68 (14_096_000 as Weight)67 (16_814_000 as Weight)69 .saturating_add(T::DbWeight::get().reads(2 as Weight))68 .saturating_add(T::DbWeight::get().reads(2 as Weight))70 .saturating_add(T::DbWeight::get().writes(2 as Weight))69 .saturating_add(T::DbWeight::get().writes(2 as Weight))71 }70 }72 // Storage: Fungible Balance (r:2 w:2)71 // Storage: Fungible Balance (r:2 w:2)73 fn transfer() -> Weight {72 fn transfer() -> Weight {74 (15_436_000 as Weight)73 (18_463_000 as Weight)75 .saturating_add(T::DbWeight::get().reads(2 as Weight))74 .saturating_add(T::DbWeight::get().reads(2 as Weight))76 .saturating_add(T::DbWeight::get().writes(2 as Weight))75 .saturating_add(T::DbWeight::get().writes(2 as Weight))77 }76 }78 // Storage: Fungible Balance (r:1 w:0)77 // Storage: Fungible Balance (r:1 w:0)79 // Storage: Fungible Allowance (r:0 w:1)78 // Storage: Fungible Allowance (r:0 w:1)80 fn approve() -> Weight {79 fn approve() -> Weight {81 (12_867_000 as Weight)80 (15_445_000 as Weight)82 .saturating_add(T::DbWeight::get().reads(1 as Weight))81 .saturating_add(T::DbWeight::get().reads(1 as Weight))83 .saturating_add(T::DbWeight::get().writes(1 as Weight))82 .saturating_add(T::DbWeight::get().writes(1 as Weight))84 }83 }85 // Storage: Fungible Allowance (r:1 w:1)84 // Storage: Fungible Allowance (r:1 w:1)86 // Storage: Fungible Balance (r:2 w:2)85 // Storage: Fungible Balance (r:2 w:2)87 fn transfer_from() -> Weight {86 fn transfer_from() -> Weight {88 (21_462_000 as Weight)87 (26_265_000 as Weight)89 .saturating_add(T::DbWeight::get().reads(3 as Weight))88 .saturating_add(T::DbWeight::get().reads(3 as Weight))90 .saturating_add(T::DbWeight::get().writes(3 as Weight))89 .saturating_add(T::DbWeight::get().writes(3 as Weight))91 }90 }92 // Storage: Fungible Allowance (r:1 w:1)91 // Storage: Fungible Allowance (r:1 w:1)93 // Storage: Fungible TotalSupply (r:1 w:1)92 // Storage: Fungible TotalSupply (r:1 w:1)94 // Storage: Fungible Balance (r:1 w:1)93 // Storage: Fungible Balance (r:1 w:1)95 fn burn_from() -> Weight {94 fn burn_from() -> Weight {96 (55_874_000 as Weight)95 (25_053_000 as Weight)97 .saturating_add(T::DbWeight::get().reads(3 as Weight))96 .saturating_add(T::DbWeight::get().reads(3 as Weight))98 .saturating_add(T::DbWeight::get().writes(3 as Weight))97 .saturating_add(T::DbWeight::get().writes(3 as Weight))99 }98 }100}99}101100102// For backwards compatibility and tests101// For backwards compatibility and tests103impl WeightInfo for () {102impl WeightInfo for () {103 // Storage: Fungible TotalSupply (r:1 w:1)104 // Storage: Fungible Balance (r:1 w:1)104 // Storage: Fungible Balance (r:1 w:1)105 // Storage: Fungible TotalSupply (r:0 w:1)106 fn create_item() -> Weight {105 fn create_item() -> Weight {107 (12_069_000 as Weight)106 (15_284_000 as Weight)108 .saturating_add(RocksDbWeight::get().reads(1 as Weight))107 .saturating_add(RocksDbWeight::get().reads(2 as Weight))109 .saturating_add(RocksDbWeight::get().writes(2 as Weight))108 .saturating_add(RocksDbWeight::get().writes(2 as Weight))110 }109 }111 // Storage: Fungible TotalSupply (r:1 w:1)110 // Storage: Fungible TotalSupply (r:1 w:1)112 // Storage: Fungible Balance (r:4 w:4)111 // Storage: Fungible Balance (r:4 w:4)113 fn create_multiple_items_ex(b: u32, ) -> Weight {112 fn create_multiple_items_ex(b: u32, ) -> Weight {114 (1_055_000 as Weight)113 (15_044_000 as Weight)115 // Standard Error: 22_000114 // Standard Error: 5_000116 .saturating_add((5_273_000 as Weight).saturating_mul(b as Weight))115 .saturating_add((4_005_000 as Weight).saturating_mul(b as Weight))117 .saturating_add(RocksDbWeight::get().reads(1 as Weight))116 .saturating_add(RocksDbWeight::get().reads(1 as Weight))118 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))117 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))119 .saturating_add(RocksDbWeight::get().writes(1 as Weight))118 .saturating_add(RocksDbWeight::get().writes(1 as Weight))122 // Storage: Fungible TotalSupply (r:1 w:1)121 // Storage: Fungible TotalSupply (r:1 w:1)123 // Storage: Fungible Balance (r:1 w:1)122 // Storage: Fungible Balance (r:1 w:1)124 fn burn_item() -> Weight {123 fn burn_item() -> Weight {125 (14_096_000 as Weight)124 (16_814_000 as Weight)126 .saturating_add(RocksDbWeight::get().reads(2 as Weight))125 .saturating_add(RocksDbWeight::get().reads(2 as Weight))127 .saturating_add(RocksDbWeight::get().writes(2 as Weight))126 .saturating_add(RocksDbWeight::get().writes(2 as Weight))128 }127 }129 // Storage: Fungible Balance (r:2 w:2)128 // Storage: Fungible Balance (r:2 w:2)130 fn transfer() -> Weight {129 fn transfer() -> Weight {131 (15_436_000 as Weight)130 (18_463_000 as Weight)132 .saturating_add(RocksDbWeight::get().reads(2 as Weight))131 .saturating_add(RocksDbWeight::get().reads(2 as Weight))133 .saturating_add(RocksDbWeight::get().writes(2 as Weight))132 .saturating_add(RocksDbWeight::get().writes(2 as Weight))134 }133 }135 // Storage: Fungible Balance (r:1 w:0)134 // Storage: Fungible Balance (r:1 w:0)136 // Storage: Fungible Allowance (r:0 w:1)135 // Storage: Fungible Allowance (r:0 w:1)137 fn approve() -> Weight {136 fn approve() -> Weight {138 (12_867_000 as Weight)137 (15_445_000 as Weight)139 .saturating_add(RocksDbWeight::get().reads(1 as Weight))138 .saturating_add(RocksDbWeight::get().reads(1 as Weight))140 .saturating_add(RocksDbWeight::get().writes(1 as Weight))139 .saturating_add(RocksDbWeight::get().writes(1 as Weight))141 }140 }142 // Storage: Fungible Allowance (r:1 w:1)141 // Storage: Fungible Allowance (r:1 w:1)143 // Storage: Fungible Balance (r:2 w:2)142 // Storage: Fungible Balance (r:2 w:2)144 fn transfer_from() -> Weight {143 fn transfer_from() -> Weight {145 (21_462_000 as Weight)144 (26_265_000 as Weight)146 .saturating_add(RocksDbWeight::get().reads(3 as Weight))145 .saturating_add(RocksDbWeight::get().reads(3 as Weight))147 .saturating_add(RocksDbWeight::get().writes(3 as Weight))146 .saturating_add(RocksDbWeight::get().writes(3 as Weight))148 }147 }149 // Storage: Fungible Allowance (r:1 w:1)148 // Storage: Fungible Allowance (r:1 w:1)150 // Storage: Fungible TotalSupply (r:1 w:1)149 // Storage: Fungible TotalSupply (r:1 w:1)151 // Storage: Fungible Balance (r:1 w:1)150 // Storage: Fungible Balance (r:1 w:1)152 fn burn_from() -> Weight {151 fn burn_from() -> Weight {153 (55_874_000 as Weight)152 (25_053_000 as Weight)154 .saturating_add(RocksDbWeight::get().reads(3 as Weight))153 .saturating_add(RocksDbWeight::get().reads(3 as Weight))155 .saturating_add(RocksDbWeight::get().writes(3 as Weight))154 .saturating_add(RocksDbWeight::get().writes(3 as Weight))156 }155 }pallets/nonfungible/src/weights.rsdiffbeforeafterboth3//! Autogenerated weights for pallet_nonfungible3//! Autogenerated weights for pallet_nonfungible4//!4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2021-10-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2022-03-01, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1287//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024889// Executed Command:9// Executed Command:10// target/release/unique-collator10// target/release/unique-collator51 // Storage: Nonfungible TokenData (r:0 w:1)50 // Storage: Nonfungible TokenData (r:0 w:1)52 // Storage: Nonfungible Owned (r:0 w:1)51 // Storage: Nonfungible Owned (r:0 w:1)53 fn create_item() -> Weight {52 fn create_item() -> Weight {54 (16_902_000 as Weight)53 (18_527_000 as Weight)55 .saturating_add(T::DbWeight::get().reads(2 as Weight))54 .saturating_add(T::DbWeight::get().reads(2 as Weight))56 .saturating_add(T::DbWeight::get().writes(4 as Weight))55 .saturating_add(T::DbWeight::get().writes(4 as Weight))57 }56 }60 // Storage: Nonfungible TokenData (r:0 w:4)59 // Storage: Nonfungible TokenData (r:0 w:4)61 // Storage: Nonfungible Owned (r:0 w:4)60 // Storage: Nonfungible Owned (r:0 w:4)62 fn create_multiple_items(b: u32, ) -> Weight {61 fn create_multiple_items(b: u32, ) -> Weight {63 (15_860_000 as Weight)62 (18_877_000 as Weight)64 // Standard Error: 5_00063 // Standard Error: 6_00065 .saturating_add((3_916_000 as Weight).saturating_mul(b as Weight))64 .saturating_add((4_471_000 as Weight).saturating_mul(b as Weight))66 .saturating_add(T::DbWeight::get().reads(2 as Weight))65 .saturating_add(T::DbWeight::get().reads(2 as Weight))67 .saturating_add(T::DbWeight::get().writes(2 as Weight))66 .saturating_add(T::DbWeight::get().writes(2 as Weight))68 .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))67 .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))72 // Storage: Nonfungible TokenData (r:0 w:4)71 // Storage: Nonfungible TokenData (r:0 w:4)73 // Storage: Nonfungible Owned (r:0 w:4)72 // Storage: Nonfungible Owned (r:0 w:4)74 fn create_multiple_items_ex(b: u32, ) -> Weight {73 fn create_multiple_items_ex(b: u32, ) -> Weight {75 (2_090_000 as Weight)74 (10_556_000 as Weight)76 // Standard Error: 10_00075 // Standard Error: 14_00077 .saturating_add((9_230_000 as Weight).saturating_mul(b as Weight))76 .saturating_add((7_291_000 as Weight).saturating_mul(b as Weight))78 .saturating_add(T::DbWeight::get().reads(1 as Weight))77 .saturating_add(T::DbWeight::get().reads(1 as Weight))79 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))78 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))80 .saturating_add(T::DbWeight::get().writes(1 as Weight))79 .saturating_add(T::DbWeight::get().writes(1 as Weight))81 .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))80 .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))82 }81 }83 // Storage: Nonfungible TokenData (r:1 w:1)82 // Storage: Nonfungible TokenData (r:1 w:1)84 // Storage: Nonfungible TokensBurnt (r:1 w:1)83 // Storage: Nonfungible TokensBurnt (r:1 w:1)84 // Storage: Nonfungible AccountBalance (r:1 w:1)85 // Storage: Nonfungible Allowance (r:1 w:0)85 // Storage: Nonfungible Allowance (r:1 w:0)86 // Storage: Nonfungible Owned (r:0 w:1)86 // Storage: Nonfungible Owned (r:0 w:1)87 fn burn_item() -> Weight {87 fn burn_item() -> Weight {88 (17_966_000 as Weight)88 (24_402_000 as Weight)89 .saturating_add(T::DbWeight::get().reads(3 as Weight))89 .saturating_add(T::DbWeight::get().reads(4 as Weight))90 .saturating_add(T::DbWeight::get().writes(3 as Weight))90 .saturating_add(T::DbWeight::get().writes(4 as Weight))91 }91 }92 // Storage: Nonfungible TokenData (r:1 w:1)92 // Storage: Nonfungible TokenData (r:1 w:1)93 // Storage: Nonfungible AccountBalance (r:2 w:2)93 // Storage: Nonfungible AccountBalance (r:2 w:2)94 // Storage: Nonfungible Allowance (r:1 w:0)94 // Storage: Nonfungible Allowance (r:1 w:0)95 // Storage: Nonfungible Owned (r:0 w:2)95 // Storage: Nonfungible Owned (r:0 w:2)96 fn transfer() -> Weight {96 fn transfer() -> Weight {97 (23_886_000 as Weight)97 (27_992_000 as Weight)98 .saturating_add(T::DbWeight::get().reads(4 as Weight))98 .saturating_add(T::DbWeight::get().reads(4 as Weight))99 .saturating_add(T::DbWeight::get().writes(5 as Weight))99 .saturating_add(T::DbWeight::get().writes(5 as Weight))100 }100 }101 // Storage: Nonfungible TokenData (r:1 w:0)101 // Storage: Nonfungible TokenData (r:1 w:0)102 // Storage: Nonfungible Allowance (r:1 w:1)102 // Storage: Nonfungible Allowance (r:1 w:1)103 fn approve() -> Weight {103 fn approve() -> Weight {104 (14_697_000 as Weight)104 (17_838_000 as Weight)105 .saturating_add(T::DbWeight::get().reads(2 as Weight))105 .saturating_add(T::DbWeight::get().reads(2 as Weight))106 .saturating_add(T::DbWeight::get().writes(1 as Weight))106 .saturating_add(T::DbWeight::get().writes(1 as Weight))107 }107 }110 // Storage: Nonfungible AccountBalance (r:2 w:2)110 // Storage: Nonfungible AccountBalance (r:2 w:2)111 // Storage: Nonfungible Owned (r:0 w:2)111 // Storage: Nonfungible Owned (r:0 w:2)112 fn transfer_from() -> Weight {112 fn transfer_from() -> Weight {113 (28_001_000 as Weight)113 (32_410_000 as Weight)114 .saturating_add(T::DbWeight::get().reads(4 as Weight))114 .saturating_add(T::DbWeight::get().reads(4 as Weight))115 .saturating_add(T::DbWeight::get().writes(6 as Weight))115 .saturating_add(T::DbWeight::get().writes(6 as Weight))116 }116 }117 // Storage: Nonfungible Allowance (r:1 w:1)117 // Storage: Nonfungible Allowance (r:1 w:1)118 // Storage: Nonfungible TokenData (r:1 w:1)118 // Storage: Nonfungible TokenData (r:1 w:1)119 // Storage: Nonfungible TokensBurnt (r:1 w:1)119 // Storage: Nonfungible TokensBurnt (r:1 w:1)120 // Storage: Nonfungible AccountBalance (r:1 w:1)120 // Storage: Nonfungible Owned (r:0 w:1)121 // Storage: Nonfungible Owned (r:0 w:1)121 fn burn_from() -> Weight {122 fn burn_from() -> Weight {122 (53_429_000 as Weight)123 (28_496_000 as Weight)123 .saturating_add(T::DbWeight::get().reads(3 as Weight))124 .saturating_add(T::DbWeight::get().reads(4 as Weight))124 .saturating_add(T::DbWeight::get().writes(4 as Weight))125 .saturating_add(T::DbWeight::get().writes(5 as Weight))125 }126 }126 // Storage: Nonfungible TokenData (r:1 w:1)127 // Storage: Nonfungible TokenData (r:1 w:1)127 fn set_variable_metadata(_b: u32, ) -> Weight {128 fn set_variable_metadata(_b: u32, ) -> Weight {128 (6_380_000 as Weight)129 (8_272_000 as Weight)129 .saturating_add(T::DbWeight::get().reads(1 as Weight))130 .saturating_add(T::DbWeight::get().reads(1 as Weight))130 .saturating_add(T::DbWeight::get().writes(1 as Weight))131 .saturating_add(T::DbWeight::get().writes(1 as Weight))131 }132 }138 // Storage: Nonfungible TokenData (r:0 w:1)139 // Storage: Nonfungible TokenData (r:0 w:1)139 // Storage: Nonfungible Owned (r:0 w:1)140 // Storage: Nonfungible Owned (r:0 w:1)140 fn create_item() -> Weight {141 fn create_item() -> Weight {141 (16_902_000 as Weight)142 (18_527_000 as Weight)142 .saturating_add(RocksDbWeight::get().reads(2 as Weight))143 .saturating_add(RocksDbWeight::get().reads(2 as Weight))143 .saturating_add(RocksDbWeight::get().writes(4 as Weight))144 .saturating_add(RocksDbWeight::get().writes(4 as Weight))144 }145 }147 // Storage: Nonfungible TokenData (r:0 w:4)148 // Storage: Nonfungible TokenData (r:0 w:4)148 // Storage: Nonfungible Owned (r:0 w:4)149 // Storage: Nonfungible Owned (r:0 w:4)149 fn create_multiple_items(b: u32, ) -> Weight {150 fn create_multiple_items(b: u32, ) -> Weight {150 (15_860_000 as Weight)151 (18_877_000 as Weight)151 // Standard Error: 5_000152 // Standard Error: 6_000152 .saturating_add((3_916_000 as Weight).saturating_mul(b as Weight))153 .saturating_add((4_471_000 as Weight).saturating_mul(b as Weight))153 .saturating_add(RocksDbWeight::get().reads(2 as Weight))154 .saturating_add(RocksDbWeight::get().reads(2 as Weight))154 .saturating_add(RocksDbWeight::get().writes(2 as Weight))155 .saturating_add(RocksDbWeight::get().writes(2 as Weight))155 .saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))156 .saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))159 // Storage: Nonfungible TokenData (r:0 w:4)160 // Storage: Nonfungible TokenData (r:0 w:4)160 // Storage: Nonfungible Owned (r:0 w:4)161 // Storage: Nonfungible Owned (r:0 w:4)161 fn create_multiple_items_ex(b: u32, ) -> Weight {162 fn create_multiple_items_ex(b: u32, ) -> Weight {162 (2_090_000 as Weight)163 (10_556_000 as Weight)163 // Standard Error: 10_000164 // Standard Error: 14_000164 .saturating_add((9_230_000 as Weight).saturating_mul(b as Weight))165 .saturating_add((7_291_000 as Weight).saturating_mul(b as Weight))165 .saturating_add(RocksDbWeight::get().reads(1 as Weight))166 .saturating_add(RocksDbWeight::get().reads(1 as Weight))166 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))167 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))167 .saturating_add(RocksDbWeight::get().writes(1 as Weight))168 .saturating_add(RocksDbWeight::get().writes(1 as Weight))168 .saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))169 .saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))169 }170 }170 // Storage: Nonfungible TokenData (r:1 w:1)171 // Storage: Nonfungible TokenData (r:1 w:1)171 // Storage: Nonfungible TokensBurnt (r:1 w:1)172 // Storage: Nonfungible TokensBurnt (r:1 w:1)173 // Storage: Nonfungible AccountBalance (r:1 w:1)172 // Storage: Nonfungible Allowance (r:1 w:0)174 // Storage: Nonfungible Allowance (r:1 w:0)173 // Storage: Nonfungible Owned (r:0 w:1)175 // Storage: Nonfungible Owned (r:0 w:1)174 fn burn_item() -> Weight {176 fn burn_item() -> Weight {175 (17_966_000 as Weight)177 (24_402_000 as Weight)176 .saturating_add(RocksDbWeight::get().reads(3 as Weight))178 .saturating_add(RocksDbWeight::get().reads(4 as Weight))177 .saturating_add(RocksDbWeight::get().writes(3 as Weight))179 .saturating_add(RocksDbWeight::get().writes(4 as Weight))178 }180 }179 // Storage: Nonfungible TokenData (r:1 w:1)181 // Storage: Nonfungible TokenData (r:1 w:1)180 // Storage: Nonfungible AccountBalance (r:2 w:2)182 // Storage: Nonfungible AccountBalance (r:2 w:2)181 // Storage: Nonfungible Allowance (r:1 w:0)183 // Storage: Nonfungible Allowance (r:1 w:0)182 // Storage: Nonfungible Owned (r:0 w:2)184 // Storage: Nonfungible Owned (r:0 w:2)183 fn transfer() -> Weight {185 fn transfer() -> Weight {184 (23_886_000 as Weight)186 (27_992_000 as Weight)185 .saturating_add(RocksDbWeight::get().reads(4 as Weight))187 .saturating_add(RocksDbWeight::get().reads(4 as Weight))186 .saturating_add(RocksDbWeight::get().writes(5 as Weight))188 .saturating_add(RocksDbWeight::get().writes(5 as Weight))187 }189 }188 // Storage: Nonfungible TokenData (r:1 w:0)190 // Storage: Nonfungible TokenData (r:1 w:0)189 // Storage: Nonfungible Allowance (r:1 w:1)191 // Storage: Nonfungible Allowance (r:1 w:1)190 fn approve() -> Weight {192 fn approve() -> Weight {191 (14_697_000 as Weight)193 (17_838_000 as Weight)192 .saturating_add(RocksDbWeight::get().reads(2 as Weight))194 .saturating_add(RocksDbWeight::get().reads(2 as Weight))193 .saturating_add(RocksDbWeight::get().writes(1 as Weight))195 .saturating_add(RocksDbWeight::get().writes(1 as Weight))194 }196 }197 // Storage: Nonfungible AccountBalance (r:2 w:2)199 // Storage: Nonfungible AccountBalance (r:2 w:2)198 // Storage: Nonfungible Owned (r:0 w:2)200 // Storage: Nonfungible Owned (r:0 w:2)199 fn transfer_from() -> Weight {201 fn transfer_from() -> Weight {200 (28_001_000 as Weight)202 (32_410_000 as Weight)201 .saturating_add(RocksDbWeight::get().reads(4 as Weight))203 .saturating_add(RocksDbWeight::get().reads(4 as Weight))202 .saturating_add(RocksDbWeight::get().writes(6 as Weight))204 .saturating_add(RocksDbWeight::get().writes(6 as Weight))203 }205 }204 // Storage: Nonfungible Allowance (r:1 w:1)206 // Storage: Nonfungible Allowance (r:1 w:1)205 // Storage: Nonfungible TokenData (r:1 w:1)207 // Storage: Nonfungible TokenData (r:1 w:1)206 // Storage: Nonfungible TokensBurnt (r:1 w:1)208 // Storage: Nonfungible TokensBurnt (r:1 w:1)209 // Storage: Nonfungible AccountBalance (r:1 w:1)207 // Storage: Nonfungible Owned (r:0 w:1)210 // Storage: Nonfungible Owned (r:0 w:1)208 fn burn_from() -> Weight {211 fn burn_from() -> Weight {209 (53_429_000 as Weight)212 (28_496_000 as Weight)210 .saturating_add(RocksDbWeight::get().reads(3 as Weight))213 .saturating_add(RocksDbWeight::get().reads(4 as Weight))211 .saturating_add(RocksDbWeight::get().writes(4 as Weight))214 .saturating_add(RocksDbWeight::get().writes(5 as Weight))212 }215 }213 // Storage: Nonfungible TokenData (r:1 w:1)216 // Storage: Nonfungible TokenData (r:1 w:1)214 fn set_variable_metadata(_b: u32, ) -> Weight {217 fn set_variable_metadata(_b: u32, ) -> Weight {215 (6_380_000 as Weight)218 (8_272_000 as Weight)216 .saturating_add(RocksDbWeight::get().reads(1 as Weight))219 .saturating_add(RocksDbWeight::get().reads(1 as Weight))217 .saturating_add(RocksDbWeight::get().writes(1 as Weight))220 .saturating_add(RocksDbWeight::get().writes(1 as Weight))218 }221 }pallets/refungible/src/weights.rsdiffbeforeafterboth3//! Autogenerated weights for pallet_refungible3//! Autogenerated weights for pallet_refungible4//!4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2021-10-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2022-03-01, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1287//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024889// Executed Command:9// Executed Command:10// target/release/unique-collator10// target/release/unique-collator61 // Storage: Refungible TokenData (r:0 w:1)60 // Storage: Refungible TokenData (r:0 w:1)62 // Storage: Refungible Owned (r:0 w:1)61 // Storage: Refungible Owned (r:0 w:1)63 fn create_item() -> Weight {62 fn create_item() -> Weight {64 (18_681_000 as Weight)63 (21_227_000 as Weight)65 .saturating_add(T::DbWeight::get().reads(2 as Weight))64 .saturating_add(T::DbWeight::get().reads(2 as Weight))66 .saturating_add(T::DbWeight::get().writes(6 as Weight))65 .saturating_add(T::DbWeight::get().writes(6 as Weight))67 }66 }72 // Storage: Refungible TokenData (r:0 w:4)71 // Storage: Refungible TokenData (r:0 w:4)73 // Storage: Refungible Owned (r:0 w:4)72 // Storage: Refungible Owned (r:0 w:4)74 fn create_multiple_items(b: u32, ) -> Weight {73 fn create_multiple_items(b: u32, ) -> Weight {75 (13_869_000 as Weight)74 (25_932_000 as Weight)76 // Standard Error: 28_00075 // Standard Error: 11_00077 .saturating_add((5_611_000 as Weight).saturating_mul(b as Weight))76 .saturating_add((5_730_000 as Weight).saturating_mul(b as Weight))78 .saturating_add(T::DbWeight::get().reads(2 as Weight))77 .saturating_add(T::DbWeight::get().reads(2 as Weight))79 .saturating_add(T::DbWeight::get().writes(2 as Weight))78 .saturating_add(T::DbWeight::get().writes(2 as Weight))80 .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))79 .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))86 // Storage: Refungible TokenData (r:0 w:4)85 // Storage: Refungible TokenData (r:0 w:4)87 // Storage: Refungible Owned (r:0 w:4)86 // Storage: Refungible Owned (r:0 w:4)88 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {87 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {89 (11_953_000 as Weight)88 (18_884_000 as Weight)90 // Standard Error: 27_00089 // Standard Error: 11_00091 .saturating_add((10_775_000 as Weight).saturating_mul(b as Weight))90 .saturating_add((8_489_000 as Weight).saturating_mul(b as Weight))92 .saturating_add(T::DbWeight::get().reads(1 as Weight))91 .saturating_add(T::DbWeight::get().reads(1 as Weight))93 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))92 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))94 .saturating_add(T::DbWeight::get().writes(1 as Weight))93 .saturating_add(T::DbWeight::get().writes(1 as Weight))101 // Storage: Refungible Balance (r:0 w:4)100 // Storage: Refungible Balance (r:0 w:4)102 // Storage: Refungible Owned (r:0 w:4)101 // Storage: Refungible Owned (r:0 w:4)103 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {102 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {104 (0 as Weight)103 (16_515_000 as Weight)105 // Standard Error: 13_000104 // Standard Error: 9_000106 .saturating_add((8_528_000 as Weight).saturating_mul(b as Weight))105 .saturating_add((6_428_000 as Weight).saturating_mul(b as Weight))107 .saturating_add(T::DbWeight::get().reads(1 as Weight))106 .saturating_add(T::DbWeight::get().reads(1 as Weight))108 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))107 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))109 .saturating_add(T::DbWeight::get().writes(3 as Weight))108 .saturating_add(T::DbWeight::get().writes(3 as Weight))114 // Storage: Refungible AccountBalance (r:1 w:1)113 // Storage: Refungible AccountBalance (r:1 w:1)115 // Storage: Refungible Owned (r:0 w:1)114 // Storage: Refungible Owned (r:0 w:1)116 fn burn_item_partial() -> Weight {115 fn burn_item_partial() -> Weight {117 (21_591_000 as Weight)116 (23_855_000 as Weight)118 .saturating_add(T::DbWeight::get().reads(3 as Weight))117 .saturating_add(T::DbWeight::get().reads(3 as Weight))119 .saturating_add(T::DbWeight::get().writes(4 as Weight))118 .saturating_add(T::DbWeight::get().writes(4 as Weight))120 }119 }125 // Storage: Refungible TokenData (r:0 w:1)124 // Storage: Refungible TokenData (r:0 w:1)126 // Storage: Refungible Owned (r:0 w:1)125 // Storage: Refungible Owned (r:0 w:1)127 fn burn_item_fully() -> Weight {126 fn burn_item_fully() -> Weight {128 (29_257_000 as Weight)127 (32_709_000 as Weight)129 .saturating_add(T::DbWeight::get().reads(4 as Weight))128 .saturating_add(T::DbWeight::get().reads(4 as Weight))130 .saturating_add(T::DbWeight::get().writes(6 as Weight))129 .saturating_add(T::DbWeight::get().writes(6 as Weight))131 }130 }132 // Storage: Refungible Balance (r:2 w:2)131 // Storage: Refungible Balance (r:2 w:2)133 fn transfer_normal() -> Weight {132 fn transfer_normal() -> Weight {134 (17_733_000 as Weight)133 (20_001_000 as Weight)135 .saturating_add(T::DbWeight::get().reads(2 as Weight))134 .saturating_add(T::DbWeight::get().reads(2 as Weight))136 .saturating_add(T::DbWeight::get().writes(2 as Weight))135 .saturating_add(T::DbWeight::get().writes(2 as Weight))137 }136 }138 // Storage: Refungible Balance (r:2 w:2)137 // Storage: Refungible Balance (r:2 w:2)139 // Storage: Refungible AccountBalance (r:1 w:1)138 // Storage: Refungible AccountBalance (r:1 w:1)140 // Storage: Refungible Owned (r:0 w:1)139 // Storage: Refungible Owned (r:0 w:1)141 fn transfer_creating() -> Weight {140 fn transfer_creating() -> Weight {142 (20_943_000 as Weight)141 (23_807_000 as Weight)143 .saturating_add(T::DbWeight::get().reads(3 as Weight))142 .saturating_add(T::DbWeight::get().reads(3 as Weight))144 .saturating_add(T::DbWeight::get().writes(4 as Weight))143 .saturating_add(T::DbWeight::get().writes(4 as Weight))145 }144 }146 // Storage: Refungible Balance (r:2 w:2)145 // Storage: Refungible Balance (r:2 w:2)147 // Storage: Refungible AccountBalance (r:1 w:1)146 // Storage: Refungible AccountBalance (r:1 w:1)148 // Storage: Refungible Owned (r:0 w:1)147 // Storage: Refungible Owned (r:0 w:1)149 fn transfer_removing() -> Weight {148 fn transfer_removing() -> Weight {150 (22_406_000 as Weight)149 (25_250_000 as Weight)151 .saturating_add(T::DbWeight::get().reads(3 as Weight))150 .saturating_add(T::DbWeight::get().reads(3 as Weight))152 .saturating_add(T::DbWeight::get().writes(4 as Weight))151 .saturating_add(T::DbWeight::get().writes(4 as Weight))153 }152 }154 // Storage: Refungible Balance (r:2 w:2)153 // Storage: Refungible Balance (r:2 w:2)155 // Storage: Refungible AccountBalance (r:2 w:2)154 // Storage: Refungible AccountBalance (r:2 w:2)156 // Storage: Refungible Owned (r:0 w:2)155 // Storage: Refungible Owned (r:0 w:2)157 fn transfer_creating_removing() -> Weight {156 fn transfer_creating_removing() -> Weight {158 (24_762_000 as Weight)157 (29_423_000 as Weight)159 .saturating_add(T::DbWeight::get().reads(4 as Weight))158 .saturating_add(T::DbWeight::get().reads(4 as Weight))160 .saturating_add(T::DbWeight::get().writes(6 as Weight))159 .saturating_add(T::DbWeight::get().writes(6 as Weight))161 }160 }162 // Storage: Refungible Balance (r:1 w:0)161 // Storage: Refungible Balance (r:1 w:0)163 // Storage: Refungible Allowance (r:0 w:1)162 // Storage: Refungible Allowance (r:0 w:1)164 fn approve() -> Weight {163 fn approve() -> Weight {165 (14_109_000 as Weight)164 (16_546_000 as Weight)166 .saturating_add(T::DbWeight::get().reads(1 as Weight))165 .saturating_add(T::DbWeight::get().reads(1 as Weight))167 .saturating_add(T::DbWeight::get().writes(1 as Weight))166 .saturating_add(T::DbWeight::get().writes(1 as Weight))168 }167 }169 // Storage: Refungible Allowance (r:1 w:1)168 // Storage: Refungible Allowance (r:1 w:1)170 // Storage: Refungible Balance (r:2 w:2)169 // Storage: Refungible Balance (r:2 w:2)171 fn transfer_from_normal() -> Weight {170 fn transfer_from_normal() -> Weight {172 (25_348_000 as Weight)171 (29_661_000 as Weight)173 .saturating_add(T::DbWeight::get().reads(3 as Weight))172 .saturating_add(T::DbWeight::get().reads(3 as Weight))174 .saturating_add(T::DbWeight::get().writes(3 as Weight))173 .saturating_add(T::DbWeight::get().writes(3 as Weight))175 }174 }178 // Storage: Refungible AccountBalance (r:1 w:1)177 // Storage: Refungible AccountBalance (r:1 w:1)179 // Storage: Refungible Owned (r:0 w:1)178 // Storage: Refungible Owned (r:0 w:1)180 fn transfer_from_creating() -> Weight {179 fn transfer_from_creating() -> Weight {181 (28_647_000 as Weight)180 (33_972_000 as Weight)182 .saturating_add(T::DbWeight::get().reads(4 as Weight))181 .saturating_add(T::DbWeight::get().reads(4 as Weight))183 .saturating_add(T::DbWeight::get().writes(5 as Weight))182 .saturating_add(T::DbWeight::get().writes(5 as Weight))184 }183 }187 // Storage: Refungible AccountBalance (r:1 w:1)186 // Storage: Refungible AccountBalance (r:1 w:1)188 // Storage: Refungible Owned (r:0 w:1)187 // Storage: Refungible Owned (r:0 w:1)189 fn transfer_from_removing() -> Weight {188 fn transfer_from_removing() -> Weight {190 (30_472_000 as Weight)189 (35_767_000 as Weight)191 .saturating_add(T::DbWeight::get().reads(4 as Weight))190 .saturating_add(T::DbWeight::get().reads(4 as Weight))192 .saturating_add(T::DbWeight::get().writes(5 as Weight))191 .saturating_add(T::DbWeight::get().writes(5 as Weight))193 }192 }196 // Storage: Refungible AccountBalance (r:2 w:2)195 // Storage: Refungible AccountBalance (r:2 w:2)197 // Storage: Refungible Owned (r:0 w:2)196 // Storage: Refungible Owned (r:0 w:2)198 fn transfer_from_creating_removing() -> Weight {197 fn transfer_from_creating_removing() -> Weight {199 (32_362_000 as Weight)198 (38_449_000 as Weight)200 .saturating_add(T::DbWeight::get().reads(5 as Weight))199 .saturating_add(T::DbWeight::get().reads(5 as Weight))201 .saturating_add(T::DbWeight::get().writes(7 as Weight))200 .saturating_add(T::DbWeight::get().writes(7 as Weight))202 }201 }208 // Storage: Refungible TokenData (r:0 w:1)207 // Storage: Refungible TokenData (r:0 w:1)209 // Storage: Refungible Owned (r:0 w:1)208 // Storage: Refungible Owned (r:0 w:1)210 fn burn_from() -> Weight {209 fn burn_from() -> Weight {211 (60_903_000 as Weight)210 (43_547_000 as Weight)212 .saturating_add(T::DbWeight::get().reads(5 as Weight))211 .saturating_add(T::DbWeight::get().reads(5 as Weight))213 .saturating_add(T::DbWeight::get().writes(7 as Weight))212 .saturating_add(T::DbWeight::get().writes(7 as Weight))214 }213 }215 // Storage: Refungible TokenData (r:1 w:1)214 // Storage: Refungible TokenData (r:1 w:1)216 fn set_variable_metadata(_b: u32, ) -> Weight {215 fn set_variable_metadata(_b: u32, ) -> Weight {217 (6_801_000 as Weight)216 (7_790_000 as Weight)218 .saturating_add(T::DbWeight::get().reads(1 as Weight))217 .saturating_add(T::DbWeight::get().reads(1 as Weight))219 .saturating_add(T::DbWeight::get().writes(1 as Weight))218 .saturating_add(T::DbWeight::get().writes(1 as Weight))220 }219 }229 // Storage: Refungible TokenData (r:0 w:1)228 // Storage: Refungible TokenData (r:0 w:1)230 // Storage: Refungible Owned (r:0 w:1)229 // Storage: Refungible Owned (r:0 w:1)231 fn create_item() -> Weight {230 fn create_item() -> Weight {232 (18_681_000 as Weight)231 (21_227_000 as Weight)233 .saturating_add(RocksDbWeight::get().reads(2 as Weight))232 .saturating_add(RocksDbWeight::get().reads(2 as Weight))234 .saturating_add(RocksDbWeight::get().writes(6 as Weight))233 .saturating_add(RocksDbWeight::get().writes(6 as Weight))235 }234 }240 // Storage: Refungible TokenData (r:0 w:4)239 // Storage: Refungible TokenData (r:0 w:4)241 // Storage: Refungible Owned (r:0 w:4)240 // Storage: Refungible Owned (r:0 w:4)242 fn create_multiple_items(b: u32, ) -> Weight {241 fn create_multiple_items(b: u32, ) -> Weight {243 (13_869_000 as Weight)242 (25_932_000 as Weight)244 // Standard Error: 28_000243 // Standard Error: 11_000245 .saturating_add((5_611_000 as Weight).saturating_mul(b as Weight))244 .saturating_add((5_730_000 as Weight).saturating_mul(b as Weight))246 .saturating_add(RocksDbWeight::get().reads(2 as Weight))245 .saturating_add(RocksDbWeight::get().reads(2 as Weight))247 .saturating_add(RocksDbWeight::get().writes(2 as Weight))246 .saturating_add(RocksDbWeight::get().writes(2 as Weight))248 .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))247 .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))254 // Storage: Refungible TokenData (r:0 w:4)253 // Storage: Refungible TokenData (r:0 w:4)255 // Storage: Refungible Owned (r:0 w:4)254 // Storage: Refungible Owned (r:0 w:4)256 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {255 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {257 (11_953_000 as Weight)256 (18_884_000 as Weight)258 // Standard Error: 27_000257 // Standard Error: 11_000259 .saturating_add((10_775_000 as Weight).saturating_mul(b as Weight))258 .saturating_add((8_489_000 as Weight).saturating_mul(b as Weight))260 .saturating_add(RocksDbWeight::get().reads(1 as Weight))259 .saturating_add(RocksDbWeight::get().reads(1 as Weight))261 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))260 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))262 .saturating_add(RocksDbWeight::get().writes(1 as Weight))261 .saturating_add(RocksDbWeight::get().writes(1 as Weight))269 // Storage: Refungible Balance (r:0 w:4)268 // Storage: Refungible Balance (r:0 w:4)270 // Storage: Refungible Owned (r:0 w:4)269 // Storage: Refungible Owned (r:0 w:4)271 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {270 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {272 (0 as Weight)271 (16_515_000 as Weight)273 // Standard Error: 13_000272 // Standard Error: 9_000274 .saturating_add((8_528_000 as Weight).saturating_mul(b as Weight))273 .saturating_add((6_428_000 as Weight).saturating_mul(b as Weight))275 .saturating_add(RocksDbWeight::get().reads(1 as Weight))274 .saturating_add(RocksDbWeight::get().reads(1 as Weight))276 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))275 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))277 .saturating_add(RocksDbWeight::get().writes(3 as Weight))276 .saturating_add(RocksDbWeight::get().writes(3 as Weight))282 // Storage: Refungible AccountBalance (r:1 w:1)281 // Storage: Refungible AccountBalance (r:1 w:1)283 // Storage: Refungible Owned (r:0 w:1)282 // Storage: Refungible Owned (r:0 w:1)284 fn burn_item_partial() -> Weight {283 fn burn_item_partial() -> Weight {285 (21_591_000 as Weight)284 (23_855_000 as Weight)286 .saturating_add(RocksDbWeight::get().reads(3 as Weight))285 .saturating_add(RocksDbWeight::get().reads(3 as Weight))287 .saturating_add(RocksDbWeight::get().writes(4 as Weight))286 .saturating_add(RocksDbWeight::get().writes(4 as Weight))288 }287 }293 // Storage: Refungible TokenData (r:0 w:1)292 // Storage: Refungible TokenData (r:0 w:1)294 // Storage: Refungible Owned (r:0 w:1)293 // Storage: Refungible Owned (r:0 w:1)295 fn burn_item_fully() -> Weight {294 fn burn_item_fully() -> Weight {296 (29_257_000 as Weight)295 (32_709_000 as Weight)297 .saturating_add(RocksDbWeight::get().reads(4 as Weight))296 .saturating_add(RocksDbWeight::get().reads(4 as Weight))298 .saturating_add(RocksDbWeight::get().writes(6 as Weight))297 .saturating_add(RocksDbWeight::get().writes(6 as Weight))299 }298 }300 // Storage: Refungible Balance (r:2 w:2)299 // Storage: Refungible Balance (r:2 w:2)301 fn transfer_normal() -> Weight {300 fn transfer_normal() -> Weight {302 (17_733_000 as Weight)301 (20_001_000 as Weight)303 .saturating_add(RocksDbWeight::get().reads(2 as Weight))302 .saturating_add(RocksDbWeight::get().reads(2 as Weight))304 .saturating_add(RocksDbWeight::get().writes(2 as Weight))303 .saturating_add(RocksDbWeight::get().writes(2 as Weight))305 }304 }306 // Storage: Refungible Balance (r:2 w:2)305 // Storage: Refungible Balance (r:2 w:2)307 // Storage: Refungible AccountBalance (r:1 w:1)306 // Storage: Refungible AccountBalance (r:1 w:1)308 // Storage: Refungible Owned (r:0 w:1)307 // Storage: Refungible Owned (r:0 w:1)309 fn transfer_creating() -> Weight {308 fn transfer_creating() -> Weight {310 (20_943_000 as Weight)309 (23_807_000 as Weight)311 .saturating_add(RocksDbWeight::get().reads(3 as Weight))310 .saturating_add(RocksDbWeight::get().reads(3 as Weight))312 .saturating_add(RocksDbWeight::get().writes(4 as Weight))311 .saturating_add(RocksDbWeight::get().writes(4 as Weight))313 }312 }314 // Storage: Refungible Balance (r:2 w:2)313 // Storage: Refungible Balance (r:2 w:2)315 // Storage: Refungible AccountBalance (r:1 w:1)314 // Storage: Refungible AccountBalance (r:1 w:1)316 // Storage: Refungible Owned (r:0 w:1)315 // Storage: Refungible Owned (r:0 w:1)317 fn transfer_removing() -> Weight {316 fn transfer_removing() -> Weight {318 (22_406_000 as Weight)317 (25_250_000 as Weight)319 .saturating_add(RocksDbWeight::get().reads(3 as Weight))318 .saturating_add(RocksDbWeight::get().reads(3 as Weight))320 .saturating_add(RocksDbWeight::get().writes(4 as Weight))319 .saturating_add(RocksDbWeight::get().writes(4 as Weight))321 }320 }322 // Storage: Refungible Balance (r:2 w:2)321 // Storage: Refungible Balance (r:2 w:2)323 // Storage: Refungible AccountBalance (r:2 w:2)322 // Storage: Refungible AccountBalance (r:2 w:2)324 // Storage: Refungible Owned (r:0 w:2)323 // Storage: Refungible Owned (r:0 w:2)325 fn transfer_creating_removing() -> Weight {324 fn transfer_creating_removing() -> Weight {326 (24_762_000 as Weight)325 (29_423_000 as Weight)327 .saturating_add(RocksDbWeight::get().reads(4 as Weight))326 .saturating_add(RocksDbWeight::get().reads(4 as Weight))328 .saturating_add(RocksDbWeight::get().writes(6 as Weight))327 .saturating_add(RocksDbWeight::get().writes(6 as Weight))329 }328 }330 // Storage: Refungible Balance (r:1 w:0)329 // Storage: Refungible Balance (r:1 w:0)331 // Storage: Refungible Allowance (r:0 w:1)330 // Storage: Refungible Allowance (r:0 w:1)332 fn approve() -> Weight {331 fn approve() -> Weight {333 (14_109_000 as Weight)332 (16_546_000 as Weight)334 .saturating_add(RocksDbWeight::get().reads(1 as Weight))333 .saturating_add(RocksDbWeight::get().reads(1 as Weight))335 .saturating_add(RocksDbWeight::get().writes(1 as Weight))334 .saturating_add(RocksDbWeight::get().writes(1 as Weight))336 }335 }337 // Storage: Refungible Allowance (r:1 w:1)336 // Storage: Refungible Allowance (r:1 w:1)338 // Storage: Refungible Balance (r:2 w:2)337 // Storage: Refungible Balance (r:2 w:2)339 fn transfer_from_normal() -> Weight {338 fn transfer_from_normal() -> Weight {340 (25_348_000 as Weight)339 (29_661_000 as Weight)341 .saturating_add(RocksDbWeight::get().reads(3 as Weight))340 .saturating_add(RocksDbWeight::get().reads(3 as Weight))342 .saturating_add(RocksDbWeight::get().writes(3 as Weight))341 .saturating_add(RocksDbWeight::get().writes(3 as Weight))343 }342 }346 // Storage: Refungible AccountBalance (r:1 w:1)345 // Storage: Refungible AccountBalance (r:1 w:1)347 // Storage: Refungible Owned (r:0 w:1)346 // Storage: Refungible Owned (r:0 w:1)348 fn transfer_from_creating() -> Weight {347 fn transfer_from_creating() -> Weight {349 (28_647_000 as Weight)348 (33_972_000 as Weight)350 .saturating_add(RocksDbWeight::get().reads(4 as Weight))349 .saturating_add(RocksDbWeight::get().reads(4 as Weight))351 .saturating_add(RocksDbWeight::get().writes(5 as Weight))350 .saturating_add(RocksDbWeight::get().writes(5 as Weight))352 }351 }355 // Storage: Refungible AccountBalance (r:1 w:1)354 // Storage: Refungible AccountBalance (r:1 w:1)356 // Storage: Refungible Owned (r:0 w:1)355 // Storage: Refungible Owned (r:0 w:1)357 fn transfer_from_removing() -> Weight {356 fn transfer_from_removing() -> Weight {358 (30_472_000 as Weight)357 (35_767_000 as Weight)359 .saturating_add(RocksDbWeight::get().reads(4 as Weight))358 .saturating_add(RocksDbWeight::get().reads(4 as Weight))360 .saturating_add(RocksDbWeight::get().writes(5 as Weight))359 .saturating_add(RocksDbWeight::get().writes(5 as Weight))361 }360 }364 // Storage: Refungible AccountBalance (r:2 w:2)363 // Storage: Refungible AccountBalance (r:2 w:2)365 // Storage: Refungible Owned (r:0 w:2)364 // Storage: Refungible Owned (r:0 w:2)366 fn transfer_from_creating_removing() -> Weight {365 fn transfer_from_creating_removing() -> Weight {367 (32_362_000 as Weight)366 (38_449_000 as Weight)368 .saturating_add(RocksDbWeight::get().reads(5 as Weight))367 .saturating_add(RocksDbWeight::get().reads(5 as Weight))369 .saturating_add(RocksDbWeight::get().writes(7 as Weight))368 .saturating_add(RocksDbWeight::get().writes(7 as Weight))370 }369 }376 // Storage: Refungible TokenData (r:0 w:1)375 // Storage: Refungible TokenData (r:0 w:1)377 // Storage: Refungible Owned (r:0 w:1)376 // Storage: Refungible Owned (r:0 w:1)378 fn burn_from() -> Weight {377 fn burn_from() -> Weight {379 (60_903_000 as Weight)378 (43_547_000 as Weight)380 .saturating_add(RocksDbWeight::get().reads(5 as Weight))379 .saturating_add(RocksDbWeight::get().reads(5 as Weight))381 .saturating_add(RocksDbWeight::get().writes(7 as Weight))380 .saturating_add(RocksDbWeight::get().writes(7 as Weight))382 }381 }383 // Storage: Refungible TokenData (r:1 w:1)382 // Storage: Refungible TokenData (r:1 w:1)384 fn set_variable_metadata(_b: u32, ) -> Weight {383 fn set_variable_metadata(_b: u32, ) -> Weight {385 (6_801_000 as Weight)384 (7_790_000 as Weight)386 .saturating_add(RocksDbWeight::get().reads(1 as Weight))385 .saturating_add(RocksDbWeight::get().reads(1 as Weight))387 .saturating_add(RocksDbWeight::get().writes(1 as Weight))386 .saturating_add(RocksDbWeight::get().writes(1 as Weight))388 }387 }pallets/unique/src/weights.rsdiffbeforeafterboth3//! Autogenerated weights for pallet_unique3//! Autogenerated weights for pallet_unique4//!4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2021-10-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2022-03-01, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1287//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024889// Executed Command:9// Executed Command:10// target/release/unique-collator10// target/release/unique-collator61 // Storage: System Account (r:2 w:2)60 // Storage: System Account (r:2 w:2)62 // Storage: Common CollectionById (r:0 w:1)61 // Storage: Common CollectionById (r:0 w:1)63 fn create_collection() -> Weight {62 fn create_collection() -> Weight {64 (23_803_000 as Weight)63 (29_550_000 as Weight)65 .saturating_add(T::DbWeight::get().reads(4 as Weight))64 .saturating_add(T::DbWeight::get().reads(4 as Weight))66 .saturating_add(T::DbWeight::get().writes(4 as Weight))65 .saturating_add(T::DbWeight::get().writes(4 as Weight))67 }66 }68 // Storage: Common CollectionById (r:1 w:1)67 // Storage: Common CollectionById (r:1 w:1)69 // Storage: Common DestroyedCollectionCount (r:1 w:1)68 // Storage: Common DestroyedCollectionCount (r:1 w:1)70 // Storage: Nonfungible TokensMinted (r:0 w:1)69 // Storage: Nonfungible TokensMinted (r:0 w:1)71 // Storage: Nonfungible TokensBurnt (r:0 w:1)70 // Storage: Nonfungible TokensBurnt (r:0 w:1)71 // Storage: Common AdminAmount (r:0 w:1)72 fn destroy_collection() -> Weight {72 fn destroy_collection() -> Weight {73 (27_831_000 as Weight)73 (40_838_000 as Weight)74 .saturating_add(T::DbWeight::get().reads(2 as Weight))74 .saturating_add(T::DbWeight::get().reads(2 as Weight))75 .saturating_add(T::DbWeight::get().writes(4 as Weight))75 .saturating_add(T::DbWeight::get().writes(5 as Weight))76 }76 }77 // Storage: Common CollectionById (r:1 w:0)77 // Storage: Common CollectionById (r:1 w:0)78 // Storage: Common Allowlist (r:0 w:1)78 // Storage: Common Allowlist (r:0 w:1)79 fn add_to_allow_list() -> Weight {79 fn add_to_allow_list() -> Weight {80 (6_629_000 as Weight)80 (15_331_000 as Weight)81 .saturating_add(T::DbWeight::get().reads(1 as Weight))81 .saturating_add(T::DbWeight::get().reads(1 as Weight))82 .saturating_add(T::DbWeight::get().writes(1 as Weight))82 .saturating_add(T::DbWeight::get().writes(1 as Weight))83 }83 }84 // Storage: Common CollectionById (r:1 w:0)84 // Storage: Common CollectionById (r:1 w:0)85 // Storage: Common Allowlist (r:0 w:1)85 // Storage: Common Allowlist (r:0 w:1)86 fn remove_from_allow_list() -> Weight {86 fn remove_from_allow_list() -> Weight {87 (6_596_000 as Weight)87 (16_706_000 as Weight)88 .saturating_add(T::DbWeight::get().reads(1 as Weight))88 .saturating_add(T::DbWeight::get().reads(1 as Weight))89 .saturating_add(T::DbWeight::get().writes(1 as Weight))89 .saturating_add(T::DbWeight::get().writes(1 as Weight))90 }90 }91 // Storage: Common CollectionById (r:1 w:1)91 // Storage: Common CollectionById (r:1 w:1)92 fn set_public_access_mode() -> Weight {92 fn set_public_access_mode() -> Weight {93 (6_338_000 as Weight)93 (16_189_000 as Weight)94 .saturating_add(T::DbWeight::get().reads(1 as Weight))94 .saturating_add(T::DbWeight::get().reads(1 as Weight))95 .saturating_add(T::DbWeight::get().writes(1 as Weight))95 .saturating_add(T::DbWeight::get().writes(1 as Weight))96 }96 }97 // Storage: Common CollectionById (r:1 w:1)97 // Storage: Common CollectionById (r:1 w:1)98 fn set_mint_permission() -> Weight {98 fn set_mint_permission() -> Weight {99 (6_383_000 as Weight)99 (16_072_000 as Weight)100 .saturating_add(T::DbWeight::get().reads(1 as Weight))100 .saturating_add(T::DbWeight::get().reads(1 as Weight))101 .saturating_add(T::DbWeight::get().writes(1 as Weight))101 .saturating_add(T::DbWeight::get().writes(1 as Weight))102 }102 }103 // Storage: Common CollectionById (r:1 w:1)103 // Storage: Common CollectionById (r:1 w:1)104 fn change_collection_owner() -> Weight {104 fn change_collection_owner() -> Weight {105 (6_493_000 as Weight)105 (14_929_000 as Weight)106 .saturating_add(T::DbWeight::get().reads(1 as Weight))106 .saturating_add(T::DbWeight::get().reads(1 as Weight))107 .saturating_add(T::DbWeight::get().writes(1 as Weight))107 .saturating_add(T::DbWeight::get().writes(1 as Weight))108 }108 }109 // Storage: Common CollectionById (r:1 w:0)109 // Storage: Common CollectionById (r:1 w:0)110 // Storage: Common IsAdmin (r:0 w:1)110 // Storage: Common IsAdmin (r:1 w:1)111 // Storage: Common AdminAmount (r:1 w:1)111 fn add_collection_admin() -> Weight {112 fn add_collection_admin() -> Weight {112 (6_850_000 as Weight)113 (19_262_000 as Weight)113 .saturating_add(T::DbWeight::get().reads(1 as Weight))114 .saturating_add(T::DbWeight::get().reads(3 as Weight))114 .saturating_add(T::DbWeight::get().writes(1 as Weight))115 .saturating_add(T::DbWeight::get().writes(2 as Weight))115 }116 }116 // Storage: Common CollectionById (r:1 w:0)117 // Storage: Common CollectionById (r:1 w:0)117 // Storage: Common IsAdmin (r:0 w:1)118 // Storage: Common IsAdmin (r:1 w:1)119 // Storage: Common AdminAmount (r:1 w:1)118 fn remove_collection_admin() -> Weight {120 fn remove_collection_admin() -> Weight {119 (6_615_000 as Weight)121 (21_024_000 as Weight)120 .saturating_add(T::DbWeight::get().reads(1 as Weight))122 .saturating_add(T::DbWeight::get().reads(3 as Weight))121 .saturating_add(T::DbWeight::get().writes(1 as Weight))123 .saturating_add(T::DbWeight::get().writes(2 as Weight))122 }124 }123 // Storage: Common CollectionById (r:1 w:1)125 // Storage: Common CollectionById (r:1 w:1)124 fn set_collection_sponsor() -> Weight {126 fn set_collection_sponsor() -> Weight {125 (6_430_000 as Weight)127 (15_600_000 as Weight)126 .saturating_add(T::DbWeight::get().reads(1 as Weight))128 .saturating_add(T::DbWeight::get().reads(1 as Weight))127 .saturating_add(T::DbWeight::get().writes(1 as Weight))129 .saturating_add(T::DbWeight::get().writes(1 as Weight))128 }130 }129 // Storage: Common CollectionById (r:1 w:1)131 // Storage: Common CollectionById (r:1 w:1)130 fn confirm_sponsorship() -> Weight {132 fn confirm_sponsorship() -> Weight {131 (6_125_000 as Weight)133 (15_153_000 as Weight)132 .saturating_add(T::DbWeight::get().reads(1 as Weight))134 .saturating_add(T::DbWeight::get().reads(1 as Weight))133 .saturating_add(T::DbWeight::get().writes(1 as Weight))135 .saturating_add(T::DbWeight::get().writes(1 as Weight))134 }136 }135 // Storage: Common CollectionById (r:1 w:1)137 // Storage: Common CollectionById (r:1 w:1)136 fn remove_collection_sponsor() -> Weight {138 fn remove_collection_sponsor() -> Weight {137 (6_236_000 as Weight)139 (14_929_000 as Weight)138 .saturating_add(T::DbWeight::get().reads(1 as Weight))140 .saturating_add(T::DbWeight::get().reads(1 as Weight))139 .saturating_add(T::DbWeight::get().writes(1 as Weight))141 .saturating_add(T::DbWeight::get().writes(1 as Weight))140 }142 }141 // Storage: Common CollectionById (r:1 w:1)143 // Storage: Common CollectionById (r:1 w:1)142 fn set_transfers_enabled_flag() -> Weight {144 fn set_transfers_enabled_flag() -> Weight {143 (6_500_000 as Weight)145 (7_856_000 as Weight)144 .saturating_add(T::DbWeight::get().reads(1 as Weight))146 .saturating_add(T::DbWeight::get().reads(1 as Weight))145 .saturating_add(T::DbWeight::get().writes(1 as Weight))147 .saturating_add(T::DbWeight::get().writes(1 as Weight))146 }148 }147 // Storage: Common CollectionById (r:1 w:1)149 // Storage: Common CollectionById (r:1 w:1)148 fn set_offchain_schema(_b: u32, ) -> Weight {150 fn set_offchain_schema(_b: u32, ) -> Weight {149 (6_538_000 as Weight)151 (15_790_000 as Weight)150 .saturating_add(T::DbWeight::get().reads(1 as Weight))152 .saturating_add(T::DbWeight::get().reads(1 as Weight))151 .saturating_add(T::DbWeight::get().writes(1 as Weight))153 .saturating_add(T::DbWeight::get().writes(1 as Weight))152 }154 }153 // Storage: Common CollectionById (r:1 w:1)155 // Storage: Common CollectionById (r:1 w:1)154 fn set_const_on_chain_schema(_b: u32, ) -> Weight {156 fn set_const_on_chain_schema(_b: u32, ) -> Weight {155 (6_542_000 as Weight)157 (15_775_000 as Weight)156 .saturating_add(T::DbWeight::get().reads(1 as Weight))158 .saturating_add(T::DbWeight::get().reads(1 as Weight))157 .saturating_add(T::DbWeight::get().writes(1 as Weight))159 .saturating_add(T::DbWeight::get().writes(1 as Weight))158 }160 }159 // Storage: Common CollectionById (r:1 w:1)161 // Storage: Common CollectionById (r:1 w:1)160 fn set_variable_on_chain_schema(b: u32, ) -> Weight {162 fn set_variable_on_chain_schema(_b: u32, ) -> Weight {161 (6_092_000 as Weight)163 (15_788_000 as Weight)162 // Standard Error: 0163 .saturating_add((2_000 as Weight).saturating_mul(b as Weight))164 .saturating_add(T::DbWeight::get().reads(1 as Weight))164 .saturating_add(T::DbWeight::get().reads(1 as Weight))165 .saturating_add(T::DbWeight::get().writes(1 as Weight))165 .saturating_add(T::DbWeight::get().writes(1 as Weight))166 }166 }167 // Storage: Common CollectionById (r:1 w:1)167 // Storage: Common CollectionById (r:1 w:1)168 fn set_schema_version() -> Weight {168 fn set_schema_version() -> Weight {169 (6_470_000 as Weight)169 (15_148_000 as Weight)170 .saturating_add(T::DbWeight::get().reads(1 as Weight))170 .saturating_add(T::DbWeight::get().reads(1 as Weight))171 .saturating_add(T::DbWeight::get().writes(1 as Weight))171 .saturating_add(T::DbWeight::get().writes(1 as Weight))172 }172 }173 // Storage: Common CollectionById (r:1 w:1)173 // Storage: Common CollectionById (r:1 w:1)174 fn set_collection_limits() -> Weight {174 fn set_collection_limits() -> Weight {175 (6_841_000 as Weight)175 (15_811_000 as Weight)176 .saturating_add(T::DbWeight::get().reads(1 as Weight))176 .saturating_add(T::DbWeight::get().reads(1 as Weight))177 .saturating_add(T::DbWeight::get().writes(1 as Weight))177 .saturating_add(T::DbWeight::get().writes(1 as Weight))178 }178 }179 // Storage: Common CollectionById (r:1 w:1)179 // Storage: Common CollectionById (r:1 w:1)180 fn set_meta_update_permission_flag() -> Weight {180 fn set_meta_update_permission_flag() -> Weight {181 (6_278_000 as Weight)181 (7_663_000 as Weight)182 .saturating_add(T::DbWeight::get().reads(1 as Weight))182 .saturating_add(T::DbWeight::get().reads(1 as Weight))183 .saturating_add(T::DbWeight::get().writes(1 as Weight))183 .saturating_add(T::DbWeight::get().writes(1 as Weight))184 }184 }191 // Storage: System Account (r:2 w:2)191 // Storage: System Account (r:2 w:2)192 // Storage: Common CollectionById (r:0 w:1)192 // Storage: Common CollectionById (r:0 w:1)193 fn create_collection() -> Weight {193 fn create_collection() -> Weight {194 (23_803_000 as Weight)194 (29_550_000 as Weight)195 .saturating_add(RocksDbWeight::get().reads(4 as Weight))195 .saturating_add(RocksDbWeight::get().reads(4 as Weight))196 .saturating_add(RocksDbWeight::get().writes(4 as Weight))196 .saturating_add(RocksDbWeight::get().writes(4 as Weight))197 }197 }198 // Storage: Common CollectionById (r:1 w:1)198 // Storage: Common CollectionById (r:1 w:1)199 // Storage: Common DestroyedCollectionCount (r:1 w:1)199 // Storage: Common DestroyedCollectionCount (r:1 w:1)200 // Storage: Nonfungible TokensMinted (r:0 w:1)200 // Storage: Nonfungible TokensMinted (r:0 w:1)201 // Storage: Nonfungible TokensBurnt (r:0 w:1)201 // Storage: Nonfungible TokensBurnt (r:0 w:1)202 // Storage: Common AdminAmount (r:0 w:1)202 fn destroy_collection() -> Weight {203 fn destroy_collection() -> Weight {203 (27_831_000 as Weight)204 (40_838_000 as Weight)204 .saturating_add(RocksDbWeight::get().reads(2 as Weight))205 .saturating_add(RocksDbWeight::get().reads(2 as Weight))205 .saturating_add(RocksDbWeight::get().writes(4 as Weight))206 .saturating_add(RocksDbWeight::get().writes(5 as Weight))206 }207 }207 // Storage: Common CollectionById (r:1 w:0)208 // Storage: Common CollectionById (r:1 w:0)208 // Storage: Common Allowlist (r:0 w:1)209 // Storage: Common Allowlist (r:0 w:1)209 fn add_to_allow_list() -> Weight {210 fn add_to_allow_list() -> Weight {210 (6_629_000 as Weight)211 (15_331_000 as Weight)211 .saturating_add(RocksDbWeight::get().reads(1 as Weight))212 .saturating_add(RocksDbWeight::get().reads(1 as Weight))212 .saturating_add(RocksDbWeight::get().writes(1 as Weight))213 .saturating_add(RocksDbWeight::get().writes(1 as Weight))213 }214 }214 // Storage: Common CollectionById (r:1 w:0)215 // Storage: Common CollectionById (r:1 w:0)215 // Storage: Common Allowlist (r:0 w:1)216 // Storage: Common Allowlist (r:0 w:1)216 fn remove_from_allow_list() -> Weight {217 fn remove_from_allow_list() -> Weight {217 (6_596_000 as Weight)218 (16_706_000 as Weight)218 .saturating_add(RocksDbWeight::get().reads(1 as Weight))219 .saturating_add(RocksDbWeight::get().reads(1 as Weight))219 .saturating_add(RocksDbWeight::get().writes(1 as Weight))220 .saturating_add(RocksDbWeight::get().writes(1 as Weight))220 }221 }221 // Storage: Common CollectionById (r:1 w:1)222 // Storage: Common CollectionById (r:1 w:1)222 fn set_public_access_mode() -> Weight {223 fn set_public_access_mode() -> Weight {223 (6_338_000 as Weight)224 (16_189_000 as Weight)224 .saturating_add(RocksDbWeight::get().reads(1 as Weight))225 .saturating_add(RocksDbWeight::get().reads(1 as Weight))225 .saturating_add(RocksDbWeight::get().writes(1 as Weight))226 .saturating_add(RocksDbWeight::get().writes(1 as Weight))226 }227 }227 // Storage: Common CollectionById (r:1 w:1)228 // Storage: Common CollectionById (r:1 w:1)228 fn set_mint_permission() -> Weight {229 fn set_mint_permission() -> Weight {229 (6_383_000 as Weight)230 (16_072_000 as Weight)230 .saturating_add(RocksDbWeight::get().reads(1 as Weight))231 .saturating_add(RocksDbWeight::get().reads(1 as Weight))231 .saturating_add(RocksDbWeight::get().writes(1 as Weight))232 .saturating_add(RocksDbWeight::get().writes(1 as Weight))232 }233 }233 // Storage: Common CollectionById (r:1 w:1)234 // Storage: Common CollectionById (r:1 w:1)234 fn change_collection_owner() -> Weight {235 fn change_collection_owner() -> Weight {235 (6_493_000 as Weight)236 (14_929_000 as Weight)236 .saturating_add(RocksDbWeight::get().reads(1 as Weight))237 .saturating_add(RocksDbWeight::get().reads(1 as Weight))237 .saturating_add(RocksDbWeight::get().writes(1 as Weight))238 .saturating_add(RocksDbWeight::get().writes(1 as Weight))238 }239 }239 // Storage: Common CollectionById (r:1 w:0)240 // Storage: Common CollectionById (r:1 w:0)240 // Storage: Common IsAdmin (r:0 w:1)241 // Storage: Common IsAdmin (r:1 w:1)242 // Storage: Common AdminAmount (r:1 w:1)241 fn add_collection_admin() -> Weight {243 fn add_collection_admin() -> Weight {242 (6_850_000 as Weight)244 (19_262_000 as Weight)243 .saturating_add(RocksDbWeight::get().reads(1 as Weight))245 .saturating_add(RocksDbWeight::get().reads(3 as Weight))244 .saturating_add(RocksDbWeight::get().writes(1 as Weight))246 .saturating_add(RocksDbWeight::get().writes(2 as Weight))245 }247 }246 // Storage: Common CollectionById (r:1 w:0)248 // Storage: Common CollectionById (r:1 w:0)247 // Storage: Common IsAdmin (r:0 w:1)249 // Storage: Common IsAdmin (r:1 w:1)250 // Storage: Common AdminAmount (r:1 w:1)248 fn remove_collection_admin() -> Weight {251 fn remove_collection_admin() -> Weight {249 (6_615_000 as Weight)252 (21_024_000 as Weight)250 .saturating_add(RocksDbWeight::get().reads(1 as Weight))253 .saturating_add(RocksDbWeight::get().reads(3 as Weight))251 .saturating_add(RocksDbWeight::get().writes(1 as Weight))254 .saturating_add(RocksDbWeight::get().writes(2 as Weight))252 }255 }253 // Storage: Common CollectionById (r:1 w:1)256 // Storage: Common CollectionById (r:1 w:1)254 fn set_collection_sponsor() -> Weight {257 fn set_collection_sponsor() -> Weight {255 (6_430_000 as Weight)258 (15_600_000 as Weight)256 .saturating_add(RocksDbWeight::get().reads(1 as Weight))259 .saturating_add(RocksDbWeight::get().reads(1 as Weight))257 .saturating_add(RocksDbWeight::get().writes(1 as Weight))260 .saturating_add(RocksDbWeight::get().writes(1 as Weight))258 }261 }259 // Storage: Common CollectionById (r:1 w:1)262 // Storage: Common CollectionById (r:1 w:1)260 fn confirm_sponsorship() -> Weight {263 fn confirm_sponsorship() -> Weight {261 (6_125_000 as Weight)264 (15_153_000 as Weight)262 .saturating_add(RocksDbWeight::get().reads(1 as Weight))265 .saturating_add(RocksDbWeight::get().reads(1 as Weight))263 .saturating_add(RocksDbWeight::get().writes(1 as Weight))266 .saturating_add(RocksDbWeight::get().writes(1 as Weight))264 }267 }265 // Storage: Common CollectionById (r:1 w:1)268 // Storage: Common CollectionById (r:1 w:1)266 fn remove_collection_sponsor() -> Weight {269 fn remove_collection_sponsor() -> Weight {267 (6_236_000 as Weight)270 (14_929_000 as Weight)268 .saturating_add(RocksDbWeight::get().reads(1 as Weight))271 .saturating_add(RocksDbWeight::get().reads(1 as Weight))269 .saturating_add(RocksDbWeight::get().writes(1 as Weight))272 .saturating_add(RocksDbWeight::get().writes(1 as Weight))270 }273 }271 // Storage: Common CollectionById (r:1 w:1)274 // Storage: Common CollectionById (r:1 w:1)272 fn set_transfers_enabled_flag() -> Weight {275 fn set_transfers_enabled_flag() -> Weight {273 (6_500_000 as Weight)276 (7_856_000 as Weight)274 .saturating_add(RocksDbWeight::get().reads(1 as Weight))277 .saturating_add(RocksDbWeight::get().reads(1 as Weight))275 .saturating_add(RocksDbWeight::get().writes(1 as Weight))278 .saturating_add(RocksDbWeight::get().writes(1 as Weight))276 }279 }277 // Storage: Common CollectionById (r:1 w:1)280 // Storage: Common CollectionById (r:1 w:1)278 fn set_offchain_schema(_b: u32, ) -> Weight {281 fn set_offchain_schema(_b: u32, ) -> Weight {279 (6_538_000 as Weight)282 (15_790_000 as Weight)280 .saturating_add(RocksDbWeight::get().reads(1 as Weight))283 .saturating_add(RocksDbWeight::get().reads(1 as Weight))281 .saturating_add(RocksDbWeight::get().writes(1 as Weight))284 .saturating_add(RocksDbWeight::get().writes(1 as Weight))282 }285 }283 // Storage: Common CollectionById (r:1 w:1)286 // Storage: Common CollectionById (r:1 w:1)284 fn set_const_on_chain_schema(_b: u32, ) -> Weight {287 fn set_const_on_chain_schema(_b: u32, ) -> Weight {285 (6_542_000 as Weight)288 (15_775_000 as Weight)286 .saturating_add(RocksDbWeight::get().reads(1 as Weight))289 .saturating_add(RocksDbWeight::get().reads(1 as Weight))287 .saturating_add(RocksDbWeight::get().writes(1 as Weight))290 .saturating_add(RocksDbWeight::get().writes(1 as Weight))288 }291 }289 // Storage: Common CollectionById (r:1 w:1)292 // Storage: Common CollectionById (r:1 w:1)290 fn set_variable_on_chain_schema(b: u32, ) -> Weight {293 fn set_variable_on_chain_schema(_b: u32, ) -> Weight {291 (6_092_000 as Weight)294 (15_788_000 as Weight)292 // Standard Error: 0293 .saturating_add((2_000 as Weight).saturating_mul(b as Weight))294 .saturating_add(RocksDbWeight::get().reads(1 as Weight))295 .saturating_add(RocksDbWeight::get().reads(1 as Weight))295 .saturating_add(RocksDbWeight::get().writes(1 as Weight))296 .saturating_add(RocksDbWeight::get().writes(1 as Weight))296 }297 }297 // Storage: Common CollectionById (r:1 w:1)298 // Storage: Common CollectionById (r:1 w:1)298 fn set_schema_version() -> Weight {299 fn set_schema_version() -> Weight {299 (6_470_000 as Weight)300 (15_148_000 as Weight)300 .saturating_add(RocksDbWeight::get().reads(1 as Weight))301 .saturating_add(RocksDbWeight::get().reads(1 as Weight))301 .saturating_add(RocksDbWeight::get().writes(1 as Weight))302 .saturating_add(RocksDbWeight::get().writes(1 as Weight))302 }303 }303 // Storage: Common CollectionById (r:1 w:1)304 // Storage: Common CollectionById (r:1 w:1)304 fn set_collection_limits() -> Weight {305 fn set_collection_limits() -> Weight {305 (6_841_000 as Weight)306 (15_811_000 as Weight)306 .saturating_add(RocksDbWeight::get().reads(1 as Weight))307 .saturating_add(RocksDbWeight::get().reads(1 as Weight))307 .saturating_add(RocksDbWeight::get().writes(1 as Weight))308 .saturating_add(RocksDbWeight::get().writes(1 as Weight))308 }309 }309 // Storage: Common CollectionById (r:1 w:1)310 // Storage: Common CollectionById (r:1 w:1)310 fn set_meta_update_permission_flag() -> Weight {311 fn set_meta_update_permission_flag() -> Weight {311 (6_278_000 as Weight)312 (7_663_000 as Weight)312 .saturating_add(RocksDbWeight::get().reads(1 as Weight))313 .saturating_add(RocksDbWeight::get().reads(1 as Weight))313 .saturating_add(RocksDbWeight::get().writes(1 as Weight))314 .saturating_add(RocksDbWeight::get().writes(1 as Weight))314 }315 }