diff --git a/.github/ISSUE_TEMPLATE/release.md b/.github/ISSUE_TEMPLATE/release.md index 827f1af72..305f7e772 100644 --- a/.github/ISSUE_TEMPLATE/release.md +++ b/.github/ISSUE_TEMPLATE/release.md @@ -23,7 +23,9 @@ These checks should be performed on the codebase prior to freezing our release c - [ ] Verify [benchmarks](#benchmarks) have been updated for any modified runtime logic. - [ ] Check for any upstream storage migrations and perform tests with `try-runtime`, if any. - - [ ] Grep github actions files for `POLKADOT_BINARY` and `_BINARY` and update them + - [ ] Grep github actions files for the following version URLs and update them + - `https://github.com/paritytech/polkadot/releases/download/v` + - `https://github.com/Manta-Network/Manta/releases/download/v` - [ ] Generate new changelog using `dev-tools` repo - [ ] Merge when green and reviewed - [ ] Tag the release with the same version you used on the release PR. IMPORTANT: Use the `manta` branch commit for the tag, NOT a `release-` or other branch diff --git a/.github/workflows/integration_test_calamari.yml b/.github/workflows/integration_test_calamari.yml index 6ce37d0a1..135885745 100644 --- a/.github/workflows/integration_test_calamari.yml +++ b/.github/workflows/integration_test_calamari.yml @@ -17,7 +17,7 @@ env: AWS_INSTANCE_ROOT_VOLUME_SIZE: 32 AWS_IMAGE_SEARCH_PATTERN: ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-* AWS_IMAGE_SEARCH_OWNERS: '["099720109477"]' - POLKADOT_BINARY: https://github.com/paritytech/polkadot/releases/download/v0.9.38/polkadot + POLKADOT_BINARY: https://github.com/paritytech/polkadot/releases/download/v0.9.39-1/polkadot jobs: print-rust-versions: if: contains(github.event.pull_request.labels.*.name, 'A-calamari' || github.ref == 'refs/heads/manta') diff --git a/.github/workflows/integration_test_dolphin.yml b/.github/workflows/integration_test_dolphin.yml index 12557997d..65ff564ae 100644 --- a/.github/workflows/integration_test_dolphin.yml +++ b/.github/workflows/integration_test_dolphin.yml @@ -17,7 +17,7 @@ env: AWS_INSTANCE_ROOT_VOLUME_SIZE: 32 AWS_IMAGE_SEARCH_PATTERN: ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-* AWS_IMAGE_SEARCH_OWNERS: '["099720109477"]' - POLKADOT_BINARY: https://github.com/paritytech/polkadot/releases/download/v0.9.38/polkadot + POLKADOT_BINARY: https://github.com/paritytech/polkadot/releases/download/v0.9.39-1/polkadot jobs: print-rust-versions: if: contains(github.event.pull_request.labels.*.name, 'A-dolphin' || github.ref == 'refs/heads/manta') diff --git a/.github/workflows/metadata_diff.yml b/.github/workflows/metadata_diff.yml index 77e640973..1c51589eb 100644 --- a/.github/workflows/metadata_diff.yml +++ b/.github/workflows/metadata_diff.yml @@ -4,7 +4,7 @@ on: inputs: reference_binary: description: The link to the reference binary, which should be the previous release. - default: https://github.com/Manta-Network/Manta/releases/download/v4.0.1/manta + default: https://github.com/Manta-Network/Manta/releases/download/v4.0.3/manta required: true chain: description: The name of the chain under test. Usually, you would pass a local chain diff --git a/.github/workflows/runtime_upgrade_test.yml b/.github/workflows/runtime_upgrade_test.yml index fabfeb71e..28af76bdb 100644 --- a/.github/workflows/runtime_upgrade_test.yml +++ b/.github/workflows/runtime_upgrade_test.yml @@ -16,8 +16,8 @@ env: AWS_INSTANCE_ROOT_VOLUME_SIZE: 32 AWS_IMAGE_SEARCH_PATTERN: ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-* AWS_IMAGE_SEARCH_OWNERS: '["099720109477"]' - POLKADOT_BINARY: https://github.com/paritytech/polkadot/releases/download/v0.9.38/polkadot - MANTA_BINARY: https://github.com/Manta-Network/Manta/releases/download/v4.0.1/manta + POLKADOT_BINARY: https://github.com/paritytech/polkadot/releases/download/v0.9.39-1/polkadot + MANTA_BINARY: https://github.com/Manta-Network/Manta/releases/download/v4.0.3/manta jobs: print-rust-versions: if: ${{ startsWith(github.ref, 'refs/tags') || startsWith(github.ref, 'refs/heads/release-') || github.ref == 'refs/heads/manta' }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f32bab33..7cfdc4891 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## v4.0.4 +### Fixed +- [\#1043](https://github.com/Manta-Network/Manta/pull/1043) Add self-bond filter condition when computing new set of collators [CA] + ## v4.0.3 ### Changed - [\#1024](https://github.com/Manta-Network/Manta/pull/1024) Minor: use checked-in genesis for --chain=manta [MA] diff --git a/Cargo.lock b/Cargo.lock index efc50b803..f1dc2a273 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1040,7 +1040,7 @@ dependencies = [ [[package]] name = "calamari-runtime" -version = "4.0.3" +version = "4.0.4" dependencies = [ "calamari-vesting", "cumulus-pallet-dmp-queue", @@ -1129,7 +1129,7 @@ dependencies = [ [[package]] name = "calamari-vesting" -version = "4.0.3" +version = "4.0.4" dependencies = [ "chrono", "frame-benchmarking", @@ -2434,7 +2434,7 @@ dependencies = [ [[package]] name = "dolphin-runtime" -version = "4.0.3" +version = "4.0.4" dependencies = [ "cumulus-pallet-dmp-queue", "cumulus-pallet-parachain-system", @@ -5072,7 +5072,7 @@ dependencies = [ [[package]] name = "manta" -version = "4.0.3" +version = "4.0.4" dependencies = [ "async-trait", "calamari-runtime", @@ -5170,7 +5170,7 @@ dependencies = [ [[package]] name = "manta-collator-selection" -version = "4.0.3" +version = "4.0.4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5257,7 +5257,7 @@ dependencies = [ [[package]] name = "manta-primitives" -version = "4.0.3" +version = "4.0.4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5277,7 +5277,7 @@ dependencies = [ [[package]] name = "manta-runtime" -version = "4.0.3" +version = "4.0.4" dependencies = [ "cumulus-pallet-dmp-queue", "cumulus-pallet-parachain-system", @@ -6129,7 +6129,7 @@ dependencies = [ [[package]] name = "pallet-asset-manager" -version = "4.0.3" +version = "4.0.4" dependencies = [ "frame-benchmarking", "frame-support", @@ -6561,7 +6561,7 @@ dependencies = [ [[package]] name = "pallet-manta-pay" -version = "4.0.3" +version = "4.0.4" dependencies = [ "anyhow", "base64 0.20.0", @@ -6746,7 +6746,7 @@ dependencies = [ [[package]] name = "pallet-parachain-staking" -version = "4.0.3" +version = "4.0.4" dependencies = [ "frame-benchmarking", "frame-support", @@ -7037,7 +7037,7 @@ dependencies = [ [[package]] name = "pallet-tx-pause" -version = "4.0.3" +version = "4.0.4" dependencies = [ "frame-benchmarking", "frame-support", @@ -9277,7 +9277,7 @@ dependencies = [ [[package]] name = "runtime-common" -version = "4.0.3" +version = "4.0.4" dependencies = [ "frame-support", "manta-primitives", @@ -10755,7 +10755,7 @@ dependencies = [ [[package]] name = "session-key-primitives" -version = "4.0.3" +version = "4.0.4" dependencies = [ "manta-primitives", "nimbus-primitives", diff --git a/node/Cargo.toml b/node/Cargo.toml index aeb8ea044..dff49b37a 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -9,7 +9,7 @@ license = 'GPL-3.0' name = 'manta' repository = 'https://github.com/Manta-Network/Manta/' rust-version = '1.62' -version = '4.0.3' +version = '4.0.4' [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] diff --git a/pallets/asset-manager/Cargo.toml b/pallets/asset-manager/Cargo.toml index aceedd38e..223cba6c8 100644 --- a/pallets/asset-manager/Cargo.toml +++ b/pallets/asset-manager/Cargo.toml @@ -5,7 +5,7 @@ homepage = "https://manta.network" license = "GPL-3.0" name = "pallet-asset-manager" repository = 'https://github.com/Manta-Network/Manta/' -version = '4.0.3' +version = '4.0.4' [dependencies] codec = { package = "parity-scale-codec", version = "3.1.2", default-features = false } diff --git a/pallets/collator-selection/Cargo.toml b/pallets/collator-selection/Cargo.toml index b7ce28dfe..5851970d5 100644 --- a/pallets/collator-selection/Cargo.toml +++ b/pallets/collator-selection/Cargo.toml @@ -7,7 +7,7 @@ license = 'GPL-3.0' name = 'manta-collator-selection' readme = 'README.md' repository = 'https://github.com/Manta-Network/Manta/' -version = '4.0.3' +version = '4.0.4' [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] diff --git a/pallets/manta-pay/Cargo.toml b/pallets/manta-pay/Cargo.toml index 7741a09cf..592e4fca0 100644 --- a/pallets/manta-pay/Cargo.toml +++ b/pallets/manta-pay/Cargo.toml @@ -7,7 +7,7 @@ license = 'GPL-3.0' name = 'pallet-manta-pay' readme = 'README.md' repository = 'https://github.com/Manta-Network/Manta/' -version = '4.0.3' +version = '4.0.4' [package.metadata.docs.rs] # To build locally: diff --git a/pallets/parachain-staking/Cargo.toml b/pallets/parachain-staking/Cargo.toml index 7c5a12d2c..5dd003ccb 100644 --- a/pallets/parachain-staking/Cargo.toml +++ b/pallets/parachain-staking/Cargo.toml @@ -6,7 +6,7 @@ homepage = 'https://manta.network' license = 'GPL-3.0' name = "pallet-parachain-staking" repository = 'https://github.com/Manta-Network/Manta/' -version = '4.0.3' +version = '4.0.4' [dependencies] log = { version = "0.4", default-features = false } diff --git a/pallets/tx-pause/Cargo.toml b/pallets/tx-pause/Cargo.toml index 72d970855..aa9118ddf 100644 --- a/pallets/tx-pause/Cargo.toml +++ b/pallets/tx-pause/Cargo.toml @@ -5,7 +5,7 @@ homepage = 'https://manta.network' license = 'GPL-3.0' name = "pallet-tx-pause" repository = 'https://github.com/Manta-Network/Manta/' -version = '4.0.3' +version = '4.0.4' [dependencies] codec = { package = "parity-scale-codec", version = '3.1.2', default-features = false } diff --git a/pallets/vesting/Cargo.toml b/pallets/vesting/Cargo.toml index ff278a515..73f6d6d8a 100644 --- a/pallets/vesting/Cargo.toml +++ b/pallets/vesting/Cargo.toml @@ -5,7 +5,7 @@ homepage = 'https://manta.network' license = 'GPL-3.0' name = "calamari-vesting" repository = 'https://github.com/Manta-Network/Manta/' -version = '4.0.3' +version = '4.0.4' [dependencies] codec = { package = "parity-scale-codec", version = '3.1.2', default-features = false, features = ["derive", "max-encoded-len"] } diff --git a/primitives/manta/Cargo.toml b/primitives/manta/Cargo.toml index e6be2bd96..0de6f8938 100644 --- a/primitives/manta/Cargo.toml +++ b/primitives/manta/Cargo.toml @@ -5,7 +5,7 @@ homepage = 'https://manta.network' license = 'GPL-3.0' name = "manta-primitives" repository = 'https://github.com/Manta-Network/Manta/' -version = '4.0.3' +version = '4.0.4' [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] diff --git a/primitives/session-keys/Cargo.toml b/primitives/session-keys/Cargo.toml index 9b82f143b..71a880573 100644 --- a/primitives/session-keys/Cargo.toml +++ b/primitives/session-keys/Cargo.toml @@ -4,7 +4,7 @@ description = "Primitives for session keys" edition = "2021" license = "GPL-3.0" name = "session-key-primitives" -version = '4.0.3' +version = '4.0.4' [dependencies] manta-primitives = { path = "../manta", default-features = false } diff --git a/runtime/calamari/Cargo.toml b/runtime/calamari/Cargo.toml index 0533235b4..88b27cd02 100644 --- a/runtime/calamari/Cargo.toml +++ b/runtime/calamari/Cargo.toml @@ -5,7 +5,7 @@ homepage = 'https://manta.network' license = 'GPL-3.0' name = 'calamari-runtime' repository = 'https://github.com/Manta-Network/Manta/' -version = '4.0.3' +version = '4.0.4' [dependencies] codec = { package = "parity-scale-codec", version = '3.1.2', default-features = false, features = ["derive", "max-encoded-len"] } diff --git a/runtime/calamari/src/lib.rs b/runtime/calamari/src/lib.rs index f179e7596..4c8e1ba14 100644 --- a/runtime/calamari/src/lib.rs +++ b/runtime/calamari/src/lib.rs @@ -130,7 +130,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("calamari"), impl_name: create_runtime_str!("calamari"), authoring_version: 2, - spec_version: 4030, + spec_version: 4040, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 11, diff --git a/runtime/calamari/src/weights/calamari_vesting.rs b/runtime/calamari/src/weights/calamari_vesting.rs index f5b9ecf44..ec1c4918b 100644 --- a/runtime/calamari/src/weights/calamari_vesting.rs +++ b/runtime/calamari/src/weights/calamari_vesting.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for calamari_vesting //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024 // Executed Command: @@ -57,7 +57,7 @@ impl calamari_vesting::WeightInfo for SubstrateWeight Weight { - (17_270_000 as Weight) + (18_307_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -67,7 +67,7 @@ impl calamari_vesting::WeightInfo for SubstrateWeight Weight { - (38_267_000 as Weight) + (40_852_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -77,7 +77,7 @@ impl calamari_vesting::WeightInfo for SubstrateWeight Weight { - (63_098_000 as Weight) + (68_033_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -88,7 +88,7 @@ impl WeightInfo for () { // Storage: CalamariVesting VestingSchedule (r:1 w:1) // Storage: Timestamp Now (r:1 w:0) fn update_vesting_schedule() -> Weight { - (17_270_000 as Weight) + (18_307_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -98,7 +98,7 @@ impl WeightInfo for () { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn vest() -> Weight { - (38_267_000 as Weight) + (40_852_000 as Weight) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } @@ -108,7 +108,7 @@ impl WeightInfo for () { // Storage: CalamariVesting VestingSchedule (r:1 w:0) // Storage: Balances Locks (r:1 w:1) fn vested_transfer() -> Weight { - (63_098_000 as Weight) + (68_033_000 as Weight) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } diff --git a/runtime/calamari/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/calamari/src/weights/cumulus_pallet_xcmp_queue.rs index e93460ee6..f53b8d18d 100644 --- a/runtime/calamari/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/calamari/src/weights/cumulus_pallet_xcmp_queue.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for cumulus_pallet_xcmp_queue //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024 // Executed Command: @@ -55,13 +55,13 @@ pub struct SubstrateWeight(PhantomData); impl cumulus_pallet_xcmp_queue::WeightInfo for SubstrateWeight { // Storage: XcmpQueue QueueConfig (r:1 w:1) fn set_config_with_u32() -> Weight { - (5_906_000 as Weight) + (5_592_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: XcmpQueue QueueConfig (r:1 w:1) fn set_config_with_weight() -> Weight { - (5_832_000 as Weight) + (5_574_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -71,13 +71,13 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat impl WeightInfo for () { // Storage: XcmpQueue QueueConfig (r:1 w:1) fn set_config_with_u32() -> Weight { - (5_906_000 as Weight) + (5_592_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: XcmpQueue QueueConfig (r:1 w:1) fn set_config_with_weight() -> Weight { - (5_832_000 as Weight) + (5_574_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } diff --git a/runtime/calamari/src/weights/frame_system.rs b/runtime/calamari/src/weights/frame_system.rs index 3fa4c37ff..eac3e2eb5 100644 --- a/runtime/calamari/src/weights/frame_system.rs +++ b/runtime/calamari/src/weights/frame_system.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for frame_system //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024 // Executed Command: @@ -57,80 +57,84 @@ pub trait WeightInfo { /// Weights for frame_system using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl frame_system::WeightInfo for SubstrateWeight { - fn remark(_b: u32, ) -> Weight { - (11_758_000 as Weight) + fn remark(b: u32, ) -> Weight { + (9_730_000 as Weight) + // Standard Error: 0 + .saturating_add((1_000 as Weight).saturating_mul(b as Weight)) } fn remark_with_event(b: u32, ) -> Weight { - (715_000 as Weight) + (2_101_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) } // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) fn set_heap_pages() -> Weight { - (5_581_000 as Weight) + (5_570_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) fn set_storage(i: u32, ) -> Weight { - (920_000 as Weight) + (0 as Weight) // Standard Error: 1_000 - .saturating_add((704_000 as Weight).saturating_mul(i as Weight)) + .saturating_add((702_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) fn kill_storage(i: u32, ) -> Weight { - (0 as Weight) + (371_000 as Weight) // Standard Error: 1_000 - .saturating_add((584_000 as Weight).saturating_mul(i as Weight)) + .saturating_add((582_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) fn kill_prefix(p: u32, ) -> Weight { (0 as Weight) // Standard Error: 2_000 - .saturating_add((1_212_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((1_213_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } } // For backwards compatibility and tests impl WeightInfo for () { - fn remark(_b: u32, ) -> Weight { - (11_758_000 as Weight) + fn remark(b: u32, ) -> Weight { + (9_730_000 as Weight) + // Standard Error: 0 + .saturating_add((1_000 as Weight).saturating_mul(b as Weight)) } fn remark_with_event(b: u32, ) -> Weight { - (715_000 as Weight) + (2_101_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) } // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) fn set_heap_pages() -> Weight { - (5_581_000 as Weight) + (5_570_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) fn set_storage(i: u32, ) -> Weight { - (920_000 as Weight) + (0 as Weight) // Standard Error: 1_000 - .saturating_add((704_000 as Weight).saturating_mul(i as Weight)) + .saturating_add((702_000 as Weight).saturating_mul(i as Weight)) .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } // Storage: Skipped Metadata (r:0 w:0) fn kill_storage(i: u32, ) -> Weight { - (0 as Weight) + (371_000 as Weight) // Standard Error: 1_000 - .saturating_add((584_000 as Weight).saturating_mul(i as Weight)) + .saturating_add((582_000 as Weight).saturating_mul(i as Weight)) .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } // Storage: Skipped Metadata (r:0 w:0) fn kill_prefix(p: u32, ) -> Weight { (0 as Weight) // Standard Error: 2_000 - .saturating_add((1_212_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((1_213_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/calamari/src/weights/manta_collator_selection.rs b/runtime/calamari/src/weights/manta_collator_selection.rs index 3607bc612..ced04675e 100644 --- a/runtime/calamari/src/weights/manta_collator_selection.rs +++ b/runtime/calamari/src/weights/manta_collator_selection.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for manta_collator_selection //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024 // Executed Command: @@ -64,29 +64,29 @@ pub struct SubstrateWeight(PhantomData); impl manta_collator_selection::WeightInfo for SubstrateWeight { // Storage: CollatorSelection Invulnerables (r:0 w:1) fn set_invulnerables(b: u32, ) -> Weight { - (12_882_000 as Weight) + (12_931_000 as Weight) // Standard Error: 7_000 - .saturating_add((67_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((42_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection DesiredCandidates (r:0 w:1) fn set_desired_candidates() -> Weight { - (14_272_000 as Weight) + (14_510_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection CandidacyBond (r:0 w:1) fn set_candidacy_bond() -> Weight { - (12_384_000 as Weight) + (12_297_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection EvictionBaseline (r:0 w:1) fn set_eviction_baseline() -> Weight { - (11_970_000 as Weight) + (11_782_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection EvictionTolerance (r:0 w:1) fn set_eviction_tolerance() -> Weight { - (11_873_000 as Weight) + (11_714_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection Candidates (r:1 w:1) @@ -95,26 +95,26 @@ impl manta_collator_selection::WeightInfo for Substrate // Storage: Session NextKeys (r:1 w:0) // Storage: CollatorSelection CandidacyBond (r:1 w:0) fn register_as_candidate(c: u32, ) -> Weight { - (42_726_000 as Weight) - // Standard Error: 6_000 - .saturating_add((392_000 as Weight).saturating_mul(c as Weight)) + (42_422_000 as Weight) + // Standard Error: 3_000 + .saturating_add((443_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection Candidates (r:1 w:1) fn leave_intent(c: u32, ) -> Weight { - (30_879_000 as Weight) + (31_564_000 as Weight) // Standard Error: 7_000 - .saturating_add((267_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((296_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection Invulnerables (r:1 w:0) // Storage: CollatorSelection Candidates (r:1 w:1) fn remove_collator(c: u32, ) -> Weight { - (33_548_000 as Weight) - // Standard Error: 6_000 - .saturating_add((248_000 as Weight).saturating_mul(c as Weight)) + (34_392_000 as Weight) + // Standard Error: 7_000 + .saturating_add((243_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -124,9 +124,9 @@ impl manta_collator_selection::WeightInfo for Substrate // Storage: Session NextKeys (r:1 w:0) // Storage: CollatorSelection CandidacyBond (r:1 w:0) fn register_candidate(c: u32, ) -> Weight { - (44_522_000 as Weight) + (44_661_000 as Weight) // Standard Error: 8_000 - .saturating_add((252_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((278_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -134,7 +134,7 @@ impl manta_collator_selection::WeightInfo for Substrate // Storage: CollatorSelection BlocksPerCollatorThisSession (r:1 w:1) // Storage: System BlockWeight (r:1 w:1) fn note_author() -> Weight { - (35_926_000 as Weight) + (37_092_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -147,9 +147,9 @@ impl manta_collator_selection::WeightInfo for Substrate // Storage: Session Validators (r:1 w:0) // Storage: System Account (r:1 w:1) fn new_session(c: u32, ) -> Weight { - (16_486_000 as Weight) - // Standard Error: 73_000 - .saturating_add((23_125_000 as Weight).saturating_mul(c as Weight)) + (17_159_000 as Weight) + // Standard Error: 74_000 + .saturating_add((23_406_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) @@ -161,29 +161,29 @@ impl manta_collator_selection::WeightInfo for Substrate impl WeightInfo for () { // Storage: CollatorSelection Invulnerables (r:0 w:1) fn set_invulnerables(b: u32, ) -> Weight { - (12_882_000 as Weight) + (12_931_000 as Weight) // Standard Error: 7_000 - .saturating_add((67_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((42_000 as Weight).saturating_mul(b as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection DesiredCandidates (r:0 w:1) fn set_desired_candidates() -> Weight { - (14_272_000 as Weight) + (14_510_000 as Weight) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection CandidacyBond (r:0 w:1) fn set_candidacy_bond() -> Weight { - (12_384_000 as Weight) + (12_297_000 as Weight) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection EvictionBaseline (r:0 w:1) fn set_eviction_baseline() -> Weight { - (11_970_000 as Weight) + (11_782_000 as Weight) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection EvictionTolerance (r:0 w:1) fn set_eviction_tolerance() -> Weight { - (11_873_000 as Weight) + (11_714_000 as Weight) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection Candidates (r:1 w:1) @@ -192,26 +192,26 @@ impl WeightInfo for () { // Storage: Session NextKeys (r:1 w:0) // Storage: CollatorSelection CandidacyBond (r:1 w:0) fn register_as_candidate(c: u32, ) -> Weight { - (42_726_000 as Weight) - // Standard Error: 6_000 - .saturating_add((392_000 as Weight).saturating_mul(c as Weight)) + (42_422_000 as Weight) + // Standard Error: 3_000 + .saturating_add((443_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection Candidates (r:1 w:1) fn leave_intent(c: u32, ) -> Weight { - (30_879_000 as Weight) + (31_564_000 as Weight) // Standard Error: 7_000 - .saturating_add((267_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((296_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection Invulnerables (r:1 w:0) // Storage: CollatorSelection Candidates (r:1 w:1) fn remove_collator(c: u32, ) -> Weight { - (33_548_000 as Weight) - // Standard Error: 6_000 - .saturating_add((248_000 as Weight).saturating_mul(c as Weight)) + (34_392_000 as Weight) + // Standard Error: 7_000 + .saturating_add((243_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -221,9 +221,9 @@ impl WeightInfo for () { // Storage: Session NextKeys (r:1 w:0) // Storage: CollatorSelection CandidacyBond (r:1 w:0) fn register_candidate(c: u32, ) -> Weight { - (44_522_000 as Weight) + (44_661_000 as Weight) // Standard Error: 8_000 - .saturating_add((252_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((278_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -231,7 +231,7 @@ impl WeightInfo for () { // Storage: CollatorSelection BlocksPerCollatorThisSession (r:1 w:1) // Storage: System BlockWeight (r:1 w:1) fn note_author() -> Weight { - (35_926_000 as Weight) + (37_092_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(4 as Weight)) } @@ -244,9 +244,9 @@ impl WeightInfo for () { // Storage: Session Validators (r:1 w:0) // Storage: System Account (r:1 w:1) fn new_session(c: u32, ) -> Weight { - (16_486_000 as Weight) - // Standard Error: 73_000 - .saturating_add((23_125_000 as Weight).saturating_mul(c as Weight)) + (17_159_000 as Weight) + // Standard Error: 74_000 + .saturating_add((23_406_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) .saturating_add(RocksDbWeight::get().reads((2 as Weight).saturating_mul(c as Weight))) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) diff --git a/runtime/calamari/src/weights/pallet_asset_manager.rs b/runtime/calamari/src/weights/pallet_asset_manager.rs index 6c6f16279..8e0b364e3 100644 --- a/runtime/calamari/src/weights/pallet_asset_manager.rs +++ b/runtime/calamari/src/weights/pallet_asset_manager.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for pallet_asset_manager //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024 // Executed Command: @@ -64,14 +64,14 @@ impl pallet_asset_manager::WeightInfo for SubstrateWeig // Storage: AssetManager AssetIdMetadata (r:0 w:1) // Storage: AssetManager AssetIdLocation (r:0 w:1) fn register_asset() -> Weight { - (45_120_000 as Weight) + (49_498_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } // Storage: AssetManager AssetIdLocation (r:1 w:0) // Storage: AssetManager UnitsPerSecond (r:0 w:1) fn set_units_per_second() -> Weight { - (55_310_000 as Weight) + (55_226_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -79,7 +79,7 @@ impl pallet_asset_manager::WeightInfo for SubstrateWeig // Storage: AssetManager LocationAssetId (r:1 w:2) // Storage: AssetManager AllowedDestParaIds (r:2 w:2) fn update_asset_location() -> Weight { - (76_479_000 as Weight) + (77_517_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -88,7 +88,7 @@ impl pallet_asset_manager::WeightInfo for SubstrateWeig // Storage: Assets Metadata (r:1 w:1) // Storage: AssetManager AssetIdMetadata (r:0 w:1) fn update_asset_metadata() -> Weight { - (75_036_000 as Weight) + (75_399_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -96,13 +96,13 @@ impl pallet_asset_manager::WeightInfo for SubstrateWeig // Storage: Assets Asset (r:1 w:1) // Storage: Assets Account (r:1 w:1) fn mint_asset() -> Weight { - (82_946_000 as Weight) + (83_487_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: AssetManager MinXcmFee (r:0 w:1) fn set_min_xcm_fee() -> Weight { - (48_518_000 as Weight) + (49_622_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } } @@ -116,14 +116,14 @@ impl WeightInfo for () { // Storage: AssetManager AssetIdMetadata (r:0 w:1) // Storage: AssetManager AssetIdLocation (r:0 w:1) fn register_asset() -> Weight { - (45_120_000 as Weight) + (49_498_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(6 as Weight)) } // Storage: AssetManager AssetIdLocation (r:1 w:0) // Storage: AssetManager UnitsPerSecond (r:0 w:1) fn set_units_per_second() -> Weight { - (55_310_000 as Weight) + (55_226_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -131,7 +131,7 @@ impl WeightInfo for () { // Storage: AssetManager LocationAssetId (r:1 w:2) // Storage: AssetManager AllowedDestParaIds (r:2 w:2) fn update_asset_location() -> Weight { - (76_479_000 as Weight) + (77_517_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(5 as Weight)) } @@ -140,7 +140,7 @@ impl WeightInfo for () { // Storage: Assets Metadata (r:1 w:1) // Storage: AssetManager AssetIdMetadata (r:0 w:1) fn update_asset_metadata() -> Weight { - (75_036_000 as Weight) + (75_399_000 as Weight) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } @@ -148,13 +148,13 @@ impl WeightInfo for () { // Storage: Assets Asset (r:1 w:1) // Storage: Assets Account (r:1 w:1) fn mint_asset() -> Weight { - (82_946_000 as Weight) + (83_487_000 as Weight) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } // Storage: AssetManager MinXcmFee (r:0 w:1) fn set_min_xcm_fee() -> Weight { - (48_518_000 as Weight) + (49_622_000 as Weight) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } } diff --git a/runtime/calamari/src/weights/pallet_assets.rs b/runtime/calamari/src/weights/pallet_assets.rs index 71a7eb2a4..00798a397 100644 --- a/runtime/calamari/src/weights/pallet_assets.rs +++ b/runtime/calamari/src/weights/pallet_assets.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for pallet_assets //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024 // Executed Command: @@ -76,13 +76,13 @@ pub struct SubstrateWeight(PhantomData); impl pallet_assets::WeightInfo for SubstrateWeight { // Storage: Assets Asset (r:1 w:1) fn create() -> Weight { - (16_680_000 as Weight) + (16_626_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Assets Asset (r:1 w:1) fn force_create() -> Weight { - (15_322_000 as Weight) + (15_168_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -93,12 +93,12 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Storage: Assets Approvals (r:501 w:500) fn destroy(c: u32, s: u32, a: u32, ) -> Weight { (0 as Weight) - // Standard Error: 46_000 - .saturating_add((18_269_000 as Weight).saturating_mul(c as Weight)) - // Standard Error: 46_000 - .saturating_add((21_339_000 as Weight).saturating_mul(s as Weight)) - // Standard Error: 469_000 - .saturating_add((13_367_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 43_000 + .saturating_add((18_450_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 43_000 + .saturating_add((21_430_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 432_000 + .saturating_add((13_258_000 as Weight).saturating_mul(a as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight))) @@ -111,14 +111,14 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Storage: Assets Asset (r:1 w:1) // Storage: Assets Account (r:1 w:1) fn mint() -> Weight { - (30_441_000 as Weight) + (32_072_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Assets Asset (r:1 w:1) // Storage: Assets Account (r:1 w:1) fn burn() -> Weight { - (37_108_000 as Weight) + (34_379_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -126,7 +126,7 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Storage: Assets Account (r:2 w:2) // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - (48_623_000 as Weight) + (51_946_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -134,7 +134,7 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Storage: Assets Account (r:2 w:2) // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - (44_266_000 as Weight) + (40_749_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -142,91 +142,89 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Storage: Assets Account (r:2 w:2) // Storage: System Account (r:1 w:1) fn force_transfer() -> Weight { - (48_813_000 as Weight) + (52_121_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: Assets Asset (r:1 w:0) // Storage: Assets Account (r:1 w:1) fn freeze() -> Weight { - (19_700_000 as Weight) + (19_616_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Assets Asset (r:1 w:0) // Storage: Assets Account (r:1 w:1) fn thaw() -> Weight { - (21_274_000 as Weight) + (19_554_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Assets Asset (r:1 w:1) fn freeze_asset() -> Weight { - (17_624_000 as Weight) + (15_738_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Assets Asset (r:1 w:1) fn thaw_asset() -> Weight { - (17_619_000 as Weight) + (16_373_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Assets Asset (r:1 w:1) // Storage: Assets Metadata (r:1 w:0) fn transfer_ownership() -> Weight { - (19_011_000 as Weight) + (17_974_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Assets Asset (r:1 w:1) fn set_team() -> Weight { - (16_783_000 as Weight) + (16_511_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Assets Asset (r:1 w:0) // Storage: Assets Metadata (r:1 w:1) - fn set_metadata(n: u32, s: u32, ) -> Weight { - (19_906_000 as Weight) - // Standard Error: 1_000 - .saturating_add((5_000 as Weight).saturating_mul(n as Weight)) - // Standard Error: 1_000 - .saturating_add((11_000 as Weight).saturating_mul(s as Weight)) + fn set_metadata(_n: u32, _s: u32, ) -> Weight { + (19_840_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Assets Asset (r:1 w:0) // Storage: Assets Metadata (r:1 w:1) fn clear_metadata() -> Weight { - (18_647_000 as Weight) + (19_981_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Assets Asset (r:1 w:0) // Storage: Assets Metadata (r:1 w:1) - fn force_set_metadata(_n: u32, _s: u32, ) -> Weight { - (18_583_000 as Weight) + fn force_set_metadata(n: u32, _s: u32, ) -> Weight { + (17_945_000 as Weight) + // Standard Error: 1_000 + .saturating_add((3_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Assets Asset (r:1 w:0) // Storage: Assets Metadata (r:1 w:1) fn force_clear_metadata() -> Weight { - (20_207_000 as Weight) + (18_337_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Assets Asset (r:1 w:1) fn force_asset_status() -> Weight { - (16_166_000 as Weight) + (15_678_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Assets Asset (r:1 w:1) // Storage: Assets Approvals (r:1 w:1) fn approve_transfer() -> Weight { - (24_778_000 as Weight) + (22_768_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -235,21 +233,21 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Storage: Assets Account (r:2 w:2) // Storage: System Account (r:1 w:1) fn transfer_approved() -> Weight { - (58_801_000 as Weight) + (54_593_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } // Storage: Assets Asset (r:1 w:1) // Storage: Assets Approvals (r:1 w:1) fn cancel_approval() -> Weight { - (23_611_000 as Weight) + (24_958_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Assets Asset (r:1 w:1) // Storage: Assets Approvals (r:1 w:1) fn force_cancel_approval() -> Weight { - (25_611_000 as Weight) + (23_604_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -259,13 +257,13 @@ impl pallet_assets::WeightInfo for SubstrateWeight { impl WeightInfo for () { // Storage: Assets Asset (r:1 w:1) fn create() -> Weight { - (16_680_000 as Weight) + (16_626_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Assets Asset (r:1 w:1) fn force_create() -> Weight { - (15_322_000 as Weight) + (15_168_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -276,12 +274,12 @@ impl WeightInfo for () { // Storage: Assets Approvals (r:501 w:500) fn destroy(c: u32, s: u32, a: u32, ) -> Weight { (0 as Weight) - // Standard Error: 46_000 - .saturating_add((18_269_000 as Weight).saturating_mul(c as Weight)) - // Standard Error: 46_000 - .saturating_add((21_339_000 as Weight).saturating_mul(s as Weight)) - // Standard Error: 469_000 - .saturating_add((13_367_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 43_000 + .saturating_add((18_450_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 43_000 + .saturating_add((21_430_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 432_000 + .saturating_add((13_258_000 as Weight).saturating_mul(a as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().reads((2 as Weight).saturating_mul(c as Weight))) .saturating_add(RocksDbWeight::get().reads((2 as Weight).saturating_mul(s as Weight))) @@ -294,14 +292,14 @@ impl WeightInfo for () { // Storage: Assets Asset (r:1 w:1) // Storage: Assets Account (r:1 w:1) fn mint() -> Weight { - (30_441_000 as Weight) + (32_072_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } // Storage: Assets Asset (r:1 w:1) // Storage: Assets Account (r:1 w:1) fn burn() -> Weight { - (37_108_000 as Weight) + (34_379_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } @@ -309,7 +307,7 @@ impl WeightInfo for () { // Storage: Assets Account (r:2 w:2) // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - (48_623_000 as Weight) + (51_946_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(4 as Weight)) } @@ -317,7 +315,7 @@ impl WeightInfo for () { // Storage: Assets Account (r:2 w:2) // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - (44_266_000 as Weight) + (40_749_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(4 as Weight)) } @@ -325,91 +323,89 @@ impl WeightInfo for () { // Storage: Assets Account (r:2 w:2) // Storage: System Account (r:1 w:1) fn force_transfer() -> Weight { - (48_813_000 as Weight) + (52_121_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(4 as Weight)) } // Storage: Assets Asset (r:1 w:0) // Storage: Assets Account (r:1 w:1) fn freeze() -> Weight { - (19_700_000 as Weight) + (19_616_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Assets Asset (r:1 w:0) // Storage: Assets Account (r:1 w:1) fn thaw() -> Weight { - (21_274_000 as Weight) + (19_554_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Assets Asset (r:1 w:1) fn freeze_asset() -> Weight { - (17_624_000 as Weight) + (15_738_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Assets Asset (r:1 w:1) fn thaw_asset() -> Weight { - (17_619_000 as Weight) + (16_373_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Assets Asset (r:1 w:1) // Storage: Assets Metadata (r:1 w:0) fn transfer_ownership() -> Weight { - (19_011_000 as Weight) + (17_974_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Assets Asset (r:1 w:1) fn set_team() -> Weight { - (16_783_000 as Weight) + (16_511_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Assets Asset (r:1 w:0) // Storage: Assets Metadata (r:1 w:1) - fn set_metadata(n: u32, s: u32, ) -> Weight { - (19_906_000 as Weight) - // Standard Error: 1_000 - .saturating_add((5_000 as Weight).saturating_mul(n as Weight)) - // Standard Error: 1_000 - .saturating_add((11_000 as Weight).saturating_mul(s as Weight)) + fn set_metadata(_n: u32, _s: u32, ) -> Weight { + (19_840_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Assets Asset (r:1 w:0) // Storage: Assets Metadata (r:1 w:1) fn clear_metadata() -> Weight { - (18_647_000 as Weight) + (19_981_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Assets Asset (r:1 w:0) // Storage: Assets Metadata (r:1 w:1) - fn force_set_metadata(_n: u32, _s: u32, ) -> Weight { - (18_583_000 as Weight) + fn force_set_metadata(n: u32, _s: u32, ) -> Weight { + (17_945_000 as Weight) + // Standard Error: 1_000 + .saturating_add((3_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Assets Asset (r:1 w:0) // Storage: Assets Metadata (r:1 w:1) fn force_clear_metadata() -> Weight { - (20_207_000 as Weight) + (18_337_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Assets Asset (r:1 w:1) fn force_asset_status() -> Weight { - (16_166_000 as Weight) + (15_678_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Assets Asset (r:1 w:1) // Storage: Assets Approvals (r:1 w:1) fn approve_transfer() -> Weight { - (24_778_000 as Weight) + (22_768_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } @@ -418,21 +414,21 @@ impl WeightInfo for () { // Storage: Assets Account (r:2 w:2) // Storage: System Account (r:1 w:1) fn transfer_approved() -> Weight { - (58_801_000 as Weight) + (54_593_000 as Weight) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(5 as Weight)) } // Storage: Assets Asset (r:1 w:1) // Storage: Assets Approvals (r:1 w:1) fn cancel_approval() -> Weight { - (23_611_000 as Weight) + (24_958_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } // Storage: Assets Asset (r:1 w:1) // Storage: Assets Approvals (r:1 w:1) fn force_cancel_approval() -> Weight { - (25_611_000 as Weight) + (23_604_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } diff --git a/runtime/calamari/src/weights/pallet_author_inherent.rs b/runtime/calamari/src/weights/pallet_author_inherent.rs index 879c1bd40..52b924eeb 100644 --- a/runtime/calamari/src/weights/pallet_author_inherent.rs +++ b/runtime/calamari/src/weights/pallet_author_inherent.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for pallet_author_inherent //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024 // Executed Command: @@ -57,7 +57,7 @@ impl pallet_author_inherent::WeightInfo for SubstrateWe // Storage: AuthorInherent Author (r:1 w:0) // Storage: ParachainStaking SelectedCandidates (r:1 w:0) fn kick_off_authorship_validation() -> Weight { - (13_000_000 as Weight) + (13_246_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -70,7 +70,7 @@ impl WeightInfo for () { // Storage: AuthorInherent Author (r:1 w:0) // Storage: ParachainStaking SelectedCandidates (r:1 w:0) fn kick_off_authorship_validation() -> Weight { - (13_000_000 as Weight) + (13_246_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } diff --git a/runtime/calamari/src/weights/pallet_balances.rs b/runtime/calamari/src/weights/pallet_balances.rs index 2dba9e9ec..5b42444af 100644 --- a/runtime/calamari/src/weights/pallet_balances.rs +++ b/runtime/calamari/src/weights/pallet_balances.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for pallet_balances //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024 // Executed Command: @@ -60,43 +60,43 @@ pub struct SubstrateWeight(PhantomData); impl pallet_balances::WeightInfo for SubstrateWeight { // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - (47_871_000 as Weight) + (47_288_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - (35_647_000 as Weight) + (35_678_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn set_balance_creating() -> Weight { - (22_322_000 as Weight) + (22_565_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn set_balance_killing() -> Weight { - (26_015_000 as Weight) + (25_467_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:2 w:2) fn force_transfer() -> Weight { - (43_946_000 as Weight) + (43_574_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { - (40_990_000 as Weight) + (41_501_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn force_unreserve() -> Weight { - (19_548_000 as Weight) + (19_918_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -106,43 +106,43 @@ impl pallet_balances::WeightInfo for SubstrateWeight impl WeightInfo for () { // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - (47_871_000 as Weight) + (47_288_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - (35_647_000 as Weight) + (35_678_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn set_balance_creating() -> Weight { - (22_322_000 as Weight) + (22_565_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn set_balance_killing() -> Weight { - (26_015_000 as Weight) + (25_467_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:2 w:2) fn force_transfer() -> Weight { - (43_946_000 as Weight) + (43_574_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { - (40_990_000 as Weight) + (41_501_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn force_unreserve() -> Weight { - (19_548_000 as Weight) + (19_918_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } diff --git a/runtime/calamari/src/weights/pallet_collective.rs b/runtime/calamari/src/weights/pallet_collective.rs index 1786ef9ee..06232a410 100644 --- a/runtime/calamari/src/weights/pallet_collective.rs +++ b/runtime/calamari/src/weights/pallet_collective.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for pallet_collective //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024 // Executed Command: @@ -65,12 +65,14 @@ impl pallet_collective::WeightInfo for SubstrateWeight< // Storage: Council Proposals (r:1 w:0) // Storage: Council Voting (r:100 w:100) // Storage: Council Prime (r:0 w:1) - fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { + fn set_members(m: u32, n: u32, p: u32, ) -> Weight { (0 as Weight) - // Standard Error: 11_000 - .saturating_add((11_208_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 11_000 - .saturating_add((14_459_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 9_000 + .saturating_add((11_705_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 9_000 + .saturating_add((130_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 9_000 + .saturating_add((14_987_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)) @@ -78,21 +80,21 @@ impl pallet_collective::WeightInfo for SubstrateWeight< } // Storage: Council Members (r:1 w:0) fn execute(b: u32, m: u32, ) -> Weight { - (18_742_000 as Weight) + (18_847_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 1_000 + // Standard Error: 0 .saturating_add((21_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_260_000 as Weight) + (21_642_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 1_000 - .saturating_add((37_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((32_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) } // Storage: Council Members (r:1 w:0) @@ -101,11 +103,11 @@ impl pallet_collective::WeightInfo for SubstrateWeight< // Storage: Council ProposalCount (r:1 w:1) // Storage: Council Voting (r:0 w:1) fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - (21_616_000 as Weight) + (20_066_000 as Weight) // Standard Error: 0 - .saturating_add((9_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((12_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 2_000 - .saturating_add((44_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((43_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 2_000 .saturating_add((207_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) @@ -114,7 +116,7 @@ impl pallet_collective::WeightInfo for SubstrateWeight< // Storage: Council Members (r:1 w:0) // Storage: Council Voting (r:1 w:1) fn vote(m: u32, ) -> Weight { - (33_286_000 as Weight) + (35_595_000 as Weight) // Standard Error: 3_000 .saturating_add((72_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) @@ -125,11 +127,11 @@ impl pallet_collective::WeightInfo for SubstrateWeight< // Storage: Council Proposals (r:1 w:1) // Storage: Council ProposalOf (r:0 w:1) fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - (33_720_000 as Weight) - // Standard Error: 3_000 - .saturating_add((26_000 as Weight).saturating_mul(m as Weight)) + (32_776_000 as Weight) // Standard Error: 2_000 - .saturating_add((145_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((46_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 2_000 + .saturating_add((149_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)) } @@ -138,13 +140,13 @@ impl pallet_collective::WeightInfo for SubstrateWeight< // 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 { - (35_899_000 as Weight) + (38_317_000 as Weight) // Standard Error: 0 - .saturating_add((8_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((7_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 2_000 - .saturating_add((48_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((53_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 2_000 - .saturating_add((197_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((196_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)) } @@ -154,11 +156,11 @@ impl pallet_collective::WeightInfo for SubstrateWeight< // Storage: Council Proposals (r:1 w:1) // Storage: Council ProposalOf (r:0 w:1) fn close_disapproved(m: u32, p: u32, ) -> Weight { - (35_809_000 as Weight) - // Standard Error: 3_000 - .saturating_add((40_000 as Weight).saturating_mul(m as Weight)) + (38_641_000 as Weight) + // Standard Error: 2_000 + .saturating_add((25_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 2_000 - .saturating_add((143_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((137_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)) } @@ -168,13 +170,13 @@ impl pallet_collective::WeightInfo for SubstrateWeight< // Storage: Council ProposalOf (r:1 w:1) // Storage: Council Proposals (r:1 w:1) fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - (39_415_000 as Weight) + (42_534_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: 2_000 - .saturating_add((58_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((50_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 2_000 - .saturating_add((195_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((192_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)) } @@ -182,9 +184,9 @@ impl pallet_collective::WeightInfo for SubstrateWeight< // Storage: Council Voting (r:0 w:1) // Storage: Council ProposalOf (r:0 w:1) fn disapprove_proposal(p: u32, ) -> Weight { - (20_455_000 as Weight) - // Standard Error: 2_000 - .saturating_add((191_000 as Weight).saturating_mul(p as Weight)) + (20_983_000 as Weight) + // Standard Error: 1_000 + .saturating_add((202_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)) } @@ -196,12 +198,14 @@ impl WeightInfo for () { // Storage: Council Proposals (r:1 w:0) // Storage: Council Voting (r:100 w:100) // Storage: Council Prime (r:0 w:1) - fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { + fn set_members(m: u32, n: u32, p: u32, ) -> Weight { (0 as Weight) - // Standard Error: 11_000 - .saturating_add((11_208_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 11_000 - .saturating_add((14_459_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 9_000 + .saturating_add((11_705_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 9_000 + .saturating_add((130_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 9_000 + .saturating_add((14_987_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)) @@ -209,21 +213,21 @@ impl WeightInfo for () { } // Storage: Council Members (r:1 w:0) fn execute(b: u32, m: u32, ) -> Weight { - (18_742_000 as Weight) + (18_847_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 1_000 + // Standard Error: 0 .saturating_add((21_000 as Weight).saturating_mul(m as Weight)) .saturating_add(RocksDbWeight::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_260_000 as Weight) + (21_642_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 1_000 - .saturating_add((37_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((32_000 as Weight).saturating_mul(m as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) } // Storage: Council Members (r:1 w:0) @@ -232,11 +236,11 @@ impl WeightInfo for () { // Storage: Council ProposalCount (r:1 w:1) // Storage: Council Voting (r:0 w:1) fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - (21_616_000 as Weight) + (20_066_000 as Weight) // Standard Error: 0 - .saturating_add((9_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((12_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 2_000 - .saturating_add((44_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((43_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 2_000 .saturating_add((207_000 as Weight).saturating_mul(p as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) @@ -245,7 +249,7 @@ impl WeightInfo for () { // Storage: Council Members (r:1 w:0) // Storage: Council Voting (r:1 w:1) fn vote(m: u32, ) -> Weight { - (33_286_000 as Weight) + (35_595_000 as Weight) // Standard Error: 3_000 .saturating_add((72_000 as Weight).saturating_mul(m as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) @@ -256,11 +260,11 @@ impl WeightInfo for () { // Storage: Council Proposals (r:1 w:1) // Storage: Council ProposalOf (r:0 w:1) fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - (33_720_000 as Weight) - // Standard Error: 3_000 - .saturating_add((26_000 as Weight).saturating_mul(m as Weight)) + (32_776_000 as Weight) // Standard Error: 2_000 - .saturating_add((145_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((46_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 2_000 + .saturating_add((149_000 as Weight).saturating_mul(p as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } @@ -269,13 +273,13 @@ impl WeightInfo for () { // 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 { - (35_899_000 as Weight) + (38_317_000 as Weight) // Standard Error: 0 - .saturating_add((8_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((7_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 2_000 - .saturating_add((48_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((53_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 2_000 - .saturating_add((197_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((196_000 as Weight).saturating_mul(p as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } @@ -285,11 +289,11 @@ impl WeightInfo for () { // Storage: Council Proposals (r:1 w:1) // Storage: Council ProposalOf (r:0 w:1) fn close_disapproved(m: u32, p: u32, ) -> Weight { - (35_809_000 as Weight) - // Standard Error: 3_000 - .saturating_add((40_000 as Weight).saturating_mul(m as Weight)) + (38_641_000 as Weight) + // Standard Error: 2_000 + .saturating_add((25_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 2_000 - .saturating_add((143_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((137_000 as Weight).saturating_mul(p as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } @@ -299,13 +303,13 @@ impl WeightInfo for () { // Storage: Council ProposalOf (r:1 w:1) // Storage: Council Proposals (r:1 w:1) fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - (39_415_000 as Weight) + (42_534_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: 2_000 - .saturating_add((58_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((50_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 2_000 - .saturating_add((195_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((192_000 as Weight).saturating_mul(p as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } @@ -313,9 +317,9 @@ impl WeightInfo for () { // Storage: Council Voting (r:0 w:1) // Storage: Council ProposalOf (r:0 w:1) fn disapprove_proposal(p: u32, ) -> Weight { - (20_455_000 as Weight) - // Standard Error: 2_000 - .saturating_add((191_000 as Weight).saturating_mul(p as Weight)) + (20_983_000 as Weight) + // Standard Error: 1_000 + .saturating_add((202_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/calamari/src/weights/pallet_democracy.rs b/runtime/calamari/src/weights/pallet_democracy.rs index d761d847f..922b68711 100644 --- a/runtime/calamari/src/weights/pallet_democracy.rs +++ b/runtime/calamari/src/weights/pallet_democracy.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for pallet_democracy //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024 // Executed Command: @@ -82,15 +82,15 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { - (55_604_000 as Weight) + (54_449_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Democracy DepositOf (r:1 w:1) fn second(s: u32, ) -> Weight { - (31_333_000 as Weight) + (31_610_000 as Weight) // Standard Error: 1_000 - .saturating_add((125_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((119_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -98,9 +98,9 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { - (40_832_000 as Weight) - // Standard Error: 2_000 - .saturating_add((174_000 as Weight).saturating_mul(r as Weight)) + (40_143_000 as Weight) + // Standard Error: 1_000 + .saturating_add((178_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -108,16 +108,16 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { - (41_567_000 as Weight) - // Standard Error: 3_000 - .saturating_add((141_000 as Weight).saturating_mul(r as Weight)) + (40_952_000 as Weight) + // Standard Error: 2_000 + .saturating_add((146_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Cancellations (r:1 w:1) fn emergency_cancel() -> Weight { - (20_681_000 as Weight) + (20_760_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -128,16 +128,16 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { - (51_927_000 as Weight) + (51_995_000 as Weight) // Standard Error: 6_000 - .saturating_add((209_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((211_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:0) fn external_propose(v: u32, ) -> Weight { - (11_482_000 as Weight) + (11_400_000 as Weight) // Standard Error: 0 .saturating_add((21_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) @@ -145,28 +145,28 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { - (4_197_000 as Weight) + (3_852_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_default() -> Weight { - (4_261_000 as Weight) + (3_991_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy ReferendumCount (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn fast_track() -> Weight { - (21_133_000 as Weight) + (20_312_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:1) fn veto_external(v: u32, ) -> Weight { - (21_447_000 as Weight) + (21_795_000 as Weight) // Standard Error: 1_000 - .saturating_add((39_000 as Weight).saturating_mul(v as Weight)) + .saturating_add((34_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -174,23 +174,23 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { - (38_793_000 as Weight) + (39_264_000 as Weight) // Standard Error: 3_000 - .saturating_add((214_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((201_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)) } // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn cancel_referendum() -> Weight { - (14_156_000 as Weight) + (13_974_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn cancel_queued(r: u32, ) -> Weight { - (23_856_000 as Weight) - // Standard Error: 4_000 - .saturating_add((1_245_000 as Weight).saturating_mul(r as Weight)) + (23_808_000 as Weight) + // Standard Error: 5_000 + .saturating_add((1_244_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -198,9 +198,9 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { - (3_882_000 as Weight) - // Standard Error: 9_000 - .saturating_add((3_440_000 as Weight).saturating_mul(r as Weight)) + (4_215_000 as Weight) + // Standard Error: 8_000 + .saturating_add((3_444_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -212,9 +212,9 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { - (9_011_000 as Weight) - // Standard Error: 8_000 - .saturating_add((3_443_000 as Weight).saturating_mul(r as Weight)) + (8_934_000 as Weight) + // Standard Error: 9_000 + .saturating_add((3_477_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -223,9 +223,9 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { - (42_406_000 as Weight) + (40_923_000 as Weight) // Standard Error: 8_000 - .saturating_add((4_549_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((4_560_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(4 as Weight)) @@ -234,9 +234,9 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { - (21_173_000 as Weight) - // Standard Error: 7_000 - .saturating_add((4_607_000 as Weight).saturating_mul(r as Weight)) + (22_748_000 as Weight) + // Standard Error: 10_000 + .saturating_add((4_567_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -244,12 +244,12 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { - (5_066_000 as Weight) + (4_780_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy Preimages (r:1 w:1) fn note_preimage(b: u32, ) -> Weight { - (29_928_000 as Weight) + (29_563_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) @@ -257,7 +257,7 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { - (20_469_000 as Weight) + (20_578_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) @@ -266,7 +266,7 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { - (28_638_000 as Weight) + (28_648_000 as Weight) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) @@ -276,9 +276,9 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { - (26_984_000 as Weight) + (26_938_000 as Weight) // Standard Error: 2_000 - .saturating_add((55_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((62_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -286,25 +286,25 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { - (25_467_000 as Weight) + (25_340_000 as Weight) // Standard Error: 2_000 - .saturating_add((131_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((139_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) fn remove_vote(r: u32, ) -> Weight { - (16_816_000 as Weight) + (16_832_000 as Weight) // Standard Error: 2_000 - .saturating_add((116_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((119_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) fn remove_other_vote(r: u32, ) -> Weight { - (16_849_000 as Weight) + (16_825_000 as Weight) // Standard Error: 2_000 .saturating_add((120_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) @@ -319,15 +319,15 @@ impl WeightInfo for () { // Storage: Democracy Blacklist (r:1 w:0) // Storage: Democracy DepositOf (r:0 w:1) fn propose() -> Weight { - (55_604_000 as Weight) + (54_449_000 as Weight) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } // Storage: Democracy DepositOf (r:1 w:1) fn second(s: u32, ) -> Weight { - (31_333_000 as Weight) + (31_610_000 as Weight) // Standard Error: 1_000 - .saturating_add((125_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((119_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -335,9 +335,9 @@ impl WeightInfo for () { // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_new(r: u32, ) -> Weight { - (40_832_000 as Weight) - // Standard Error: 2_000 - .saturating_add((174_000 as Weight).saturating_mul(r as Weight)) + (40_143_000 as Weight) + // Standard Error: 1_000 + .saturating_add((178_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } @@ -345,16 +345,16 @@ impl WeightInfo for () { // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_existing(r: u32, ) -> Weight { - (41_567_000 as Weight) - // Standard Error: 3_000 - .saturating_add((141_000 as Weight).saturating_mul(r as Weight)) + (40_952_000 as Weight) + // Standard Error: 2_000 + .saturating_add((146_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Cancellations (r:1 w:1) fn emergency_cancel() -> Weight { - (20_681_000 as Weight) + (20_760_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } @@ -365,16 +365,16 @@ impl WeightInfo for () { // Storage: Democracy DepositOf (r:1 w:1) // Storage: System Account (r:1 w:1) fn blacklist(p: u32, ) -> Weight { - (51_927_000 as Weight) + (51_995_000 as Weight) // Standard Error: 6_000 - .saturating_add((209_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((211_000 as Weight).saturating_mul(p as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(6 as Weight)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:0) fn external_propose(v: u32, ) -> Weight { - (11_482_000 as Weight) + (11_400_000 as Weight) // Standard Error: 0 .saturating_add((21_000 as Weight).saturating_mul(v as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) @@ -382,28 +382,28 @@ impl WeightInfo for () { } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_majority() -> Weight { - (4_197_000 as Weight) + (3_852_000 as Weight) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_default() -> Weight { - (4_261_000 as Weight) + (3_991_000 as Weight) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy ReferendumCount (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn fast_track() -> Weight { - (21_133_000 as Weight) + (20_312_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:1) fn veto_external(v: u32, ) -> Weight { - (21_447_000 as Weight) + (21_795_000 as Weight) // Standard Error: 1_000 - .saturating_add((39_000 as Weight).saturating_mul(v as Weight)) + .saturating_add((34_000 as Weight).saturating_mul(v as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } @@ -411,23 +411,23 @@ impl WeightInfo for () { // Storage: Democracy DepositOf (r:1 w:1) // Storage: System Account (r:1 w:1) fn cancel_proposal(p: u32, ) -> Weight { - (38_793_000 as Weight) + (39_264_000 as Weight) // Standard Error: 3_000 - .saturating_add((214_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((201_000 as Weight).saturating_mul(p as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn cancel_referendum() -> Weight { - (14_156_000 as Weight) + (13_974_000 as Weight) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn cancel_queued(r: u32, ) -> Weight { - (23_856_000 as Weight) - // Standard Error: 4_000 - .saturating_add((1_245_000 as Weight).saturating_mul(r as Weight)) + (23_808_000 as Weight) + // Standard Error: 5_000 + .saturating_add((1_244_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } @@ -435,9 +435,9 @@ impl WeightInfo for () { // Storage: Democracy ReferendumCount (r:1 w:0) // Storage: Democracy ReferendumInfoOf (r:1 w:0) fn on_initialize_base(r: u32, ) -> Weight { - (3_882_000 as Weight) - // Standard Error: 9_000 - .saturating_add((3_440_000 as Weight).saturating_mul(r as Weight)) + (4_215_000 as Weight) + // Standard Error: 8_000 + .saturating_add((3_444_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -449,9 +449,9 @@ impl WeightInfo for () { // Storage: Democracy PublicProps (r:1 w:0) // Storage: Democracy ReferendumInfoOf (r:1 w:0) fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { - (9_011_000 as Weight) - // Standard Error: 8_000 - .saturating_add((3_443_000 as Weight).saturating_mul(r as Weight)) + (8_934_000 as Weight) + // Standard Error: 9_000 + .saturating_add((3_477_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -460,9 +460,9 @@ impl WeightInfo for () { // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn delegate(r: u32, ) -> Weight { - (42_406_000 as Weight) + (40_923_000 as Weight) // Standard Error: 8_000 - .saturating_add((4_549_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((4_560_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(4 as Weight)) @@ -471,9 +471,9 @@ impl WeightInfo for () { // Storage: Democracy VotingOf (r:2 w:2) // Storage: Democracy ReferendumInfoOf (r:1 w:1) fn undelegate(r: u32, ) -> Weight { - (21_173_000 as Weight) - // Standard Error: 7_000 - .saturating_add((4_607_000 as Weight).saturating_mul(r as Weight)) + (22_748_000 as Weight) + // Standard Error: 10_000 + .saturating_add((4_567_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) @@ -481,12 +481,12 @@ impl WeightInfo for () { } // Storage: Democracy PublicProps (r:0 w:1) fn clear_public_proposals() -> Weight { - (5_066_000 as Weight) + (4_780_000 as Weight) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Democracy Preimages (r:1 w:1) fn note_preimage(b: u32, ) -> Weight { - (29_928_000 as Weight) + (29_563_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) @@ -494,7 +494,7 @@ impl WeightInfo for () { } // Storage: Democracy Preimages (r:1 w:1) fn note_imminent_preimage(b: u32, ) -> Weight { - (20_469_000 as Weight) + (20_578_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) @@ -503,7 +503,7 @@ impl WeightInfo for () { // Storage: Democracy Preimages (r:1 w:1) // Storage: System Account (r:1 w:0) fn reap_preimage(b: u32, ) -> Weight { - (28_638_000 as Weight) + (28_648_000 as Weight) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(b as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) @@ -513,9 +513,9 @@ impl WeightInfo for () { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn unlock_remove(r: u32, ) -> Weight { - (26_984_000 as Weight) + (26_938_000 as Weight) // Standard Error: 2_000 - .saturating_add((55_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((62_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } @@ -523,25 +523,25 @@ impl WeightInfo for () { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn unlock_set(r: u32, ) -> Weight { - (25_467_000 as Weight) + (25_340_000 as Weight) // Standard Error: 2_000 - .saturating_add((131_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((139_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) fn remove_vote(r: u32, ) -> Weight { - (16_816_000 as Weight) + (16_832_000 as Weight) // Standard Error: 2_000 - .saturating_add((116_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((119_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) fn remove_other_vote(r: u32, ) -> Weight { - (16_849_000 as Weight) + (16_825_000 as Weight) // Standard Error: 2_000 .saturating_add((120_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) diff --git a/runtime/calamari/src/weights/pallet_manta_pay.rs b/runtime/calamari/src/weights/pallet_manta_pay.rs index 270e7d3f3..970ef373a 100644 --- a/runtime/calamari/src/weights/pallet_manta_pay.rs +++ b/runtime/calamari/src/weights/pallet_manta_pay.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for pallet_manta_pay //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024 // Executed Command: @@ -63,7 +63,7 @@ impl pallet_manta_pay::WeightInfo for SubstrateWeight Weight { - (39_748_575_000 as Weight) + (39_680_646_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } @@ -78,7 +78,7 @@ impl pallet_manta_pay::WeightInfo for SubstrateWeight Weight { - (52_739_250_000 as Weight) + (52_691_892_000 as Weight) .saturating_add(T::DbWeight::get().reads(11 as Weight)) .saturating_add(T::DbWeight::get().writes(13 as Weight)) } @@ -90,14 +90,14 @@ impl pallet_manta_pay::WeightInfo for SubstrateWeight Weight { - (69_978_618_000 as Weight) + (70_137_719_000 as Weight) .saturating_add(T::DbWeight::get().reads(9 as Weight)) .saturating_add(T::DbWeight::get().writes(13 as Weight)) } // Storage: Assets Asset (r:1 w:1) // Storage: Assets Account (r:2 w:2) fn public_transfer() -> Weight { - (42_418_000 as Weight) + (41_857_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -113,7 +113,7 @@ impl WeightInfo for () { // Storage: MantaPay UtxoAccumulatorOutputs (r:0 w:1) // Storage: MantaPay Shards (r:0 w:1) fn to_private() -> Weight { - (39_748_575_000 as Weight) + (39_680_646_000 as Weight) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) .saturating_add(RocksDbWeight::get().writes(7 as Weight)) } @@ -128,7 +128,7 @@ impl WeightInfo for () { // Storage: MantaPay NullifierSetInsertionOrder (r:0 w:2) // Storage: MantaPay Shards (r:0 w:1) fn to_public() -> Weight { - (52_739_250_000 as Weight) + (52_691_892_000 as Weight) .saturating_add(RocksDbWeight::get().reads(11 as Weight)) .saturating_add(RocksDbWeight::get().writes(13 as Weight)) } @@ -140,14 +140,14 @@ impl WeightInfo for () { // Storage: MantaPay NullifierSetInsertionOrder (r:0 w:2) // Storage: MantaPay Shards (r:0 w:2) fn private_transfer() -> Weight { - (69_978_618_000 as Weight) + (70_137_719_000 as Weight) .saturating_add(RocksDbWeight::get().reads(9 as Weight)) .saturating_add(RocksDbWeight::get().writes(13 as Weight)) } // Storage: Assets Asset (r:1 w:1) // Storage: Assets Account (r:2 w:2) fn public_transfer() -> Weight { - (42_418_000 as Weight) + (41_857_000 as Weight) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } diff --git a/runtime/calamari/src/weights/pallet_membership.rs b/runtime/calamari/src/weights/pallet_membership.rs index e669480ff..ef424b8a6 100644 --- a/runtime/calamari/src/weights/pallet_membership.rs +++ b/runtime/calamari/src/weights/pallet_membership.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for pallet_membership //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024 // Executed Command: @@ -63,9 +63,9 @@ impl pallet_membership::WeightInfo for SubstrateWeight< // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn add_member(m: u32, ) -> Weight { - (21_985_000 as Weight) - // Standard Error: 3_000 - .saturating_add((33_000 as Weight).saturating_mul(m as Weight)) + (20_446_000 as Weight) + // Standard Error: 1_000 + .saturating_add((51_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -75,9 +75,9 @@ impl pallet_membership::WeightInfo for SubstrateWeight< // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn remove_member(m: u32, ) -> Weight { - (24_240_000 as Weight) + (23_919_000 as Weight) // Standard Error: 1_000 - .saturating_add((50_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((49_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -87,7 +87,7 @@ impl pallet_membership::WeightInfo for SubstrateWeight< // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn swap_member(m: u32, ) -> Weight { - (24_342_000 as Weight) + (23_874_000 as Weight) // Standard Error: 1_000 .saturating_add((62_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) @@ -99,9 +99,9 @@ impl pallet_membership::WeightInfo for SubstrateWeight< // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn reset_member(m: u32, ) -> Weight { - (23_702_000 as Weight) + (23_385_000 as Weight) // Standard Error: 2_000 - .saturating_add((190_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((186_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -111,7 +111,7 @@ impl pallet_membership::WeightInfo for SubstrateWeight< // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn change_key(m: u32, ) -> Weight { - (25_009_000 as Weight) + (24_551_000 as Weight) // Standard Error: 1_000 .saturating_add((62_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) @@ -121,7 +121,7 @@ impl pallet_membership::WeightInfo for SubstrateWeight< // Storage: CouncilMembership Prime (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn set_prime(m: u32, ) -> Weight { - (8_509_000 as Weight) + (8_304_000 as Weight) // Standard Error: 0 .saturating_add((20_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) @@ -130,7 +130,7 @@ impl pallet_membership::WeightInfo for SubstrateWeight< // Storage: CouncilMembership Prime (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn clear_prime(m: u32, ) -> Weight { - (4_962_000 as Weight) + (4_868_000 as Weight) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -144,9 +144,9 @@ impl WeightInfo for () { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn add_member(m: u32, ) -> Weight { - (21_985_000 as Weight) - // Standard Error: 3_000 - .saturating_add((33_000 as Weight).saturating_mul(m as Weight)) + (20_446_000 as Weight) + // Standard Error: 1_000 + .saturating_add((51_000 as Weight).saturating_mul(m as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } @@ -156,9 +156,9 @@ impl WeightInfo for () { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn remove_member(m: u32, ) -> Weight { - (24_240_000 as Weight) + (23_919_000 as Weight) // Standard Error: 1_000 - .saturating_add((50_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((49_000 as Weight).saturating_mul(m as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } @@ -168,7 +168,7 @@ impl WeightInfo for () { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn swap_member(m: u32, ) -> Weight { - (24_342_000 as Weight) + (23_874_000 as Weight) // Standard Error: 1_000 .saturating_add((62_000 as Weight).saturating_mul(m as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) @@ -180,9 +180,9 @@ impl WeightInfo for () { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn reset_member(m: u32, ) -> Weight { - (23_702_000 as Weight) + (23_385_000 as Weight) // Standard Error: 2_000 - .saturating_add((190_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((186_000 as Weight).saturating_mul(m as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } @@ -192,7 +192,7 @@ impl WeightInfo for () { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn change_key(m: u32, ) -> Weight { - (25_009_000 as Weight) + (24_551_000 as Weight) // Standard Error: 1_000 .saturating_add((62_000 as Weight).saturating_mul(m as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) @@ -202,7 +202,7 @@ impl WeightInfo for () { // Storage: CouncilMembership Prime (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn set_prime(m: u32, ) -> Weight { - (8_509_000 as Weight) + (8_304_000 as Weight) // Standard Error: 0 .saturating_add((20_000 as Weight).saturating_mul(m as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) @@ -211,7 +211,7 @@ impl WeightInfo for () { // Storage: CouncilMembership Prime (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn clear_prime(m: u32, ) -> Weight { - (4_962_000 as Weight) + (4_868_000 as Weight) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(m as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) diff --git a/runtime/calamari/src/weights/pallet_multisig.rs b/runtime/calamari/src/weights/pallet_multisig.rs index dcab15133..b4c597a68 100644 --- a/runtime/calamari/src/weights/pallet_multisig.rs +++ b/runtime/calamari/src/weights/pallet_multisig.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for pallet_multisig //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024 // Executed Command: @@ -62,16 +62,16 @@ pub trait WeightInfo { pub struct SubstrateWeight(PhantomData); impl pallet_multisig::WeightInfo for SubstrateWeight { fn as_multi_threshold_1(z: u32, ) -> Weight { - (21_289_000 as Weight) + (21_164_000 as Weight) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn as_multi_create(s: u32, z: u32, ) -> Weight { - (38_757_000 as Weight) + (38_074_000 as Weight) // Standard Error: 2_000 - .saturating_add((123_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((128_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) @@ -81,9 +81,9 @@ impl pallet_multisig::WeightInfo for SubstrateWeight // Storage: Multisig Calls (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn as_multi_create_store(s: u32, z: u32, ) -> Weight { - (41_716_000 as Weight) + (42_390_000 as Weight) // Standard Error: 2_000 - .saturating_add((102_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((96_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) @@ -91,20 +91,20 @@ impl pallet_multisig::WeightInfo for SubstrateWeight } // Storage: Multisig Multisigs (r:1 w:1) fn as_multi_approve(s: u32, z: u32, ) -> Weight { - (25_994_000 as Weight) + (25_558_000 as Weight) // Standard Error: 2_000 - .saturating_add((85_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((89_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Calls (r:1 w:1) fn as_multi_approve_store(s: u32, z: u32, ) -> Weight { - (41_728_000 as Weight) + (41_341_000 as Weight) // Standard Error: 2_000 - .saturating_add((98_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((99_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) @@ -114,29 +114,29 @@ impl pallet_multisig::WeightInfo for SubstrateWeight // Storage: Multisig Calls (r:1 w:1) // Storage: System Account (r:1 w:1) fn as_multi_complete(s: u32, z: u32, ) -> Weight { - (52_820_000 as Weight) + (51_938_000 as Weight) // Standard Error: 2_000 - .saturating_add((120_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((122_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn approve_as_multi_create(s: u32, ) -> Weight { - (35_410_000 as Weight) + (35_027_000 as Weight) // Standard Error: 2_000 - .saturating_add((125_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((128_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Calls (r:1 w:0) fn approve_as_multi_approve(s: u32, ) -> Weight { - (21_896_000 as Weight) + (21_594_000 as Weight) // Standard Error: 1_000 - .saturating_add((123_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((125_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -144,18 +144,18 @@ impl pallet_multisig::WeightInfo for SubstrateWeight // Storage: Multisig Calls (r:1 w:1) // Storage: System Account (r:1 w:1) fn approve_as_multi_complete(s: u32, ) -> Weight { - (65_270_000 as Weight) + (66_175_000 as Weight) // Standard Error: 2_000 - .saturating_add((145_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((155_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)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Calls (r:1 w:1) fn cancel_as_multi(s: u32, ) -> Weight { - (51_889_000 as Weight) - // Standard Error: 2_000 - .saturating_add((128_000 as Weight).saturating_mul(s as Weight)) + (51_867_000 as Weight) + // Standard Error: 3_000 + .saturating_add((126_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -164,16 +164,16 @@ impl pallet_multisig::WeightInfo for SubstrateWeight // For backwards compatibility and tests impl WeightInfo for () { fn as_multi_threshold_1(z: u32, ) -> Weight { - (21_289_000 as Weight) + (21_164_000 as Weight) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn as_multi_create(s: u32, z: u32, ) -> Weight { - (38_757_000 as Weight) + (38_074_000 as Weight) // Standard Error: 2_000 - .saturating_add((123_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((128_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) @@ -183,9 +183,9 @@ impl WeightInfo for () { // Storage: Multisig Calls (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn as_multi_create_store(s: u32, z: u32, ) -> Weight { - (41_716_000 as Weight) + (42_390_000 as Weight) // Standard Error: 2_000 - .saturating_add((102_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((96_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) @@ -193,20 +193,20 @@ impl WeightInfo for () { } // Storage: Multisig Multisigs (r:1 w:1) fn as_multi_approve(s: u32, z: u32, ) -> Weight { - (25_994_000 as Weight) + (25_558_000 as Weight) // Standard Error: 2_000 - .saturating_add((85_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((89_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Calls (r:1 w:1) fn as_multi_approve_store(s: u32, z: u32, ) -> Weight { - (41_728_000 as Weight) + (41_341_000 as Weight) // Standard Error: 2_000 - .saturating_add((98_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((99_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) @@ -216,29 +216,29 @@ impl WeightInfo for () { // Storage: Multisig Calls (r:1 w:1) // Storage: System Account (r:1 w:1) fn as_multi_complete(s: u32, z: u32, ) -> Weight { - (52_820_000 as Weight) + (51_938_000 as Weight) // Standard Error: 2_000 - .saturating_add((120_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((122_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn approve_as_multi_create(s: u32, ) -> Weight { - (35_410_000 as Weight) + (35_027_000 as Weight) // Standard Error: 2_000 - .saturating_add((125_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((128_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Calls (r:1 w:0) fn approve_as_multi_approve(s: u32, ) -> Weight { - (21_896_000 as Weight) + (21_594_000 as Weight) // Standard Error: 1_000 - .saturating_add((123_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((125_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -246,18 +246,18 @@ impl WeightInfo for () { // Storage: Multisig Calls (r:1 w:1) // Storage: System Account (r:1 w:1) fn approve_as_multi_complete(s: u32, ) -> Weight { - (65_270_000 as Weight) + (66_175_000 as Weight) // Standard Error: 2_000 - .saturating_add((145_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((155_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Calls (r:1 w:1) fn cancel_as_multi(s: u32, ) -> Weight { - (51_889_000 as Weight) - // Standard Error: 2_000 - .saturating_add((128_000 as Weight).saturating_mul(s as Weight)) + (51_867_000 as Weight) + // Standard Error: 3_000 + .saturating_add((126_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } diff --git a/runtime/calamari/src/weights/pallet_parachain_staking.rs b/runtime/calamari/src/weights/pallet_parachain_staking.rs index 59e36ceaa..603f5182c 100644 --- a/runtime/calamari/src/weights/pallet_parachain_staking.rs +++ b/runtime/calamari/src/weights/pallet_parachain_staking.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for pallet_parachain_staking //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024 // Executed Command: @@ -84,44 +84,44 @@ pub struct SubstrateWeight(PhantomData); impl pallet_parachain_staking::WeightInfo for SubstrateWeight { // Storage: ParachainStaking InflationConfig (r:1 w:1) fn set_staking_expectations() -> Weight { - (16_332_000 as Weight) + (16_492_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking InflationConfig (r:1 w:1) fn set_inflation() -> Weight { - (63_134_000 as Weight) + (60_369_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking ParachainBondInfo (r:1 w:1) fn set_parachain_bond_account() -> Weight { - (16_085_000 as Weight) + (16_713_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking ParachainBondInfo (r:1 w:1) fn set_parachain_bond_reserve_percent() -> Weight { - (15_236_000 as Weight) + (15_772_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking TotalSelected (r:1 w:1) fn set_total_selected() -> Weight { - (17_078_000 as Weight) + (18_435_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 { - (14_320_000 as Weight) + (14_958_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking TotalSelected (r:1 w:0) // Storage: ParachainStaking InflationConfig (r:1 w:1) fn set_blocks_per_round() -> Weight { - (62_346_000 as Weight) + (68_356_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -135,18 +135,18 @@ impl pallet_parachain_staking::WeightInfo for Substrate // Storage: ParachainStaking TopDelegations (r:0 w:1) // Storage: ParachainStaking BottomDelegations (r:0 w:1) fn join_candidates(x: u32, ) -> Weight { - (72_359_000 as Weight) + (75_843_000 as Weight) // Standard Error: 1_000 - .saturating_add((63_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((57_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } // Storage: ParachainStaking CandidateInfo (r:1 w:1) // Storage: ParachainStaking CandidatePool (r:1 w:1) fn schedule_leave_candidates(x: u32, ) -> Weight { - (60_693_000 as Weight) + (58_441_000 as Weight) // Standard Error: 1_000 - .saturating_add((38_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((40_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)) } @@ -160,8 +160,8 @@ impl pallet_parachain_staking::WeightInfo for Substrate // Storage: ParachainStaking Total (r:1 w:1) fn execute_leave_candidates(x: u32, ) -> Weight { (0 as Weight) - // Standard Error: 53_000 - .saturating_add((25_145_000 as Weight).saturating_mul(x as Weight)) + // Standard Error: 51_000 + .saturating_add((25_230_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(x as Weight))) .saturating_add(T::DbWeight::get().writes(4 as Weight)) @@ -170,23 +170,23 @@ impl pallet_parachain_staking::WeightInfo for Substrate // Storage: ParachainStaking CandidateInfo (r:1 w:1) // Storage: ParachainStaking CandidatePool (r:1 w:1) fn cancel_leave_candidates(x: u32, ) -> Weight { - (53_877_000 as Weight) + (56_818_000 as Weight) // Standard Error: 1_000 - .saturating_add((47_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((43_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)) } // Storage: ParachainStaking CandidateInfo (r:1 w:1) // Storage: ParachainStaking CandidatePool (r:1 w:1) fn go_offline() -> Weight { - (23_823_000 as Weight) + (24_073_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: ParachainStaking CandidateInfo (r:1 w:1) // Storage: ParachainStaking CandidatePool (r:1 w:1) fn go_online() -> Weight { - (24_184_000 as Weight) + (23_931_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -196,13 +196,13 @@ impl pallet_parachain_staking::WeightInfo for Substrate // Storage: Balances Locks (r:1 w:1) // Storage: ParachainStaking CandidatePool (r:1 w:1) fn candidate_bond_more() -> Weight { - (41_967_000 as Weight) + (42_442_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } // Storage: ParachainStaking CandidateInfo (r:1 w:1) fn schedule_candidate_bond_less() -> Weight { - (23_352_000 as Weight) + (24_074_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -212,13 +212,13 @@ impl pallet_parachain_staking::WeightInfo for Substrate // Storage: System Account (r:1 w:1) // Storage: ParachainStaking CandidatePool (r:1 w:1) fn execute_candidate_bond_less() -> Weight { - (58_982_000 as Weight) + (58_146_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } // Storage: ParachainStaking CandidateInfo (r:1 w:1) fn cancel_candidate_bond_less() -> Weight { - (20_604_000 as Weight) + (20_554_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -230,18 +230,18 @@ impl pallet_parachain_staking::WeightInfo for Substrate // Storage: Balances Locks (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn delegate(x: u32, y: u32, ) -> Weight { - (73_426_000 as Weight) - // Standard Error: 10_000 - .saturating_add((257_000 as Weight).saturating_mul(x as Weight)) - // Standard Error: 2_000 - .saturating_add((246_000 as Weight).saturating_mul(y as Weight)) + (68_083_000 as Weight) + // Standard Error: 5_000 + .saturating_add((411_000 as Weight).saturating_mul(x as Weight)) + // Standard Error: 1_000 + .saturating_add((284_000 as Weight).saturating_mul(y as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } // Storage: ParachainStaking DelegatorState (r:1 w:1) // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) fn schedule_leave_delegators() -> Weight { - (28_879_000 as Weight) + (28_604_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -254,9 +254,9 @@ impl pallet_parachain_staking::WeightInfo for Substrate // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn execute_leave_delegators(x: u32, ) -> Weight { - (35_220_000 as Weight) - // Standard Error: 32_000 - .saturating_add((23_388_000 as Weight).saturating_mul(x as Weight)) + (36_907_000 as Weight) + // Standard Error: 26_000 + .saturating_add((23_364_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(2 as Weight)) @@ -265,14 +265,14 @@ impl pallet_parachain_staking::WeightInfo for Substrate // Storage: ParachainStaking DelegatorState (r:1 w:1) // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) fn cancel_leave_delegators() -> Weight { - (29_544_000 as Weight) + (27_653_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: ParachainStaking DelegatorState (r:1 w:1) // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) fn schedule_revoke_delegation() -> Weight { - (30_304_000 as Weight) + (28_587_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -285,14 +285,14 @@ impl pallet_parachain_staking::WeightInfo for Substrate // Storage: ParachainStaking CandidatePool (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn delegator_bond_more() -> Weight { - (59_148_000 as Weight) + (58_791_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } // Storage: ParachainStaking DelegatorState (r:1 w:1) // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) fn schedule_delegator_bond_less() -> Weight { - (29_059_000 as Weight) + (28_642_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -305,7 +305,7 @@ impl pallet_parachain_staking::WeightInfo for Substrate // Storage: ParachainStaking CandidatePool (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn execute_revoke_delegation() -> Weight { - (84_782_000 as Weight) + (86_282_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) } @@ -318,21 +318,21 @@ impl pallet_parachain_staking::WeightInfo for Substrate // Storage: ParachainStaking CandidatePool (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn execute_delegator_bond_less() -> Weight { - (74_898_000 as Weight) + (76_768_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) } // Storage: ParachainStaking DelegatorState (r:1 w:1) // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) fn cancel_revoke_delegation() -> Weight { - (26_824_000 as Weight) + (26_347_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: ParachainStaking DelegatorState (r:1 w:1) // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) fn cancel_delegator_bond_less() -> Weight { - (31_945_000 as Weight) + (31_727_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -353,9 +353,9 @@ impl pallet_parachain_staking::WeightInfo for Substrate // Storage: ParachainStaking SelectedCandidates (r:0 w:1) // Storage: ParachainStaking DelayedPayouts (r:0 w:1) fn round_transition_on_initialize(x: u32, _y: u32, ) -> Weight { - (1_490_216_000 as Weight) - // Standard Error: 358_000 - .saturating_add((3_540_000 as Weight).saturating_mul(x as Weight)) + (1_512_121_000 as Weight) + // Standard Error: 362_000 + .saturating_add((4_015_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(119 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(x as Weight))) .saturating_add(T::DbWeight::get().writes(113 as Weight)) @@ -366,16 +366,16 @@ impl pallet_parachain_staking::WeightInfo for Substrate // Storage: ParachainStaking AtStake (r:1 w:1) // Storage: System Account (r:1 w:1) fn pay_one_collator_reward(y: u32, ) -> Weight { - (49_521_000 as Weight) + (49_066_000 as Weight) // Standard Error: 11_000 - .saturating_add((12_921_000 as Weight).saturating_mul(y as Weight)) + .saturating_add((13_055_000 as Weight).saturating_mul(y as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(y as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(y as Weight))) } fn base_on_initialize() -> Weight { - (3_118_000 as Weight) + (3_551_000 as Weight) } } @@ -383,44 +383,44 @@ impl pallet_parachain_staking::WeightInfo for Substrate impl WeightInfo for () { // Storage: ParachainStaking InflationConfig (r:1 w:1) fn set_staking_expectations() -> Weight { - (16_332_000 as Weight) + (16_492_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking InflationConfig (r:1 w:1) fn set_inflation() -> Weight { - (63_134_000 as Weight) + (60_369_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking ParachainBondInfo (r:1 w:1) fn set_parachain_bond_account() -> Weight { - (16_085_000 as Weight) + (16_713_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking ParachainBondInfo (r:1 w:1) fn set_parachain_bond_reserve_percent() -> Weight { - (15_236_000 as Weight) + (15_772_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking TotalSelected (r:1 w:1) fn set_total_selected() -> Weight { - (17_078_000 as Weight) + (18_435_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking CollatorCommission (r:1 w:1) fn set_collator_commission() -> Weight { - (14_320_000 as Weight) + (14_958_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking TotalSelected (r:1 w:0) // Storage: ParachainStaking InflationConfig (r:1 w:1) fn set_blocks_per_round() -> Weight { - (62_346_000 as Weight) + (68_356_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -434,18 +434,18 @@ impl WeightInfo for () { // Storage: ParachainStaking TopDelegations (r:0 w:1) // Storage: ParachainStaking BottomDelegations (r:0 w:1) fn join_candidates(x: u32, ) -> Weight { - (72_359_000 as Weight) + (75_843_000 as Weight) // Standard Error: 1_000 - .saturating_add((63_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((57_000 as Weight).saturating_mul(x as Weight)) .saturating_add(RocksDbWeight::get().reads(7 as Weight)) .saturating_add(RocksDbWeight::get().writes(7 as Weight)) } // Storage: ParachainStaking CandidateInfo (r:1 w:1) // Storage: ParachainStaking CandidatePool (r:1 w:1) fn schedule_leave_candidates(x: u32, ) -> Weight { - (60_693_000 as Weight) + (58_441_000 as Weight) // Standard Error: 1_000 - .saturating_add((38_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((40_000 as Weight).saturating_mul(x as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } @@ -459,8 +459,8 @@ impl WeightInfo for () { // Storage: ParachainStaking Total (r:1 w:1) fn execute_leave_candidates(x: u32, ) -> Weight { (0 as Weight) - // Standard Error: 53_000 - .saturating_add((25_145_000 as Weight).saturating_mul(x as Weight)) + // Standard Error: 51_000 + .saturating_add((25_230_000 as Weight).saturating_mul(x as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((3 as Weight).saturating_mul(x as Weight))) .saturating_add(RocksDbWeight::get().writes(4 as Weight)) @@ -469,23 +469,23 @@ impl WeightInfo for () { // Storage: ParachainStaking CandidateInfo (r:1 w:1) // Storage: ParachainStaking CandidatePool (r:1 w:1) fn cancel_leave_candidates(x: u32, ) -> Weight { - (53_877_000 as Weight) + (56_818_000 as Weight) // Standard Error: 1_000 - .saturating_add((47_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((43_000 as Weight).saturating_mul(x as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } // Storage: ParachainStaking CandidateInfo (r:1 w:1) // Storage: ParachainStaking CandidatePool (r:1 w:1) fn go_offline() -> Weight { - (23_823_000 as Weight) + (24_073_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } // Storage: ParachainStaking CandidateInfo (r:1 w:1) // Storage: ParachainStaking CandidatePool (r:1 w:1) fn go_online() -> Weight { - (24_184_000 as Weight) + (23_931_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } @@ -495,13 +495,13 @@ impl WeightInfo for () { // Storage: Balances Locks (r:1 w:1) // Storage: ParachainStaking CandidatePool (r:1 w:1) fn candidate_bond_more() -> Weight { - (41_967_000 as Weight) + (42_442_000 as Weight) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(5 as Weight)) } // Storage: ParachainStaking CandidateInfo (r:1 w:1) fn schedule_candidate_bond_less() -> Weight { - (23_352_000 as Weight) + (24_074_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -511,13 +511,13 @@ impl WeightInfo for () { // Storage: System Account (r:1 w:1) // Storage: ParachainStaking CandidatePool (r:1 w:1) fn execute_candidate_bond_less() -> Weight { - (58_982_000 as Weight) + (58_146_000 as Weight) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(5 as Weight)) } // Storage: ParachainStaking CandidateInfo (r:1 w:1) fn cancel_candidate_bond_less() -> Weight { - (20_604_000 as Weight) + (20_554_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -529,18 +529,18 @@ impl WeightInfo for () { // Storage: Balances Locks (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn delegate(x: u32, y: u32, ) -> Weight { - (73_426_000 as Weight) - // Standard Error: 10_000 - .saturating_add((257_000 as Weight).saturating_mul(x as Weight)) - // Standard Error: 2_000 - .saturating_add((246_000 as Weight).saturating_mul(y as Weight)) + (68_083_000 as Weight) + // Standard Error: 5_000 + .saturating_add((411_000 as Weight).saturating_mul(x as Weight)) + // Standard Error: 1_000 + .saturating_add((284_000 as Weight).saturating_mul(y as Weight)) .saturating_add(RocksDbWeight::get().reads(7 as Weight)) .saturating_add(RocksDbWeight::get().writes(7 as Weight)) } // Storage: ParachainStaking DelegatorState (r:1 w:1) // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) fn schedule_leave_delegators() -> Weight { - (28_879_000 as Weight) + (28_604_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } @@ -553,9 +553,9 @@ impl WeightInfo for () { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn execute_leave_delegators(x: u32, ) -> Weight { - (35_220_000 as Weight) - // Standard Error: 32_000 - .saturating_add((23_388_000 as Weight).saturating_mul(x as Weight)) + (36_907_000 as Weight) + // Standard Error: 26_000 + .saturating_add((23_364_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(2 as Weight)) @@ -564,14 +564,14 @@ impl WeightInfo for () { // Storage: ParachainStaking DelegatorState (r:1 w:1) // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) fn cancel_leave_delegators() -> Weight { - (29_544_000 as Weight) + (27_653_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } // Storage: ParachainStaking DelegatorState (r:1 w:1) // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) fn schedule_revoke_delegation() -> Weight { - (30_304_000 as Weight) + (28_587_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } @@ -584,14 +584,14 @@ impl WeightInfo for () { // Storage: ParachainStaking CandidatePool (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn delegator_bond_more() -> Weight { - (59_148_000 as Weight) + (58_791_000 as Weight) .saturating_add(RocksDbWeight::get().reads(8 as Weight)) .saturating_add(RocksDbWeight::get().writes(7 as Weight)) } // Storage: ParachainStaking DelegatorState (r:1 w:1) // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) fn schedule_delegator_bond_less() -> Weight { - (29_059_000 as Weight) + (28_642_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } @@ -604,7 +604,7 @@ impl WeightInfo for () { // Storage: ParachainStaking CandidatePool (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn execute_revoke_delegation() -> Weight { - (84_782_000 as Weight) + (86_282_000 as Weight) .saturating_add(RocksDbWeight::get().reads(8 as Weight)) .saturating_add(RocksDbWeight::get().writes(8 as Weight)) } @@ -617,21 +617,21 @@ impl WeightInfo for () { // Storage: ParachainStaking CandidatePool (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn execute_delegator_bond_less() -> Weight { - (74_898_000 as Weight) + (76_768_000 as Weight) .saturating_add(RocksDbWeight::get().reads(8 as Weight)) .saturating_add(RocksDbWeight::get().writes(8 as Weight)) } // Storage: ParachainStaking DelegatorState (r:1 w:1) // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) fn cancel_revoke_delegation() -> Weight { - (26_824_000 as Weight) + (26_347_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } // Storage: ParachainStaking DelegatorState (r:1 w:1) // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) fn cancel_delegator_bond_less() -> Weight { - (31_945_000 as Weight) + (31_727_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } @@ -652,9 +652,9 @@ impl WeightInfo for () { // Storage: ParachainStaking SelectedCandidates (r:0 w:1) // Storage: ParachainStaking DelayedPayouts (r:0 w:1) fn round_transition_on_initialize(x: u32, _y: u32, ) -> Weight { - (1_490_216_000 as Weight) - // Standard Error: 358_000 - .saturating_add((3_540_000 as Weight).saturating_mul(x as Weight)) + (1_512_121_000 as Weight) + // Standard Error: 362_000 + .saturating_add((4_015_000 as Weight).saturating_mul(x as Weight)) .saturating_add(RocksDbWeight::get().reads(119 as Weight)) .saturating_add(RocksDbWeight::get().reads((2 as Weight).saturating_mul(x as Weight))) .saturating_add(RocksDbWeight::get().writes(113 as Weight)) @@ -665,15 +665,15 @@ impl WeightInfo for () { // Storage: ParachainStaking AtStake (r:1 w:1) // Storage: System Account (r:1 w:1) fn pay_one_collator_reward(y: u32, ) -> Weight { - (49_521_000 as Weight) + (49_066_000 as Weight) // Standard Error: 11_000 - .saturating_add((12_921_000 as Weight).saturating_mul(y as Weight)) + .saturating_add((13_055_000 as Weight).saturating_mul(y as Weight)) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(y as Weight))) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(y as Weight))) } fn base_on_initialize() -> Weight { - (3_118_000 as Weight) + (3_551_000 as Weight) } } diff --git a/runtime/calamari/src/weights/pallet_preimage.rs b/runtime/calamari/src/weights/pallet_preimage.rs index a5e30e59d..eb3d4600a 100644 --- a/runtime/calamari/src/weights/pallet_preimage.rs +++ b/runtime/calamari/src/weights/pallet_preimage.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for pallet_preimage //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024 // Executed Command: @@ -93,58 +93,58 @@ impl pallet_preimage::WeightInfo for SubstrateWeight // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { - (36_241_000 as Weight) + (35_704_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { - (22_213_000 as Weight) + (21_615_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { - (33_956_000 as Weight) + (34_111_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { - (20_783_000 as Weight) + (20_814_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { - (17_215_000 as Weight) + (16_598_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { - (7_327_000 as Weight) + (7_074_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { - (21_478_000 as Weight) + (21_021_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_unnoted_preimage() -> Weight { - (17_365_000 as Weight) + (17_253_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { - (6_916_000 as Weight) + (6_782_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -182,58 +182,58 @@ impl WeightInfo for () { // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { - (36_241_000 as Weight) + (35_704_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { - (22_213_000 as Weight) + (21_615_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { - (33_956_000 as Weight) + (34_111_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { - (20_783_000 as Weight) + (20_814_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { - (17_215_000 as Weight) + (16_598_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { - (7_327_000 as Weight) + (7_074_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { - (21_478_000 as Weight) + (21_021_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_unnoted_preimage() -> Weight { - (17_365_000 as Weight) + (17_253_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { - (6_916_000 as Weight) + (6_782_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } diff --git a/runtime/calamari/src/weights/pallet_scheduler.rs b/runtime/calamari/src/weights/pallet_scheduler.rs index 1e355e02f..111a5bbcc 100644 --- a/runtime/calamari/src/weights/pallet_scheduler.rs +++ b/runtime/calamari/src/weights/pallet_scheduler.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for pallet_scheduler //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024 // Executed Command: @@ -70,9 +70,9 @@ impl pallet_scheduler::WeightInfo for SubstrateWeight Weight { - (18_501_000 as Weight) - // Standard Error: 48_000 - .saturating_add((24_408_000 as Weight).saturating_mul(s as Weight)) + (16_067_000 as Weight) + // Standard Error: 52_000 + .saturating_add((24_718_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -83,9 +83,9 @@ impl pallet_scheduler::WeightInfo for SubstrateWeight Weight { - (14_170_000 as Weight) - // Standard Error: 44_000 - .saturating_add((19_543_000 as Weight).saturating_mul(s as Weight)) + (12_603_000 as Weight) + // Standard Error: 47_000 + .saturating_add((19_769_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -95,9 +95,9 @@ impl pallet_scheduler::WeightInfo for SubstrateWeight Weight { - (14_875_000 as Weight) - // Standard Error: 44_000 - .saturating_add((21_515_000 as Weight).saturating_mul(s as Weight)) + (14_562_000 as Weight) + // Standard Error: 51_000 + .saturating_add((21_660_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -107,9 +107,9 @@ impl pallet_scheduler::WeightInfo for SubstrateWeight Weight { - (15_885_000 as Weight) - // Standard Error: 37_000 - .saturating_add((18_023_000 as Weight).saturating_mul(s as Weight)) + (11_342_000 as Weight) + // Standard Error: 44_000 + .saturating_add((18_449_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -119,9 +119,9 @@ impl pallet_scheduler::WeightInfo for SubstrateWeight Weight { - (5_058_000 as Weight) - // Standard Error: 23_000 - .saturating_add((7_768_000 as Weight).saturating_mul(s as Weight)) + (4_828_000 as Weight) + // Standard Error: 25_000 + .saturating_add((7_702_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -130,9 +130,9 @@ impl pallet_scheduler::WeightInfo for SubstrateWeight Weight { - (6_796_000 as Weight) - // Standard Error: 17_000 - .saturating_add((4_823_000 as Weight).saturating_mul(s as Weight)) + (7_088_000 as Weight) + // Standard Error: 16_000 + .saturating_add((4_791_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -140,9 +140,9 @@ impl pallet_scheduler::WeightInfo for SubstrateWeight Weight { - (14_631_000 as Weight) - // Standard Error: 38_000 - .saturating_add((13_414_000 as Weight).saturating_mul(s as Weight)) + (15_329_000 as Weight) + // Standard Error: 41_000 + .saturating_add((13_433_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -150,9 +150,9 @@ impl pallet_scheduler::WeightInfo for SubstrateWeight Weight { - (12_761_000 as Weight) - // Standard Error: 34_000 - .saturating_add((10_479_000 as Weight).saturating_mul(s as Weight)) + (13_707_000 as Weight) + // Standard Error: 33_000 + .saturating_add((10_451_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -161,53 +161,53 @@ impl pallet_scheduler::WeightInfo for SubstrateWeight Weight { - (14_808_000 as Weight) - // Standard Error: 27_000 - .saturating_add((8_323_000 as Weight).saturating_mul(s as Weight)) + (14_842_000 as Weight) + // Standard Error: 26_000 + .saturating_add((8_342_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } // Storage: Scheduler Agenda (r:1 w:1) fn on_initialize(s: u32, ) -> Weight { - (12_562_000 as Weight) - // Standard Error: 25_000 - .saturating_add((7_175_000 as Weight).saturating_mul(s as Weight)) + (13_964_000 as Weight) + // Standard Error: 24_000 + .saturating_add((7_106_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Scheduler Agenda (r:1 w:1) fn schedule(s: u32, ) -> Weight { - (19_331_000 as Weight) + (19_168_000 as Weight) // Standard Error: 2_000 - .saturating_add((101_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((96_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Scheduler Agenda (r:1 w:1) // Storage: Scheduler Lookup (r:0 w:1) fn cancel(s: u32, ) -> Weight { - (19_149_000 as Weight) + (19_141_000 as Weight) // Standard Error: 6_000 - .saturating_add((1_238_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((1_239_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn schedule_named(s: u32, ) -> Weight { - (22_798_000 as Weight) - // Standard Error: 2_000 - .saturating_add((124_000 as Weight).saturating_mul(s as Weight)) + (22_365_000 as Weight) + // Standard Error: 3_000 + .saturating_add((121_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn cancel_named(s: u32, ) -> Weight { - (20_882_000 as Weight) + (20_511_000 as Weight) // Standard Error: 6_000 - .saturating_add((1_242_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((1_248_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -220,9 +220,9 @@ impl WeightInfo for () { // Storage: Preimage StatusFor (r:1 w:1) // Storage: Scheduler Lookup (r:0 w:1) fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight { - (18_501_000 as Weight) - // Standard Error: 48_000 - .saturating_add((24_408_000 as Weight).saturating_mul(s as Weight)) + (16_067_000 as Weight) + // Standard Error: 52_000 + .saturating_add((24_718_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().reads((3 as Weight).saturating_mul(s as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -233,9 +233,9 @@ impl WeightInfo for () { // Storage: Preimage StatusFor (r:1 w:1) // Storage: Scheduler Lookup (r:0 w:1) fn on_initialize_named_resolved(s: u32, ) -> Weight { - (14_170_000 as Weight) - // Standard Error: 44_000 - .saturating_add((19_543_000 as Weight).saturating_mul(s as Weight)) + (12_603_000 as Weight) + // Standard Error: 47_000 + .saturating_add((19_769_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().reads((2 as Weight).saturating_mul(s as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -245,9 +245,9 @@ impl WeightInfo for () { // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) fn on_initialize_periodic_resolved(s: u32, ) -> Weight { - (14_875_000 as Weight) - // Standard Error: 44_000 - .saturating_add((21_515_000 as Weight).saturating_mul(s as Weight)) + (14_562_000 as Weight) + // Standard Error: 51_000 + .saturating_add((21_660_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().reads((3 as Weight).saturating_mul(s as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -257,9 +257,9 @@ impl WeightInfo for () { // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) fn on_initialize_resolved(s: u32, ) -> Weight { - (15_885_000 as Weight) - // Standard Error: 37_000 - .saturating_add((18_023_000 as Weight).saturating_mul(s as Weight)) + (11_342_000 as Weight) + // Standard Error: 44_000 + .saturating_add((18_449_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().reads((2 as Weight).saturating_mul(s as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -269,9 +269,9 @@ impl WeightInfo for () { // Storage: Preimage PreimageFor (r:1 w:0) // Storage: Scheduler Lookup (r:0 w:1) fn on_initialize_named_aborted(s: u32, ) -> Weight { - (5_058_000 as Weight) - // Standard Error: 23_000 - .saturating_add((7_768_000 as Weight).saturating_mul(s as Weight)) + (4_828_000 as Weight) + // Standard Error: 25_000 + .saturating_add((7_702_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) @@ -280,9 +280,9 @@ impl WeightInfo for () { // Storage: Scheduler Agenda (r:2 w:2) // Storage: Preimage PreimageFor (r:1 w:0) fn on_initialize_aborted(s: u32, ) -> Weight { - (6_796_000 as Weight) - // Standard Error: 17_000 - .saturating_add((4_823_000 as Weight).saturating_mul(s as Weight)) + (7_088_000 as Weight) + // Standard Error: 16_000 + .saturating_add((4_791_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) @@ -290,9 +290,9 @@ impl WeightInfo for () { // Storage: Scheduler Agenda (r:2 w:2) // Storage: Scheduler Lookup (r:0 w:1) fn on_initialize_periodic_named(s: u32, ) -> Weight { - (14_631_000 as Weight) - // Standard Error: 38_000 - .saturating_add((13_414_000 as Weight).saturating_mul(s as Weight)) + (15_329_000 as Weight) + // Standard Error: 41_000 + .saturating_add((13_433_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -300,9 +300,9 @@ impl WeightInfo for () { } // Storage: Scheduler Agenda (r:2 w:2) fn on_initialize_periodic(s: u32, ) -> Weight { - (12_761_000 as Weight) - // Standard Error: 34_000 - .saturating_add((10_479_000 as Weight).saturating_mul(s as Weight)) + (13_707_000 as Weight) + // Standard Error: 33_000 + .saturating_add((10_451_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -311,53 +311,53 @@ impl WeightInfo for () { // Storage: Scheduler Agenda (r:1 w:1) // Storage: Scheduler Lookup (r:0 w:1) fn on_initialize_named(s: u32, ) -> Weight { - (14_808_000 as Weight) - // Standard Error: 27_000 - .saturating_add((8_323_000 as Weight).saturating_mul(s as Weight)) + (14_842_000 as Weight) + // Standard Error: 26_000 + .saturating_add((8_342_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } // Storage: Scheduler Agenda (r:1 w:1) fn on_initialize(s: u32, ) -> Weight { - (12_562_000 as Weight) - // Standard Error: 25_000 - .saturating_add((7_175_000 as Weight).saturating_mul(s as Weight)) + (13_964_000 as Weight) + // Standard Error: 24_000 + .saturating_add((7_106_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Scheduler Agenda (r:1 w:1) fn schedule(s: u32, ) -> Weight { - (19_331_000 as Weight) + (19_168_000 as Weight) // Standard Error: 2_000 - .saturating_add((101_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((96_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Scheduler Agenda (r:1 w:1) // Storage: Scheduler Lookup (r:0 w:1) fn cancel(s: u32, ) -> Weight { - (19_149_000 as Weight) + (19_141_000 as Weight) // Standard Error: 6_000 - .saturating_add((1_238_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((1_239_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn schedule_named(s: u32, ) -> Weight { - (22_798_000 as Weight) - // Standard Error: 2_000 - .saturating_add((124_000 as Weight).saturating_mul(s as Weight)) + (22_365_000 as Weight) + // Standard Error: 3_000 + .saturating_add((121_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn cancel_named(s: u32, ) -> Weight { - (20_882_000 as Weight) + (20_511_000 as Weight) // Standard Error: 6_000 - .saturating_add((1_242_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((1_248_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } diff --git a/runtime/calamari/src/weights/pallet_session.rs b/runtime/calamari/src/weights/pallet_session.rs index 4c6d21cb6..1d1903bd5 100644 --- a/runtime/calamari/src/weights/pallet_session.rs +++ b/runtime/calamari/src/weights/pallet_session.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for pallet_session //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024 // Executed Command: @@ -56,14 +56,14 @@ impl pallet_session::WeightInfo for SubstrateWeight // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:3 w:3) fn set_keys() -> Weight { - (27_772_000 as Weight) + (25_395_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:0 w:3) fn purge_keys() -> Weight { - (15_912_000 as Weight) + (17_133_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -74,14 +74,14 @@ impl WeightInfo for () { // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:3 w:3) fn set_keys() -> Weight { - (27_772_000 as Weight) + (25_395_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(4 as Weight)) } // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:0 w:3) fn purge_keys() -> Weight { - (15_912_000 as Weight) + (17_133_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(4 as Weight)) } diff --git a/runtime/calamari/src/weights/pallet_timestamp.rs b/runtime/calamari/src/weights/pallet_timestamp.rs index f2ba1216a..f9372f175 100644 --- a/runtime/calamari/src/weights/pallet_timestamp.rs +++ b/runtime/calamari/src/weights/pallet_timestamp.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for pallet_timestamp //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024 // Executed Command: @@ -55,12 +55,12 @@ pub struct SubstrateWeight(PhantomData); impl pallet_timestamp::WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:1) fn set() -> Weight { - (7_589_000 as Weight) + (7_536_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 { - (2_976_000 as Weight) + (3_158_000 as Weight) } } @@ -68,11 +68,11 @@ impl pallet_timestamp::WeightInfo for SubstrateWeight Weight { - (7_589_000 as Weight) + (7_536_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } fn on_finalize() -> Weight { - (2_976_000 as Weight) + (3_158_000 as Weight) } } diff --git a/runtime/calamari/src/weights/pallet_treasury.rs b/runtime/calamari/src/weights/pallet_treasury.rs index bd629be9b..284fa47e7 100644 --- a/runtime/calamari/src/weights/pallet_treasury.rs +++ b/runtime/calamari/src/weights/pallet_treasury.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for pallet_treasury //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024 // Executed Command: @@ -58,34 +58,34 @@ pub trait WeightInfo { pub struct SubstrateWeight(PhantomData); impl pallet_treasury::WeightInfo for SubstrateWeight { fn spend() -> Weight { - (180_000 as Weight) + (142_000 as Weight) } // Storage: Treasury ProposalCount (r:1 w:1) // Storage: Treasury Proposals (r:0 w:1) fn propose_spend() -> Weight { - (30_000_000 as Weight) + (27_708_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Treasury Proposals (r:1 w:1) // Storage: System Account (r:1 w:1) fn reject_proposal() -> Weight { - (47_580_000 as Weight) + (51_655_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Treasury Proposals (r:1 w:0) // Storage: Treasury Approvals (r:1 w:1) fn approve_proposal(p: u32, ) -> Weight { - (12_815_000 as Weight) + (12_840_000 as Weight) // Standard Error: 0 - .saturating_add((120_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((118_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 { - (8_002_000 as Weight) + (8_141_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -93,9 +93,9 @@ impl pallet_treasury::WeightInfo for SubstrateWeight // Storage: Treasury Proposals (r:2 w:2) // Storage: System Account (r:4 w:4) fn on_initialize_proposals(p: u32, ) -> Weight { - (28_435_000 as Weight) - // Standard Error: 31_000 - .saturating_add((32_783_000 as Weight).saturating_mul(p as Weight)) + (31_802_000 as Weight) + // Standard Error: 29_000 + .saturating_add((33_037_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -106,34 +106,34 @@ impl pallet_treasury::WeightInfo for SubstrateWeight // For backwards compatibility and tests impl WeightInfo for () { fn spend() -> Weight { - (180_000 as Weight) + (142_000 as Weight) } // Storage: Treasury ProposalCount (r:1 w:1) // Storage: Treasury Proposals (r:0 w:1) fn propose_spend() -> Weight { - (30_000_000 as Weight) + (27_708_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } // Storage: Treasury Proposals (r:1 w:1) // Storage: System Account (r:1 w:1) fn reject_proposal() -> Weight { - (47_580_000 as Weight) + (51_655_000 as Weight) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } // Storage: Treasury Proposals (r:1 w:0) // Storage: Treasury Approvals (r:1 w:1) fn approve_proposal(p: u32, ) -> Weight { - (12_815_000 as Weight) + (12_840_000 as Weight) // Standard Error: 0 - .saturating_add((120_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((118_000 as Weight).saturating_mul(p as Weight)) .saturating_add(RocksDbWeight::get().reads(2 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Treasury Approvals (r:1 w:1) fn remove_approval() -> Weight { - (8_002_000 as Weight) + (8_141_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -141,9 +141,9 @@ impl WeightInfo for () { // Storage: Treasury Proposals (r:2 w:2) // Storage: System Account (r:4 w:4) fn on_initialize_proposals(p: u32, ) -> Weight { - (28_435_000 as Weight) - // Standard Error: 31_000 - .saturating_add((32_783_000 as Weight).saturating_mul(p as Weight)) + (31_802_000 as Weight) + // Standard Error: 29_000 + .saturating_add((33_037_000 as Weight).saturating_mul(p as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().reads((3 as Weight).saturating_mul(p as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) diff --git a/runtime/calamari/src/weights/pallet_tx_pause.rs b/runtime/calamari/src/weights/pallet_tx_pause.rs index 4b4c571ff..3d728ab8b 100644 --- a/runtime/calamari/src/weights/pallet_tx_pause.rs +++ b/runtime/calamari/src/weights/pallet_tx_pause.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for pallet_tx_pause //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024 // Executed Command: @@ -55,13 +55,13 @@ pub struct SubstrateWeight(PhantomData); impl pallet_tx_pause::WeightInfo for SubstrateWeight { // Storage: TransactionPause PausedTransactions (r:1 w:1) fn pause_transaction() -> Weight { - (17_190_000 as Weight) + (16_272_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: TransactionPause PausedTransactions (r:1 w:1) fn unpause_transaction() -> Weight { - (18_046_000 as Weight) + (17_046_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -71,13 +71,13 @@ impl pallet_tx_pause::WeightInfo for SubstrateWeight impl WeightInfo for () { // Storage: TransactionPause PausedTransactions (r:1 w:1) fn pause_transaction() -> Weight { - (17_190_000 as Weight) + (16_272_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: TransactionPause PausedTransactions (r:1 w:1) fn unpause_transaction() -> Weight { - (18_046_000 as Weight) + (17_046_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } diff --git a/runtime/calamari/src/weights/pallet_utility.rs b/runtime/calamari/src/weights/pallet_utility.rs index 9b8719f8e..24a1b420a 100644 --- a/runtime/calamari/src/weights/pallet_utility.rs +++ b/runtime/calamari/src/weights/pallet_utility.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for pallet_utility //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024 // Executed Command: @@ -57,49 +57,49 @@ pub trait WeightInfo { pub struct SubstrateWeight(PhantomData); impl pallet_utility::WeightInfo for SubstrateWeight { fn batch(c: u32, ) -> Weight { - (24_896_000 as Weight) - // Standard Error: 3_000 - .saturating_add((4_868_000 as Weight).saturating_mul(c as Weight)) + (26_456_000 as Weight) + // Standard Error: 5_000 + .saturating_add((4_848_000 as Weight).saturating_mul(c as Weight)) } fn as_derivative() -> Weight { - (6_386_000 as Weight) + (6_056_000 as Weight) } fn batch_all(c: u32, ) -> Weight { - (35_868_000 as Weight) - // Standard Error: 4_000 - .saturating_add((4_976_000 as Weight).saturating_mul(c as Weight)) + (29_438_000 as Weight) + // Standard Error: 5_000 + .saturating_add((5_027_000 as Weight).saturating_mul(c as Weight)) } fn dispatch_as() -> Weight { - (14_051_000 as Weight) + (13_827_000 as Weight) } fn force_batch(c: u32, ) -> Weight { - (43_938_000 as Weight) + (32_871_000 as Weight) // Standard Error: 5_000 - .saturating_add((4_811_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((4_844_000 as Weight).saturating_mul(c as Weight)) } } // For backwards compatibility and tests impl WeightInfo for () { fn batch(c: u32, ) -> Weight { - (24_896_000 as Weight) - // Standard Error: 3_000 - .saturating_add((4_868_000 as Weight).saturating_mul(c as Weight)) + (26_456_000 as Weight) + // Standard Error: 5_000 + .saturating_add((4_848_000 as Weight).saturating_mul(c as Weight)) } fn as_derivative() -> Weight { - (6_386_000 as Weight) + (6_056_000 as Weight) } fn batch_all(c: u32, ) -> Weight { - (35_868_000 as Weight) - // Standard Error: 4_000 - .saturating_add((4_976_000 as Weight).saturating_mul(c as Weight)) + (29_438_000 as Weight) + // Standard Error: 5_000 + .saturating_add((5_027_000 as Weight).saturating_mul(c as Weight)) } fn dispatch_as() -> Weight { - (14_051_000 as Weight) + (13_827_000 as Weight) } fn force_batch(c: u32, ) -> Weight { - (43_938_000 as Weight) + (32_871_000 as Weight) // Standard Error: 5_000 - .saturating_add((4_811_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((4_844_000 as Weight).saturating_mul(c as Weight)) } } diff --git a/runtime/calamari/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs b/runtime/calamari/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs index 766a8b30c..898cfa9ca 100644 --- a/runtime/calamari/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs +++ b/runtime/calamari/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for `pallet_xcm_benchmarks::fungible` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-26-137`, CPU: `Intel(R) Xeon(R) Platinum 8275CL CPU @ 3.00GHz` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-24-139`, CPU: `Intel(R) Xeon(R) Platinum 8275CL CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024 // Executed Command: @@ -50,7 +50,7 @@ impl WeightInfo { // Storage: AssetManager LocationAssetId (r:1 w:0) // Storage: System Account (r:1 w:1) pub(crate) fn withdraw_asset() -> Weight { - (36_744_000 as Weight) + (37_492_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -58,7 +58,7 @@ impl WeightInfo { // Storage: AssetManager LocationAssetId (r:1 w:0) // Storage: System Account (r:2 w:2) pub(crate) fn transfer_asset() -> Weight { - (49_964_000 as Weight) + (50_828_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -71,18 +71,18 @@ impl WeightInfo { // Storage: ParachainSystem HostConfiguration (r:1 w:0) // Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) pub(crate) fn transfer_reserve_asset() -> Weight { - (70_396_000 as Weight) + (66_612_000 as Weight) .saturating_add(T::DbWeight::get().reads(9 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } pub(crate) fn reserve_asset_deposited() -> Weight { - (1_640_000 as Weight) + (1_688_000 as Weight) } // Storage: ParachainInfo ParachainId (r:1 w:0) // Storage: AssetManager LocationAssetId (r:1 w:0) // Storage: System Account (r:1 w:1) pub(crate) fn deposit_asset() -> Weight { - (36_736_000 as Weight) + (37_572_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -95,7 +95,7 @@ impl WeightInfo { // Storage: ParachainSystem HostConfiguration (r:1 w:0) // Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) pub(crate) fn deposit_reserve_asset() -> Weight { - (55_948_000 as Weight) + (56_200_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -106,7 +106,7 @@ impl WeightInfo { // Storage: ParachainSystem HostConfiguration (r:1 w:0) // Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) pub(crate) fn initiate_teleport() -> Weight { - (25_013_000 as Weight) + (24_329_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/calamari/src/weights/xcm/pallet_xcm_benchmarks_generic.rs b/runtime/calamari/src/weights/xcm/pallet_xcm_benchmarks_generic.rs index 33190e7bf..c8b663c86 100644 --- a/runtime/calamari/src/weights/xcm/pallet_xcm_benchmarks_generic.rs +++ b/runtime/calamari/src/weights/xcm/pallet_xcm_benchmarks_generic.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for `pallet_xcm_benchmarks::generic` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-26-137`, CPU: `Intel(R) Xeon(R) Platinum 8275CL CPU @ 3.00GHz` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-24-139`, CPU: `Intel(R) Xeon(R) Platinum 8275CL CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024 // Executed Command: @@ -53,38 +53,38 @@ impl WeightInfo { // Storage: ParachainSystem HostConfiguration (r:1 w:0) // Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) pub(crate) fn query_holding() -> Weight { - (893_294_000 as Weight) + (884_120_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } pub(crate) fn buy_execution() -> Weight { - (3_933_000 as Weight) + (3_945_000 as Weight) } // Storage: PolkadotXcm Queries (r:1 w:0) pub(crate) fn query_response() -> Weight { - (11_183_000 as Weight) + (11_277_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } pub(crate) fn transact() -> Weight { - (14_851_000 as Weight) + (14_729_000 as Weight) } pub(crate) fn refund_surplus() -> Weight { - (3_932_000 as Weight) + (3_827_000 as Weight) } pub(crate) fn set_error_handler() -> Weight { - (816_000 as Weight) + (806_000 as Weight) } pub(crate) fn set_appendix() -> Weight { - (820_000 as Weight) + (814_000 as Weight) } pub(crate) fn clear_error() -> Weight { - (775_000 as Weight) + (798_000 as Weight) } pub(crate) fn descend_origin() -> Weight { - (2_142_000 as Weight) + (2_115_000 as Weight) } pub(crate) fn clear_origin() -> Weight { - (800_000 as Weight) + (786_000 as Weight) } // Storage: PolkadotXcm SupportedVersion (r:1 w:0) // Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) @@ -92,18 +92,18 @@ impl WeightInfo { // Storage: ParachainSystem HostConfiguration (r:1 w:0) // Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) pub(crate) fn report_error() -> Weight { - (13_206_000 as Weight) + (13_087_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: PolkadotXcm AssetTraps (r:1 w:1) pub(crate) fn claim_asset() -> Weight { - (6_683_000 as Weight) + (6_552_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } pub(crate) fn trap() -> Weight { - (795_000 as Weight) + (790_000 as Weight) } // Storage: PolkadotXcm VersionNotifyTargets (r:1 w:1) // Storage: PolkadotXcm SupportedVersion (r:1 w:0) @@ -112,13 +112,13 @@ impl WeightInfo { // Storage: ParachainSystem HostConfiguration (r:1 w:0) // Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) pub(crate) fn subscribe_version() -> Weight { - (17_102_000 as Weight) + (17_347_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: PolkadotXcm VersionNotifyTargets (r:0 w:1) pub(crate) fn unsubscribe_version() -> Weight { - (3_017_000 as Weight) + (2_990_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainInfo ParachainId (r:1 w:0) @@ -128,7 +128,7 @@ impl WeightInfo { // Storage: ParachainSystem HostConfiguration (r:1 w:0) // Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) pub(crate) fn initiate_reserve_withdraw() -> Weight { - (1_128_742_000 as Weight) + (1_126_596_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index 3c3280c26..c61f62866 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -5,7 +5,7 @@ homepage = 'https://manta.network' license = 'GPL-3.0' name = "runtime-common" repository = 'https://github.com/Manta-Network/Manta/' -version = '4.0.3' +version = '4.0.4' [dependencies] # Substrate dependencies diff --git a/runtime/dolphin/Cargo.toml b/runtime/dolphin/Cargo.toml index bc07ff095..e99f6494e 100644 --- a/runtime/dolphin/Cargo.toml +++ b/runtime/dolphin/Cargo.toml @@ -5,7 +5,7 @@ homepage = 'https://manta.network' license = 'GPL-3.0' name = 'dolphin-runtime' repository = 'https://github.com/Manta-Network/Manta/' -version = '4.0.3' +version = '4.0.4' [dependencies] codec = { package = "parity-scale-codec", version = '3.1.2', default-features = false, features = ["derive", "max-encoded-len"] } diff --git a/runtime/dolphin/src/lib.rs b/runtime/dolphin/src/lib.rs index 7d833de90..22cd3745d 100644 --- a/runtime/dolphin/src/lib.rs +++ b/runtime/dolphin/src/lib.rs @@ -125,7 +125,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("dolphin"), impl_name: create_runtime_str!("dolphin"), authoring_version: 2, - spec_version: 4030, + spec_version: 4040, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 6, diff --git a/runtime/manta/Cargo.toml b/runtime/manta/Cargo.toml index 4e278d132..49541a2b5 100644 --- a/runtime/manta/Cargo.toml +++ b/runtime/manta/Cargo.toml @@ -5,7 +5,7 @@ homepage = 'https://manta.network' license = 'GPL-3.0' name = 'manta-runtime' repository = 'https://github.com/Manta-Network/Manta/' -version = '4.0.3' +version = '4.0.4' [dependencies] codec = { package = "parity-scale-codec", version = '3.1.2', default-features = false, features = ["derive", "max-encoded-len"] } diff --git a/runtime/manta/src/lib.rs b/runtime/manta/src/lib.rs index 1772b5b20..193400d5e 100644 --- a/runtime/manta/src/lib.rs +++ b/runtime/manta/src/lib.rs @@ -125,7 +125,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("manta"), impl_name: create_runtime_str!("manta"), authoring_version: 1, - spec_version: 4030, + spec_version: 4040, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 2,