diff --git a/Cargo.lock b/Cargo.lock index 594a71f084..6449239b22 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -12589,9 +12589,9 @@ version = "1.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 0.1.10", "digest 0.10.3", - "rand 0.8.5", + "rand 0.7.3", "static_assertions", ] @@ -13510,9 +13510,9 @@ dependencies = [ [[package]] name = "yamux" -version = "0.10.1" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c0608f53c1dc0bad505d03a34bbd49fbf2ad7b51eb036123e896365532745a1" +checksum = "e5d9ba232399af1783a58d8eb26f6b5006fbefe2dc9ef36bd283324792d03ea5" dependencies = [ "futures 0.3.21", "log", diff --git a/runtime/mangata-kusama/src/lib.rs b/runtime/mangata-kusama/src/lib.rs index 5df6a8e5e8..43edf1ecc0 100644 --- a/runtime/mangata-kusama/src/lib.rs +++ b/runtime/mangata-kusama/src/lib.rs @@ -183,11 +183,11 @@ impl_opaque_keys! { pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("mangata-parachain"), impl_name: create_runtime_str!("mangata-parachain"), - authoring_version: 8, - spec_version: 8, + authoring_version: 9, + spec_version: 9, impl_version: 0, apis: RUNTIME_API_VERSIONS, - transaction_version: 8, + transaction_version: 9, state_version: 0, }; @@ -1108,7 +1108,7 @@ impl orml_asset_registry::Config for Runtime { type AuthorityOrigin = AssetAuthority; type AssetProcessor = SequentialIdWithCreation; type Balance = Balance; - type WeightInfo = weights::xcm_asset_registry_weights::ModuleWeight; + type WeightInfo = weights::orml_asset_registry_weights::ModuleWeight; } // Create the runtime by composing the FRAME pallets that were previously configured. diff --git a/runtime/mangata-kusama/src/weights/frame_system_weights.rs b/runtime/mangata-kusama/src/weights/frame_system_weights.rs index bb1fd32425..212ec1630c 100644 --- a/runtime/mangata-kusama/src/weights/frame_system_weights.rs +++ b/runtime/mangata-kusama/src/weights/frame_system_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for frame_system //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -77,7 +77,7 @@ impl frame_system::WeightInfo for ModuleWeight { // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) fn set_heap_pages() -> Weight { - (4_228_000 as Weight) + (4_333_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -85,7 +85,7 @@ impl frame_system::WeightInfo for ModuleWeight { fn set_storage(i: u32, ) -> Weight { (0 as Weight) // Standard Error: 0 - .saturating_add((603_000 as Weight).saturating_mul(i as Weight)) + .saturating_add((604_000 as Weight).saturating_mul(i as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } // Storage: Skipped Metadata (r:0 w:0) @@ -97,9 +97,9 @@ impl frame_system::WeightInfo for ModuleWeight { } // Storage: Skipped Metadata (r:0 w:0) fn kill_prefix(p: u32, ) -> Weight { - (2_493_000 as Weight) + (861_000 as Weight) // Standard Error: 0 - .saturating_add((874_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((818_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } } @@ -115,14 +115,14 @@ impl WeightInfo for () { .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) } fn set_heap_pages() -> Weight { - (4_228_000 as Weight) + (4_333_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } fn set_storage(i: u32, ) -> Weight { (0 as Weight) // Standard Error: 0 - .saturating_add((603_000 as Weight).saturating_mul(i as Weight)) + .saturating_add((604_000 as Weight).saturating_mul(i as Weight)) .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } fn kill_storage(i: u32, ) -> Weight { @@ -132,9 +132,9 @@ impl WeightInfo for () { .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } fn kill_prefix(p: u32, ) -> Weight { - (2_493_000 as Weight) + (861_000 as Weight) // Standard Error: 0 - .saturating_add((874_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((818_000 as Weight).saturating_mul(p as Weight)) .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } } diff --git a/runtime/mangata-kusama/src/weights/mod.rs b/runtime/mangata-kusama/src/weights/mod.rs index b7e70c8e57..766b543f2f 100644 --- a/runtime/mangata-kusama/src/weights/mod.rs +++ b/runtime/mangata-kusama/src/weights/mod.rs @@ -1,6 +1,7 @@ #![allow(clippy::unnecessary_cast)] pub mod frame_system_weights; +pub mod orml_asset_registry_weights; pub mod orml_tokens_weights; pub mod pallet_bootstrap_weights; pub mod pallet_collective_weights; @@ -15,4 +16,3 @@ pub mod pallet_utility_weights; pub mod pallet_vesting_mangata_weights; pub mod pallet_xyk_weights; pub mod parachain_staking_weights; -pub mod xcm_asset_registry_weights; diff --git a/runtime/mangata-kusama/src/weights/xcm_asset_registry_weights.rs b/runtime/mangata-kusama/src/weights/orml_asset_registry_weights.rs similarity index 81% rename from runtime/mangata-kusama/src/weights/xcm_asset_registry_weights.rs rename to runtime/mangata-kusama/src/weights/orml_asset_registry_weights.rs index 9b5e07ecfb..b663a91a8f 100644 --- a/runtime/mangata-kusama/src/weights/xcm_asset_registry_weights.rs +++ b/runtime/mangata-kusama/src/weights/orml_asset_registry_weights.rs @@ -16,10 +16,10 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -//! Autogenerated weights for xcm_asset_registry +//! Autogenerated weights for orml_asset_registry //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -33,7 +33,7 @@ // --wasm-execution // compiled // --pallet -// xcm_asset_registry +// orml_asset_registry // --extrinsic // * // --steps @@ -41,7 +41,7 @@ // --repeat // 20 // --output -// ./benchmarks/xcm_asset_registry_weights.rs +// ./benchmarks/orml_asset_registry_weights.rs // --template // ./templates/module-weight-template.hbs @@ -53,27 +53,28 @@ use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use sp_std::marker::PhantomData; -/// Weight functions needed for xcm_asset_registry. +/// Weight functions needed for orml_asset_registry. pub trait WeightInfo { fn register_asset() -> Weight; fn update_asset() -> Weight; } -/// Weights for xcm_asset_registry using the Mangata node and recommended hardware. +/// Weights for orml_asset_registry using the Mangata node and recommended hardware. pub struct ModuleWeight(PhantomData); impl orml_asset_registry::WeightInfo for ModuleWeight { // Storage: Tokens NextCurrencyId (r:1 w:1) + // Storage: Tokens Accounts (r:1 w:0) // Storage: AssetRegistry Metadata (r:1 w:1) // Storage: AssetRegistry LocationToAssetId (r:1 w:1) fn register_asset() -> Weight { - (34_624_000 as Weight) - .saturating_add(T::DbWeight::get().reads(3 as Weight)) + (41_275_000 as Weight) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: AssetRegistry Metadata (r:1 w:1) // Storage: AssetRegistry LocationToAssetId (r:1 w:1) fn update_asset() -> Weight { - (28_712_000 as Weight) + (29_857_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -82,13 +83,13 @@ impl orml_asset_registry::WeightInfo for ModuleWeight Weight { - (34_624_000 as Weight) + (41_275_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn update_asset() -> Weight { - (28_712_000 as Weight) + (29_857_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) - .saturating_add(RocksDbWeight::get().writes(3 as Weight)) + .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } } diff --git a/runtime/mangata-kusama/src/weights/orml_tokens_weights.rs b/runtime/mangata-kusama/src/weights/orml_tokens_weights.rs index a01181f0e9..7cbe0f9ef0 100644 --- a/runtime/mangata-kusama/src/weights/orml_tokens_weights.rs +++ b/runtime/mangata-kusama/src/weights/orml_tokens_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for orml_tokens //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -70,35 +70,35 @@ impl orml_tokens::WeightInfo for ModuleWeight { // Storage: Tokens Accounts (r:2 w:2) // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - (47_667_000 as Weight) + (47_244_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Tokens Accounts (r:2 w:2) // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { - (49_312_000 as Weight) + (49_010_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Tokens Accounts (r:2 w:2) // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - (43_327_000 as Weight) + (43_617_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Tokens Accounts (r:2 w:2) // Storage: System Account (r:2 w:1) fn force_transfer() -> Weight { - (46_240_000 as Weight) + (46_382_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Tokens Accounts (r:1 w:1) // Storage: Tokens TotalIssuance (r:1 w:1) fn set_balance() -> Weight { - (24_242_000 as Weight) + (24_719_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -107,7 +107,7 @@ impl orml_tokens::WeightInfo for ModuleWeight { // Storage: Tokens TotalIssuance (r:1 w:1) // Storage: System Account (r:1 w:1) fn create() -> Weight { - (43_187_000 as Weight) + (42_794_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -116,7 +116,7 @@ impl orml_tokens::WeightInfo for ModuleWeight { // Storage: Tokens TotalIssuance (r:1 w:1) // Storage: System Account (r:1 w:1) fn mint() -> Weight { - (42_682_000 as Weight) + (42_599_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -125,37 +125,37 @@ impl orml_tokens::WeightInfo for ModuleWeight { // For backwards compatibility and tests impl WeightInfo for () { fn transfer() -> Weight { - (47_667_000 as Weight) + (47_244_000 as Weight) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn transfer_all() -> Weight { - (49_312_000 as Weight) + (49_010_000 as Weight) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn transfer_keep_alive() -> Weight { - (43_327_000 as Weight) + (43_617_000 as Weight) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn force_transfer() -> Weight { - (46_240_000 as Weight) + (46_382_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn set_balance() -> Weight { - (24_242_000 as Weight) + (24_719_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } fn create() -> Weight { - (43_187_000 as Weight) + (42_794_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(4 as Weight)) } fn mint() -> Weight { - (42_682_000 as Weight) + (42_599_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } diff --git a/runtime/mangata-kusama/src/weights/pallet_bootstrap_weights.rs b/runtime/mangata-kusama/src/weights/pallet_bootstrap_weights.rs index f98766d012..3979016c8e 100644 --- a/runtime/mangata-kusama/src/weights/pallet_bootstrap_weights.rs +++ b/runtime/mangata-kusama/src/weights/pallet_bootstrap_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_bootstrap //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-08-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -33,7 +33,7 @@ // --wasm-execution // compiled // --pallet -// pallet-bootstrap +// pallet_bootstrap // --extrinsic // * // --steps @@ -41,7 +41,7 @@ // --repeat // 20 // --output -// ./benchmarks/pallet-bootstrap_weights.rs +// ./benchmarks/pallet_bootstrap_weights.rs // --template // ./templates/module-weight-template.hbs @@ -69,11 +69,12 @@ impl pallet_bootstrap::WeightInfo for ModuleWeight { // Storage: Tokens NextCurrencyId (r:1 w:0) // Storage: Xyk Pools (r:2 w:0) // Storage: Bootstrap BootstrapSchedule (r:0 w:1) + // Storage: Bootstrap PromoteBootstrapPool (r:0 w:1) // Storage: Bootstrap ActivePair (r:0 w:1) fn schedule_bootstrap() -> Weight { - (26_587_000 as Weight) + (26_692_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) - .saturating_add(T::DbWeight::get().writes(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Bootstrap ActivePair (r:1 w:0) // Storage: Bootstrap Phase (r:1 w:0) @@ -85,7 +86,7 @@ impl pallet_bootstrap::WeightInfo for ModuleWeight { // Storage: Bootstrap Valuations (r:1 w:1) // Storage: Bootstrap ProvisionAccounts (r:0 w:1) fn provision() -> Weight { - (89_870_000 as Weight) + (80_812_000 as Weight) .saturating_add(T::DbWeight::get().reads(9 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -101,7 +102,7 @@ impl pallet_bootstrap::WeightInfo for ModuleWeight { // Storage: Bootstrap Valuations (r:1 w:1) // Storage: Bootstrap ProvisionAccounts (r:0 w:1) fn provision_vested() -> Weight { - (183_414_000 as Weight) + (111_492_000 as Weight) .saturating_add(T::DbWeight::get().reads(11 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) } @@ -124,7 +125,7 @@ impl pallet_bootstrap::WeightInfo for ModuleWeight { // Storage: Xyk LiquidityMiningActivePool (r:1 w:1) // Storage: Bootstrap ProvisionAccounts (r:0 w:1) fn claim_and_activate_liquidity_tokens() -> Weight { - (432_898_000 as Weight) + (253_032_000 as Weight) .saturating_add(T::DbWeight::get().reads(21 as Weight)) .saturating_add(T::DbWeight::get().writes(12 as Weight)) } @@ -138,39 +139,40 @@ impl pallet_bootstrap::WeightInfo for ModuleWeight { // Storage: Bootstrap Provisions (r:0 w:2) // Storage: Bootstrap Valuations (r:0 w:1) // Storage: Bootstrap ClaimedRewards (r:0 w:2) + // Storage: Bootstrap PromoteBootstrapPool (r:0 w:1) // Storage: Bootstrap ActivePair (r:0 w:1) fn finalize() -> Weight { - (112_243_000 as Weight) + (81_226_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) - .saturating_add(T::DbWeight::get().writes(12 as Weight)) + .saturating_add(T::DbWeight::get().writes(13 as Weight)) } } // For backwards compatibility and tests impl WeightInfo for () { fn schedule_bootstrap() -> Weight { - (26_587_000 as Weight) + (26_692_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) - .saturating_add(RocksDbWeight::get().writes(2 as Weight)) + .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn provision() -> Weight { - (89_870_000 as Weight) + (80_812_000 as Weight) .saturating_add(RocksDbWeight::get().reads(9 as Weight)) .saturating_add(RocksDbWeight::get().writes(6 as Weight)) } fn provision_vested() -> Weight { - (183_414_000 as Weight) + (111_492_000 as Weight) .saturating_add(RocksDbWeight::get().reads(11 as Weight)) .saturating_add(RocksDbWeight::get().writes(8 as Weight)) } fn claim_and_activate_liquidity_tokens() -> Weight { - (432_898_000 as Weight) + (253_032_000 as Weight) .saturating_add(RocksDbWeight::get().reads(21 as Weight)) .saturating_add(RocksDbWeight::get().writes(12 as Weight)) } fn finalize() -> Weight { - (112_243_000 as Weight) + (81_226_000 as Weight) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) - .saturating_add(RocksDbWeight::get().writes(12 as Weight)) + .saturating_add(RocksDbWeight::get().writes(13 as Weight)) } } diff --git a/runtime/mangata-kusama/src/weights/pallet_collective_weights.rs b/runtime/mangata-kusama/src/weights/pallet_collective_weights.rs index 9e65807827..7dcb88cd6d 100644 --- a/runtime/mangata-kusama/src/weights/pallet_collective_weights.rs +++ b/runtime/mangata-kusama/src/weights/pallet_collective_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_collective //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -76,10 +76,10 @@ impl pallet_collective::WeightInfo for ModuleWeight // Storage: Council Prime (r:0 w:1) fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { (0 as Weight) - // Standard Error: 14_000 - .saturating_add((12_680_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 14_000 - .saturating_add((17_039_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 6_000 + .saturating_add((12_622_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 6_000 + .saturating_add((16_969_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -87,21 +87,21 @@ impl pallet_collective::WeightInfo for ModuleWeight } // Storage: Council Members (r:1 w:0) fn execute(b: u32, m: u32, ) -> Weight { - (18_450_000 as Weight) + (19_130_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((38_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((36_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } // Storage: Council Members (r:1 w:0) // Storage: Council ProposalOf (r:1 w:0) fn propose_execute(b: u32, m: u32, ) -> Weight { - (21_949_000 as Weight) + (23_163_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((65_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((60_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) } // Storage: Council Members (r:1 w:0) @@ -110,22 +110,22 @@ impl pallet_collective::WeightInfo for ModuleWeight // Storage: Council ProposalCount (r:1 w:1) // Storage: Council Voting (r:0 w:1) fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - (29_149_000 as Weight) + (31_804_000 as Weight) // Standard Error: 0 - .saturating_add((9_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((7_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 1_000 - .saturating_add((54_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((50_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 1_000 - .saturating_add((253_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((247_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: Council Members (r:1 w:0) // Storage: Council Voting (r:1 w:1) fn vote(m: u32, ) -> Weight { - (36_863_000 as Weight) + (36_520_000 as Weight) // Standard Error: 2_000 - .saturating_add((85_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((95_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -134,11 +134,11 @@ impl pallet_collective::WeightInfo for ModuleWeight // Storage: Council Proposals (r:1 w:1) // Storage: Council ProposalOf (r:0 w:1) fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - (38_649_000 as Weight) + (41_324_000 as Weight) // Standard Error: 2_000 - .saturating_add((61_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 1_000 - .saturating_add((194_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((40_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 2_000 + .saturating_add((179_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -147,13 +147,13 @@ impl pallet_collective::WeightInfo for ModuleWeight // Storage: Council ProposalOf (r:1 w:1) // Storage: Council Proposals (r:1 w:1) fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - (40_947_000 as Weight) + (44_557_000 as Weight) // Standard Error: 0 - .saturating_add((7_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((6_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 1_000 - .saturating_add((96_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((82_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 1_000 - .saturating_add((253_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((239_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -163,11 +163,11 @@ impl pallet_collective::WeightInfo for ModuleWeight // Storage: Council Proposals (r:1 w:1) // Storage: Council ProposalOf (r:0 w:1) fn close_disapproved(m: u32, p: u32, ) -> Weight { - (42_214_000 as Weight) + (42_432_000 as Weight) // Standard Error: 2_000 - .saturating_add((70_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((63_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 2_000 - .saturating_add((196_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((193_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -177,13 +177,13 @@ impl pallet_collective::WeightInfo for ModuleWeight // Storage: Council ProposalOf (r:1 w:1) // Storage: Council Proposals (r:1 w:1) fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - (47_554_000 as Weight) + (48_222_000 as Weight) // Standard Error: 0 - .saturating_add((6_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((7_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 1_000 .saturating_add((77_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 1_000 - .saturating_add((246_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((240_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -191,9 +191,9 @@ impl pallet_collective::WeightInfo for ModuleWeight // Storage: Council Voting (r:0 w:1) // Storage: Council ProposalOf (r:0 w:1) fn disapprove_proposal(p: u32, ) -> Weight { - (22_670_000 as Weight) + (22_902_000 as Weight) // Standard Error: 1_000 - .saturating_add((257_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((247_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -203,93 +203,93 @@ impl pallet_collective::WeightInfo for ModuleWeight impl WeightInfo for () { fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { (0 as Weight) - // Standard Error: 14_000 - .saturating_add((12_680_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 14_000 - .saturating_add((17_039_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 6_000 + .saturating_add((12_622_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 6_000 + .saturating_add((16_969_000 as Weight).saturating_mul(p as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } fn execute(b: u32, m: u32, ) -> Weight { - (18_450_000 as Weight) + (19_130_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((38_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((36_000 as Weight).saturating_mul(m as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) } fn propose_execute(b: u32, m: u32, ) -> Weight { - (21_949_000 as Weight) + (23_163_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((65_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((60_000 as Weight).saturating_mul(m as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) } fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - (29_149_000 as Weight) + (31_804_000 as Weight) // Standard Error: 0 - .saturating_add((9_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((7_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 1_000 - .saturating_add((54_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((50_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 1_000 - .saturating_add((253_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((247_000 as Weight).saturating_mul(p as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(4 as Weight)) } fn vote(m: u32, ) -> Weight { - (36_863_000 as Weight) + (36_520_000 as Weight) // Standard Error: 2_000 - .saturating_add((85_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((95_000 as Weight).saturating_mul(m as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - (38_649_000 as Weight) + (41_324_000 as Weight) // Standard Error: 2_000 - .saturating_add((61_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 1_000 - .saturating_add((194_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((40_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 2_000 + .saturating_add((179_000 as Weight).saturating_mul(p as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - (40_947_000 as Weight) + (44_557_000 as Weight) // Standard Error: 0 - .saturating_add((7_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((6_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 1_000 - .saturating_add((96_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((82_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 1_000 - .saturating_add((253_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((239_000 as Weight).saturating_mul(p as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn close_disapproved(m: u32, p: u32, ) -> Weight { - (42_214_000 as Weight) + (42_432_000 as Weight) // Standard Error: 2_000 - .saturating_add((70_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((63_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 2_000 - .saturating_add((196_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((193_000 as Weight).saturating_mul(p as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - (47_554_000 as Weight) + (48_222_000 as Weight) // Standard Error: 0 - .saturating_add((6_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((7_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 1_000 .saturating_add((77_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 1_000 - .saturating_add((246_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((240_000 as Weight).saturating_mul(p as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn disapprove_proposal(p: u32, ) -> Weight { - (22_670_000 as Weight) + (22_902_000 as Weight) // Standard Error: 1_000 - .saturating_add((257_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((247_000 as Weight).saturating_mul(p as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } diff --git a/runtime/mangata-kusama/src/weights/pallet_crowdloan_rewards_weights.rs b/runtime/mangata-kusama/src/weights/pallet_crowdloan_rewards_weights.rs index 3b4e3bd2a9..e0f9ece6ed 100644 --- a/runtime/mangata-kusama/src/weights/pallet_crowdloan_rewards_weights.rs +++ b/runtime/mangata-kusama/src/weights/pallet_crowdloan_rewards_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_crowdloan_rewards //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -69,7 +69,7 @@ pub struct ModuleWeight(PhantomData); impl pallet_crowdloan_rewards::WeightInfo for ModuleWeight { // Storage: Crowdloan CrowdloanAllocation (r:0 w:1) fn set_crowdloan_allocation() -> Weight { - (2_064_000 as Weight) + (2_015_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Crowdloan Initialized (r:1 w:0) @@ -84,9 +84,9 @@ impl pallet_crowdloan_rewards::WeightInfo for ModuleWei // Storage: System Account (r:1 w:1) // Storage: Crowdloan AccountsPayable (r:1 w:1) fn initialize_reward_vec(x: u32, ) -> Weight { - (226_973_000 as Weight) + (229_673_000 as Weight) // Standard Error: 31_000 - .saturating_add((55_082_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((53_971_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(x as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) @@ -99,7 +99,7 @@ impl pallet_crowdloan_rewards::WeightInfo for ModuleWei // Storage: Crowdloan TotalContributors (r:1 w:0) // Storage: Crowdloan EndRelayBlock (r:0 w:1) fn complete_initialization() -> Weight { - (19_251_000 as Weight) + (19_091_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -111,13 +111,13 @@ impl pallet_crowdloan_rewards::WeightInfo for ModuleWei // Storage: Tokens Accounts (r:1 w:1) // Storage: Tokens TotalIssuance (r:1 w:1) fn claim() -> Weight { - (51_946_000 as Weight) + (50_138_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Crowdloan AccountsPayable (r:2 w:2) fn update_reward_address() -> Weight { - (27_558_000 as Weight) + (27_393_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -128,15 +128,15 @@ impl pallet_crowdloan_rewards::WeightInfo for ModuleWei // Storage: Tokens Accounts (r:1 w:1) // Storage: Tokens TotalIssuance (r:1 w:1) fn associate_native_identity() -> Weight { - (110_931_000 as Weight) + (110_060_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } // Storage: Crowdloan AccountsPayable (r:2 w:2) fn change_association_with_relay_keys(x: u32, ) -> Weight { - (30_010_000 as Weight) - // Standard Error: 2_000 - .saturating_add((49_962_000 as Weight).saturating_mul(x as Weight)) + (29_746_000 as Weight) + // Standard Error: 1_000 + .saturating_add((49_934_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -145,42 +145,42 @@ impl pallet_crowdloan_rewards::WeightInfo for ModuleWei // For backwards compatibility and tests impl WeightInfo for () { fn set_crowdloan_allocation() -> Weight { - (2_064_000 as Weight) + (2_015_000 as Weight) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn initialize_reward_vec(x: u32, ) -> Weight { - (226_973_000 as Weight) + (229_673_000 as Weight) // Standard Error: 31_000 - .saturating_add((55_082_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((53_971_000 as Weight).saturating_mul(x as Weight)) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(x as Weight))) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(x as Weight))) } fn complete_initialization() -> Weight { - (19_251_000 as Weight) + (19_091_000 as Weight) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } fn claim() -> Weight { - (51_946_000 as Weight) + (50_138_000 as Weight) .saturating_add(RocksDbWeight::get().reads(7 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn update_reward_address() -> Weight { - (27_558_000 as Weight) + (27_393_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } fn associate_native_identity() -> Weight { - (110_931_000 as Weight) + (110_060_000 as Weight) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) .saturating_add(RocksDbWeight::get().writes(5 as Weight)) } fn change_association_with_relay_keys(x: u32, ) -> Weight { - (30_010_000 as Weight) - // Standard Error: 2_000 - .saturating_add((49_962_000 as Weight).saturating_mul(x as Weight)) + (29_746_000 as Weight) + // Standard Error: 1_000 + .saturating_add((49_934_000 as Weight).saturating_mul(x as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } diff --git a/runtime/mangata-kusama/src/weights/pallet_elections_phragmen_weights.rs b/runtime/mangata-kusama/src/weights/pallet_elections_phragmen_weights.rs index 9d0b4b589d..6937b3d48a 100644 --- a/runtime/mangata-kusama/src/weights/pallet_elections_phragmen_weights.rs +++ b/runtime/mangata-kusama/src/weights/pallet_elections_phragmen_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_elections_phragmen //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -80,9 +80,9 @@ impl pallet_elections_phragmen::WeightInfo for ModuleWe // Storage: Tokens Accounts (r:1 w:1) // Storage: Tokens Locks (r:1 w:1) fn vote_equal(v: u32, ) -> Weight { - (36_592_000 as Weight) + (36_052_000 as Weight) // Standard Error: 4_000 - .saturating_add((337_000 as Weight).saturating_mul(v as Weight)) + .saturating_add((357_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -93,9 +93,9 @@ impl pallet_elections_phragmen::WeightInfo for ModuleWe // Storage: Tokens Accounts (r:1 w:1) // Storage: Tokens Locks (r:1 w:1) fn vote_more(v: u32, ) -> Weight { - (54_625_000 as Weight) - // Standard Error: 7_000 - .saturating_add((394_000 as Weight).saturating_mul(v as Weight)) + (55_043_000 as Weight) + // Standard Error: 6_000 + .saturating_add((351_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -106,9 +106,9 @@ impl pallet_elections_phragmen::WeightInfo for ModuleWe // Storage: Tokens Accounts (r:1 w:1) // Storage: Tokens Locks (r:1 w:1) fn vote_less(v: u32, ) -> Weight { - (50_855_000 as Weight) + (50_626_000 as Weight) // Standard Error: 5_000 - .saturating_add((408_000 as Weight).saturating_mul(v as Weight)) + .saturating_add((399_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -116,7 +116,7 @@ impl pallet_elections_phragmen::WeightInfo for ModuleWe // Storage: Tokens Locks (r:1 w:1) // Storage: Tokens Accounts (r:1 w:1) fn remove_voter() -> Weight { - (50_192_000 as Weight) + (50_758_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -125,18 +125,18 @@ impl pallet_elections_phragmen::WeightInfo for ModuleWe // Storage: Elections RunnersUp (r:1 w:0) // Storage: Tokens Accounts (r:1 w:1) fn submit_candidacy(c: u32, ) -> Weight { - (56_204_000 as Weight) - // Standard Error: 3_000 - .saturating_add((109_000 as Weight).saturating_mul(c as Weight)) + (52_760_000 as Weight) + // Standard Error: 2_000 + .saturating_add((164_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Elections Candidates (r:1 w:1) // Storage: Tokens Accounts (r:1 w:1) fn renounce_candidacy_candidate(c: u32, ) -> Weight { - (45_494_000 as Weight) + (44_733_000 as Weight) // Standard Error: 3_000 - .saturating_add((72_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((75_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -147,14 +147,14 @@ impl pallet_elections_phragmen::WeightInfo for ModuleWe // Storage: Council Proposals (r:1 w:0) // Storage: Council Members (r:0 w:1) fn renounce_candidacy_members() -> Weight { - (57_750_000 as Weight) + (57_321_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } // Storage: Elections RunnersUp (r:1 w:1) // Storage: Tokens Accounts (r:1 w:1) fn renounce_candidacy_runners_up() -> Weight { - (42_446_000 as Weight) + (41_693_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -170,13 +170,13 @@ impl pallet_elections_phragmen::WeightInfo for ModuleWe // Storage: Council Proposals (r:1 w:0) // Storage: Council Members (r:0 w:1) fn remove_member_with_replacement() -> Weight { - (67_844_000 as Weight) + (66_871_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } // Storage: Elections RunnersUp (r:1 w:0) fn remove_member_wrong_refund() -> Weight { - (8_168_000 as Weight) + (7_501_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } // Storage: Elections Voting (r:251 w:250) @@ -186,10 +186,12 @@ impl pallet_elections_phragmen::WeightInfo for ModuleWe // Storage: Tokens Locks (r:250 w:250) // Storage: Tokens Accounts (r:250 w:250) // Storage: System Account (r:250 w:250) - fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight { + fn clean_defunct_voters(v: u32, d: u32, ) -> Weight { (0 as Weight) - // Standard Error: 101_000 - .saturating_add((80_762_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 54_000 + .saturating_add((80_487_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 52_000 + .saturating_add((89_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(v as Weight))) .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(v as Weight))) @@ -206,12 +208,12 @@ impl pallet_elections_phragmen::WeightInfo for ModuleWe // Storage: Tokens Accounts (r:3 w:3) fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { (0 as Weight) - // Standard Error: 1_563_000 - .saturating_add((19_025_000 as Weight).saturating_mul(c as Weight)) - // Standard Error: 650_000 - .saturating_add((46_475_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 44_000 - .saturating_add((2_913_000 as Weight).saturating_mul(e as Weight)) + // Standard Error: 1_757_000 + .saturating_add((18_761_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 730_000 + .saturating_add((50_599_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 49_000 + .saturating_add((3_256_000 as Weight).saturating_mul(e as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(v as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(c as Weight))) @@ -221,52 +223,52 @@ impl pallet_elections_phragmen::WeightInfo for ModuleWe // For backwards compatibility and tests impl WeightInfo for () { fn vote_equal(v: u32, ) -> Weight { - (36_592_000 as Weight) + (36_052_000 as Weight) // Standard Error: 4_000 - .saturating_add((337_000 as Weight).saturating_mul(v as Weight)) + .saturating_add((357_000 as Weight).saturating_mul(v as Weight)) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn vote_more(v: u32, ) -> Weight { - (54_625_000 as Weight) - // Standard Error: 7_000 - .saturating_add((394_000 as Weight).saturating_mul(v as Weight)) + (55_043_000 as Weight) + // Standard Error: 6_000 + .saturating_add((351_000 as Weight).saturating_mul(v as Weight)) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn vote_less(v: u32, ) -> Weight { - (50_855_000 as Weight) + (50_626_000 as Weight) // Standard Error: 5_000 - .saturating_add((408_000 as Weight).saturating_mul(v as Weight)) + .saturating_add((399_000 as Weight).saturating_mul(v as Weight)) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn remove_voter() -> Weight { - (50_192_000 as Weight) + (50_758_000 as Weight) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn submit_candidacy(c: u32, ) -> Weight { - (56_204_000 as Weight) - // Standard Error: 3_000 - .saturating_add((109_000 as Weight).saturating_mul(c as Weight)) + (52_760_000 as Weight) + // Standard Error: 2_000 + .saturating_add((164_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } fn renounce_candidacy_candidate(c: u32, ) -> Weight { - (45_494_000 as Weight) + (44_733_000 as Weight) // Standard Error: 3_000 - .saturating_add((72_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((75_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } fn renounce_candidacy_members() -> Weight { - (57_750_000 as Weight) + (57_321_000 as Weight) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(5 as Weight)) } fn renounce_candidacy_runners_up() -> Weight { - (42_446_000 as Weight) + (41_693_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } @@ -274,30 +276,32 @@ impl WeightInfo for () { (250_000_000_000 as Weight) } fn remove_member_with_replacement() -> Weight { - (67_844_000 as Weight) + (66_871_000 as Weight) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) .saturating_add(RocksDbWeight::get().writes(6 as Weight)) } fn remove_member_wrong_refund() -> Weight { - (8_168_000 as Weight) + (7_501_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) } - fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight { + fn clean_defunct_voters(v: u32, d: u32, ) -> Weight { (0 as Weight) - // Standard Error: 101_000 - .saturating_add((80_762_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 54_000 + .saturating_add((80_487_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 52_000 + .saturating_add((89_000 as Weight).saturating_mul(d as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((4 as Weight).saturating_mul(v as Weight))) .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(v as Weight))) } fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { (0 as Weight) - // Standard Error: 1_563_000 - .saturating_add((19_025_000 as Weight).saturating_mul(c as Weight)) - // Standard Error: 650_000 - .saturating_add((46_475_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 44_000 - .saturating_add((2_913_000 as Weight).saturating_mul(e as Weight)) + // Standard Error: 1_757_000 + .saturating_add((18_761_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 730_000 + .saturating_add((50_599_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 49_000 + .saturating_add((3_256_000 as Weight).saturating_mul(e as Weight)) .saturating_add(RocksDbWeight::get().reads((2 as Weight).saturating_mul(c as Weight))) .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(v as Weight))) .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(c as Weight))) diff --git a/runtime/mangata-kusama/src/weights/pallet_issuance_weights.rs b/runtime/mangata-kusama/src/weights/pallet_issuance_weights.rs index 489a0d6bbe..ab002186aa 100644 --- a/runtime/mangata-kusama/src/weights/pallet_issuance_weights.rs +++ b/runtime/mangata-kusama/src/weights/pallet_issuance_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_issuance //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -67,13 +67,13 @@ impl pallet_issuance::WeightInfo for ModuleWeight { // Storage: Issuance IsTGEFinalized (r:1 w:0) // Storage: Tokens TotalIssuance (r:1 w:0) fn init_issuance_config() -> Weight { - (22_522_000 as Weight) + (22_277_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Issuance IsTGEFinalized (r:1 w:1) fn finalize_tge() -> Weight { - (14_068_000 as Weight) + (14_008_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -85,9 +85,9 @@ impl pallet_issuance::WeightInfo for ModuleWeight { // Storage: Tokens Locks (r:3 w:3) // Storage: Issuance TGETotal (r:1 w:1) fn execute_tge(x: u32, ) -> Weight { - (24_000_000 as Weight) - // Standard Error: 10_000 - .saturating_add((53_066_000 as Weight).saturating_mul(x as Weight)) + (23_371_000 as Weight) + // Standard Error: 9_000 + .saturating_add((52_525_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(x as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -98,19 +98,19 @@ impl pallet_issuance::WeightInfo for ModuleWeight { // For backwards compatibility and tests impl WeightInfo for () { fn init_issuance_config() -> Weight { - (22_522_000 as Weight) + (22_277_000 as Weight) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn finalize_tge() -> Weight { - (14_068_000 as Weight) + (14_008_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn execute_tge(x: u32, ) -> Weight { - (24_000_000 as Weight) - // Standard Error: 10_000 - .saturating_add((53_066_000 as Weight).saturating_mul(x as Weight)) + (23_371_000 as Weight) + // Standard Error: 9_000 + .saturating_add((52_525_000 as Weight).saturating_mul(x as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().reads((4 as Weight).saturating_mul(x as Weight))) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) diff --git a/runtime/mangata-kusama/src/weights/pallet_multipurpose_liquidity_weights.rs b/runtime/mangata-kusama/src/weights/pallet_multipurpose_liquidity_weights.rs index 658392ba2b..485627c504 100644 --- a/runtime/mangata-kusama/src/weights/pallet_multipurpose_liquidity_weights.rs +++ b/runtime/mangata-kusama/src/weights/pallet_multipurpose_liquidity_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_multipurpose_liquidity //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -69,7 +69,7 @@ impl pallet_multipurpose_liquidity::WeightInfo for Modu // Storage: MultiPurposeLiquidity ReserveStatus (r:1 w:1) // Storage: MultiPurposeLiquidity RelockStatus (r:1 w:1) fn reserve_vesting_liquidity_tokens() -> Weight { - (93_608_000 as Weight) + (93_907_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -79,7 +79,7 @@ impl pallet_multipurpose_liquidity::WeightInfo for Modu // Storage: Vesting Vesting (r:1 w:1) // Storage: Tokens Locks (r:1 w:1) fn unreserve_and_relock_instance() -> Weight { - (85_422_000 as Weight) + (89_625_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -88,12 +88,12 @@ impl pallet_multipurpose_liquidity::WeightInfo for Modu // For backwards compatibility and tests impl WeightInfo for () { fn reserve_vesting_liquidity_tokens() -> Weight { - (93_608_000 as Weight) + (93_907_000 as Weight) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) .saturating_add(RocksDbWeight::get().writes(5 as Weight)) } fn unreserve_and_relock_instance() -> Weight { - (85_422_000 as Weight) + (89_625_000 as Weight) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(5 as Weight)) } diff --git a/runtime/mangata-kusama/src/weights/pallet_session_weights.rs b/runtime/mangata-kusama/src/weights/pallet_session_weights.rs index 2b1bebd529..98a93c24a6 100644 --- a/runtime/mangata-kusama/src/weights/pallet_session_weights.rs +++ b/runtime/mangata-kusama/src/weights/pallet_session_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_session //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -65,14 +65,14 @@ impl pallet_session::WeightInfo for ModuleWeight { // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:1 w:1) fn set_keys() -> Weight { - (18_918_000 as Weight) + (19_064_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:0 w:1) fn purge_keys() -> Weight { - (14_150_000 as Weight) + (14_368_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -81,12 +81,12 @@ impl pallet_session::WeightInfo for ModuleWeight { // For backwards compatibility and tests impl WeightInfo for () { fn set_keys() -> Weight { - (18_918_000 as Weight) + (19_064_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } fn purge_keys() -> Weight { - (14_150_000 as Weight) + (14_368_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } diff --git a/runtime/mangata-kusama/src/weights/pallet_timestamp_weights.rs b/runtime/mangata-kusama/src/weights/pallet_timestamp_weights.rs index de3ca282e7..827d2b8459 100644 --- a/runtime/mangata-kusama/src/weights/pallet_timestamp_weights.rs +++ b/runtime/mangata-kusama/src/weights/pallet_timestamp_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_timestamp //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -64,23 +64,23 @@ pub struct ModuleWeight(PhantomData); impl pallet_timestamp::WeightInfo for ModuleWeight { // Storage: Timestamp Now (r:1 w:1) fn set() -> Weight { - (6_863_000 as Weight) + (6_485_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn on_finalize() -> Weight { - (4_124_000 as Weight) + (4_195_000 as Weight) } } // For backwards compatibility and tests impl WeightInfo for () { fn set() -> Weight { - (6_863_000 as Weight) + (6_485_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn on_finalize() -> Weight { - (4_124_000 as Weight) + (4_195_000 as Weight) } } diff --git a/runtime/mangata-kusama/src/weights/pallet_treasury_weights.rs b/runtime/mangata-kusama/src/weights/pallet_treasury_weights.rs index 88a4fff2e7..579371b034 100644 --- a/runtime/mangata-kusama/src/weights/pallet_treasury_weights.rs +++ b/runtime/mangata-kusama/src/weights/pallet_treasury_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_treasury //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -69,7 +69,7 @@ impl pallet_treasury::WeightInfo for ModuleWeight { // Storage: Treasury ProposalCount (r:1 w:1) // Storage: Treasury Proposals (r:0 w:1) fn propose_spend() -> Weight { - (34_972_000 as Weight) + (35_210_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -77,22 +77,22 @@ impl pallet_treasury::WeightInfo for ModuleWeight { // Storage: Tokens Accounts (r:1 w:1) // Storage: Tokens TotalIssuance (r:1 w:1) fn reject_proposal() -> Weight { - (33_334_000 as Weight) + (33_577_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Treasury Proposals (r:1 w:0) // Storage: Treasury Approvals (r:1 w:1) fn approve_proposal(p: u32, ) -> Weight { - (12_605_000 as Weight) + (12_461_000 as Weight) // Standard Error: 0 - .saturating_add((171_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((172_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Treasury Approvals (r:1 w:1) fn remove_approval() -> Weight { - (6_831_000 as Weight) + (6_937_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -101,9 +101,9 @@ impl pallet_treasury::WeightInfo for ModuleWeight { // Storage: Tokens TotalIssuance (r:1 w:1) // Storage: Treasury Proposals (r:2 w:0) fn on_initialize_proposals(p: u32, ) -> Weight { - (26_293_000 as Weight) - // Standard Error: 5_000 - .saturating_add((4_242_000 as Weight).saturating_mul(p as Weight)) + (26_021_000 as Weight) + // Standard Error: 4_000 + .saturating_add((4_225_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -113,31 +113,31 @@ impl pallet_treasury::WeightInfo for ModuleWeight { // For backwards compatibility and tests impl WeightInfo for () { fn propose_spend() -> Weight { - (34_972_000 as Weight) + (35_210_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn reject_proposal() -> Weight { - (33_334_000 as Weight) + (33_577_000 as Weight) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn approve_proposal(p: u32, ) -> Weight { - (12_605_000 as Weight) + (12_461_000 as Weight) // Standard Error: 0 - .saturating_add((171_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((172_000 as Weight).saturating_mul(p as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn remove_approval() -> Weight { - (6_831_000 as Weight) + (6_937_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn on_initialize_proposals(p: u32, ) -> Weight { - (26_293_000 as Weight) - // Standard Error: 5_000 - .saturating_add((4_242_000 as Weight).saturating_mul(p as Weight)) + (26_021_000 as Weight) + // Standard Error: 4_000 + .saturating_add((4_225_000 as Weight).saturating_mul(p as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) diff --git a/runtime/mangata-kusama/src/weights/pallet_utility_weights.rs b/runtime/mangata-kusama/src/weights/pallet_utility_weights.rs index 564166900c..20c5e1896f 100644 --- a/runtime/mangata-kusama/src/weights/pallet_utility_weights.rs +++ b/runtime/mangata-kusama/src/weights/pallet_utility_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_utility //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -66,49 +66,49 @@ pub trait WeightInfo { pub struct ModuleWeight(PhantomData); impl pallet_utility::WeightInfo for ModuleWeight { fn batch(c: u32, ) -> Weight { - (18_285_000 as Weight) + (24_070_000 as Weight) // Standard Error: 1_000 - .saturating_add((4_405_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((4_884_000 as Weight).saturating_mul(c as Weight)) } fn as_derivative() -> Weight { - (3_000_000 as Weight) + (3_268_000 as Weight) } fn batch_all(c: u32, ) -> Weight { - (21_831_000 as Weight) + (25_869_000 as Weight) // Standard Error: 1_000 - .saturating_add((4_773_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((5_214_000 as Weight).saturating_mul(c as Weight)) } fn dispatch_as() -> Weight { - (13_381_000 as Weight) + (13_054_000 as Weight) } fn force_batch(c: u32, ) -> Weight { - (20_918_000 as Weight) + (19_637_000 as Weight) // Standard Error: 1_000 - .saturating_add((4_359_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((4_881_000 as Weight).saturating_mul(c as Weight)) } } // For backwards compatibility and tests impl WeightInfo for () { fn batch(c: u32, ) -> Weight { - (18_285_000 as Weight) + (24_070_000 as Weight) // Standard Error: 1_000 - .saturating_add((4_405_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((4_884_000 as Weight).saturating_mul(c as Weight)) } fn as_derivative() -> Weight { - (3_000_000 as Weight) + (3_268_000 as Weight) } fn batch_all(c: u32, ) -> Weight { - (21_831_000 as Weight) + (25_869_000 as Weight) // Standard Error: 1_000 - .saturating_add((4_773_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((5_214_000 as Weight).saturating_mul(c as Weight)) } fn dispatch_as() -> Weight { - (13_381_000 as Weight) + (13_054_000 as Weight) } fn force_batch(c: u32, ) -> Weight { - (20_918_000 as Weight) + (19_637_000 as Weight) // Standard Error: 1_000 - .saturating_add((4_359_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((4_881_000 as Weight).saturating_mul(c as Weight)) } } diff --git a/runtime/mangata-kusama/src/weights/pallet_vesting_mangata_weights.rs b/runtime/mangata-kusama/src/weights/pallet_vesting_mangata_weights.rs index 18a83a6e79..b970552884 100644 --- a/runtime/mangata-kusama/src/weights/pallet_vesting_mangata_weights.rs +++ b/runtime/mangata-kusama/src/weights/pallet_vesting_mangata_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_vesting_mangata //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -71,9 +71,9 @@ impl pallet_vesting_mangata::WeightInfo for ModuleWeigh // Storage: Tokens Locks (r:1 w:1) // Storage: Tokens Accounts (r:1 w:1) fn vest_locked(_l: u32, s: u32, ) -> Weight { - (41_857_000 as Weight) + (41_348_000 as Weight) // Standard Error: 1_000 - .saturating_add((125_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((118_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -81,9 +81,9 @@ impl pallet_vesting_mangata::WeightInfo for ModuleWeigh // Storage: Tokens Locks (r:1 w:1) // Storage: Tokens Accounts (r:1 w:1) fn vest_unlocked(_l: u32, s: u32, ) -> Weight { - (45_443_000 as Weight) - // Standard Error: 2_000 - .saturating_add((81_000 as Weight).saturating_mul(s as Weight)) + (44_391_000 as Weight) + // Standard Error: 1_000 + .saturating_add((73_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -91,9 +91,9 @@ impl pallet_vesting_mangata::WeightInfo for ModuleWeigh // Storage: Tokens Locks (r:1 w:1) // Storage: Tokens Accounts (r:1 w:1) fn vest_other_locked(_l: u32, s: u32, ) -> Weight { - (41_678_000 as Weight) + (41_249_000 as Weight) // Standard Error: 1_000 - .saturating_add((123_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((116_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -102,7 +102,7 @@ impl pallet_vesting_mangata::WeightInfo for ModuleWeigh // Storage: Tokens Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) fn vest_other_unlocked(_l: u32, s: u32, ) -> Weight { - (44_679_000 as Weight) + (44_447_000 as Weight) // Standard Error: 1_000 .saturating_add((80_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) @@ -113,9 +113,9 @@ impl pallet_vesting_mangata::WeightInfo for ModuleWeigh // Storage: System Account (r:1 w:0) // Storage: Tokens Locks (r:1 w:1) fn force_vested_transfer(_l: u32, s: u32, ) -> Weight { - (60_879_000 as Weight) + (63_092_000 as Weight) // Standard Error: 1_000 - .saturating_add((142_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((134_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -123,9 +123,9 @@ impl pallet_vesting_mangata::WeightInfo for ModuleWeigh // Storage: Tokens Locks (r:1 w:1) // Storage: Tokens Accounts (r:1 w:1) fn not_unlocking_merge_schedules(_l: u32, s: u32, ) -> Weight { - (42_847_000 as Weight) + (42_459_000 as Weight) // Standard Error: 1_000 - .saturating_add((125_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((127_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -133,9 +133,9 @@ impl pallet_vesting_mangata::WeightInfo for ModuleWeigh // Storage: Tokens Locks (r:1 w:1) // Storage: Tokens Accounts (r:1 w:1) fn unlocking_merge_schedules(_l: u32, s: u32, ) -> Weight { - (42_913_000 as Weight) + (42_263_000 as Weight) // Standard Error: 1_000 - .saturating_add((129_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((120_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -144,51 +144,51 @@ impl pallet_vesting_mangata::WeightInfo for ModuleWeigh // For backwards compatibility and tests impl WeightInfo for () { fn vest_locked(_l: u32, s: u32, ) -> Weight { - (41_857_000 as Weight) + (41_348_000 as Weight) // Standard Error: 1_000 - .saturating_add((125_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((118_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } fn vest_unlocked(_l: u32, s: u32, ) -> Weight { - (45_443_000 as Weight) - // Standard Error: 2_000 - .saturating_add((81_000 as Weight).saturating_mul(s as Weight)) + (44_391_000 as Weight) + // Standard Error: 1_000 + .saturating_add((73_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn vest_other_locked(_l: u32, s: u32, ) -> Weight { - (41_678_000 as Weight) + (41_249_000 as Weight) // Standard Error: 1_000 - .saturating_add((123_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((116_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } fn vest_other_unlocked(_l: u32, s: u32, ) -> Weight { - (44_679_000 as Weight) + (44_447_000 as Weight) // Standard Error: 1_000 .saturating_add((80_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn force_vested_transfer(_l: u32, s: u32, ) -> Weight { - (60_879_000 as Weight) + (63_092_000 as Weight) // Standard Error: 1_000 - .saturating_add((142_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((134_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn not_unlocking_merge_schedules(_l: u32, s: u32, ) -> Weight { - (42_847_000 as Weight) + (42_459_000 as Weight) // Standard Error: 1_000 - .saturating_add((125_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((127_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } fn unlocking_merge_schedules(_l: u32, s: u32, ) -> Weight { - (42_913_000 as Weight) + (42_263_000 as Weight) // Standard Error: 1_000 - .saturating_add((129_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((120_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } diff --git a/runtime/mangata-kusama/src/weights/pallet_xyk_weights.rs b/runtime/mangata-kusama/src/weights/pallet_xyk_weights.rs index 0747eaf62c..f664f97fc6 100644 --- a/runtime/mangata-kusama/src/weights/pallet_xyk_weights.rs +++ b/runtime/mangata-kusama/src/weights/pallet_xyk_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_xyk //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -76,11 +76,11 @@ impl pallet_xyk::WeightInfo for ModuleWeight { // Storage: System Account (r:1 w:1) // Storage: Tokens NextCurrencyId (r:1 w:1) // Storage: Tokens TotalIssuance (r:1 w:1) - // Storage: AssetsInfo AssetsInfo (r:1 w:1) + // Storage: AssetRegistry Metadata (r:1 w:1) // Storage: Xyk LiquidityAssets (r:0 w:1) // Storage: Xyk LiquidityPools (r:0 w:1) fn create_pool() -> Weight { - (136_672_000 as Weight) + (143_430_000 as Weight) .saturating_add(T::DbWeight::get().reads(12 as Weight)) .saturating_add(T::DbWeight::get().writes(12 as Weight)) } @@ -88,7 +88,7 @@ impl pallet_xyk::WeightInfo for ModuleWeight { // Storage: Tokens Accounts (r:6 w:6) // Storage: System Account (r:2 w:2) fn sell_asset() -> Weight { - (144_985_000 as Weight) + (151_597_000 as Weight) .saturating_add(T::DbWeight::get().reads(11 as Weight)) .saturating_add(T::DbWeight::get().writes(9 as Weight)) } @@ -96,7 +96,7 @@ impl pallet_xyk::WeightInfo for ModuleWeight { // Storage: Tokens Accounts (r:6 w:6) // Storage: System Account (r:2 w:2) fn buy_asset() -> Weight { - (152_772_000 as Weight) + (158_939_000 as Weight) .saturating_add(T::DbWeight::get().reads(12 as Weight)) .saturating_add(T::DbWeight::get().writes(9 as Weight)) } @@ -112,7 +112,7 @@ impl pallet_xyk::WeightInfo for ModuleWeight { // Storage: Xyk LiquidityMiningActivePool (r:1 w:1) // Storage: MultiPurposeLiquidity ReserveStatus (r:1 w:1) fn mint_liquidity() -> Weight { - (164_956_000 as Weight) + (169_416_000 as Weight) .saturating_add(T::DbWeight::get().reads(15 as Weight)) .saturating_add(T::DbWeight::get().writes(12 as Weight)) } @@ -124,15 +124,10 @@ impl pallet_xyk::WeightInfo for ModuleWeight { // Storage: Xyk Pools (r:1 w:1) // Storage: Tokens TotalIssuance (r:1 w:1) // Storage: Tokens NextCurrencyId (r:1 w:0) - // Storage: Xyk LiquidityMiningUser (r:1 w:1) - // Storage: Xyk LiquidityMiningActiveUser (r:1 w:1) - // Storage: Xyk LiquidityMiningPool (r:1 w:1) - // Storage: Xyk LiquidityMiningActivePool (r:1 w:1) - // Storage: MultiPurposeLiquidity ReserveStatus (r:1 w:1) fn mint_liquidity_using_vesting_native_tokens() -> Weight { - (241_855_000 as Weight) - .saturating_add(T::DbWeight::get().reads(19 as Weight)) - .saturating_add(T::DbWeight::get().writes(16 as Weight)) + (198_407_000 as Weight) + .saturating_add(T::DbWeight::get().reads(14 as Weight)) + .saturating_add(T::DbWeight::get().writes(11 as Weight)) } // Storage: Xyk LiquidityAssets (r:1 w:2) // Storage: Issuance PromotedPoolsRewards (r:1 w:1) @@ -148,7 +143,7 @@ impl pallet_xyk::WeightInfo for ModuleWeight { // Storage: Tokens TotalIssuance (r:1 w:1) // Storage: Xyk LiquidityPools (r:0 w:1) fn burn_liquidity() -> Weight { - (170_749_000 as Weight) + (175_567_000 as Weight) .saturating_add(T::DbWeight::get().reads(16 as Weight)) .saturating_add(T::DbWeight::get().writes(19 as Weight)) } @@ -161,13 +156,13 @@ impl pallet_xyk::WeightInfo for ModuleWeight { // Storage: Xyk LiquidityMiningUserClaimed (r:1 w:1) // Storage: Tokens Accounts (r:2 w:2) fn claim_rewards() -> Weight { - (95_713_000 as Weight) + (95_224_000 as Weight) .saturating_add(T::DbWeight::get().reads(9 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: Issuance PromotedPoolsRewards (r:1 w:1) fn promote_pool() -> Weight { - (21_822_000 as Weight) + (21_528_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -179,7 +174,7 @@ impl pallet_xyk::WeightInfo for ModuleWeight { // Storage: Xyk LiquidityMiningPool (r:1 w:1) // Storage: Xyk LiquidityMiningActivePool (r:1 w:1) fn activate_liquidity() -> Weight { - (89_563_000 as Weight) + (89_332_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -193,7 +188,7 @@ impl pallet_xyk::WeightInfo for ModuleWeight { // Storage: MultiPurposeLiquidity ReserveStatus (r:1 w:1) // Storage: Tokens Accounts (r:1 w:1) fn deactivate_liquidity() -> Weight { - (101_514_000 as Weight) + (101_598_000 as Weight) .saturating_add(T::DbWeight::get().reads(9 as Weight)) .saturating_add(T::DbWeight::get().writes(9 as Weight)) } @@ -202,52 +197,52 @@ impl pallet_xyk::WeightInfo for ModuleWeight { // For backwards compatibility and tests impl WeightInfo for () { fn create_pool() -> Weight { - (136_672_000 as Weight) + (143_430_000 as Weight) .saturating_add(RocksDbWeight::get().reads(12 as Weight)) .saturating_add(RocksDbWeight::get().writes(12 as Weight)) } fn sell_asset() -> Weight { - (144_985_000 as Weight) + (151_597_000 as Weight) .saturating_add(RocksDbWeight::get().reads(11 as Weight)) .saturating_add(RocksDbWeight::get().writes(9 as Weight)) } fn buy_asset() -> Weight { - (152_772_000 as Weight) + (158_939_000 as Weight) .saturating_add(RocksDbWeight::get().reads(12 as Weight)) .saturating_add(RocksDbWeight::get().writes(9 as Weight)) } fn mint_liquidity() -> Weight { - (164_956_000 as Weight) + (169_416_000 as Weight) .saturating_add(RocksDbWeight::get().reads(15 as Weight)) .saturating_add(RocksDbWeight::get().writes(12 as Weight)) } fn mint_liquidity_using_vesting_native_tokens() -> Weight { - (241_855_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(19 as Weight)) - .saturating_add(RocksDbWeight::get().writes(16 as Weight)) + (198_407_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(14 as Weight)) + .saturating_add(RocksDbWeight::get().writes(11 as Weight)) } fn burn_liquidity() -> Weight { - (170_749_000 as Weight) + (175_567_000 as Weight) .saturating_add(RocksDbWeight::get().reads(16 as Weight)) .saturating_add(RocksDbWeight::get().writes(19 as Weight)) } fn claim_rewards() -> Weight { - (95_713_000 as Weight) + (95_224_000 as Weight) .saturating_add(RocksDbWeight::get().reads(9 as Weight)) .saturating_add(RocksDbWeight::get().writes(4 as Weight)) } fn promote_pool() -> Weight { - (21_822_000 as Weight) + (21_528_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn activate_liquidity() -> Weight { - (89_563_000 as Weight) + (89_332_000 as Weight) .saturating_add(RocksDbWeight::get().reads(7 as Weight)) .saturating_add(RocksDbWeight::get().writes(6 as Weight)) } fn deactivate_liquidity() -> Weight { - (101_514_000 as Weight) + (101_598_000 as Weight) .saturating_add(RocksDbWeight::get().reads(9 as Weight)) .saturating_add(RocksDbWeight::get().writes(9 as Weight)) } diff --git a/runtime/mangata-kusama/src/weights/parachain_staking_weights.rs b/runtime/mangata-kusama/src/weights/parachain_staking_weights.rs index 91140e0ab9..62a5e82e0e 100644 --- a/runtime/mangata-kusama/src/weights/parachain_staking_weights.rs +++ b/runtime/mangata-kusama/src/weights/parachain_staking_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for parachain_staking //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -93,13 +93,13 @@ pub struct ModuleWeight(PhantomData); impl parachain_staking::WeightInfo for ModuleWeight { // Storage: ParachainStaking TotalSelected (r:1 w:1) fn set_total_selected() -> Weight { - (15_513_000 as Weight) + (15_024_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking CollatorCommission (r:1 w:1) fn set_collator_commission() -> Weight { - (15_388_000 as Weight) + (14_983_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -111,11 +111,11 @@ impl parachain_staking::WeightInfo for ModuleWeight // Storage: Tokens Accounts (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn join_candidates(x: u32, y: u32, ) -> Weight { - (73_376_000 as Weight) + (71_927_000 as Weight) // Standard Error: 8_000 - .saturating_add((301_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((307_000 as Weight).saturating_mul(x as Weight)) // Standard Error: 2_000 - .saturating_add((33_000 as Weight).saturating_mul(y as Weight)) + .saturating_add((36_000 as Weight).saturating_mul(y as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -123,9 +123,9 @@ impl parachain_staking::WeightInfo for ModuleWeight // Storage: ParachainStaking Round (r:1 w:0) // Storage: ParachainStaking CandidatePool (r:1 w:1) fn schedule_leave_candidates(x: u32, ) -> Weight { - (35_237_000 as Weight) + (35_769_000 as Weight) // Standard Error: 9_000 - .saturating_add((368_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((304_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -136,9 +136,9 @@ impl parachain_staking::WeightInfo for ModuleWeight // Storage: ParachainStaking DelegatorState (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn execute_leave_candidates(x: u32, ) -> Weight { - (33_527_000 as Weight) - // Standard Error: 27_000 - .saturating_add((27_294_000 as Weight).saturating_mul(x as Weight)) + (33_168_000 as Weight) + // Standard Error: 22_000 + .saturating_add((26_818_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(x as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -147,9 +147,9 @@ impl parachain_staking::WeightInfo for ModuleWeight // Storage: ParachainStaking CandidateState (r:1 w:1) // Storage: ParachainStaking CandidatePool (r:1 w:1) fn cancel_leave_candidates(x: u32, ) -> Weight { - (32_728_000 as Weight) - // Standard Error: 11_000 - .saturating_add((311_000 as Weight).saturating_mul(x as Weight)) + (33_814_000 as Weight) + // Standard Error: 9_000 + .saturating_add((250_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -157,7 +157,7 @@ impl parachain_staking::WeightInfo for ModuleWeight // Storage: ParachainStaking CandidatePool (r:1 w:1) // Storage: ParachainStaking Round (r:1 w:0) fn go_offline() -> Weight { - (34_888_000 as Weight) + (33_692_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -165,7 +165,7 @@ impl parachain_staking::WeightInfo for ModuleWeight // Storage: ParachainStaking CandidatePool (r:1 w:1) // Storage: ParachainStaking Round (r:1 w:0) fn go_online() -> Weight { - (34_371_000 as Weight) + (33_358_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -174,14 +174,14 @@ impl parachain_staking::WeightInfo for ModuleWeight // Storage: Tokens Accounts (r:1 w:0) // Storage: ParachainStaking Round (r:1 w:0) fn schedule_candidate_bond_more() -> Weight { - (44_067_000 as Weight) + (42_695_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking CandidateState (r:1 w:1) // Storage: ParachainStaking Round (r:1 w:0) fn schedule_candidate_bond_less() -> Weight { - (29_940_000 as Weight) + (29_027_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -192,7 +192,7 @@ impl parachain_staking::WeightInfo for ModuleWeight // Storage: ParachainStaking Total (r:1 w:1) // Storage: ParachainStaking CandidatePool (r:1 w:1) fn execute_candidate_bond_more() -> Weight { - (70_080_000 as Weight) + (68_667_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -203,19 +203,19 @@ impl parachain_staking::WeightInfo for ModuleWeight // Storage: ParachainStaking Total (r:1 w:1) // Storage: ParachainStaking CandidatePool (r:1 w:1) fn execute_candidate_bond_less() -> Weight { - (66_430_000 as Weight) + (65_034_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } // Storage: ParachainStaking CandidateState (r:1 w:1) fn cancel_candidate_bond_more() -> Weight { - (26_954_000 as Weight) + (26_031_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking CandidateState (r:1 w:1) fn cancel_candidate_bond_less() -> Weight { - (26_721_000 as Weight) + (25_748_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -226,18 +226,18 @@ impl parachain_staking::WeightInfo for ModuleWeight // Storage: ParachainStaking CandidatePool (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn delegate(x: u32, y: u32, ) -> Weight { - (75_958_000 as Weight) - // Standard Error: 12_000 - .saturating_add((462_000 as Weight).saturating_mul(x as Weight)) - // Standard Error: 40_000 - .saturating_add((242_000 as Weight).saturating_mul(y as Weight)) + (76_913_000 as Weight) + // Standard Error: 15_000 + .saturating_add((375_000 as Weight).saturating_mul(x as Weight)) + // Standard Error: 49_000 + .saturating_add((162_000 as Weight).saturating_mul(y as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } // Storage: ParachainStaking DelegatorState (r:1 w:1) // Storage: ParachainStaking Round (r:1 w:0) fn schedule_leave_delegators() -> Weight { - (30_574_000 as Weight) + (29_308_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -249,9 +249,9 @@ impl parachain_staking::WeightInfo for ModuleWeight // Storage: ParachainStaking CandidatePool (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn execute_leave_delegators(x: u32, ) -> Weight { - (7_619_000 as Weight) - // Standard Error: 49_000 - .saturating_add((31_037_000 as Weight).saturating_mul(x as Weight)) + (9_008_000 as Weight) + // Standard Error: 43_000 + .saturating_add((30_883_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(x as Weight))) .saturating_add(T::DbWeight::get().writes(4 as Weight)) @@ -259,14 +259,14 @@ impl parachain_staking::WeightInfo for ModuleWeight } // Storage: ParachainStaking DelegatorState (r:1 w:1) fn cancel_leave_delegators() -> Weight { - (26_810_000 as Weight) + (25_768_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking DelegatorState (r:1 w:1) // Storage: ParachainStaking Round (r:1 w:0) fn schedule_revoke_delegation() -> Weight { - (31_498_000 as Weight) + (30_336_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -275,14 +275,14 @@ impl parachain_staking::WeightInfo for ModuleWeight // Storage: Tokens Accounts (r:1 w:0) // Storage: ParachainStaking Round (r:1 w:0) fn schedule_delegator_bond_more() -> Weight { - (45_364_000 as Weight) + (44_286_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking DelegatorState (r:1 w:1) // Storage: ParachainStaking Round (r:1 w:0) fn schedule_delegator_bond_less() -> Weight { - (31_765_000 as Weight) + (30_599_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -294,7 +294,7 @@ impl parachain_staking::WeightInfo for ModuleWeight // Storage: ParachainStaking CandidatePool (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn execute_revoke_delegation() -> Weight { - (86_670_000 as Weight) + (83_909_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -306,7 +306,7 @@ impl parachain_staking::WeightInfo for ModuleWeight // Storage: ParachainStaking CandidatePool (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn execute_delegator_bond_more() -> Weight { - (81_367_000 as Weight) + (79_260_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -318,39 +318,39 @@ impl parachain_staking::WeightInfo for ModuleWeight // Storage: ParachainStaking CandidatePool (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn execute_delegator_bond_less() -> Weight { - (77_819_000 as Weight) + (75_898_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } // Storage: ParachainStaking DelegatorState (r:1 w:1) fn cancel_revoke_delegation() -> Weight { - (28_234_000 as Weight) + (26_954_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking DelegatorState (r:1 w:1) fn cancel_delegator_bond_more() -> Weight { - (32_822_000 as Weight) + (31_424_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking DelegatorState (r:1 w:1) fn cancel_delegator_bond_less() -> Weight { - (32_613_000 as Weight) + (31_728_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking StakingLiquidityTokens (r:1 w:1) fn add_staking_liquidity_token(x: u32, ) -> Weight { - (8_254_000 as Weight) + (7_924_000 as Weight) // Standard Error: 0 - .saturating_add((74_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((76_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking StakingLiquidityTokens (r:1 w:1) fn remove_staking_liquidity_token(x: u32, ) -> Weight { - (8_257_000 as Weight) + (7_983_000 as Weight) // Standard Error: 0 .saturating_add((77_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) @@ -358,7 +358,7 @@ impl parachain_staking::WeightInfo for ModuleWeight } // Storage: ParachainStaking Round (r:1 w:0) fn passive_session_change() -> Weight { - (5_671_000 as Weight) + (5_400_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } // Storage: ParachainStaking Round (r:1 w:1) @@ -389,13 +389,13 @@ impl parachain_staking::WeightInfo for ModuleWeight fn active_session_change(x: u32, y: u32, z: u32, w: u32, ) -> Weight { (0 as Weight) // Standard Error: 68_000 - .saturating_add((15_832_000 as Weight).saturating_mul(x as Weight)) - // Standard Error: 1_935_000 - .saturating_add((483_540_000 as Weight).saturating_mul(y as Weight)) - // Standard Error: 1_382_000 - .saturating_add((1_164_896_000 as Weight).saturating_mul(z as Weight)) - // Standard Error: 1_935_000 - .saturating_add((478_772_000 as Weight).saturating_mul(w as Weight)) + .saturating_add((15_435_000 as Weight).saturating_mul(x as Weight)) + // Standard Error: 1_929_000 + .saturating_add((479_053_000 as Weight).saturating_mul(y as Weight)) + // Standard Error: 1_378_000 + .saturating_add((1_158_423_000 as Weight).saturating_mul(z as Weight)) + // Standard Error: 1_929_000 + .saturating_add((468_500_000 as Weight).saturating_mul(w as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(x as Weight))) .saturating_add(T::DbWeight::get().reads((30 as Weight).saturating_mul(y as Weight))) .saturating_add(T::DbWeight::get().reads((66 as Weight).saturating_mul(z as Weight))) @@ -409,188 +409,188 @@ impl parachain_staking::WeightInfo for ModuleWeight // For backwards compatibility and tests impl WeightInfo for () { fn set_total_selected() -> Weight { - (15_513_000 as Weight) + (15_024_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn set_collator_commission() -> Weight { - (15_388_000 as Weight) + (14_983_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn join_candidates(x: u32, y: u32, ) -> Weight { - (73_376_000 as Weight) + (71_927_000 as Weight) // Standard Error: 8_000 - .saturating_add((301_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((307_000 as Weight).saturating_mul(x as Weight)) // Standard Error: 2_000 - .saturating_add((33_000 as Weight).saturating_mul(y as Weight)) + .saturating_add((36_000 as Weight).saturating_mul(y as Weight)) .saturating_add(RocksDbWeight::get().reads(7 as Weight)) .saturating_add(RocksDbWeight::get().writes(5 as Weight)) } fn schedule_leave_candidates(x: u32, ) -> Weight { - (35_237_000 as Weight) + (35_769_000 as Weight) // Standard Error: 9_000 - .saturating_add((368_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((304_000 as Weight).saturating_mul(x as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } fn execute_leave_candidates(x: u32, ) -> Weight { - (33_527_000 as Weight) - // Standard Error: 27_000 - .saturating_add((27_294_000 as Weight).saturating_mul(x as Weight)) + (33_168_000 as Weight) + // Standard Error: 22_000 + .saturating_add((26_818_000 as Weight).saturating_mul(x as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().reads((3 as Weight).saturating_mul(x as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) .saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(x as Weight))) } fn cancel_leave_candidates(x: u32, ) -> Weight { - (32_728_000 as Weight) - // Standard Error: 11_000 - .saturating_add((311_000 as Weight).saturating_mul(x as Weight)) + (33_814_000 as Weight) + // Standard Error: 9_000 + .saturating_add((250_000 as Weight).saturating_mul(x as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } fn go_offline() -> Weight { - (34_888_000 as Weight) + (33_692_000 as Weight) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } fn go_online() -> Weight { - (34_371_000 as Weight) + (33_358_000 as Weight) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } fn schedule_candidate_bond_more() -> Weight { - (44_067_000 as Weight) + (42_695_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn schedule_candidate_bond_less() -> Weight { - (29_940_000 as Weight) + (29_027_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn execute_candidate_bond_more() -> Weight { - (70_080_000 as Weight) + (68_667_000 as Weight) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) .saturating_add(RocksDbWeight::get().writes(5 as Weight)) } fn execute_candidate_bond_less() -> Weight { - (66_430_000 as Weight) + (65_034_000 as Weight) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) .saturating_add(RocksDbWeight::get().writes(5 as Weight)) } fn cancel_candidate_bond_more() -> Weight { - (26_954_000 as Weight) + (26_031_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn cancel_candidate_bond_less() -> Weight { - (26_721_000 as Weight) + (25_748_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn delegate(x: u32, y: u32, ) -> Weight { - (75_958_000 as Weight) - // Standard Error: 12_000 - .saturating_add((462_000 as Weight).saturating_mul(x as Weight)) - // Standard Error: 40_000 - .saturating_add((242_000 as Weight).saturating_mul(y as Weight)) + (76_913_000 as Weight) + // Standard Error: 15_000 + .saturating_add((375_000 as Weight).saturating_mul(x as Weight)) + // Standard Error: 49_000 + .saturating_add((162_000 as Weight).saturating_mul(y as Weight)) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) .saturating_add(RocksDbWeight::get().writes(6 as Weight)) } fn schedule_leave_delegators() -> Weight { - (30_574_000 as Weight) + (29_308_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn execute_leave_delegators(x: u32, ) -> Weight { - (7_619_000 as Weight) - // Standard Error: 49_000 - .saturating_add((31_037_000 as Weight).saturating_mul(x as Weight)) + (9_008_000 as Weight) + // Standard Error: 43_000 + .saturating_add((30_883_000 as Weight).saturating_mul(x as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(x as Weight))) .saturating_add(RocksDbWeight::get().writes(4 as Weight)) .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(x as Weight))) } fn cancel_leave_delegators() -> Weight { - (26_810_000 as Weight) + (25_768_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn schedule_revoke_delegation() -> Weight { - (31_498_000 as Weight) + (30_336_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn schedule_delegator_bond_more() -> Weight { - (45_364_000 as Weight) + (44_286_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn schedule_delegator_bond_less() -> Weight { - (31_765_000 as Weight) + (30_599_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn execute_revoke_delegation() -> Weight { - (86_670_000 as Weight) + (83_909_000 as Weight) .saturating_add(RocksDbWeight::get().reads(7 as Weight)) .saturating_add(RocksDbWeight::get().writes(6 as Weight)) } fn execute_delegator_bond_more() -> Weight { - (81_367_000 as Weight) + (79_260_000 as Weight) .saturating_add(RocksDbWeight::get().reads(7 as Weight)) .saturating_add(RocksDbWeight::get().writes(6 as Weight)) } fn execute_delegator_bond_less() -> Weight { - (77_819_000 as Weight) + (75_898_000 as Weight) .saturating_add(RocksDbWeight::get().reads(7 as Weight)) .saturating_add(RocksDbWeight::get().writes(6 as Weight)) } fn cancel_revoke_delegation() -> Weight { - (28_234_000 as Weight) + (26_954_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn cancel_delegator_bond_more() -> Weight { - (32_822_000 as Weight) + (31_424_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn cancel_delegator_bond_less() -> Weight { - (32_613_000 as Weight) + (31_728_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn add_staking_liquidity_token(x: u32, ) -> Weight { - (8_254_000 as Weight) + (7_924_000 as Weight) // Standard Error: 0 - .saturating_add((74_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((76_000 as Weight).saturating_mul(x as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn remove_staking_liquidity_token(x: u32, ) -> Weight { - (8_257_000 as Weight) + (7_983_000 as Weight) // Standard Error: 0 .saturating_add((77_000 as Weight).saturating_mul(x as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn passive_session_change() -> Weight { - (5_671_000 as Weight) + (5_400_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) } fn active_session_change(x: u32, y: u32, z: u32, w: u32, ) -> Weight { (0 as Weight) // Standard Error: 68_000 - .saturating_add((15_832_000 as Weight).saturating_mul(x as Weight)) - // Standard Error: 1_935_000 - .saturating_add((483_540_000 as Weight).saturating_mul(y as Weight)) - // Standard Error: 1_382_000 - .saturating_add((1_164_896_000 as Weight).saturating_mul(z as Weight)) - // Standard Error: 1_935_000 - .saturating_add((478_772_000 as Weight).saturating_mul(w as Weight)) + .saturating_add((15_435_000 as Weight).saturating_mul(x as Weight)) + // Standard Error: 1_929_000 + .saturating_add((479_053_000 as Weight).saturating_mul(y as Weight)) + // Standard Error: 1_378_000 + .saturating_add((1_158_423_000 as Weight).saturating_mul(z as Weight)) + // Standard Error: 1_929_000 + .saturating_add((468_500_000 as Weight).saturating_mul(w as Weight)) .saturating_add(RocksDbWeight::get().reads((3 as Weight).saturating_mul(x as Weight))) .saturating_add(RocksDbWeight::get().reads((30 as Weight).saturating_mul(y as Weight))) .saturating_add(RocksDbWeight::get().reads((66 as Weight).saturating_mul(z as Weight))) diff --git a/runtime/mangata-rococo/src/lib.rs b/runtime/mangata-rococo/src/lib.rs index c7c9d2b2f2..5642368e67 100644 --- a/runtime/mangata-rococo/src/lib.rs +++ b/runtime/mangata-rococo/src/lib.rs @@ -183,11 +183,11 @@ impl_opaque_keys! { pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("mangata-parachain"), impl_name: create_runtime_str!("mangata-parachain"), - authoring_version: 8, - spec_version: 8, + authoring_version: 9, + spec_version: 9, impl_version: 0, apis: RUNTIME_API_VERSIONS, - transaction_version: 8, + transaction_version: 9, state_version: 0, }; @@ -1099,7 +1099,7 @@ impl orml_asset_registry::Config for Runtime { type AuthorityOrigin = AssetAuthority; type AssetProcessor = SequentialIdWithCreation; type Balance = Balance; - type WeightInfo = weights::xcm_asset_registry_weights::ModuleWeight; + type WeightInfo = weights::orml_asset_registry_weights::ModuleWeight; } // Create the runtime by composing the FRAME pallets that were previously configured. diff --git a/runtime/mangata-rococo/src/weights/frame_system_weights.rs b/runtime/mangata-rococo/src/weights/frame_system_weights.rs index bb1fd32425..212ec1630c 100644 --- a/runtime/mangata-rococo/src/weights/frame_system_weights.rs +++ b/runtime/mangata-rococo/src/weights/frame_system_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for frame_system //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -77,7 +77,7 @@ impl frame_system::WeightInfo for ModuleWeight { // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) fn set_heap_pages() -> Weight { - (4_228_000 as Weight) + (4_333_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -85,7 +85,7 @@ impl frame_system::WeightInfo for ModuleWeight { fn set_storage(i: u32, ) -> Weight { (0 as Weight) // Standard Error: 0 - .saturating_add((603_000 as Weight).saturating_mul(i as Weight)) + .saturating_add((604_000 as Weight).saturating_mul(i as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } // Storage: Skipped Metadata (r:0 w:0) @@ -97,9 +97,9 @@ impl frame_system::WeightInfo for ModuleWeight { } // Storage: Skipped Metadata (r:0 w:0) fn kill_prefix(p: u32, ) -> Weight { - (2_493_000 as Weight) + (861_000 as Weight) // Standard Error: 0 - .saturating_add((874_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((818_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } } @@ -115,14 +115,14 @@ impl WeightInfo for () { .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) } fn set_heap_pages() -> Weight { - (4_228_000 as Weight) + (4_333_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } fn set_storage(i: u32, ) -> Weight { (0 as Weight) // Standard Error: 0 - .saturating_add((603_000 as Weight).saturating_mul(i as Weight)) + .saturating_add((604_000 as Weight).saturating_mul(i as Weight)) .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } fn kill_storage(i: u32, ) -> Weight { @@ -132,9 +132,9 @@ impl WeightInfo for () { .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } fn kill_prefix(p: u32, ) -> Weight { - (2_493_000 as Weight) + (861_000 as Weight) // Standard Error: 0 - .saturating_add((874_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((818_000 as Weight).saturating_mul(p as Weight)) .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } } diff --git a/runtime/mangata-rococo/src/weights/mod.rs b/runtime/mangata-rococo/src/weights/mod.rs index b7e70c8e57..766b543f2f 100644 --- a/runtime/mangata-rococo/src/weights/mod.rs +++ b/runtime/mangata-rococo/src/weights/mod.rs @@ -1,6 +1,7 @@ #![allow(clippy::unnecessary_cast)] pub mod frame_system_weights; +pub mod orml_asset_registry_weights; pub mod orml_tokens_weights; pub mod pallet_bootstrap_weights; pub mod pallet_collective_weights; @@ -15,4 +16,3 @@ pub mod pallet_utility_weights; pub mod pallet_vesting_mangata_weights; pub mod pallet_xyk_weights; pub mod parachain_staking_weights; -pub mod xcm_asset_registry_weights; diff --git a/runtime/mangata-rococo/src/weights/xcm_asset_registry_weights.rs b/runtime/mangata-rococo/src/weights/orml_asset_registry_weights.rs similarity index 81% rename from runtime/mangata-rococo/src/weights/xcm_asset_registry_weights.rs rename to runtime/mangata-rococo/src/weights/orml_asset_registry_weights.rs index 9b5e07ecfb..b663a91a8f 100644 --- a/runtime/mangata-rococo/src/weights/xcm_asset_registry_weights.rs +++ b/runtime/mangata-rococo/src/weights/orml_asset_registry_weights.rs @@ -16,10 +16,10 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -//! Autogenerated weights for xcm_asset_registry +//! Autogenerated weights for orml_asset_registry //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -33,7 +33,7 @@ // --wasm-execution // compiled // --pallet -// xcm_asset_registry +// orml_asset_registry // --extrinsic // * // --steps @@ -41,7 +41,7 @@ // --repeat // 20 // --output -// ./benchmarks/xcm_asset_registry_weights.rs +// ./benchmarks/orml_asset_registry_weights.rs // --template // ./templates/module-weight-template.hbs @@ -53,27 +53,28 @@ use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use sp_std::marker::PhantomData; -/// Weight functions needed for xcm_asset_registry. +/// Weight functions needed for orml_asset_registry. pub trait WeightInfo { fn register_asset() -> Weight; fn update_asset() -> Weight; } -/// Weights for xcm_asset_registry using the Mangata node and recommended hardware. +/// Weights for orml_asset_registry using the Mangata node and recommended hardware. pub struct ModuleWeight(PhantomData); impl orml_asset_registry::WeightInfo for ModuleWeight { // Storage: Tokens NextCurrencyId (r:1 w:1) + // Storage: Tokens Accounts (r:1 w:0) // Storage: AssetRegistry Metadata (r:1 w:1) // Storage: AssetRegistry LocationToAssetId (r:1 w:1) fn register_asset() -> Weight { - (34_624_000 as Weight) - .saturating_add(T::DbWeight::get().reads(3 as Weight)) + (41_275_000 as Weight) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: AssetRegistry Metadata (r:1 w:1) // Storage: AssetRegistry LocationToAssetId (r:1 w:1) fn update_asset() -> Weight { - (28_712_000 as Weight) + (29_857_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -82,13 +83,13 @@ impl orml_asset_registry::WeightInfo for ModuleWeight Weight { - (34_624_000 as Weight) + (41_275_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn update_asset() -> Weight { - (28_712_000 as Weight) + (29_857_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) - .saturating_add(RocksDbWeight::get().writes(3 as Weight)) + .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } } diff --git a/runtime/mangata-rococo/src/weights/orml_tokens_weights.rs b/runtime/mangata-rococo/src/weights/orml_tokens_weights.rs index a01181f0e9..7cbe0f9ef0 100644 --- a/runtime/mangata-rococo/src/weights/orml_tokens_weights.rs +++ b/runtime/mangata-rococo/src/weights/orml_tokens_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for orml_tokens //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -70,35 +70,35 @@ impl orml_tokens::WeightInfo for ModuleWeight { // Storage: Tokens Accounts (r:2 w:2) // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - (47_667_000 as Weight) + (47_244_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Tokens Accounts (r:2 w:2) // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { - (49_312_000 as Weight) + (49_010_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Tokens Accounts (r:2 w:2) // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - (43_327_000 as Weight) + (43_617_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Tokens Accounts (r:2 w:2) // Storage: System Account (r:2 w:1) fn force_transfer() -> Weight { - (46_240_000 as Weight) + (46_382_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Tokens Accounts (r:1 w:1) // Storage: Tokens TotalIssuance (r:1 w:1) fn set_balance() -> Weight { - (24_242_000 as Weight) + (24_719_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -107,7 +107,7 @@ impl orml_tokens::WeightInfo for ModuleWeight { // Storage: Tokens TotalIssuance (r:1 w:1) // Storage: System Account (r:1 w:1) fn create() -> Weight { - (43_187_000 as Weight) + (42_794_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -116,7 +116,7 @@ impl orml_tokens::WeightInfo for ModuleWeight { // Storage: Tokens TotalIssuance (r:1 w:1) // Storage: System Account (r:1 w:1) fn mint() -> Weight { - (42_682_000 as Weight) + (42_599_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -125,37 +125,37 @@ impl orml_tokens::WeightInfo for ModuleWeight { // For backwards compatibility and tests impl WeightInfo for () { fn transfer() -> Weight { - (47_667_000 as Weight) + (47_244_000 as Weight) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn transfer_all() -> Weight { - (49_312_000 as Weight) + (49_010_000 as Weight) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn transfer_keep_alive() -> Weight { - (43_327_000 as Weight) + (43_617_000 as Weight) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn force_transfer() -> Weight { - (46_240_000 as Weight) + (46_382_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn set_balance() -> Weight { - (24_242_000 as Weight) + (24_719_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } fn create() -> Weight { - (43_187_000 as Weight) + (42_794_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(4 as Weight)) } fn mint() -> Weight { - (42_682_000 as Weight) + (42_599_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } diff --git a/runtime/mangata-rococo/src/weights/pallet_bootstrap_weights.rs b/runtime/mangata-rococo/src/weights/pallet_bootstrap_weights.rs index f98766d012..3979016c8e 100644 --- a/runtime/mangata-rococo/src/weights/pallet_bootstrap_weights.rs +++ b/runtime/mangata-rococo/src/weights/pallet_bootstrap_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_bootstrap //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-08-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -33,7 +33,7 @@ // --wasm-execution // compiled // --pallet -// pallet-bootstrap +// pallet_bootstrap // --extrinsic // * // --steps @@ -41,7 +41,7 @@ // --repeat // 20 // --output -// ./benchmarks/pallet-bootstrap_weights.rs +// ./benchmarks/pallet_bootstrap_weights.rs // --template // ./templates/module-weight-template.hbs @@ -69,11 +69,12 @@ impl pallet_bootstrap::WeightInfo for ModuleWeight { // Storage: Tokens NextCurrencyId (r:1 w:0) // Storage: Xyk Pools (r:2 w:0) // Storage: Bootstrap BootstrapSchedule (r:0 w:1) + // Storage: Bootstrap PromoteBootstrapPool (r:0 w:1) // Storage: Bootstrap ActivePair (r:0 w:1) fn schedule_bootstrap() -> Weight { - (26_587_000 as Weight) + (26_692_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) - .saturating_add(T::DbWeight::get().writes(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Bootstrap ActivePair (r:1 w:0) // Storage: Bootstrap Phase (r:1 w:0) @@ -85,7 +86,7 @@ impl pallet_bootstrap::WeightInfo for ModuleWeight { // Storage: Bootstrap Valuations (r:1 w:1) // Storage: Bootstrap ProvisionAccounts (r:0 w:1) fn provision() -> Weight { - (89_870_000 as Weight) + (80_812_000 as Weight) .saturating_add(T::DbWeight::get().reads(9 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -101,7 +102,7 @@ impl pallet_bootstrap::WeightInfo for ModuleWeight { // Storage: Bootstrap Valuations (r:1 w:1) // Storage: Bootstrap ProvisionAccounts (r:0 w:1) fn provision_vested() -> Weight { - (183_414_000 as Weight) + (111_492_000 as Weight) .saturating_add(T::DbWeight::get().reads(11 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) } @@ -124,7 +125,7 @@ impl pallet_bootstrap::WeightInfo for ModuleWeight { // Storage: Xyk LiquidityMiningActivePool (r:1 w:1) // Storage: Bootstrap ProvisionAccounts (r:0 w:1) fn claim_and_activate_liquidity_tokens() -> Weight { - (432_898_000 as Weight) + (253_032_000 as Weight) .saturating_add(T::DbWeight::get().reads(21 as Weight)) .saturating_add(T::DbWeight::get().writes(12 as Weight)) } @@ -138,39 +139,40 @@ impl pallet_bootstrap::WeightInfo for ModuleWeight { // Storage: Bootstrap Provisions (r:0 w:2) // Storage: Bootstrap Valuations (r:0 w:1) // Storage: Bootstrap ClaimedRewards (r:0 w:2) + // Storage: Bootstrap PromoteBootstrapPool (r:0 w:1) // Storage: Bootstrap ActivePair (r:0 w:1) fn finalize() -> Weight { - (112_243_000 as Weight) + (81_226_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) - .saturating_add(T::DbWeight::get().writes(12 as Weight)) + .saturating_add(T::DbWeight::get().writes(13 as Weight)) } } // For backwards compatibility and tests impl WeightInfo for () { fn schedule_bootstrap() -> Weight { - (26_587_000 as Weight) + (26_692_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) - .saturating_add(RocksDbWeight::get().writes(2 as Weight)) + .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn provision() -> Weight { - (89_870_000 as Weight) + (80_812_000 as Weight) .saturating_add(RocksDbWeight::get().reads(9 as Weight)) .saturating_add(RocksDbWeight::get().writes(6 as Weight)) } fn provision_vested() -> Weight { - (183_414_000 as Weight) + (111_492_000 as Weight) .saturating_add(RocksDbWeight::get().reads(11 as Weight)) .saturating_add(RocksDbWeight::get().writes(8 as Weight)) } fn claim_and_activate_liquidity_tokens() -> Weight { - (432_898_000 as Weight) + (253_032_000 as Weight) .saturating_add(RocksDbWeight::get().reads(21 as Weight)) .saturating_add(RocksDbWeight::get().writes(12 as Weight)) } fn finalize() -> Weight { - (112_243_000 as Weight) + (81_226_000 as Weight) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) - .saturating_add(RocksDbWeight::get().writes(12 as Weight)) + .saturating_add(RocksDbWeight::get().writes(13 as Weight)) } } diff --git a/runtime/mangata-rococo/src/weights/pallet_collective_weights.rs b/runtime/mangata-rococo/src/weights/pallet_collective_weights.rs index 9e65807827..7dcb88cd6d 100644 --- a/runtime/mangata-rococo/src/weights/pallet_collective_weights.rs +++ b/runtime/mangata-rococo/src/weights/pallet_collective_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_collective //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -76,10 +76,10 @@ impl pallet_collective::WeightInfo for ModuleWeight // Storage: Council Prime (r:0 w:1) fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { (0 as Weight) - // Standard Error: 14_000 - .saturating_add((12_680_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 14_000 - .saturating_add((17_039_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 6_000 + .saturating_add((12_622_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 6_000 + .saturating_add((16_969_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -87,21 +87,21 @@ impl pallet_collective::WeightInfo for ModuleWeight } // Storage: Council Members (r:1 w:0) fn execute(b: u32, m: u32, ) -> Weight { - (18_450_000 as Weight) + (19_130_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((38_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((36_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } // Storage: Council Members (r:1 w:0) // Storage: Council ProposalOf (r:1 w:0) fn propose_execute(b: u32, m: u32, ) -> Weight { - (21_949_000 as Weight) + (23_163_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((65_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((60_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) } // Storage: Council Members (r:1 w:0) @@ -110,22 +110,22 @@ impl pallet_collective::WeightInfo for ModuleWeight // Storage: Council ProposalCount (r:1 w:1) // Storage: Council Voting (r:0 w:1) fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - (29_149_000 as Weight) + (31_804_000 as Weight) // Standard Error: 0 - .saturating_add((9_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((7_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 1_000 - .saturating_add((54_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((50_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 1_000 - .saturating_add((253_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((247_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: Council Members (r:1 w:0) // Storage: Council Voting (r:1 w:1) fn vote(m: u32, ) -> Weight { - (36_863_000 as Weight) + (36_520_000 as Weight) // Standard Error: 2_000 - .saturating_add((85_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((95_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -134,11 +134,11 @@ impl pallet_collective::WeightInfo for ModuleWeight // Storage: Council Proposals (r:1 w:1) // Storage: Council ProposalOf (r:0 w:1) fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - (38_649_000 as Weight) + (41_324_000 as Weight) // Standard Error: 2_000 - .saturating_add((61_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 1_000 - .saturating_add((194_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((40_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 2_000 + .saturating_add((179_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -147,13 +147,13 @@ impl pallet_collective::WeightInfo for ModuleWeight // Storage: Council ProposalOf (r:1 w:1) // Storage: Council Proposals (r:1 w:1) fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - (40_947_000 as Weight) + (44_557_000 as Weight) // Standard Error: 0 - .saturating_add((7_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((6_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 1_000 - .saturating_add((96_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((82_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 1_000 - .saturating_add((253_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((239_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -163,11 +163,11 @@ impl pallet_collective::WeightInfo for ModuleWeight // Storage: Council Proposals (r:1 w:1) // Storage: Council ProposalOf (r:0 w:1) fn close_disapproved(m: u32, p: u32, ) -> Weight { - (42_214_000 as Weight) + (42_432_000 as Weight) // Standard Error: 2_000 - .saturating_add((70_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((63_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 2_000 - .saturating_add((196_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((193_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -177,13 +177,13 @@ impl pallet_collective::WeightInfo for ModuleWeight // Storage: Council ProposalOf (r:1 w:1) // Storage: Council Proposals (r:1 w:1) fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - (47_554_000 as Weight) + (48_222_000 as Weight) // Standard Error: 0 - .saturating_add((6_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((7_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 1_000 .saturating_add((77_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 1_000 - .saturating_add((246_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((240_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -191,9 +191,9 @@ impl pallet_collective::WeightInfo for ModuleWeight // Storage: Council Voting (r:0 w:1) // Storage: Council ProposalOf (r:0 w:1) fn disapprove_proposal(p: u32, ) -> Weight { - (22_670_000 as Weight) + (22_902_000 as Weight) // Standard Error: 1_000 - .saturating_add((257_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((247_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -203,93 +203,93 @@ impl pallet_collective::WeightInfo for ModuleWeight impl WeightInfo for () { fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { (0 as Weight) - // Standard Error: 14_000 - .saturating_add((12_680_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 14_000 - .saturating_add((17_039_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 6_000 + .saturating_add((12_622_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 6_000 + .saturating_add((16_969_000 as Weight).saturating_mul(p as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } fn execute(b: u32, m: u32, ) -> Weight { - (18_450_000 as Weight) + (19_130_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((38_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((36_000 as Weight).saturating_mul(m as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) } fn propose_execute(b: u32, m: u32, ) -> Weight { - (21_949_000 as Weight) + (23_163_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((65_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((60_000 as Weight).saturating_mul(m as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) } fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - (29_149_000 as Weight) + (31_804_000 as Weight) // Standard Error: 0 - .saturating_add((9_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((7_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 1_000 - .saturating_add((54_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((50_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 1_000 - .saturating_add((253_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((247_000 as Weight).saturating_mul(p as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(4 as Weight)) } fn vote(m: u32, ) -> Weight { - (36_863_000 as Weight) + (36_520_000 as Weight) // Standard Error: 2_000 - .saturating_add((85_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((95_000 as Weight).saturating_mul(m as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - (38_649_000 as Weight) + (41_324_000 as Weight) // Standard Error: 2_000 - .saturating_add((61_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 1_000 - .saturating_add((194_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((40_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 2_000 + .saturating_add((179_000 as Weight).saturating_mul(p as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - (40_947_000 as Weight) + (44_557_000 as Weight) // Standard Error: 0 - .saturating_add((7_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((6_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 1_000 - .saturating_add((96_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((82_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 1_000 - .saturating_add((253_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((239_000 as Weight).saturating_mul(p as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn close_disapproved(m: u32, p: u32, ) -> Weight { - (42_214_000 as Weight) + (42_432_000 as Weight) // Standard Error: 2_000 - .saturating_add((70_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((63_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 2_000 - .saturating_add((196_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((193_000 as Weight).saturating_mul(p as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - (47_554_000 as Weight) + (48_222_000 as Weight) // Standard Error: 0 - .saturating_add((6_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((7_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 1_000 .saturating_add((77_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 1_000 - .saturating_add((246_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((240_000 as Weight).saturating_mul(p as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn disapprove_proposal(p: u32, ) -> Weight { - (22_670_000 as Weight) + (22_902_000 as Weight) // Standard Error: 1_000 - .saturating_add((257_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((247_000 as Weight).saturating_mul(p as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } diff --git a/runtime/mangata-rococo/src/weights/pallet_crowdloan_rewards_weights.rs b/runtime/mangata-rococo/src/weights/pallet_crowdloan_rewards_weights.rs index 3b4e3bd2a9..e0f9ece6ed 100644 --- a/runtime/mangata-rococo/src/weights/pallet_crowdloan_rewards_weights.rs +++ b/runtime/mangata-rococo/src/weights/pallet_crowdloan_rewards_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_crowdloan_rewards //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -69,7 +69,7 @@ pub struct ModuleWeight(PhantomData); impl pallet_crowdloan_rewards::WeightInfo for ModuleWeight { // Storage: Crowdloan CrowdloanAllocation (r:0 w:1) fn set_crowdloan_allocation() -> Weight { - (2_064_000 as Weight) + (2_015_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Crowdloan Initialized (r:1 w:0) @@ -84,9 +84,9 @@ impl pallet_crowdloan_rewards::WeightInfo for ModuleWei // Storage: System Account (r:1 w:1) // Storage: Crowdloan AccountsPayable (r:1 w:1) fn initialize_reward_vec(x: u32, ) -> Weight { - (226_973_000 as Weight) + (229_673_000 as Weight) // Standard Error: 31_000 - .saturating_add((55_082_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((53_971_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(x as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) @@ -99,7 +99,7 @@ impl pallet_crowdloan_rewards::WeightInfo for ModuleWei // Storage: Crowdloan TotalContributors (r:1 w:0) // Storage: Crowdloan EndRelayBlock (r:0 w:1) fn complete_initialization() -> Weight { - (19_251_000 as Weight) + (19_091_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -111,13 +111,13 @@ impl pallet_crowdloan_rewards::WeightInfo for ModuleWei // Storage: Tokens Accounts (r:1 w:1) // Storage: Tokens TotalIssuance (r:1 w:1) fn claim() -> Weight { - (51_946_000 as Weight) + (50_138_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Crowdloan AccountsPayable (r:2 w:2) fn update_reward_address() -> Weight { - (27_558_000 as Weight) + (27_393_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -128,15 +128,15 @@ impl pallet_crowdloan_rewards::WeightInfo for ModuleWei // Storage: Tokens Accounts (r:1 w:1) // Storage: Tokens TotalIssuance (r:1 w:1) fn associate_native_identity() -> Weight { - (110_931_000 as Weight) + (110_060_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } // Storage: Crowdloan AccountsPayable (r:2 w:2) fn change_association_with_relay_keys(x: u32, ) -> Weight { - (30_010_000 as Weight) - // Standard Error: 2_000 - .saturating_add((49_962_000 as Weight).saturating_mul(x as Weight)) + (29_746_000 as Weight) + // Standard Error: 1_000 + .saturating_add((49_934_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -145,42 +145,42 @@ impl pallet_crowdloan_rewards::WeightInfo for ModuleWei // For backwards compatibility and tests impl WeightInfo for () { fn set_crowdloan_allocation() -> Weight { - (2_064_000 as Weight) + (2_015_000 as Weight) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn initialize_reward_vec(x: u32, ) -> Weight { - (226_973_000 as Weight) + (229_673_000 as Weight) // Standard Error: 31_000 - .saturating_add((55_082_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((53_971_000 as Weight).saturating_mul(x as Weight)) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(x as Weight))) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(x as Weight))) } fn complete_initialization() -> Weight { - (19_251_000 as Weight) + (19_091_000 as Weight) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } fn claim() -> Weight { - (51_946_000 as Weight) + (50_138_000 as Weight) .saturating_add(RocksDbWeight::get().reads(7 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn update_reward_address() -> Weight { - (27_558_000 as Weight) + (27_393_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } fn associate_native_identity() -> Weight { - (110_931_000 as Weight) + (110_060_000 as Weight) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) .saturating_add(RocksDbWeight::get().writes(5 as Weight)) } fn change_association_with_relay_keys(x: u32, ) -> Weight { - (30_010_000 as Weight) - // Standard Error: 2_000 - .saturating_add((49_962_000 as Weight).saturating_mul(x as Weight)) + (29_746_000 as Weight) + // Standard Error: 1_000 + .saturating_add((49_934_000 as Weight).saturating_mul(x as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } diff --git a/runtime/mangata-rococo/src/weights/pallet_elections_phragmen_weights.rs b/runtime/mangata-rococo/src/weights/pallet_elections_phragmen_weights.rs index 9d0b4b589d..6937b3d48a 100644 --- a/runtime/mangata-rococo/src/weights/pallet_elections_phragmen_weights.rs +++ b/runtime/mangata-rococo/src/weights/pallet_elections_phragmen_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_elections_phragmen //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -80,9 +80,9 @@ impl pallet_elections_phragmen::WeightInfo for ModuleWe // Storage: Tokens Accounts (r:1 w:1) // Storage: Tokens Locks (r:1 w:1) fn vote_equal(v: u32, ) -> Weight { - (36_592_000 as Weight) + (36_052_000 as Weight) // Standard Error: 4_000 - .saturating_add((337_000 as Weight).saturating_mul(v as Weight)) + .saturating_add((357_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -93,9 +93,9 @@ impl pallet_elections_phragmen::WeightInfo for ModuleWe // Storage: Tokens Accounts (r:1 w:1) // Storage: Tokens Locks (r:1 w:1) fn vote_more(v: u32, ) -> Weight { - (54_625_000 as Weight) - // Standard Error: 7_000 - .saturating_add((394_000 as Weight).saturating_mul(v as Weight)) + (55_043_000 as Weight) + // Standard Error: 6_000 + .saturating_add((351_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -106,9 +106,9 @@ impl pallet_elections_phragmen::WeightInfo for ModuleWe // Storage: Tokens Accounts (r:1 w:1) // Storage: Tokens Locks (r:1 w:1) fn vote_less(v: u32, ) -> Weight { - (50_855_000 as Weight) + (50_626_000 as Weight) // Standard Error: 5_000 - .saturating_add((408_000 as Weight).saturating_mul(v as Weight)) + .saturating_add((399_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -116,7 +116,7 @@ impl pallet_elections_phragmen::WeightInfo for ModuleWe // Storage: Tokens Locks (r:1 w:1) // Storage: Tokens Accounts (r:1 w:1) fn remove_voter() -> Weight { - (50_192_000 as Weight) + (50_758_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -125,18 +125,18 @@ impl pallet_elections_phragmen::WeightInfo for ModuleWe // Storage: Elections RunnersUp (r:1 w:0) // Storage: Tokens Accounts (r:1 w:1) fn submit_candidacy(c: u32, ) -> Weight { - (56_204_000 as Weight) - // Standard Error: 3_000 - .saturating_add((109_000 as Weight).saturating_mul(c as Weight)) + (52_760_000 as Weight) + // Standard Error: 2_000 + .saturating_add((164_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Elections Candidates (r:1 w:1) // Storage: Tokens Accounts (r:1 w:1) fn renounce_candidacy_candidate(c: u32, ) -> Weight { - (45_494_000 as Weight) + (44_733_000 as Weight) // Standard Error: 3_000 - .saturating_add((72_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((75_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -147,14 +147,14 @@ impl pallet_elections_phragmen::WeightInfo for ModuleWe // Storage: Council Proposals (r:1 w:0) // Storage: Council Members (r:0 w:1) fn renounce_candidacy_members() -> Weight { - (57_750_000 as Weight) + (57_321_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } // Storage: Elections RunnersUp (r:1 w:1) // Storage: Tokens Accounts (r:1 w:1) fn renounce_candidacy_runners_up() -> Weight { - (42_446_000 as Weight) + (41_693_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -170,13 +170,13 @@ impl pallet_elections_phragmen::WeightInfo for ModuleWe // Storage: Council Proposals (r:1 w:0) // Storage: Council Members (r:0 w:1) fn remove_member_with_replacement() -> Weight { - (67_844_000 as Weight) + (66_871_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } // Storage: Elections RunnersUp (r:1 w:0) fn remove_member_wrong_refund() -> Weight { - (8_168_000 as Weight) + (7_501_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } // Storage: Elections Voting (r:251 w:250) @@ -186,10 +186,12 @@ impl pallet_elections_phragmen::WeightInfo for ModuleWe // Storage: Tokens Locks (r:250 w:250) // Storage: Tokens Accounts (r:250 w:250) // Storage: System Account (r:250 w:250) - fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight { + fn clean_defunct_voters(v: u32, d: u32, ) -> Weight { (0 as Weight) - // Standard Error: 101_000 - .saturating_add((80_762_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 54_000 + .saturating_add((80_487_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 52_000 + .saturating_add((89_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(v as Weight))) .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(v as Weight))) @@ -206,12 +208,12 @@ impl pallet_elections_phragmen::WeightInfo for ModuleWe // Storage: Tokens Accounts (r:3 w:3) fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { (0 as Weight) - // Standard Error: 1_563_000 - .saturating_add((19_025_000 as Weight).saturating_mul(c as Weight)) - // Standard Error: 650_000 - .saturating_add((46_475_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 44_000 - .saturating_add((2_913_000 as Weight).saturating_mul(e as Weight)) + // Standard Error: 1_757_000 + .saturating_add((18_761_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 730_000 + .saturating_add((50_599_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 49_000 + .saturating_add((3_256_000 as Weight).saturating_mul(e as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(v as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(c as Weight))) @@ -221,52 +223,52 @@ impl pallet_elections_phragmen::WeightInfo for ModuleWe // For backwards compatibility and tests impl WeightInfo for () { fn vote_equal(v: u32, ) -> Weight { - (36_592_000 as Weight) + (36_052_000 as Weight) // Standard Error: 4_000 - .saturating_add((337_000 as Weight).saturating_mul(v as Weight)) + .saturating_add((357_000 as Weight).saturating_mul(v as Weight)) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn vote_more(v: u32, ) -> Weight { - (54_625_000 as Weight) - // Standard Error: 7_000 - .saturating_add((394_000 as Weight).saturating_mul(v as Weight)) + (55_043_000 as Weight) + // Standard Error: 6_000 + .saturating_add((351_000 as Weight).saturating_mul(v as Weight)) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn vote_less(v: u32, ) -> Weight { - (50_855_000 as Weight) + (50_626_000 as Weight) // Standard Error: 5_000 - .saturating_add((408_000 as Weight).saturating_mul(v as Weight)) + .saturating_add((399_000 as Weight).saturating_mul(v as Weight)) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn remove_voter() -> Weight { - (50_192_000 as Weight) + (50_758_000 as Weight) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn submit_candidacy(c: u32, ) -> Weight { - (56_204_000 as Weight) - // Standard Error: 3_000 - .saturating_add((109_000 as Weight).saturating_mul(c as Weight)) + (52_760_000 as Weight) + // Standard Error: 2_000 + .saturating_add((164_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } fn renounce_candidacy_candidate(c: u32, ) -> Weight { - (45_494_000 as Weight) + (44_733_000 as Weight) // Standard Error: 3_000 - .saturating_add((72_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((75_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } fn renounce_candidacy_members() -> Weight { - (57_750_000 as Weight) + (57_321_000 as Weight) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(5 as Weight)) } fn renounce_candidacy_runners_up() -> Weight { - (42_446_000 as Weight) + (41_693_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } @@ -274,30 +276,32 @@ impl WeightInfo for () { (250_000_000_000 as Weight) } fn remove_member_with_replacement() -> Weight { - (67_844_000 as Weight) + (66_871_000 as Weight) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) .saturating_add(RocksDbWeight::get().writes(6 as Weight)) } fn remove_member_wrong_refund() -> Weight { - (8_168_000 as Weight) + (7_501_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) } - fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight { + fn clean_defunct_voters(v: u32, d: u32, ) -> Weight { (0 as Weight) - // Standard Error: 101_000 - .saturating_add((80_762_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 54_000 + .saturating_add((80_487_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 52_000 + .saturating_add((89_000 as Weight).saturating_mul(d as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((4 as Weight).saturating_mul(v as Weight))) .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(v as Weight))) } fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { (0 as Weight) - // Standard Error: 1_563_000 - .saturating_add((19_025_000 as Weight).saturating_mul(c as Weight)) - // Standard Error: 650_000 - .saturating_add((46_475_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 44_000 - .saturating_add((2_913_000 as Weight).saturating_mul(e as Weight)) + // Standard Error: 1_757_000 + .saturating_add((18_761_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 730_000 + .saturating_add((50_599_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 49_000 + .saturating_add((3_256_000 as Weight).saturating_mul(e as Weight)) .saturating_add(RocksDbWeight::get().reads((2 as Weight).saturating_mul(c as Weight))) .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(v as Weight))) .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(c as Weight))) diff --git a/runtime/mangata-rococo/src/weights/pallet_issuance_weights.rs b/runtime/mangata-rococo/src/weights/pallet_issuance_weights.rs index 489a0d6bbe..ab002186aa 100644 --- a/runtime/mangata-rococo/src/weights/pallet_issuance_weights.rs +++ b/runtime/mangata-rococo/src/weights/pallet_issuance_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_issuance //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -67,13 +67,13 @@ impl pallet_issuance::WeightInfo for ModuleWeight { // Storage: Issuance IsTGEFinalized (r:1 w:0) // Storage: Tokens TotalIssuance (r:1 w:0) fn init_issuance_config() -> Weight { - (22_522_000 as Weight) + (22_277_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Issuance IsTGEFinalized (r:1 w:1) fn finalize_tge() -> Weight { - (14_068_000 as Weight) + (14_008_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -85,9 +85,9 @@ impl pallet_issuance::WeightInfo for ModuleWeight { // Storage: Tokens Locks (r:3 w:3) // Storage: Issuance TGETotal (r:1 w:1) fn execute_tge(x: u32, ) -> Weight { - (24_000_000 as Weight) - // Standard Error: 10_000 - .saturating_add((53_066_000 as Weight).saturating_mul(x as Weight)) + (23_371_000 as Weight) + // Standard Error: 9_000 + .saturating_add((52_525_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(x as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -98,19 +98,19 @@ impl pallet_issuance::WeightInfo for ModuleWeight { // For backwards compatibility and tests impl WeightInfo for () { fn init_issuance_config() -> Weight { - (22_522_000 as Weight) + (22_277_000 as Weight) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn finalize_tge() -> Weight { - (14_068_000 as Weight) + (14_008_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn execute_tge(x: u32, ) -> Weight { - (24_000_000 as Weight) - // Standard Error: 10_000 - .saturating_add((53_066_000 as Weight).saturating_mul(x as Weight)) + (23_371_000 as Weight) + // Standard Error: 9_000 + .saturating_add((52_525_000 as Weight).saturating_mul(x as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().reads((4 as Weight).saturating_mul(x as Weight))) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) diff --git a/runtime/mangata-rococo/src/weights/pallet_multipurpose_liquidity_weights.rs b/runtime/mangata-rococo/src/weights/pallet_multipurpose_liquidity_weights.rs index 658392ba2b..485627c504 100644 --- a/runtime/mangata-rococo/src/weights/pallet_multipurpose_liquidity_weights.rs +++ b/runtime/mangata-rococo/src/weights/pallet_multipurpose_liquidity_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_multipurpose_liquidity //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -69,7 +69,7 @@ impl pallet_multipurpose_liquidity::WeightInfo for Modu // Storage: MultiPurposeLiquidity ReserveStatus (r:1 w:1) // Storage: MultiPurposeLiquidity RelockStatus (r:1 w:1) fn reserve_vesting_liquidity_tokens() -> Weight { - (93_608_000 as Weight) + (93_907_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -79,7 +79,7 @@ impl pallet_multipurpose_liquidity::WeightInfo for Modu // Storage: Vesting Vesting (r:1 w:1) // Storage: Tokens Locks (r:1 w:1) fn unreserve_and_relock_instance() -> Weight { - (85_422_000 as Weight) + (89_625_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -88,12 +88,12 @@ impl pallet_multipurpose_liquidity::WeightInfo for Modu // For backwards compatibility and tests impl WeightInfo for () { fn reserve_vesting_liquidity_tokens() -> Weight { - (93_608_000 as Weight) + (93_907_000 as Weight) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) .saturating_add(RocksDbWeight::get().writes(5 as Weight)) } fn unreserve_and_relock_instance() -> Weight { - (85_422_000 as Weight) + (89_625_000 as Weight) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(5 as Weight)) } diff --git a/runtime/mangata-rococo/src/weights/pallet_session_weights.rs b/runtime/mangata-rococo/src/weights/pallet_session_weights.rs index 2b1bebd529..98a93c24a6 100644 --- a/runtime/mangata-rococo/src/weights/pallet_session_weights.rs +++ b/runtime/mangata-rococo/src/weights/pallet_session_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_session //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -65,14 +65,14 @@ impl pallet_session::WeightInfo for ModuleWeight { // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:1 w:1) fn set_keys() -> Weight { - (18_918_000 as Weight) + (19_064_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:0 w:1) fn purge_keys() -> Weight { - (14_150_000 as Weight) + (14_368_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -81,12 +81,12 @@ impl pallet_session::WeightInfo for ModuleWeight { // For backwards compatibility and tests impl WeightInfo for () { fn set_keys() -> Weight { - (18_918_000 as Weight) + (19_064_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } fn purge_keys() -> Weight { - (14_150_000 as Weight) + (14_368_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } diff --git a/runtime/mangata-rococo/src/weights/pallet_timestamp_weights.rs b/runtime/mangata-rococo/src/weights/pallet_timestamp_weights.rs index de3ca282e7..827d2b8459 100644 --- a/runtime/mangata-rococo/src/weights/pallet_timestamp_weights.rs +++ b/runtime/mangata-rococo/src/weights/pallet_timestamp_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_timestamp //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -64,23 +64,23 @@ pub struct ModuleWeight(PhantomData); impl pallet_timestamp::WeightInfo for ModuleWeight { // Storage: Timestamp Now (r:1 w:1) fn set() -> Weight { - (6_863_000 as Weight) + (6_485_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn on_finalize() -> Weight { - (4_124_000 as Weight) + (4_195_000 as Weight) } } // For backwards compatibility and tests impl WeightInfo for () { fn set() -> Weight { - (6_863_000 as Weight) + (6_485_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn on_finalize() -> Weight { - (4_124_000 as Weight) + (4_195_000 as Weight) } } diff --git a/runtime/mangata-rococo/src/weights/pallet_treasury_weights.rs b/runtime/mangata-rococo/src/weights/pallet_treasury_weights.rs index 88a4fff2e7..579371b034 100644 --- a/runtime/mangata-rococo/src/weights/pallet_treasury_weights.rs +++ b/runtime/mangata-rococo/src/weights/pallet_treasury_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_treasury //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -69,7 +69,7 @@ impl pallet_treasury::WeightInfo for ModuleWeight { // Storage: Treasury ProposalCount (r:1 w:1) // Storage: Treasury Proposals (r:0 w:1) fn propose_spend() -> Weight { - (34_972_000 as Weight) + (35_210_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -77,22 +77,22 @@ impl pallet_treasury::WeightInfo for ModuleWeight { // Storage: Tokens Accounts (r:1 w:1) // Storage: Tokens TotalIssuance (r:1 w:1) fn reject_proposal() -> Weight { - (33_334_000 as Weight) + (33_577_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Treasury Proposals (r:1 w:0) // Storage: Treasury Approvals (r:1 w:1) fn approve_proposal(p: u32, ) -> Weight { - (12_605_000 as Weight) + (12_461_000 as Weight) // Standard Error: 0 - .saturating_add((171_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((172_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Treasury Approvals (r:1 w:1) fn remove_approval() -> Weight { - (6_831_000 as Weight) + (6_937_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -101,9 +101,9 @@ impl pallet_treasury::WeightInfo for ModuleWeight { // Storage: Tokens TotalIssuance (r:1 w:1) // Storage: Treasury Proposals (r:2 w:0) fn on_initialize_proposals(p: u32, ) -> Weight { - (26_293_000 as Weight) - // Standard Error: 5_000 - .saturating_add((4_242_000 as Weight).saturating_mul(p as Weight)) + (26_021_000 as Weight) + // Standard Error: 4_000 + .saturating_add((4_225_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -113,31 +113,31 @@ impl pallet_treasury::WeightInfo for ModuleWeight { // For backwards compatibility and tests impl WeightInfo for () { fn propose_spend() -> Weight { - (34_972_000 as Weight) + (35_210_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn reject_proposal() -> Weight { - (33_334_000 as Weight) + (33_577_000 as Weight) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn approve_proposal(p: u32, ) -> Weight { - (12_605_000 as Weight) + (12_461_000 as Weight) // Standard Error: 0 - .saturating_add((171_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((172_000 as Weight).saturating_mul(p as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn remove_approval() -> Weight { - (6_831_000 as Weight) + (6_937_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn on_initialize_proposals(p: u32, ) -> Weight { - (26_293_000 as Weight) - // Standard Error: 5_000 - .saturating_add((4_242_000 as Weight).saturating_mul(p as Weight)) + (26_021_000 as Weight) + // Standard Error: 4_000 + .saturating_add((4_225_000 as Weight).saturating_mul(p as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) diff --git a/runtime/mangata-rococo/src/weights/pallet_utility_weights.rs b/runtime/mangata-rococo/src/weights/pallet_utility_weights.rs index 564166900c..20c5e1896f 100644 --- a/runtime/mangata-rococo/src/weights/pallet_utility_weights.rs +++ b/runtime/mangata-rococo/src/weights/pallet_utility_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_utility //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -66,49 +66,49 @@ pub trait WeightInfo { pub struct ModuleWeight(PhantomData); impl pallet_utility::WeightInfo for ModuleWeight { fn batch(c: u32, ) -> Weight { - (18_285_000 as Weight) + (24_070_000 as Weight) // Standard Error: 1_000 - .saturating_add((4_405_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((4_884_000 as Weight).saturating_mul(c as Weight)) } fn as_derivative() -> Weight { - (3_000_000 as Weight) + (3_268_000 as Weight) } fn batch_all(c: u32, ) -> Weight { - (21_831_000 as Weight) + (25_869_000 as Weight) // Standard Error: 1_000 - .saturating_add((4_773_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((5_214_000 as Weight).saturating_mul(c as Weight)) } fn dispatch_as() -> Weight { - (13_381_000 as Weight) + (13_054_000 as Weight) } fn force_batch(c: u32, ) -> Weight { - (20_918_000 as Weight) + (19_637_000 as Weight) // Standard Error: 1_000 - .saturating_add((4_359_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((4_881_000 as Weight).saturating_mul(c as Weight)) } } // For backwards compatibility and tests impl WeightInfo for () { fn batch(c: u32, ) -> Weight { - (18_285_000 as Weight) + (24_070_000 as Weight) // Standard Error: 1_000 - .saturating_add((4_405_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((4_884_000 as Weight).saturating_mul(c as Weight)) } fn as_derivative() -> Weight { - (3_000_000 as Weight) + (3_268_000 as Weight) } fn batch_all(c: u32, ) -> Weight { - (21_831_000 as Weight) + (25_869_000 as Weight) // Standard Error: 1_000 - .saturating_add((4_773_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((5_214_000 as Weight).saturating_mul(c as Weight)) } fn dispatch_as() -> Weight { - (13_381_000 as Weight) + (13_054_000 as Weight) } fn force_batch(c: u32, ) -> Weight { - (20_918_000 as Weight) + (19_637_000 as Weight) // Standard Error: 1_000 - .saturating_add((4_359_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((4_881_000 as Weight).saturating_mul(c as Weight)) } } diff --git a/runtime/mangata-rococo/src/weights/pallet_vesting_mangata_weights.rs b/runtime/mangata-rococo/src/weights/pallet_vesting_mangata_weights.rs index 18a83a6e79..b970552884 100644 --- a/runtime/mangata-rococo/src/weights/pallet_vesting_mangata_weights.rs +++ b/runtime/mangata-rococo/src/weights/pallet_vesting_mangata_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_vesting_mangata //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -71,9 +71,9 @@ impl pallet_vesting_mangata::WeightInfo for ModuleWeigh // Storage: Tokens Locks (r:1 w:1) // Storage: Tokens Accounts (r:1 w:1) fn vest_locked(_l: u32, s: u32, ) -> Weight { - (41_857_000 as Weight) + (41_348_000 as Weight) // Standard Error: 1_000 - .saturating_add((125_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((118_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -81,9 +81,9 @@ impl pallet_vesting_mangata::WeightInfo for ModuleWeigh // Storage: Tokens Locks (r:1 w:1) // Storage: Tokens Accounts (r:1 w:1) fn vest_unlocked(_l: u32, s: u32, ) -> Weight { - (45_443_000 as Weight) - // Standard Error: 2_000 - .saturating_add((81_000 as Weight).saturating_mul(s as Weight)) + (44_391_000 as Weight) + // Standard Error: 1_000 + .saturating_add((73_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -91,9 +91,9 @@ impl pallet_vesting_mangata::WeightInfo for ModuleWeigh // Storage: Tokens Locks (r:1 w:1) // Storage: Tokens Accounts (r:1 w:1) fn vest_other_locked(_l: u32, s: u32, ) -> Weight { - (41_678_000 as Weight) + (41_249_000 as Weight) // Standard Error: 1_000 - .saturating_add((123_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((116_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -102,7 +102,7 @@ impl pallet_vesting_mangata::WeightInfo for ModuleWeigh // Storage: Tokens Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) fn vest_other_unlocked(_l: u32, s: u32, ) -> Weight { - (44_679_000 as Weight) + (44_447_000 as Weight) // Standard Error: 1_000 .saturating_add((80_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) @@ -113,9 +113,9 @@ impl pallet_vesting_mangata::WeightInfo for ModuleWeigh // Storage: System Account (r:1 w:0) // Storage: Tokens Locks (r:1 w:1) fn force_vested_transfer(_l: u32, s: u32, ) -> Weight { - (60_879_000 as Weight) + (63_092_000 as Weight) // Standard Error: 1_000 - .saturating_add((142_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((134_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -123,9 +123,9 @@ impl pallet_vesting_mangata::WeightInfo for ModuleWeigh // Storage: Tokens Locks (r:1 w:1) // Storage: Tokens Accounts (r:1 w:1) fn not_unlocking_merge_schedules(_l: u32, s: u32, ) -> Weight { - (42_847_000 as Weight) + (42_459_000 as Weight) // Standard Error: 1_000 - .saturating_add((125_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((127_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -133,9 +133,9 @@ impl pallet_vesting_mangata::WeightInfo for ModuleWeigh // Storage: Tokens Locks (r:1 w:1) // Storage: Tokens Accounts (r:1 w:1) fn unlocking_merge_schedules(_l: u32, s: u32, ) -> Weight { - (42_913_000 as Weight) + (42_263_000 as Weight) // Standard Error: 1_000 - .saturating_add((129_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((120_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -144,51 +144,51 @@ impl pallet_vesting_mangata::WeightInfo for ModuleWeigh // For backwards compatibility and tests impl WeightInfo for () { fn vest_locked(_l: u32, s: u32, ) -> Weight { - (41_857_000 as Weight) + (41_348_000 as Weight) // Standard Error: 1_000 - .saturating_add((125_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((118_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } fn vest_unlocked(_l: u32, s: u32, ) -> Weight { - (45_443_000 as Weight) - // Standard Error: 2_000 - .saturating_add((81_000 as Weight).saturating_mul(s as Weight)) + (44_391_000 as Weight) + // Standard Error: 1_000 + .saturating_add((73_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn vest_other_locked(_l: u32, s: u32, ) -> Weight { - (41_678_000 as Weight) + (41_249_000 as Weight) // Standard Error: 1_000 - .saturating_add((123_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((116_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } fn vest_other_unlocked(_l: u32, s: u32, ) -> Weight { - (44_679_000 as Weight) + (44_447_000 as Weight) // Standard Error: 1_000 .saturating_add((80_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn force_vested_transfer(_l: u32, s: u32, ) -> Weight { - (60_879_000 as Weight) + (63_092_000 as Weight) // Standard Error: 1_000 - .saturating_add((142_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((134_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } fn not_unlocking_merge_schedules(_l: u32, s: u32, ) -> Weight { - (42_847_000 as Weight) + (42_459_000 as Weight) // Standard Error: 1_000 - .saturating_add((125_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((127_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } fn unlocking_merge_schedules(_l: u32, s: u32, ) -> Weight { - (42_913_000 as Weight) + (42_263_000 as Weight) // Standard Error: 1_000 - .saturating_add((129_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((120_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } diff --git a/runtime/mangata-rococo/src/weights/pallet_xyk_weights.rs b/runtime/mangata-rococo/src/weights/pallet_xyk_weights.rs index 0747eaf62c..f664f97fc6 100644 --- a/runtime/mangata-rococo/src/weights/pallet_xyk_weights.rs +++ b/runtime/mangata-rococo/src/weights/pallet_xyk_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_xyk //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -76,11 +76,11 @@ impl pallet_xyk::WeightInfo for ModuleWeight { // Storage: System Account (r:1 w:1) // Storage: Tokens NextCurrencyId (r:1 w:1) // Storage: Tokens TotalIssuance (r:1 w:1) - // Storage: AssetsInfo AssetsInfo (r:1 w:1) + // Storage: AssetRegistry Metadata (r:1 w:1) // Storage: Xyk LiquidityAssets (r:0 w:1) // Storage: Xyk LiquidityPools (r:0 w:1) fn create_pool() -> Weight { - (136_672_000 as Weight) + (143_430_000 as Weight) .saturating_add(T::DbWeight::get().reads(12 as Weight)) .saturating_add(T::DbWeight::get().writes(12 as Weight)) } @@ -88,7 +88,7 @@ impl pallet_xyk::WeightInfo for ModuleWeight { // Storage: Tokens Accounts (r:6 w:6) // Storage: System Account (r:2 w:2) fn sell_asset() -> Weight { - (144_985_000 as Weight) + (151_597_000 as Weight) .saturating_add(T::DbWeight::get().reads(11 as Weight)) .saturating_add(T::DbWeight::get().writes(9 as Weight)) } @@ -96,7 +96,7 @@ impl pallet_xyk::WeightInfo for ModuleWeight { // Storage: Tokens Accounts (r:6 w:6) // Storage: System Account (r:2 w:2) fn buy_asset() -> Weight { - (152_772_000 as Weight) + (158_939_000 as Weight) .saturating_add(T::DbWeight::get().reads(12 as Weight)) .saturating_add(T::DbWeight::get().writes(9 as Weight)) } @@ -112,7 +112,7 @@ impl pallet_xyk::WeightInfo for ModuleWeight { // Storage: Xyk LiquidityMiningActivePool (r:1 w:1) // Storage: MultiPurposeLiquidity ReserveStatus (r:1 w:1) fn mint_liquidity() -> Weight { - (164_956_000 as Weight) + (169_416_000 as Weight) .saturating_add(T::DbWeight::get().reads(15 as Weight)) .saturating_add(T::DbWeight::get().writes(12 as Weight)) } @@ -124,15 +124,10 @@ impl pallet_xyk::WeightInfo for ModuleWeight { // Storage: Xyk Pools (r:1 w:1) // Storage: Tokens TotalIssuance (r:1 w:1) // Storage: Tokens NextCurrencyId (r:1 w:0) - // Storage: Xyk LiquidityMiningUser (r:1 w:1) - // Storage: Xyk LiquidityMiningActiveUser (r:1 w:1) - // Storage: Xyk LiquidityMiningPool (r:1 w:1) - // Storage: Xyk LiquidityMiningActivePool (r:1 w:1) - // Storage: MultiPurposeLiquidity ReserveStatus (r:1 w:1) fn mint_liquidity_using_vesting_native_tokens() -> Weight { - (241_855_000 as Weight) - .saturating_add(T::DbWeight::get().reads(19 as Weight)) - .saturating_add(T::DbWeight::get().writes(16 as Weight)) + (198_407_000 as Weight) + .saturating_add(T::DbWeight::get().reads(14 as Weight)) + .saturating_add(T::DbWeight::get().writes(11 as Weight)) } // Storage: Xyk LiquidityAssets (r:1 w:2) // Storage: Issuance PromotedPoolsRewards (r:1 w:1) @@ -148,7 +143,7 @@ impl pallet_xyk::WeightInfo for ModuleWeight { // Storage: Tokens TotalIssuance (r:1 w:1) // Storage: Xyk LiquidityPools (r:0 w:1) fn burn_liquidity() -> Weight { - (170_749_000 as Weight) + (175_567_000 as Weight) .saturating_add(T::DbWeight::get().reads(16 as Weight)) .saturating_add(T::DbWeight::get().writes(19 as Weight)) } @@ -161,13 +156,13 @@ impl pallet_xyk::WeightInfo for ModuleWeight { // Storage: Xyk LiquidityMiningUserClaimed (r:1 w:1) // Storage: Tokens Accounts (r:2 w:2) fn claim_rewards() -> Weight { - (95_713_000 as Weight) + (95_224_000 as Weight) .saturating_add(T::DbWeight::get().reads(9 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: Issuance PromotedPoolsRewards (r:1 w:1) fn promote_pool() -> Weight { - (21_822_000 as Weight) + (21_528_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -179,7 +174,7 @@ impl pallet_xyk::WeightInfo for ModuleWeight { // Storage: Xyk LiquidityMiningPool (r:1 w:1) // Storage: Xyk LiquidityMiningActivePool (r:1 w:1) fn activate_liquidity() -> Weight { - (89_563_000 as Weight) + (89_332_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -193,7 +188,7 @@ impl pallet_xyk::WeightInfo for ModuleWeight { // Storage: MultiPurposeLiquidity ReserveStatus (r:1 w:1) // Storage: Tokens Accounts (r:1 w:1) fn deactivate_liquidity() -> Weight { - (101_514_000 as Weight) + (101_598_000 as Weight) .saturating_add(T::DbWeight::get().reads(9 as Weight)) .saturating_add(T::DbWeight::get().writes(9 as Weight)) } @@ -202,52 +197,52 @@ impl pallet_xyk::WeightInfo for ModuleWeight { // For backwards compatibility and tests impl WeightInfo for () { fn create_pool() -> Weight { - (136_672_000 as Weight) + (143_430_000 as Weight) .saturating_add(RocksDbWeight::get().reads(12 as Weight)) .saturating_add(RocksDbWeight::get().writes(12 as Weight)) } fn sell_asset() -> Weight { - (144_985_000 as Weight) + (151_597_000 as Weight) .saturating_add(RocksDbWeight::get().reads(11 as Weight)) .saturating_add(RocksDbWeight::get().writes(9 as Weight)) } fn buy_asset() -> Weight { - (152_772_000 as Weight) + (158_939_000 as Weight) .saturating_add(RocksDbWeight::get().reads(12 as Weight)) .saturating_add(RocksDbWeight::get().writes(9 as Weight)) } fn mint_liquidity() -> Weight { - (164_956_000 as Weight) + (169_416_000 as Weight) .saturating_add(RocksDbWeight::get().reads(15 as Weight)) .saturating_add(RocksDbWeight::get().writes(12 as Weight)) } fn mint_liquidity_using_vesting_native_tokens() -> Weight { - (241_855_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(19 as Weight)) - .saturating_add(RocksDbWeight::get().writes(16 as Weight)) + (198_407_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(14 as Weight)) + .saturating_add(RocksDbWeight::get().writes(11 as Weight)) } fn burn_liquidity() -> Weight { - (170_749_000 as Weight) + (175_567_000 as Weight) .saturating_add(RocksDbWeight::get().reads(16 as Weight)) .saturating_add(RocksDbWeight::get().writes(19 as Weight)) } fn claim_rewards() -> Weight { - (95_713_000 as Weight) + (95_224_000 as Weight) .saturating_add(RocksDbWeight::get().reads(9 as Weight)) .saturating_add(RocksDbWeight::get().writes(4 as Weight)) } fn promote_pool() -> Weight { - (21_822_000 as Weight) + (21_528_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn activate_liquidity() -> Weight { - (89_563_000 as Weight) + (89_332_000 as Weight) .saturating_add(RocksDbWeight::get().reads(7 as Weight)) .saturating_add(RocksDbWeight::get().writes(6 as Weight)) } fn deactivate_liquidity() -> Weight { - (101_514_000 as Weight) + (101_598_000 as Weight) .saturating_add(RocksDbWeight::get().reads(9 as Weight)) .saturating_add(RocksDbWeight::get().writes(9 as Weight)) } diff --git a/runtime/mangata-rococo/src/weights/parachain_staking_weights.rs b/runtime/mangata-rococo/src/weights/parachain_staking_weights.rs index 91140e0ab9..62a5e82e0e 100644 --- a/runtime/mangata-rococo/src/weights/parachain_staking_weights.rs +++ b/runtime/mangata-rococo/src/weights/parachain_staking_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for parachain_staking //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -93,13 +93,13 @@ pub struct ModuleWeight(PhantomData); impl parachain_staking::WeightInfo for ModuleWeight { // Storage: ParachainStaking TotalSelected (r:1 w:1) fn set_total_selected() -> Weight { - (15_513_000 as Weight) + (15_024_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking CollatorCommission (r:1 w:1) fn set_collator_commission() -> Weight { - (15_388_000 as Weight) + (14_983_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -111,11 +111,11 @@ impl parachain_staking::WeightInfo for ModuleWeight // Storage: Tokens Accounts (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn join_candidates(x: u32, y: u32, ) -> Weight { - (73_376_000 as Weight) + (71_927_000 as Weight) // Standard Error: 8_000 - .saturating_add((301_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((307_000 as Weight).saturating_mul(x as Weight)) // Standard Error: 2_000 - .saturating_add((33_000 as Weight).saturating_mul(y as Weight)) + .saturating_add((36_000 as Weight).saturating_mul(y as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -123,9 +123,9 @@ impl parachain_staking::WeightInfo for ModuleWeight // Storage: ParachainStaking Round (r:1 w:0) // Storage: ParachainStaking CandidatePool (r:1 w:1) fn schedule_leave_candidates(x: u32, ) -> Weight { - (35_237_000 as Weight) + (35_769_000 as Weight) // Standard Error: 9_000 - .saturating_add((368_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((304_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -136,9 +136,9 @@ impl parachain_staking::WeightInfo for ModuleWeight // Storage: ParachainStaking DelegatorState (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn execute_leave_candidates(x: u32, ) -> Weight { - (33_527_000 as Weight) - // Standard Error: 27_000 - .saturating_add((27_294_000 as Weight).saturating_mul(x as Weight)) + (33_168_000 as Weight) + // Standard Error: 22_000 + .saturating_add((26_818_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(x as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -147,9 +147,9 @@ impl parachain_staking::WeightInfo for ModuleWeight // Storage: ParachainStaking CandidateState (r:1 w:1) // Storage: ParachainStaking CandidatePool (r:1 w:1) fn cancel_leave_candidates(x: u32, ) -> Weight { - (32_728_000 as Weight) - // Standard Error: 11_000 - .saturating_add((311_000 as Weight).saturating_mul(x as Weight)) + (33_814_000 as Weight) + // Standard Error: 9_000 + .saturating_add((250_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -157,7 +157,7 @@ impl parachain_staking::WeightInfo for ModuleWeight // Storage: ParachainStaking CandidatePool (r:1 w:1) // Storage: ParachainStaking Round (r:1 w:0) fn go_offline() -> Weight { - (34_888_000 as Weight) + (33_692_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -165,7 +165,7 @@ impl parachain_staking::WeightInfo for ModuleWeight // Storage: ParachainStaking CandidatePool (r:1 w:1) // Storage: ParachainStaking Round (r:1 w:0) fn go_online() -> Weight { - (34_371_000 as Weight) + (33_358_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -174,14 +174,14 @@ impl parachain_staking::WeightInfo for ModuleWeight // Storage: Tokens Accounts (r:1 w:0) // Storage: ParachainStaking Round (r:1 w:0) fn schedule_candidate_bond_more() -> Weight { - (44_067_000 as Weight) + (42_695_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking CandidateState (r:1 w:1) // Storage: ParachainStaking Round (r:1 w:0) fn schedule_candidate_bond_less() -> Weight { - (29_940_000 as Weight) + (29_027_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -192,7 +192,7 @@ impl parachain_staking::WeightInfo for ModuleWeight // Storage: ParachainStaking Total (r:1 w:1) // Storage: ParachainStaking CandidatePool (r:1 w:1) fn execute_candidate_bond_more() -> Weight { - (70_080_000 as Weight) + (68_667_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -203,19 +203,19 @@ impl parachain_staking::WeightInfo for ModuleWeight // Storage: ParachainStaking Total (r:1 w:1) // Storage: ParachainStaking CandidatePool (r:1 w:1) fn execute_candidate_bond_less() -> Weight { - (66_430_000 as Weight) + (65_034_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } // Storage: ParachainStaking CandidateState (r:1 w:1) fn cancel_candidate_bond_more() -> Weight { - (26_954_000 as Weight) + (26_031_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking CandidateState (r:1 w:1) fn cancel_candidate_bond_less() -> Weight { - (26_721_000 as Weight) + (25_748_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -226,18 +226,18 @@ impl parachain_staking::WeightInfo for ModuleWeight // Storage: ParachainStaking CandidatePool (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn delegate(x: u32, y: u32, ) -> Weight { - (75_958_000 as Weight) - // Standard Error: 12_000 - .saturating_add((462_000 as Weight).saturating_mul(x as Weight)) - // Standard Error: 40_000 - .saturating_add((242_000 as Weight).saturating_mul(y as Weight)) + (76_913_000 as Weight) + // Standard Error: 15_000 + .saturating_add((375_000 as Weight).saturating_mul(x as Weight)) + // Standard Error: 49_000 + .saturating_add((162_000 as Weight).saturating_mul(y as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } // Storage: ParachainStaking DelegatorState (r:1 w:1) // Storage: ParachainStaking Round (r:1 w:0) fn schedule_leave_delegators() -> Weight { - (30_574_000 as Weight) + (29_308_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -249,9 +249,9 @@ impl parachain_staking::WeightInfo for ModuleWeight // Storage: ParachainStaking CandidatePool (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn execute_leave_delegators(x: u32, ) -> Weight { - (7_619_000 as Weight) - // Standard Error: 49_000 - .saturating_add((31_037_000 as Weight).saturating_mul(x as Weight)) + (9_008_000 as Weight) + // Standard Error: 43_000 + .saturating_add((30_883_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(x as Weight))) .saturating_add(T::DbWeight::get().writes(4 as Weight)) @@ -259,14 +259,14 @@ impl parachain_staking::WeightInfo for ModuleWeight } // Storage: ParachainStaking DelegatorState (r:1 w:1) fn cancel_leave_delegators() -> Weight { - (26_810_000 as Weight) + (25_768_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking DelegatorState (r:1 w:1) // Storage: ParachainStaking Round (r:1 w:0) fn schedule_revoke_delegation() -> Weight { - (31_498_000 as Weight) + (30_336_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -275,14 +275,14 @@ impl parachain_staking::WeightInfo for ModuleWeight // Storage: Tokens Accounts (r:1 w:0) // Storage: ParachainStaking Round (r:1 w:0) fn schedule_delegator_bond_more() -> Weight { - (45_364_000 as Weight) + (44_286_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking DelegatorState (r:1 w:1) // Storage: ParachainStaking Round (r:1 w:0) fn schedule_delegator_bond_less() -> Weight { - (31_765_000 as Weight) + (30_599_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -294,7 +294,7 @@ impl parachain_staking::WeightInfo for ModuleWeight // Storage: ParachainStaking CandidatePool (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn execute_revoke_delegation() -> Weight { - (86_670_000 as Weight) + (83_909_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -306,7 +306,7 @@ impl parachain_staking::WeightInfo for ModuleWeight // Storage: ParachainStaking CandidatePool (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn execute_delegator_bond_more() -> Weight { - (81_367_000 as Weight) + (79_260_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -318,39 +318,39 @@ impl parachain_staking::WeightInfo for ModuleWeight // Storage: ParachainStaking CandidatePool (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn execute_delegator_bond_less() -> Weight { - (77_819_000 as Weight) + (75_898_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } // Storage: ParachainStaking DelegatorState (r:1 w:1) fn cancel_revoke_delegation() -> Weight { - (28_234_000 as Weight) + (26_954_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking DelegatorState (r:1 w:1) fn cancel_delegator_bond_more() -> Weight { - (32_822_000 as Weight) + (31_424_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking DelegatorState (r:1 w:1) fn cancel_delegator_bond_less() -> Weight { - (32_613_000 as Weight) + (31_728_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking StakingLiquidityTokens (r:1 w:1) fn add_staking_liquidity_token(x: u32, ) -> Weight { - (8_254_000 as Weight) + (7_924_000 as Weight) // Standard Error: 0 - .saturating_add((74_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((76_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking StakingLiquidityTokens (r:1 w:1) fn remove_staking_liquidity_token(x: u32, ) -> Weight { - (8_257_000 as Weight) + (7_983_000 as Weight) // Standard Error: 0 .saturating_add((77_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) @@ -358,7 +358,7 @@ impl parachain_staking::WeightInfo for ModuleWeight } // Storage: ParachainStaking Round (r:1 w:0) fn passive_session_change() -> Weight { - (5_671_000 as Weight) + (5_400_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } // Storage: ParachainStaking Round (r:1 w:1) @@ -389,13 +389,13 @@ impl parachain_staking::WeightInfo for ModuleWeight fn active_session_change(x: u32, y: u32, z: u32, w: u32, ) -> Weight { (0 as Weight) // Standard Error: 68_000 - .saturating_add((15_832_000 as Weight).saturating_mul(x as Weight)) - // Standard Error: 1_935_000 - .saturating_add((483_540_000 as Weight).saturating_mul(y as Weight)) - // Standard Error: 1_382_000 - .saturating_add((1_164_896_000 as Weight).saturating_mul(z as Weight)) - // Standard Error: 1_935_000 - .saturating_add((478_772_000 as Weight).saturating_mul(w as Weight)) + .saturating_add((15_435_000 as Weight).saturating_mul(x as Weight)) + // Standard Error: 1_929_000 + .saturating_add((479_053_000 as Weight).saturating_mul(y as Weight)) + // Standard Error: 1_378_000 + .saturating_add((1_158_423_000 as Weight).saturating_mul(z as Weight)) + // Standard Error: 1_929_000 + .saturating_add((468_500_000 as Weight).saturating_mul(w as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(x as Weight))) .saturating_add(T::DbWeight::get().reads((30 as Weight).saturating_mul(y as Weight))) .saturating_add(T::DbWeight::get().reads((66 as Weight).saturating_mul(z as Weight))) @@ -409,188 +409,188 @@ impl parachain_staking::WeightInfo for ModuleWeight // For backwards compatibility and tests impl WeightInfo for () { fn set_total_selected() -> Weight { - (15_513_000 as Weight) + (15_024_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn set_collator_commission() -> Weight { - (15_388_000 as Weight) + (14_983_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn join_candidates(x: u32, y: u32, ) -> Weight { - (73_376_000 as Weight) + (71_927_000 as Weight) // Standard Error: 8_000 - .saturating_add((301_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((307_000 as Weight).saturating_mul(x as Weight)) // Standard Error: 2_000 - .saturating_add((33_000 as Weight).saturating_mul(y as Weight)) + .saturating_add((36_000 as Weight).saturating_mul(y as Weight)) .saturating_add(RocksDbWeight::get().reads(7 as Weight)) .saturating_add(RocksDbWeight::get().writes(5 as Weight)) } fn schedule_leave_candidates(x: u32, ) -> Weight { - (35_237_000 as Weight) + (35_769_000 as Weight) // Standard Error: 9_000 - .saturating_add((368_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((304_000 as Weight).saturating_mul(x as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } fn execute_leave_candidates(x: u32, ) -> Weight { - (33_527_000 as Weight) - // Standard Error: 27_000 - .saturating_add((27_294_000 as Weight).saturating_mul(x as Weight)) + (33_168_000 as Weight) + // Standard Error: 22_000 + .saturating_add((26_818_000 as Weight).saturating_mul(x as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().reads((3 as Weight).saturating_mul(x as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) .saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(x as Weight))) } fn cancel_leave_candidates(x: u32, ) -> Weight { - (32_728_000 as Weight) - // Standard Error: 11_000 - .saturating_add((311_000 as Weight).saturating_mul(x as Weight)) + (33_814_000 as Weight) + // Standard Error: 9_000 + .saturating_add((250_000 as Weight).saturating_mul(x as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } fn go_offline() -> Weight { - (34_888_000 as Weight) + (33_692_000 as Weight) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } fn go_online() -> Weight { - (34_371_000 as Weight) + (33_358_000 as Weight) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } fn schedule_candidate_bond_more() -> Weight { - (44_067_000 as Weight) + (42_695_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn schedule_candidate_bond_less() -> Weight { - (29_940_000 as Weight) + (29_027_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn execute_candidate_bond_more() -> Weight { - (70_080_000 as Weight) + (68_667_000 as Weight) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) .saturating_add(RocksDbWeight::get().writes(5 as Weight)) } fn execute_candidate_bond_less() -> Weight { - (66_430_000 as Weight) + (65_034_000 as Weight) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) .saturating_add(RocksDbWeight::get().writes(5 as Weight)) } fn cancel_candidate_bond_more() -> Weight { - (26_954_000 as Weight) + (26_031_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn cancel_candidate_bond_less() -> Weight { - (26_721_000 as Weight) + (25_748_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn delegate(x: u32, y: u32, ) -> Weight { - (75_958_000 as Weight) - // Standard Error: 12_000 - .saturating_add((462_000 as Weight).saturating_mul(x as Weight)) - // Standard Error: 40_000 - .saturating_add((242_000 as Weight).saturating_mul(y as Weight)) + (76_913_000 as Weight) + // Standard Error: 15_000 + .saturating_add((375_000 as Weight).saturating_mul(x as Weight)) + // Standard Error: 49_000 + .saturating_add((162_000 as Weight).saturating_mul(y as Weight)) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) .saturating_add(RocksDbWeight::get().writes(6 as Weight)) } fn schedule_leave_delegators() -> Weight { - (30_574_000 as Weight) + (29_308_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn execute_leave_delegators(x: u32, ) -> Weight { - (7_619_000 as Weight) - // Standard Error: 49_000 - .saturating_add((31_037_000 as Weight).saturating_mul(x as Weight)) + (9_008_000 as Weight) + // Standard Error: 43_000 + .saturating_add((30_883_000 as Weight).saturating_mul(x as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(x as Weight))) .saturating_add(RocksDbWeight::get().writes(4 as Weight)) .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(x as Weight))) } fn cancel_leave_delegators() -> Weight { - (26_810_000 as Weight) + (25_768_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn schedule_revoke_delegation() -> Weight { - (31_498_000 as Weight) + (30_336_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn schedule_delegator_bond_more() -> Weight { - (45_364_000 as Weight) + (44_286_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn schedule_delegator_bond_less() -> Weight { - (31_765_000 as Weight) + (30_599_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn execute_revoke_delegation() -> Weight { - (86_670_000 as Weight) + (83_909_000 as Weight) .saturating_add(RocksDbWeight::get().reads(7 as Weight)) .saturating_add(RocksDbWeight::get().writes(6 as Weight)) } fn execute_delegator_bond_more() -> Weight { - (81_367_000 as Weight) + (79_260_000 as Weight) .saturating_add(RocksDbWeight::get().reads(7 as Weight)) .saturating_add(RocksDbWeight::get().writes(6 as Weight)) } fn execute_delegator_bond_less() -> Weight { - (77_819_000 as Weight) + (75_898_000 as Weight) .saturating_add(RocksDbWeight::get().reads(7 as Weight)) .saturating_add(RocksDbWeight::get().writes(6 as Weight)) } fn cancel_revoke_delegation() -> Weight { - (28_234_000 as Weight) + (26_954_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn cancel_delegator_bond_more() -> Weight { - (32_822_000 as Weight) + (31_424_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn cancel_delegator_bond_less() -> Weight { - (32_613_000 as Weight) + (31_728_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn add_staking_liquidity_token(x: u32, ) -> Weight { - (8_254_000 as Weight) + (7_924_000 as Weight) // Standard Error: 0 - .saturating_add((74_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((76_000 as Weight).saturating_mul(x as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn remove_staking_liquidity_token(x: u32, ) -> Weight { - (8_257_000 as Weight) + (7_983_000 as Weight) // Standard Error: 0 .saturating_add((77_000 as Weight).saturating_mul(x as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn passive_session_change() -> Weight { - (5_671_000 as Weight) + (5_400_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) } fn active_session_change(x: u32, y: u32, z: u32, w: u32, ) -> Weight { (0 as Weight) // Standard Error: 68_000 - .saturating_add((15_832_000 as Weight).saturating_mul(x as Weight)) - // Standard Error: 1_935_000 - .saturating_add((483_540_000 as Weight).saturating_mul(y as Weight)) - // Standard Error: 1_382_000 - .saturating_add((1_164_896_000 as Weight).saturating_mul(z as Weight)) - // Standard Error: 1_935_000 - .saturating_add((478_772_000 as Weight).saturating_mul(w as Weight)) + .saturating_add((15_435_000 as Weight).saturating_mul(x as Weight)) + // Standard Error: 1_929_000 + .saturating_add((479_053_000 as Weight).saturating_mul(y as Weight)) + // Standard Error: 1_378_000 + .saturating_add((1_158_423_000 as Weight).saturating_mul(z as Weight)) + // Standard Error: 1_929_000 + .saturating_add((468_500_000 as Weight).saturating_mul(w as Weight)) .saturating_add(RocksDbWeight::get().reads((3 as Weight).saturating_mul(x as Weight))) .saturating_add(RocksDbWeight::get().reads((30 as Weight).saturating_mul(y as Weight))) .saturating_add(RocksDbWeight::get().reads((66 as Weight).saturating_mul(z as Weight))) diff --git a/scripts/run_benchmarks.sh b/scripts/run_benchmarks.sh index e83d992859..a31acbdfed 100755 --- a/scripts/run_benchmarks.sh +++ b/scripts/run_benchmarks.sh @@ -10,7 +10,7 @@ benchmarks=( "orml_tokens" "parachain_staking" "pallet_xyk" - "xcm_asset_registry" + "orml_asset_registry" "pallet_treasury" "pallet_collective" "pallet_elections_phragmen"