diff --git a/.github/workflows/try-runtime.yml b/.github/workflows/try-runtime.yml new file mode 100644 index 0000000000..ee92b7f6f4 --- /dev/null +++ b/.github/workflows/try-runtime.yml @@ -0,0 +1,97 @@ +name: try-runtime +on: + schedule: + - cron: '0 6 * * 0' # At 00:00 on Sunday + issue_comment: + types: [created] + pull_request: + types: [labeled] + paths: + - '**.rs' + - .github/workflows/try-runtime.yml +jobs: + try-runtime: + permissions: + id-token: write + contents: read + strategy: + fail-fast: false + matrix: + chain: [altair, centrifuge] + if: > + github.event_name == 'schedule' || + contains(github.event.pull_request.labels.*.name, 'D8-migration') || + (github.event_name == 'issue_comment' && + contains(github.event.comment.body, '/try-runtime') && + github.event.issue.pull_request != '') + + runs-on: ubuntu-latest-4-cores + name: "${{ matrix.chain }}" + steps: + - name: Check out code + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab #3.5.2 + + - name: Get PR author and commenter + id: get-users + if: github.event_name == 'issue_comment' + run: | + PR_AUTHOR=$(gh pr view ${{ github.event.issue.number }} --json author --jq .author.login) + COMMENT_AUTHOR="${{ github.event.comment.user.login }}" + echo "::set-output name=pr_author::$PR_AUTHOR" + echo "::set-output name=comment_author::$COMMENT_AUTHOR" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Check if commenter is PR author and a repo contributor + if: > + steps.get-users.outputs.pr_author == steps.get-users.outputs.comment_author && + github.event_name == 'issue_comment' + run: | + if [[ "${{ steps.get-users.outputs.pr_author }}" != "${{ steps.get-users.outputs.comment_author }}" ]]; then + echo "PR author is not the comment author." + exit 1 + fi + CONTRIBUTOR_CHECK=$(gh api repos/${{ github.repository }}/contributors --jq '.[].login | select(. == "${{ steps.get-users.outputs.comment_author }}")') + if [[ -z "$CONTRIBUTOR_CHECK" ]]; then + echo "Commenter is not a contributor." + exit 1 + fi + echo "Commenter is a contributor and PR author." + + - name: Prep build on Ubuntu + uses: ./.github/actions/prep-ubuntu + with: + cache: enabled + GWIP: ${{ secrets.GWIP_SCCACHE }} + GSA: ${{ secrets.GSA_SCCACHE }} + + # - name: Install try-runtime-cli + # run: cargo install --git https://github.com/paritytech/try-runtime-cli --tag v0.5.4 --locked + - name: cargo build + run: ./ci/run-check.sh -F try-runtime + env: + TARGET: cargo-build + RUSTC_WRAPPER: "sccache" + + - name: Run try-runtime + run: ./ci/run-check.sh "${{ matrix.chain }}" + env: + TARGET: try-runtime + + notify-slack: + needs: try-runtime + if: always() && needs.try-runtime.result == 'failure' && github.event_name == 'schedule' + runs-on: ubuntu-latest + steps: + - name: Notify Slack + uses: rtCamp/action-slack-notify@b24d75fe0e728a4bf9fc42ee217caa686d141ee8 #v2.2.1 + env: + SLACK_CHANNEL: eng-protocol-general + SLACK_COLOR: '#FF0000' + SLACK_ICON: "https://github.githubassets.com/assets/GitHub-Mark-ea2971cee799.png" + SLACK_MESSAGE: | + Weekly try-runtime job failed on main branch. Please check: + <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|GHA Job URL> + SLACK_TITLE: 'Job Failure Notification' + SLACK_USERNAME: "Centrifuge GHA Bot" + SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock index c720f89c9c..0341d6d683 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -115,7 +115,7 @@ dependencies = [ [[package]] name = "altair-runtime" -version = "0.10.34" +version = "0.10.35" dependencies = [ "axelar-gateway-precompile", "cfg-primitives", @@ -905,7 +905,7 @@ dependencies = [ [[package]] name = "centrifuge-chain" -version = "0.10.37" +version = "0.10.39" dependencies = [ "altair-runtime", "async-trait", @@ -993,7 +993,7 @@ dependencies = [ [[package]] name = "centrifuge-runtime" -version = "0.10.26" +version = "0.10.28" dependencies = [ "axelar-gateway-precompile", "cfg-primitives", @@ -2451,7 +2451,7 @@ dependencies = [ [[package]] name = "development-runtime" -version = "0.10.43" +version = "0.10.45" dependencies = [ "axelar-gateway-precompile", "cfg-primitives", diff --git a/ci/run-check.sh b/ci/run-check.sh index c75124c403..a44a0eb3d0 100755 --- a/ci/run-check.sh +++ b/ci/run-check.sh @@ -41,7 +41,26 @@ case $TARGET in docs-build) RUSTDOCFLAGS="-D warnings" cargo doc --all --no-deps ;; - + + try-runtime) + if [ "$1" == "altair" ]; then + echo "Running try-runtime for altair" + RUST_LOG=runtime=trace,try-runtime::cli=trace,executor=trace \ + cargo run --release --features try-runtime try-runtime \ + --runtime target/release/wbuild/altair-runtime/altair_runtime.wasm \ + --chain altair on-runtime-upgrade live \ + --uri wss://fullnode.altair.centrifuge.io:443 + elif [ "$1" == "centrifuge" ]; then + echo "Running try-runtime for centrifuge" + RUST_LOG=runtime=trace,try-runtime::cli=trace,executor=trace \ + cargo run --release --features try-runtime try-runtime \ + --runtime target/release/wbuild/centrifuge-runtime/centrifuge_runtime.wasm \ + --chain centrifuge on-runtime-upgrade live --uri wss://fullnode.centrifuge.io:443 + else + echo "Invalid argument. Please specify 'altair' or 'centrifuge'." + exit 1 + fi + ;; subalfred) # Find all child directories containing Cargo.toml files # TODO: Filter by crates found in the workspace diff --git a/docs/DEVELOPING.md b/docs/DEVELOPING.md index fb5042790a..0dbf040057 100644 --- a/docs/DEVELOPING.md +++ b/docs/DEVELOPING.md @@ -10,7 +10,7 @@ Initialize your Wasm Build environment: Build Wasm and native code: -- Prerequisites : cmake, libclang-dev +- Prerequisites : `cmake`, `libclang-dev` ```bash cargo build --release @@ -28,7 +28,7 @@ and another one to verify how it works in a more real environment as a parachain The following command will run the unit and integration tests: ```bash -cargo +nightly test --workspace --release --features runtime-benchmarks,try-runtime +cargo test --workspace --release --features runtime-benchmarks,try-runtime ``` ### Environment tests @@ -58,7 +58,7 @@ It runs a [collator](https://wiki.polkadot.network/docs/learn-collator) node: *Note: the command above will show logs and block until the parachain is stopped. If you had a previous state, you can reset the node using `purge` after the command.* - Similar to the relay chain, you can explore the parachain using the [polkadot.js (on localhost:11946)](https://polkadot.js.org/apps/?rpc=ws%3A%2F%2Flocalhost%3A11946#/explorer) client. + Similar to the relay chain, you can explore the parachain using the [polkadot.js (on localhost:11936)](https://polkadot.js.org/apps/?rpc=ws%3A%2F%2Flocalhost%3A11936#/explorer) client. You will see the block production frozen until you connect it to the relay chain. By default, the initialized parachain will have the id `2000`. @@ -84,7 +84,7 @@ You can play with it from the parachain client, make transfers, inspect events, ## Linting ### Source code -Lint the source code with `cargo +nightly fmt`. This excludes certain paths (defined in `rustfmt.toml`) that we want to stay as close as possible to `paritytech/substrate` to simplify upgrading to new releases. +Lint the source code with `cargo fmt --all`. This excludes certain paths (defined in `rustfmt.toml`) that we want to stay as close as possible to `paritytech/substrate` to simplify upgrading to new releases. ### Cargo.toml files 1. Install [taplo](https://github.com/tamasfe/taplo) with `cargo install taplo-cli`. @@ -92,25 +92,20 @@ Lint the source code with `cargo +nightly fmt`. This excludes certain paths (def ## Verifying Runtime 1. Check out the commit at which the runtime was built. -2. Run `TARGET=build-runtime RUST_TOOLCHAIN=nightly ./ci/script.sh` -3. A similar output is generated +2. Build the WASM via `cargo build --release` +3. Ensure the output from [subwasm](https://github.com/chevdor/subwasm) matches the release one. Run `subwasm info ./target/release/wbuild/centrifuge-runtime/centrifuge_runtime.compact.compressed.wasm`, which creates an output like the following one: ``` -✨ Your Substrate WASM Runtime is ready! ✨ -Summary: - Generator : srtool v0.9.5 - GIT commit : 27326e69481f08313d6048da1500befe209bdf71 - GIT tag : v0.0.3 - GIT branch : master - Time : 2020-03-20T11:00:24Z - Rustc : rustc 1.43.0-nightly (5e7af4669 2020-02-16) - Size : 928 KB (950464 bytes) - Content : 0x0061736d0100000001c2022f60037f7f...3436363920323032302d30322d313629 - Package : centrifuge-runtime - Proposal : 0x5c3d2cd41d70c514566c9b512743ad229fa96518061fe21c8178ba43cfcf16dc - SHA256 : 3f0d2e98e2351144027826f26277bda90e5fabc13f0945fc8fec13d116602e2a - Wasm : ./target/srtool/release/wbuild/centrifuge-runtime/centrifuge_runtime.compact.wasm +🏋️ Runtime size: 1.819 MB (1,906,886 bytes) +🗜 Compressed: Yes, 78.50% +✨ Reserved meta: OK - [6D, 65, 74, 61] +🎁 Metadata version: V14 +🔥 Core version: centrifuge-1025 (centrifuge-1.tx2.au1) +🗳️ system.setCode hash: 0x210cdf71ee5c5fbea3dc5090c596a992b148030474121b481a856433eb5720f3 +🗳️ authorizeUpgrade hash: 0x319e30838e1acc9dd071261673060af687704430c45b14cdb5fc97ec561e2a12 +🗳️ Blake2-256 hash: 0xb7f74401c52ee8634ad28fe91e8a6b1debb802d4d2058fdda184a6f2746477f6 +📦 IPFS: https://www.ipfs.io/ipfs/QmS3GDmbGKvcmSd7ca1AN9B34BW3DuDEDQ1iSLXgkjktpG ``` -4. `Proposal` hash should match the runtime upgrade proposal +4. The `Blake2-256` hash should match the hex of the `authorizeUpgrade` call. See more [here](docs/runtime-upgrade.md). ## Generate new Spec and Parachain files @@ -143,13 +138,13 @@ the collator node the parachain will be running on. # Updating to a newer version of Polkadot When a new version of Polkadot is released, companion releases happen for the other -parity projects such as Substrate and Cumulus, as well as for other third-party projects -such as the `orml` pallets, `xcm-simulator`, etc. +parity projects such as the Polkadot SDK, as well as for other third-party projects +such as the `ORML` pallets, `xcm-simulator`, etc. Therefore, updating this repository to a new version of Polkadot means updating all of these dependencies (internal and external to Centrifuge ) and have them all aligned on the same version of Polkadot. -_Note: When we say "new version of Polkadot", we implicitly mean "Polkadot, Substrate, Cumulus"._ +_Note: When we say "new version of Polkadot", we implicitly mean "Polkadot SDK, Frontier, ORML"._ The high level flow to upgrade to a newer version of Polkadot is: @@ -172,9 +167,7 @@ The high level flow to upgrade to a newer version of Polkadot is: ```shell export POLKADOT_NEW_VERSION=""; # for example, 0.9.32 - diener update --polkadot --branch release-v$POLKADOT_NEW_VERSION; - diener update --substrate --branch polkadot-v$POLKADOT_NEW_VERSION; - diener update --cumulus --branch polkadot-v$POLKADOT_NEW_VERSION; + diener update --polkadot-sdk --branch release-v$POLKADOT_NEW_VERSION; ``` **Note**: This step only updates the versions of those dependencies across the repository. Any breaking changes introduced @@ -216,26 +209,5 @@ by the new versions will have to be dealt with manually afterwards. If you face compilation errors like "type X doesn't implement trait Y", and the compiler doesn't suggest you import any particular trait, experience is that there are different versions of Polkadot|Substrate|Cumulus being pulled; The `cargo patch` rules in `Cargo.toml` should be handling that so if this -still happens it's likely because some new crate of Polkadot|Substrate|Cumulus is being pulled directly or indirectly +still happens it's likely because some new crate of Polkadot SDK or Frontier is being pulled directly or indirectly and we need to include that crate in the appropriate `cargo patch` rule. -Running `nix --extra-experimental-features "nix-command flakes" build` should fail if multiple versions of a crate is -being pulled and, therefore, not yet being handled by any `cargo patch` rules, making it very easy to spot the crate -causing the trouble. - -## NIX - -The CI runs a `nix-build` job that executes `nix build` on the entire repository. This job fails if the output -`cargoSha256` for the revision being built does not match the expected value defined in `flake.nix`. - -Whenever a dependency is added, removed, or updated, said `cargoSha256` value defined in `flake.nix` needs to be updated. -To do that, you need: - -1. [Install Nix](https://nixos.org/download.html) - -2. On your feature branch, run: - ```shell - nix --extra-experimental-features "nix-command flakes" build - ``` - -3. Use the new `cargoSha256` output provided on step 2. and update it in `flake.nix` -4. Commit and push diff --git a/libs/traits/src/lib.rs b/libs/traits/src/lib.rs index 54dcb25022..a014d61d05 100644 --- a/libs/traits/src/lib.rs +++ b/libs/traits/src/lib.rs @@ -471,27 +471,6 @@ pub trait TryConvert { fn try_convert(a: A) -> Result; } -/// Converts a balance value into an asset balance. -// TODO: Remove usage for the one from frame_support::traits::tokens once we are -// on the same Polkadot version -pub trait ConversionToAssetBalance { - fn to_asset_balance( - balance: InBalance, - asset_id: AssetId, - ) -> Result; -} - -/// Converts an asset balance value into balance. -// TODO: Remove usage for the one from frame_support::traits::tokens once we are -// on the same Polkadot version -pub trait ConversionFromAssetBalance { - type Error; - fn from_asset_balance( - balance: AssetBalance, - asset_id: AssetId, - ) -> Result; -} - // TODO: Probably these should be in a future cfg-utils. // Issue: https://github.com/centrifuge/centrifuge-chain/issues/1380 diff --git a/node/Cargo.toml b/node/Cargo.toml index c5adf336f8..e5556e797f 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -6,7 +6,7 @@ is-it-maintained-open-issues = { repository = "centrifuge/centrifuge-chain" } [package] name = "centrifuge-chain" -version = "0.10.37" +version = "0.10.39" description = "Centrifuge chain implementation in Rust." build = "build.rs" default-run = "centrifuge-chain" diff --git a/pallets/block-rewards/src/migrations.rs b/pallets/block-rewards/src/migrations.rs index de7083b42a..3af4a8a66b 100644 --- a/pallets/block-rewards/src/migrations.rs +++ b/pallets/block-rewards/src/migrations.rs @@ -19,6 +19,7 @@ use frame_support::{ }; #[cfg(feature = "try-runtime")] use num_traits::Zero; +#[cfg(feature = "try-runtime")] use parity_scale_codec::{Decode, Encode}; use sp_runtime::FixedPointNumber; #[cfg(feature = "try-runtime")] @@ -164,133 +165,3 @@ pub mod init { } } } - -pub mod v2 { - use frame_support::{ - pallet_prelude::ValueQuery, storage_alias, DefaultNoBound, RuntimeDebugNoBound, - }; - use parity_scale_codec::MaxEncodedLen; - use scale_info::TypeInfo; - - use super::*; - use crate::{CollatorChanges, SessionChanges}; - - const LOG_PREFIX: &str = "RelativeTreasuryInflation"; - - #[derive( - Encode, Decode, TypeInfo, DefaultNoBound, MaxEncodedLen, PartialEq, Eq, RuntimeDebugNoBound, - )] - #[scale_info(skip_type_params(T))] - struct OldSessionData { - pub collator_reward: T::Balance, - pub total_reward: T::Balance, - pub collator_count: u32, - } - - #[derive( - PartialEq, - Clone, - DefaultNoBound, - Encode, - Decode, - TypeInfo, - MaxEncodedLen, - RuntimeDebugNoBound, - )] - #[scale_info(skip_type_params(T))] - struct OldSessionChanges { - pub collators: CollatorChanges, - pub collator_count: Option, - pub collator_reward: Option, - pub total_reward: Option, - } - - #[storage_alias] - type ActiveSessionData = StorageValue, OldSessionData, ValueQuery>; - #[storage_alias] - type NextSessionChanges = StorageValue, OldSessionChanges, ValueQuery>; - - pub struct RelativeTreasuryInflationMigration( - PhantomData<(T, InflationRate)>, - ); - - impl OnRuntimeUpgrade - for RelativeTreasuryInflationMigration - where - T: Config, - InflationPercentage: Get, - { - fn on_runtime_upgrade() -> Weight { - if Pallet::::on_chain_storage_version() == StorageVersion::new(1) { - let active = ActiveSessionData::::take(); - let next = NextSessionChanges::::take(); - - pallet::ActiveSessionData::::put(SessionData { - collator_reward: active.collator_reward, - collator_count: active.collator_count, - treasury_inflation_rate: inflation_rate::(InflationPercentage::get()), - last_update: T::Time::now(), - }); - log::info!("{LOG_PREFIX} Translated ActiveSessionData"); - - pallet::NextSessionChanges::::put(SessionChanges { - collators: next.collators, - collator_count: next.collator_count, - collator_reward: next.collator_reward, - treasury_inflation_rate: Some(inflation_rate::(InflationPercentage::get())), - last_update: T::Time::now(), - }); - log::info!("{LOG_PREFIX} Translated NextSessionChanges"); - Pallet::::current_storage_version().put::>(); - - T::DbWeight::get().reads_writes(1, 5) - } else { - log::info!("{LOG_PREFIX} BlockRewards pallet already on version 2, migration can be removed"); - T::DbWeight::get().reads(1) - } - } - - #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, TryRuntimeError> { - assert_eq!( - Pallet::::on_chain_storage_version(), - StorageVersion::new(1), - ); - assert!( - Pallet::::on_chain_storage_version() < Pallet::::current_storage_version() - ); - - let active = ActiveSessionData::::get(); - let next = NextSessionChanges::::get(); - - log::info!("{LOG_PREFIX} PRE UPGRADE: Finished"); - - Ok((active, next).encode()) - } - - #[cfg(feature = "try-runtime")] - fn post_upgrade(pre_state: Vec) -> Result<(), TryRuntimeError> { - let (old_active, old_next): (OldSessionData, OldSessionChanges) = - Decode::decode(&mut pre_state.as_slice()).expect("Pre state valid; qed"); - let active = pallet::ActiveSessionData::::get(); - let next = pallet::NextSessionChanges::::get(); - - assert_eq!(old_active.collator_reward, active.collator_reward); - assert_eq!(old_active.collator_count, active.collator_count); - assert_eq!(old_next.collators, next.collators); - assert_eq!(old_next.collator_count, next.collator_count); - assert_eq!(old_next.collator_reward, next.collator_reward); - assert_eq!( - next.treasury_inflation_rate, - Some(inflation_rate::(InflationPercentage::get())) - ); - assert_eq!( - Pallet::::current_storage_version(), - Pallet::::on_chain_storage_version() - ); - - log::info!("{LOG_PREFIX} POST UPGRADE: Finished"); - Ok(()) - } - } -} diff --git a/pallets/loans/src/entities/loans.rs b/pallets/loans/src/entities/loans.rs index 74209b01a7..5a32d34473 100644 --- a/pallets/loans/src/entities/loans.rs +++ b/pallets/loans/src/entities/loans.rs @@ -580,62 +580,3 @@ impl TryFrom<(T::PoolId, ActiveLoan)> for ActiveLoanInfo { }) } } - -/// Migration module that contains old loans types. -/// Can be removed once chains contains pallet-loans version v3 -pub(crate) mod v2 { - use cfg_traits::Seconds; - use parity_scale_codec::Decode; - - use crate::{ - entities::pricing::{external::v2::ExternalActivePricing, internal::InternalActivePricing}, - types::{LoanRestrictions, RepaidAmount, RepaymentSchedule}, - AssetOf, Config, - }; - - #[derive(Decode)] - pub enum ActivePricing { - Internal(InternalActivePricing), - External(ExternalActivePricing), - } - - #[derive(Decode)] - pub struct ActiveLoan { - schedule: RepaymentSchedule, - collateral: AssetOf, - restrictions: LoanRestrictions, - borrower: T::AccountId, - write_off_percentage: T::Rate, - origination_date: Seconds, - pricing: ActivePricing, - total_borrowed: T::Balance, - total_repaid: RepaidAmount, - repayments_on_schedule_until: Seconds, - } - - impl ActiveLoan { - pub fn migrate(self) -> crate::entities::loans::ActiveLoan { - crate::entities::loans::ActiveLoan { - schedule: self.schedule, - collateral: self.collateral, - restrictions: self.restrictions, - borrower: self.borrower, - write_off_percentage: self.write_off_percentage, - origination_date: self.origination_date, - pricing: match self.pricing { - ActivePricing::Internal(inner) => { - crate::entities::pricing::ActivePricing::Internal(inner) - } - ActivePricing::External(inner) => { - crate::entities::pricing::ActivePricing::External( - inner.migrate(self.origination_date), - ) - } - }, - total_borrowed: self.total_borrowed, - total_repaid: self.total_repaid, - repayments_on_schedule_until: self.repayments_on_schedule_until, - } - } - } -} diff --git a/pallets/loans/src/entities/pricing/external.rs b/pallets/loans/src/entities/pricing/external.rs index 0bc614cf31..9718e8b860 100644 --- a/pallets/loans/src/entities/pricing/external.rs +++ b/pallets/loans/src/entities/pricing/external.rs @@ -288,38 +288,3 @@ impl ExternalActivePricing { Ok(()) } } - -/// Migration module that contains old loans types. -/// Can be removed once chains contains pallet-loans version v3 -pub(crate) mod v2 { - use cfg_traits::Seconds; - use parity_scale_codec::Decode; - - use crate::{ - entities::{interest::ActiveInterestRate, pricing::external::ExternalPricing}, - Config, - }; - - #[derive(Decode)] - pub struct ExternalActivePricing { - info: ExternalPricing, - outstanding_quantity: T::Quantity, - interest: ActiveInterestRate, - latest_settlement_price: T::Balance, - } - - impl ExternalActivePricing { - pub fn migrate( - self, - settlement_price_updated: Seconds, - ) -> crate::entities::pricing::external::ExternalActivePricing { - crate::entities::pricing::external::ExternalActivePricing { - info: self.info, - outstanding_quantity: self.outstanding_quantity, - interest: self.interest, - latest_settlement_price: self.latest_settlement_price, - settlement_price_updated, - } - } - } -} diff --git a/pallets/loans/src/lib.rs b/pallets/loans/src/lib.rs index 44bc9e25e8..e13ca80e8b 100644 --- a/pallets/loans/src/lib.rs +++ b/pallets/loans/src/lib.rs @@ -65,8 +65,6 @@ mod tests; #[cfg(feature = "runtime-benchmarks")] mod benchmarking; -mod migrations; - pub use pallet::*; pub use weights::WeightInfo; @@ -249,7 +247,7 @@ pub mod pallet { /// `ClosedLoan` because here we try to minimize the iteration speed over /// all active loans in a pool. #[pallet::storage] - pub(crate) type ActiveLoans = StorageMap< + pub type ActiveLoans = StorageMap< _, Blake2_128Concat, T::PoolId, @@ -438,13 +436,6 @@ pub mod pallet { } } - #[pallet::hooks] - impl Hooks> for Pallet { - fn on_runtime_upgrade() -> frame_support::weights::Weight { - migrations::migrate_from_v2_to_v3::() - } - } - #[pallet::call] impl Pallet { /// Creates a new loan against the collateral provided diff --git a/pallets/loans/src/migrations.rs b/pallets/loans/src/migrations.rs deleted file mode 100644 index ace3393389..0000000000 --- a/pallets/loans/src/migrations.rs +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2024 Centrifuge Foundation (centrifuge.io). -// -// This file is part of the Centrifuge chain project. -// Centrifuge is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version (see http://www.gnu.org/licenses). -// Centrifuge is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -use cfg_traits::PoolNAV; -use frame_support::{ - dispatch::GetStorageVersion, inherent::Vec, log, pallet_prelude::StorageVersion, traits::Get, - weights::Weight, -}; - -use crate::{ActiveLoans, Config, Pallet}; - -mod v2 { - use frame_support::{pallet_prelude::*, storage_alias}; - - use crate::{entities::loans::v2, Config, Pallet}; - - pub type ActiveLoansVec = BoundedVec< - (::LoanId, v2::ActiveLoan), - ::MaxActiveLoansPerPool, - >; - - #[storage_alias] - pub type ActiveLoans = StorageMap< - Pallet, - Blake2_128Concat, - ::PoolId, - ActiveLoansVec, - ValueQuery, - >; -} - -pub fn migrate_from_v2_to_v3() -> Weight { - if Pallet::::on_chain_storage_version() == StorageVersion::new(2) { - log::info!("Loans: Starting migration v2 -> v3"); - - let mut changed_pools = Vec::new(); - ActiveLoans::::translate::, _>(|pool_id, active_loans| { - changed_pools.push(pool_id); - Some( - active_loans - .into_iter() - .map(|(loan_id, active_loan)| (loan_id, active_loan.migrate())) - .collect::>() - .try_into() - .expect("size doest not change, qed"), - ) - }); - - for pool_id in &changed_pools { - match Pallet::::update_nav(*pool_id) { - Ok(_) => log::info!("Loans: updated portfolio for pool_id: {pool_id:?}"), - Err(e) => log::error!("Loans: error updating the portfolio for {pool_id:?}: {e:?}"), - } - } - - Pallet::::current_storage_version().put::>(); - - let count = changed_pools.len() as u64; - log::info!("Loans: Migrated {} pools", count); - T::DbWeight::get().reads_writes(count + 1, count + 1) - } else { - // wrong storage version - log::warn!("Loans: Migration did not execute. This probably should be removed"); - T::DbWeight::get().reads_writes(1, 0) - } -} diff --git a/pallets/oracle-collection/src/benchmarking.rs b/pallets/oracle-collection/src/benchmarking.rs index 7998571529..9092fd0e44 100644 --- a/pallets/oracle-collection/src/benchmarking.rs +++ b/pallets/oracle-collection/src/benchmarking.rs @@ -61,7 +61,7 @@ mod benchmarks { use super::*; #[benchmark] - fn propose_update_collection_info(n: Linear<1, 10>) -> Result<(), BenchmarkError> { + fn propose_update_collection_info(n: Linear<1, 5>) -> Result<(), BenchmarkError> { #[cfg(test)] init_mocks(); @@ -85,7 +85,7 @@ mod benchmarks { } #[benchmark] - fn apply_update_collection_info(n: Linear<1, 10>) -> Result<(), BenchmarkError> { + fn apply_update_collection_info(n: Linear<1, 5>) -> Result<(), BenchmarkError> { #[cfg(test)] init_mocks(); @@ -109,7 +109,7 @@ mod benchmarks { } #[benchmark] - fn update_collection(n: Linear<1, 10>, m: Linear<1, 10>) -> Result<(), BenchmarkError> { + fn update_collection(n: Linear<1, 5>, m: Linear<1, 100>) -> Result<(), BenchmarkError> { #[cfg(test)] init_mocks(); diff --git a/pallets/oracle-collection/src/mock.rs b/pallets/oracle-collection/src/mock.rs index 1774195efc..a749dbaefa 100644 --- a/pallets/oracle-collection/src/mock.rs +++ b/pallets/oracle-collection/src/mock.rs @@ -24,7 +24,7 @@ pub const NOW: Timestamp = 1000; frame_support::parameter_types! { #[derive(Clone, PartialEq, Eq, Debug, TypeInfo, Encode, Decode, MaxEncodedLen)] - pub const MaxFeedersPerKey: u32 = 10; + pub const MaxFeedersPerKey: u32 = 5; } frame_support::construct_runtime!( @@ -96,7 +96,7 @@ impl pallet_oracle_collection::Config for Runtime { type CollectionId = CollectionId; type FeederId = AccountId; type IsAdmin = MockIsAdmin; - type MaxCollectionSize = ConstU32<10>; + type MaxCollectionSize = ConstU32<100>; type MaxFeedersPerKey = MaxFeedersPerKey; type OracleKey = OracleKey; type OracleProvider = MockProvider; diff --git a/pallets/order-book/src/benchmarking.rs b/pallets/order-book/src/benchmarking.rs index a6c667c320..e77b239ed7 100644 --- a/pallets/order-book/src/benchmarking.rs +++ b/pallets/order-book/src/benchmarking.rs @@ -12,11 +12,11 @@ use cfg_traits::{ swaps::{OrderRatio, TokenSwaps}, - ConversionToAssetBalance, ValueProvider, + ValueProvider, }; use cfg_types::tokens::{AssetMetadata, CustomMetadata}; use frame_benchmarking::{account, v2::*}; -use frame_support::traits::{fungibles::Mutate as _, Get}; +use frame_support::traits::fungibles::Mutate as _; use frame_system::RawOrigin; use orml_traits::asset_registry::{Inspect as _, Mutate}; use sp_runtime::{traits::checked_pow, FixedPointNumber}; @@ -98,11 +98,7 @@ where } pub fn amount_out() -> T::BalanceOut { - let min_fulfillment = T::DecimalConverter::to_asset_balance( - T::MinFulfillmentAmountNative::get(), - CURRENCY_OUT.into(), - ) - .unwrap(); + let min_fulfillment = Pallet::::min_fulfillment_amount(CURRENCY_OUT.into()).unwrap(); let decimals_out = T::AssetRegistry::metadata(&CURRENCY_OUT.into()) .unwrap() diff --git a/pallets/order-book/src/lib.rs b/pallets/order-book/src/lib.rs index 3dff5df8d8..5f94bbe567 100644 --- a/pallets/order-book/src/lib.rs +++ b/pallets/order-book/src/lib.rs @@ -41,7 +41,7 @@ pub mod pallet { use cfg_primitives::conversion::convert_balance_decimals; use cfg_traits::{ swaps::{OrderInfo, OrderRatio, Swap, SwapInfo, TokenSwaps}, - ConversionToAssetBalance, StatusNotificationHook, ValueProvider, + StatusNotificationHook, ValueProvider, }; use cfg_types::{self, tokens::CustomMetadata}; use frame_support::{ @@ -148,10 +148,6 @@ pub mod pallet { + MaybeSerializeDeserialize + MaxEncodedLen; - /// Size of order id bounded vec in storage - #[pallet::constant] - type OrderPairVecSize: Get; - /// The default minimum fulfillment amount for orders. /// /// NOTE: The amount is expected to be denominated in native currency. @@ -160,15 +156,8 @@ pub mod pallet { #[pallet::constant] type MinFulfillmentAmountNative: Get; - /// Type which provides a decimal conversion from native to another - /// currency. - /// - /// NOTE: Required for `MinFulfillmentAmountNative`. - type DecimalConverter: cfg_traits::ConversionToAssetBalance< - Self::BalanceOut, - Self::CurrencyId, - Self::BalanceOut, - >; + #[pallet::constant] + type NativeDecimals: Get; /// The hook which acts upon a (partially) fulfilled order type FulfilledOrderHook: StatusNotificationHook< @@ -675,7 +664,16 @@ pub mod pallet { pub fn min_fulfillment_amount( currency: T::CurrencyId, ) -> Result { - T::DecimalConverter::to_asset_balance(T::MinFulfillmentAmountNative::get(), currency) + let to_decimals = T::AssetRegistry::metadata(¤cy) + .ok_or(Error::::InvalidCurrencyId)? + .decimals; + + Ok(convert_balance_decimals( + T::NativeDecimals::get(), + to_decimals, + T::MinFulfillmentAmountNative::get().into(), + )? + .into()) } } diff --git a/pallets/order-book/src/mock.rs b/pallets/order-book/src/mock.rs index 19ea498768..5e685b27b7 100644 --- a/pallets/order-book/src/mock.rs +++ b/pallets/order-book/src/mock.rs @@ -11,7 +11,7 @@ // GNU General Public License for more details. use cfg_mocks::pallet_mock_fees; -use cfg_traits::{swaps::SwapInfo, ConversionToAssetBalance}; +use cfg_traits::swaps::SwapInfo; use cfg_types::tokens::{CurrencyId, CustomMetadata}; use frame_support::{ parameter_types, @@ -23,7 +23,7 @@ use sp_core::{ConstU128, H256}; use sp_runtime::{ testing::Header, traits::{BlakeTwo256, IdentityLookup}, - DispatchError, FixedU128, + FixedU128, }; use crate as order_book; @@ -37,9 +37,14 @@ pub const INITIAL_B: Balance = token_b(1000); pub const CURRENCY_A: CurrencyId = CurrencyId::ForeignAsset(1001); pub const CURRENCY_B: CurrencyId = CurrencyId::ForeignAsset(1002); +pub const NATIVE_DECIMALS: u32 = 9; pub const CURRENCY_A_DECIMALS: u32 = 9; pub const CURRENCY_B_DECIMALS: u32 = 12; +pub const fn native(amount: Balance) -> Balance { + amount * (10 as Balance).pow(NATIVE_DECIMALS) +} + pub const fn token_a(amount: Balance) -> Balance { amount * (10 as Balance).pow(CURRENCY_A_DECIMALS) } @@ -169,7 +174,7 @@ impl orml_tokens::Config for Runtime { } parameter_types! { - pub const NativeToken: CurrencyId = CurrencyId::Native; + pub const NativeToken: CurrencyId = CurrencyId::Native; } impl pallet_restricted_tokens::Config for Runtime { @@ -197,22 +202,7 @@ impl pallet_restricted_tokens::Config for Runtime { } parameter_types! { - pub const OrderPairVecSize: u32 = 1_000_000u32; - pub MinFulfillmentAmountNative: Balance = 2; -} - -pub struct DecimalConverter; -impl ConversionToAssetBalance for DecimalConverter { - fn to_asset_balance( - balance: Balance, - currency_in: CurrencyId, - ) -> Result { - Ok(match currency_in { - CURRENCY_A => token_a(balance), - CURRENCY_B => token_b(balance), - _ => unimplemented!(), - }) - } + pub MinFulfillmentAmountNative: Balance = native(2); } impl order_book::Config for Runtime { @@ -222,12 +212,11 @@ impl order_book::Config for Runtime { type BalanceOut = Balance; type Currency = Tokens; type CurrencyId = CurrencyId; - type DecimalConverter = DecimalConverter; type FeederId = AccountId; type FulfilledOrderHook = MockFulfilledOrderHook; type MinFulfillmentAmountNative = MinFulfillmentAmountNative; + type NativeDecimals = ConstU32; type OrderIdNonce = OrderId; - type OrderPairVecSize = OrderPairVecSize; type Ratio = Ratio; type RatioProvider = MockRatioProvider; type RuntimeEvent = RuntimeEvent; diff --git a/runtime/altair/Cargo.toml b/runtime/altair/Cargo.toml index f38cbaff4b..6bb71fc462 100644 --- a/runtime/altair/Cargo.toml +++ b/runtime/altair/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "altair-runtime" -version = "0.10.34" +version = "0.10.35" build = "build.rs" authors.workspace = true edition.workspace = true diff --git a/runtime/altair/src/lib.rs b/runtime/altair/src/lib.rs index 5f09873b29..ee9171671d 100644 --- a/runtime/altair/src/lib.rs +++ b/runtime/altair/src/lib.rs @@ -103,6 +103,7 @@ use runtime_common::{ }, permissions::PoolAdminCheck, remarks::Remark, + rewards::SingleCurrencyMovement, transfer_filter::PreLpTransfer, xcm::AccountIdToMultiLocation, xcm_transactor, AllowanceDeposit, CurrencyED, HoldId, @@ -149,7 +150,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("altair"), impl_name: create_runtime_str!("altair"), authoring_version: 1, - spec_version: 1034, + spec_version: 1035, impl_version: 1, #[cfg(not(feature = "disable-runtime-api"))] apis: RUNTIME_API_VERSIONS, @@ -560,7 +561,11 @@ impl InstanceFilter for ProxyType { RuntimeCall::PoolSystem(pallet_pool_system::Call::submit_solution{..}) | RuntimeCall::PoolSystem(pallet_pool_system::Call::execute_epoch{..}) | RuntimeCall::Utility(pallet_utility::Call::batch_all{..}) | - RuntimeCall::Utility(pallet_utility::Call::batch{..}) + RuntimeCall::Utility(pallet_utility::Call::batch{..}) | + // Borrowers should be able to swap back and forth between local currencies and their variants + RuntimeCall::TokenMux(pallet_token_mux::Call::burn {..}) | + RuntimeCall::TokenMux(pallet_token_mux::Call::deposit {..}) | + RuntimeCall::TokenMux(pallet_token_mux::Call::match_swap {..}) ), ProxyType::Invest => matches!( c, @@ -1200,9 +1205,6 @@ impl cumulus_pallet_dmp_queue::Config for Runtime { // Block Rewards parameter_types! { - // BlockRewards have exactly one group and currency - #[derive(scale_info::TypeInfo)] - pub const SingleCurrencyMovement: u32 = 1; #[derive(scale_info::TypeInfo, Debug, PartialEq, Eq, Clone)] pub const MaxChangesPerEpoch: u32 = 50; pub const BlockRewardsPalletId: PalletId = cfg_types::ids::BLOCK_REWARDS_PALLET_ID; @@ -1300,7 +1302,8 @@ impl pallet_rewards::Config for Runtime { } parameter_types! { - pub const MaxActiveLoansPerPool: u32 = 300; + pub const MaxActiveLoansPerPool: u32 = 1000; + pub const MaxRegisteredPricesPerPool: u32 = 100; pub const MaxRateCount: u32 = 300; // See #1024 pub const FirstValueFee: Fee = Fee::Balance(deposit(1, pallet_oracle_feed::util::size_of_feed::())); @@ -1308,7 +1311,7 @@ parameter_types! { pub const MaxWriteOffPolicySize: u32 = 100; #[derive(Clone, PartialEq, Eq, Debug, TypeInfo, Encode, Decode, MaxEncodedLen)] - pub const MaxFeedersPerKey: u32 = 10; + pub const MaxFeedersPerKey: u32 = 5; } impl pallet_oracle_feed::Config for Runtime { @@ -1327,7 +1330,7 @@ impl pallet_oracle_collection::Config for Runtime { type CollectionId = PoolId; type FeederId = Feeder; type IsAdmin = PoolAdminCheck; - type MaxCollectionSize = MaxActiveLoansPerPool; + type MaxCollectionSize = MaxRegisteredPricesPerPool; type MaxFeedersPerKey = MaxFeedersPerKey; type OracleKey = OracleKey; type OracleProvider = @@ -1701,8 +1704,8 @@ impl pallet_keystore::pallet::Config for Runtime { } parameter_types! { - pub const OrderPairVecSize: u32 = 1_000_000u32; pub MinFulfillmentAmountNative: Balance = 10 * CFG; + pub NativeDecimals: u32 = cfg_primitives::currency_decimals::NATIVE; } impl pallet_order_book::Config for Runtime { @@ -1712,13 +1715,11 @@ impl pallet_order_book::Config for Runtime { type BalanceOut = Balance; type Currency = Tokens; type CurrencyId = CurrencyId; - type DecimalConverter = - runtime_common::foreign_investments::NativeBalanceDecimalConverter; type FeederId = Feeder; type FulfilledOrderHook = Swaps; type MinFulfillmentAmountNative = MinFulfillmentAmountNative; + type NativeDecimals = NativeDecimals; type OrderIdNonce = u64; - type OrderPairVecSize = OrderPairVecSize; type Ratio = Ratio; type RatioProvider = OracleRatioProviderLocalAssetExtension< RuntimeOrigin, @@ -1946,7 +1947,7 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - migrations::UpgradeAltair1034, + migrations::UpgradeAltair1035, >; // Frame Order in this block dictates the index of each one in the metadata diff --git a/runtime/altair/src/migrations.rs b/runtime/altair/src/migrations.rs index ef5a3bfc34..c4c6eceb93 100644 --- a/runtime/altair/src/migrations.rs +++ b/runtime/altair/src/migrations.rs @@ -10,602 +10,6 @@ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. -use cfg_primitives::{PoolId, TrancheId}; -use cfg_types::tokens::{CurrencyId, CustomMetadata, ForeignAssetId, StakingCurrency}; -use frame_support::{ - dispatch::{Decode, Encode, MaxEncodedLen, TypeInfo}, - traits::OnRuntimeUpgrade, - weights::Weight, - RuntimeDebugNoBound, -}; -use orml_traits::asset_registry::AssetMetadata; - -frame_support::parameter_types! { - pub const NftSalesPalletName: &'static str = "NftSales"; - pub const MigrationPalletName: &'static str = "Migration"; - pub const AnnualTreasuryInflationPercent: u32 = 3; -} - -/// The migration set for Altair 1034 @ Kusama. It includes all the migrations -/// that have to be applied on that chain. -pub type UpgradeAltair1034 = ( - // Updates asset custom metadata from mid 2023 to latest (two fields missing/mismatching) - translate_asset_metadata::Migration, - // Removes hardcoded AUSD currency id and migrates balance - ausd_to_foreign::CurrencyIdRefactorMigration, - // At minimum, bumps storage version from 1 to 2 - runtime_common::migrations::nuke::ResetPallet, - // At minimum, bumps storage version from 0 to 3 - runtime_common::migrations::nuke::ResetPallet, - // At minimum, bumps storage version from 0 to 2 - runtime_common::migrations::nuke::ResetPallet, - // At minimum, bumps storage version from 0 to 1 - runtime_common::migrations::nuke::ResetPallet, - // Funds pallet_rewards::Instance2 account with existential deposit - pallet_rewards::migrations::new_instance::FundExistentialDeposit< - crate::Runtime, - pallet_rewards::Instance2, - crate::NativeToken, - crate::ExistentialDeposit, - >, - // Removes metadata containing xcm_v1 locations of registered assets and sets to hardcoded ones - // containing xcm_v3 locations - runtime_common::migrations::asset_registry_xcmv3::Migration< - crate::Runtime, - asset_registry::AltairAssets, - 5, - 5, - 2, - 9, - >, - // Low weight, mainly bumps storage version to latest (v1 to v2) - crate::DmpQueue, - // Low weight, mainly bumps storage version to latest (v2 to v3) - crate::XcmpQueue, - // Low weight, bumps uninitialized storage version from v0 to v1 - pallet_xcm::migration::v1::MigrateToV1, - // Sets currently unset safe XCM version to v2 - xcm_v2_to_v3::SetSafeXcmVersion, - // Sets account codes for all precompiles - runtime_common::migrations::precompile_account_codes::Migration, - // Migrates EpochExecution V1 to V2 - runtime_common::migrations::epoch_execution::Migration, - // Probably not needed, as storage is likely not populated. Migrates currency used in allowlist - runtime_common::migrations::transfer_allowlist_currency::Migration, - // Removes unused nft-sales pallet - runtime_common::migrations::nuke::KillPallet, - // Removes unused migration pallet - runtime_common::migrations::nuke::KillPallet, - // Apply relative treasury inflation - pallet_block_rewards::migrations::v2::RelativeTreasuryInflationMigration< - crate::Runtime, - AnnualTreasuryInflationPercent, - >, - // Bump balances storage version from v0 to v1 and mark balance of CheckingAccount as inactive, - // see https://github.com/paritytech/substrate/pull/12813 - pallet_balances::migration::MigrateToTrackInactive, - // Assets were already migrated to V3 MultiLocation but version not increased from 0 to 2 - runtime_common::migrations::increase_storage_version::Migration, - // Data was already moved but storage version not increased from 0 to 4 - runtime_common::migrations::increase_storage_version::Migration, -); - -#[allow(clippy::upper_case_acronyms)] -#[derive( - Clone, - Copy, - Default, - PartialOrd, - Ord, - PartialEq, - Eq, - RuntimeDebugNoBound, - Encode, - Decode, - TypeInfo, - MaxEncodedLen, -)] -pub enum OldCurrencyId { - // The Native token, representing AIR in Altair and CFG in Centrifuge. - #[default] - #[codec(index = 0)] - Native, - - /// A Tranche token - #[codec(index = 1)] - Tranche(PoolId, TrancheId), - - /// DEPRECATED - Will be removed in the next Altair RU 1034 when the - /// orml_tokens' balances are migrated to the new CurrencyId for AUSD. - #[codec(index = 2)] - KSM, - - /// DEPRECATED - Will be removed in the next Altair RU 1034 when the - /// orml_tokens' balances are migrated to the new CurrencyId for AUSD. - #[codec(index = 3)] - AUSD, - - /// A foreign asset - #[codec(index = 4)] - ForeignAsset(ForeignAssetId), - - /// A staking currency - #[codec(index = 5)] - Staking(StakingCurrency), -} - -mod asset_registry { - use cfg_primitives::Balance; - use cfg_types::{ - tokens::{CrossChainTransferability, CurrencyId, CustomMetadata}, - xcm::XcmMetadata, - }; - use sp_std::{vec, vec::Vec}; - use xcm::{v3::prelude::*, VersionedMultiLocation}; - - pub struct AltairAssets; - impl runtime_common::migrations::asset_registry_xcmv3::AssetsToMigrate for AltairAssets { - fn get_assets_to_migrate() -> Vec<( - CurrencyId, - orml_asset_registry::AssetMetadata, - )> { - let mut gk = [0u8; 32]; - gk[1] = 1; - - // 0x0081 - let mut gk_acala = [0u8; 32]; - gk_acala[..2].copy_from_slice(&[0, 129]); - - // Skipping AUSD since it seems that should be registered differently, lets do - // it manually later on - vec![ - ( - CurrencyId::Native, - orml_asset_registry::AssetMetadata { - decimals: 18, - name: b"Altair".to_vec(), - symbol: b"AIR".to_vec(), - existential_deposit: 1_000_000_000_000u128, - location: Some(VersionedMultiLocation::V3(MultiLocation::new( - 1, - Junctions::X2( - Parachain(crate::ParachainInfo::parachain_id().into()), - GeneralKey { - length: 2, - data: gk, - }, - ), - ))), - additional: CustomMetadata { - mintable: false, - permissioned: false, - pool_currency: false, - transferability: CrossChainTransferability::Xcm(XcmMetadata { - fee_per_second: None, - }), - local_representation: None, - }, - }, - ), - ( - CurrencyId::ForeignAsset(1), - orml_asset_registry::AssetMetadata { - decimals: 6, - name: b"Tether USDT".to_vec(), - symbol: b"USDT".to_vec(), - existential_deposit: 10_000u128, - location: Some(VersionedMultiLocation::V3(MultiLocation::new( - 1, - Junctions::X3(Parachain(1000), PalletInstance(50), GeneralIndex(1984)), - ))), - additional: CustomMetadata { - mintable: false, - permissioned: false, - pool_currency: true, - transferability: CrossChainTransferability::Xcm(XcmMetadata { - fee_per_second: None, - }), - local_representation: None, - }, - }, - ), - ( - CurrencyId::ForeignAsset(2), - orml_asset_registry::AssetMetadata { - decimals: 12, - name: b"Acala Dollar".to_vec(), - symbol: b"aUSD".to_vec(), - existential_deposit: 10_000_000_000u128, - location: Some(VersionedMultiLocation::V3(MultiLocation::new( - 1, - Junctions::X2( - Parachain(2000), - GeneralKey { - length: 2, - data: gk_acala, - }, - ), - ))), - additional: CustomMetadata { - mintable: false, - permissioned: false, - pool_currency: true, - transferability: CrossChainTransferability::Xcm(XcmMetadata { - fee_per_second: None, - }), - local_representation: None, - }, - }, - ), - ( - CurrencyId::ForeignAsset(3), - orml_asset_registry::AssetMetadata { - decimals: 12, - name: b"Kusama".to_vec(), - symbol: b"KSM".to_vec(), - existential_deposit: 10_000_000_000u128, - location: Some(VersionedMultiLocation::V3(MultiLocation::new( - 1, - Junctions::Here, - ))), - additional: CustomMetadata { - mintable: false, - permissioned: false, - pool_currency: false, - transferability: CrossChainTransferability::Xcm(XcmMetadata { - fee_per_second: None, - }), - local_representation: None, - }, - }, - ), - ] - } - } -} - -pub mod translate_asset_metadata { - use cfg_primitives::Balance; - use frame_support::{ - dispatch::{Decode, Encode, MaxEncodedLen, TypeInfo}, - storage_alias, - traits::Get, - Twox64Concat, - }; - #[cfg(feature = "try-runtime")] - use sp_runtime::DispatchError; - #[cfg(feature = "try-runtime")] - use sp_std::vec::Vec; - - use super::*; - - const LOG_PREFIX: &str = "TranslateMetadata"; - - #[derive( - Clone, - Copy, - Default, - PartialOrd, - Ord, - PartialEq, - Eq, - Debug, - Encode, - Decode, - TypeInfo, - MaxEncodedLen, - )] - pub struct XcmMetadata { - pub fee_per_second: Option, - } - - #[derive( - Clone, - Copy, - Default, - PartialOrd, - Ord, - PartialEq, - Eq, - Debug, - Encode, - Decode, - TypeInfo, - MaxEncodedLen, - )] - struct OldCustomMetadata { - pub xcm: XcmMetadata, - pub mintable: bool, - pub permissioned: bool, - pub pool_currency: bool, - } - - #[storage_alias] - type Metadata = StorageMap< - orml_asset_registry::Pallet, - Twox64Concat, - OldCurrencyId, - AssetMetadata, - >; - - pub struct Migration(sp_std::marker::PhantomData); - - impl OnRuntimeUpgrade for Migration - where - T: orml_asset_registry::Config< - CustomMetadata = CustomMetadata, - AssetId = CurrencyId, - Balance = Balance, - >, - { - fn on_runtime_upgrade() -> Weight { - let mut weight = Weight::zero(); - orml_asset_registry::Metadata::::translate::< - AssetMetadata, - _, - >(|_, meta| { - weight.saturating_accrue(T::DbWeight::get().writes(1)); - Some(AssetMetadata { - decimals: meta.decimals, - name: meta.name, - symbol: meta.symbol, - existential_deposit: meta.existential_deposit, - location: meta.location, - additional: CustomMetadata { - mintable: meta.additional.mintable, - permissioned: meta.additional.permissioned, - pool_currency: meta.additional.pool_currency, - ..Default::default() - }, - }) - }); - log::info!("{LOG_PREFIX} Done translating asset metadata"); - - weight - } - - #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, DispatchError> { - let num_assets = Metadata::::iter_keys().count() as u32; - log::info!( - "{LOG_PREFIX} PRE UPGRADE: Finished with {} registered assets", - num_assets - ); - - Ok(num_assets.encode()) - } - - #[cfg(feature = "try-runtime")] - fn post_upgrade(pre_state: Vec) -> Result<(), DispatchError> { - let n_pre: u32 = Decode::decode(&mut pre_state.as_slice()) - .expect("pre_ugprade provides a valid state; qed"); - let n = orml_asset_registry::Metadata::::iter_keys().count() as u32; - assert_eq!(n_pre, n); - - log::info!("{LOG_PREFIX} POST UPGRADE: Finished"); - - Ok(()) - } - } -} - -mod ausd_to_foreign { - use cfg_primitives::{AccountId, Balance}; - use cfg_types::tokens::CurrencyId; - #[cfg(feature = "try-runtime")] - use frame_support::ensure; - use frame_support::{ - pallet_prelude::ValueQuery, storage::unhashed, storage_alias, Blake2_128Concat, - StoragePrefixedMap, Twox64Concat, - }; - use orml_tokens::AccountData; - use parity_scale_codec::{Decode, Encode}; - #[cfg(feature = "try-runtime")] - use sp_runtime::traits::Zero; - #[cfg(feature = "try-runtime")] - use sp_runtime::DispatchError; - use sp_runtime::Saturating; - use sp_std::vec::Vec; - - use super::*; - use crate::Runtime; - - const DEPRECATED_AUSD_CURRENCY_ID: OldCurrencyId = OldCurrencyId::AUSD; - const NEW_AUSD_CURRENCY_ID: CurrencyId = CurrencyId::ForeignAsset(2); - const LOG_PREFIX: &str = "MigrateAUSD"; - - /// As we dropped `CurrencyId::KSM` and `CurrencyId::AUSD`, we need to - /// migrate the balances under the dropped variants in favour of the new, - /// corresponding `CurrencyId::ForeignAsset`. We have never transferred KSM - /// so we only need to deal with AUSD. - pub struct CurrencyIdRefactorMigration(sp_std::marker::PhantomData); - - #[derive(Clone, PartialEq, Eq, Debug, Encode, Decode)] - pub struct OldState { - pub total_issuance: Balance, - pub entries: Vec<(AccountId, AccountData)>, - } - - #[storage_alias] - type TotalIssuance = - StorageMap, Twox64Concat, OldCurrencyId, Balance, ValueQuery>; - - #[storage_alias] - type Accounts = StorageDoubleMap< - orml_tokens::Pallet, - Blake2_128Concat, - AccountId, - Twox64Concat, - OldCurrencyId, - AccountData, - ValueQuery, - >; - - impl OnRuntimeUpgrade for CurrencyIdRefactorMigration - where - T: orml_asset_registry::Config - + orml_tokens::Config - + frame_system::Config, - { - #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, DispatchError> { - let total_issuance = TotalIssuance::::get(DEPRECATED_AUSD_CURRENCY_ID); - let entries: Vec<(AccountId, AccountData)> = Accounts::::iter() - .filter(|(_, old_currency_id, _)| *old_currency_id == DEPRECATED_AUSD_CURRENCY_ID) - .map(|(account, _, account_data)| (account, account_data)) - .collect::<_>(); - - log::info!( - "{LOG_PREFIX} PRE-UPGRADE: Counted accounts to be migrated is {} with total issuance of {total_issuance}", entries.iter().count() - ); - - Ok(OldState { - total_issuance, - entries, - } - .encode()) - } - - #[cfg(feature = "try-runtime")] - fn post_upgrade(state: Vec) -> Result<(), DispatchError> { - let old_state = OldState::decode(&mut state.as_ref()) - .map_err(|_| "Error decoding pre-upgrade state")?; - - let new_total_issuance = orml_tokens::TotalIssuance::::get(NEW_AUSD_CURRENCY_ID); - - ensure!( - old_state.total_issuance == new_total_issuance, - "The old AUSD issuance differs from the new one" - ); - ensure!( - TotalIssuance::::get(DEPRECATED_AUSD_CURRENCY_ID).is_zero(), - "The total issuance of old AUSD is not zero!" - ); - - for (account, account_data) in old_state.entries { - ensure!( - orml_tokens::Pallet::::accounts(&account, NEW_AUSD_CURRENCY_ID) - == account_data.clone(), - "The account data under the new AUSD Currency does NOT match the old one" - ); - ensure!( - Accounts::::get(&account, DEPRECATED_AUSD_CURRENCY_ID) == Default::default(), - "The account data for old AUSD is not cleared" - ); - } - - log::info!("{LOG_PREFIX} POST-UPGRADE: Done"); - - Ok(()) - } - - fn on_runtime_upgrade() -> Weight { - use frame_support::traits::tokens::fungibles::Mutate; - - let mut migrated_entries: u64 = 0; - - // Burn all AUSD tokens under the old CurrencyId and mint them under the new one - Accounts::::iter() - .filter(|(_, old_currency_id, _)| *old_currency_id == DEPRECATED_AUSD_CURRENCY_ID) - .for_each(|(account, _, account_data)| { - log::info!( - "{LOG_PREFIX} Migrating account with balance: {}", - account_data.free - ); - - let balance = account_data.free; - - // Remove account data and reduce total issuance manually at the end - Accounts::::remove(account.clone(), DEPRECATED_AUSD_CURRENCY_ID); - - // Now mint the amount under the new CurrencyID - as Mutate>::mint_into( - NEW_AUSD_CURRENCY_ID, - &account, - balance, - ) - .map_err(|e| { - log::error!( - "Failed to mint_into burn_from({:?}, {:?}, {balance}): {:?}", - NEW_AUSD_CURRENCY_ID, - account, - e - ) - }) - .ok(); - - migrated_entries += 1; - }); - log::info!( - "{LOG_PREFIX} Number of migrated accounts: {:?} ", - migrated_entries - ); - - TotalIssuance::::remove(DEPRECATED_AUSD_CURRENCY_ID); - - // Remove undecodable storage entries - let (reads, writes) = remove_undecodable_storage_keys::(); - log::info!("{LOG_PREFIX} Removed {writes} undecodable storage entries from Accounts"); - - log::info!("{LOG_PREFIX} Done"); - - // Approximate weight given for every entry migration there are two calls being - // made, so counting the reads and writes for each call. - ::DbWeight::get().reads_writes( - migrated_entries.saturating_mul(5).saturating_add(reads), - migrated_entries - .saturating_mul(4) - .saturating_add(writes.saturating_add(1)), - ) - } - } - - fn remove_undecodable_storage_keys() -> (u64, u64) { - let prefix = orml_tokens::Accounts::::final_prefix(); - let mut previous_key = prefix.clone().to_vec(); - let mut reads: u64 = 1; - let mut writes: u64 = 0; - while let Some(next) = - sp_io::storage::next_key(&previous_key).filter(|n| n.starts_with(&prefix)) - { - reads.saturating_accrue(1); - previous_key = next; - let maybe_value = unhashed::get::(&previous_key); - match maybe_value { - Some(_) => continue, - None => { - log::info!( - "Removing Account key which could not be decoded at {:?}", - previous_key - ); - unhashed::kill(&previous_key); - writes.saturating_accrue(1); - continue; - } - } - } - - (reads, writes) - } -} - -mod xcm_v2_to_v3 { - use super::*; - use crate::{PolkadotXcm, RuntimeOrigin}; - - pub struct SetSafeXcmVersion; - - impl OnRuntimeUpgrade for SetSafeXcmVersion { - fn on_runtime_upgrade() -> Weight { - // Unfortunately, SafeXcmVersion storage is not leaked to runtime, so we can't - // do any pre- or post-upgrade checks - PolkadotXcm::force_default_xcm_version( - RuntimeOrigin::root(), - Some(cfg_primitives::SAFE_XCM_VERSION), - ) - .unwrap_or_else(|_| log::error!("Failed to set safe XCM version on runtime upgrade, requires manual call via governance")); - - crate::RocksDbWeight::get().writes(1) - } - } -} +/// The migration set for Altair @ Kusama. +/// It includes all the migrations that have to be applied on that chain. +pub type UpgradeAltair1035 = (); diff --git a/runtime/altair/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/altair/src/weights/cumulus_pallet_xcmp_queue.rs index 98adf2d4c1..c319469bca 100644 --- a/runtime/altair/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/altair/src/weights/cumulus_pallet_xcmp_queue.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -38,8 +38,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `109` // Estimated: `1594` - // Minimum execution time: 8_726_000 picoseconds. - Weight::from_parts(9_317_000, 0) + // Minimum execution time: 9_007_000 picoseconds. + Weight::from_parts(9_237_000, 0) .saturating_add(Weight::from_parts(0, 1594)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -50,8 +50,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `109` // Estimated: `1594` - // Minimum execution time: 8_666_000 picoseconds. - Weight::from_parts(9_016_000, 0) + // Minimum execution time: 8_756_000 picoseconds. + Weight::from_parts(9_017_000, 0) .saturating_add(Weight::from_parts(0, 1594)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/altair/src/weights/pallet_anchors.rs b/runtime/altair/src/weights/pallet_anchors.rs index 3f76e00e8c..e74f9f63f7 100644 --- a/runtime/altair/src/weights/pallet_anchors.rs +++ b/runtime/altair/src/weights/pallet_anchors.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_anchors` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -42,8 +42,8 @@ impl pallet_anchors::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `334` // Estimated: `3581` - // Minimum execution time: 39_573_000 picoseconds. - Weight::from_parts(40_445_000, 0) + // Minimum execution time: 42_600_000 picoseconds. + Weight::from_parts(43_291_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -70,8 +70,8 @@ impl pallet_anchors::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `668` // Estimated: `3581` - // Minimum execution time: 70_332_000 picoseconds. - Weight::from_parts(71_053_000, 0) + // Minimum execution time: 74_199_000 picoseconds. + Weight::from_parts(74_830_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) @@ -82,8 +82,8 @@ impl pallet_anchors::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `12450` // Estimated: `260090` - // Minimum execution time: 2_141_176_000 picoseconds. - Weight::from_parts(2_160_262_000, 0) + // Minimum execution time: 2_299_661_000 picoseconds. + Weight::from_parts(2_331_731_000, 0) .saturating_add(Weight::from_parts(0, 260090)) .saturating_add(T::DbWeight::get().reads(100)) .saturating_add(T::DbWeight::get().writes(100)) @@ -506,8 +506,8 @@ impl pallet_anchors::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `18324` // Estimated: `254990` - // Minimum execution time: 1_942_586_000 picoseconds. - Weight::from_parts(1_970_939_000, 0) + // Minimum execution time: 2_049_781_000 picoseconds. + Weight::from_parts(2_069_889_000, 0) .saturating_add(Weight::from_parts(0, 254990)) .saturating_add(T::DbWeight::get().reads(504)) .saturating_add(T::DbWeight::get().writes(402)) diff --git a/runtime/altair/src/weights/pallet_balances.rs b/runtime/altair/src/weights/pallet_balances.rs index d5dd2f25f9..6b115823e7 100644 --- a/runtime/altair/src/weights/pallet_balances.rs +++ b/runtime/altair/src/weights/pallet_balances.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -38,8 +38,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `52` // Estimated: `3593` - // Minimum execution time: 84_377_000 picoseconds. - Weight::from_parts(86_001_000, 0) + // Minimum execution time: 92_233_000 picoseconds. + Weight::from_parts(93_315_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -50,8 +50,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `52` // Estimated: `3593` - // Minimum execution time: 63_528_000 picoseconds. - Weight::from_parts(66_343_000, 0) + // Minimum execution time: 69_450_000 picoseconds. + Weight::from_parts(70_522_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -62,8 +62,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `245` // Estimated: `3593` - // Minimum execution time: 25_017_000 picoseconds. - Weight::from_parts(25_618_000, 0) + // Minimum execution time: 26_109_000 picoseconds. + Weight::from_parts(26_460_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -74,8 +74,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `245` // Estimated: `3593` - // Minimum execution time: 35_998_000 picoseconds. - Weight::from_parts(36_809_000, 0) + // Minimum execution time: 38_171_000 picoseconds. + Weight::from_parts(39_053_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -86,8 +86,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `192` // Estimated: `6196` - // Minimum execution time: 88_505_000 picoseconds. - Weight::from_parts(89_467_000, 0) + // Minimum execution time: 95_259_000 picoseconds. + Weight::from_parts(97_092_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -98,8 +98,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `52` // Estimated: `3593` - // Minimum execution time: 79_478_000 picoseconds. - Weight::from_parts(80_871_000, 0) + // Minimum execution time: 87_033_000 picoseconds. + Weight::from_parts(87_745_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -110,8 +110,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `245` // Estimated: `3593` - // Minimum execution time: 29_144_000 picoseconds. - Weight::from_parts(29_986_000, 0) + // Minimum execution time: 30_808_000 picoseconds. + Weight::from_parts(31_258_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -123,11 +123,11 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `176 + u * (136 ±0)` // Estimated: `990 + u * (2603 ±0)` - // Minimum execution time: 26_740_000 picoseconds. - Weight::from_parts(27_652_000, 0) + // Minimum execution time: 28_694_000 picoseconds. + Weight::from_parts(29_165_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 14_123 - .saturating_add(Weight::from_parts(21_488_072, 0).saturating_mul(u.into())) + // Standard Error: 12_713 + .saturating_add(Weight::from_parts(22_707_946, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into())) diff --git a/runtime/altair/src/weights/pallet_block_rewards.rs b/runtime/altair/src/weights/pallet_block_rewards.rs index 6c4745c4db..2fcc0b7167 100644 --- a/runtime/altair/src/weights/pallet_block_rewards.rs +++ b/runtime/altair/src/weights/pallet_block_rewards.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_block_rewards` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -44,8 +44,8 @@ impl pallet_block_rewards::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `583` // Estimated: `6196` - // Minimum execution time: 87_664_000 picoseconds. - Weight::from_parts(89_066_000, 0) + // Minimum execution time: 92_032_000 picoseconds. + Weight::from_parts(93_797_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) @@ -56,8 +56,8 @@ impl pallet_block_rewards::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `41` // Estimated: `3582` - // Minimum execution time: 8_776_000 picoseconds. - Weight::from_parts(9_047_000, 0) + // Minimum execution time: 8_967_000 picoseconds. + Weight::from_parts(9_287_000, 0) .saturating_add(Weight::from_parts(0, 3582)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -68,8 +68,8 @@ impl pallet_block_rewards::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `41` // Estimated: `3582` - // Minimum execution time: 8_706_000 picoseconds. - Weight::from_parts(8_937_000, 0) + // Minimum execution time: 8_957_000 picoseconds. + Weight::from_parts(9_308_000, 0) .saturating_add(Weight::from_parts(0, 3582)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/altair/src/weights/pallet_collator_allowlist.rs b/runtime/altair/src/weights/pallet_collator_allowlist.rs index 454bc79499..3205da0862 100644 --- a/runtime/altair/src/weights/pallet_collator_allowlist.rs +++ b/runtime/altair/src/weights/pallet_collator_allowlist.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_collator_allowlist` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -40,8 +40,8 @@ impl pallet_collator_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `524` // Estimated: `3989` - // Minimum execution time: 24_856_000 picoseconds. - Weight::from_parts(25_497_000, 0) + // Minimum execution time: 26_499_000 picoseconds. + Weight::from_parts(27_461_000, 0) .saturating_add(Weight::from_parts(0, 3989)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -52,8 +52,8 @@ impl pallet_collator_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `232` // Estimated: `3497` - // Minimum execution time: 19_006_000 picoseconds. - Weight::from_parts(19_617_000, 0) + // Minimum execution time: 19_957_000 picoseconds. + Weight::from_parts(20_668_000, 0) .saturating_add(Weight::from_parts(0, 3497)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/altair/src/weights/pallet_collator_selection.rs b/runtime/altair/src/weights/pallet_collator_selection.rs index 728c4ff030..06b84419b8 100644 --- a/runtime/altair/src/weights/pallet_collator_selection.rs +++ b/runtime/altair/src/weights/pallet_collator_selection.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_collator_selection` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -43,11 +43,11 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `466 + b * (112 ±0)` // Estimated: `1453 + b * (2588 ±0)` - // Minimum execution time: 25_167_000 picoseconds. - Weight::from_parts(21_344_671, 0) + // Minimum execution time: 25_368_000 picoseconds. + Weight::from_parts(22_752_174, 0) .saturating_add(Weight::from_parts(0, 1453)) - // Standard Error: 5_308 - .saturating_add(Weight::from_parts(5_977_896, 0).saturating_mul(b.into())) + // Standard Error: 6_025 + .saturating_add(Weight::from_parts(6_117_029, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 2588).saturating_mul(b.into())) @@ -58,8 +58,8 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_606_000 picoseconds. - Weight::from_parts(14_337_000, 0) + // Minimum execution time: 15_079_000 picoseconds. + Weight::from_parts(15_380_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -69,8 +69,8 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_389_000 picoseconds. - Weight::from_parts(10_851_000, 0) + // Minimum execution time: 11_181_000 picoseconds. + Weight::from_parts(11_612_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -93,11 +93,11 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `1035 + c * (59 ±0)` // Estimated: `4687 + c * (60 ±0)` - // Minimum execution time: 65_763_000 picoseconds. - Weight::from_parts(67_205_936, 0) + // Minimum execution time: 68_369_000 picoseconds. + Weight::from_parts(70_064_119, 0) .saturating_add(Weight::from_parts(0, 4687)) - // Standard Error: 4_889 - .saturating_add(Weight::from_parts(266_792, 0).saturating_mul(c.into())) + // Standard Error: 4_016 + .saturating_add(Weight::from_parts(250_510, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 60).saturating_mul(c.into())) @@ -107,13 +107,15 @@ impl pallet_collator_selection::WeightInfo for WeightIn /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// The range of component `c` is `[6, 20]`. - fn leave_intent(_c: u32, ) -> Weight { + fn leave_intent(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `549 + c * (44 ±0)` // Estimated: `2446` - // Minimum execution time: 45_805_000 picoseconds. - Weight::from_parts(49_827_491, 0) + // Minimum execution time: 47_479_000 picoseconds. + Weight::from_parts(49_006_465, 0) .saturating_add(Weight::from_parts(0, 2446)) + // Standard Error: 5_387 + .saturating_add(Weight::from_parts(82_913, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -127,8 +129,8 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `192` // Estimated: `6196` - // Minimum execution time: 70_552_000 picoseconds. - Weight::from_parts(71_864_000, 0) + // Minimum execution time: 74_981_000 picoseconds. + Weight::from_parts(76_313_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) @@ -148,12 +150,12 @@ impl pallet_collator_selection::WeightInfo for WeightIn fn new_session(r: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `578 + c * (98 ±0) + r * (142 ±0)` - // Estimated: `4687 + c * (2519 ±0) + r * (2259 ±17)` - // Minimum execution time: 23_945_000 picoseconds. - Weight::from_parts(24_766_000, 0) + // Estimated: `4687 + c * (2519 ±9) + r * (2259 ±17)` + // Minimum execution time: 25_056_000 picoseconds. + Weight::from_parts(25_488_000, 0) .saturating_add(Weight::from_parts(0, 4687)) - // Standard Error: 440_066 - .saturating_add(Weight::from_parts(17_696_788, 0).saturating_mul(c.into())) + // Standard Error: 471_127 + .saturating_add(Weight::from_parts(18_642_610, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/altair/src/weights/pallet_collective.rs b/runtime/altair/src/weights/pallet_collective.rs index 6bf7955d73..999824cebf 100644 --- a/runtime/altair/src/weights/pallet_collective.rs +++ b/runtime/altair/src/weights/pallet_collective.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -46,14 +46,14 @@ impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (3232 ±0) + p * (3190 ±0)` - // Estimated: `15762 + m * (1967 ±24) + p * (4332 ±24)` - // Minimum execution time: 22_632_000 picoseconds. - Weight::from_parts(22_943_000, 0) + // Estimated: `15762 + m * (1967 ±23) + p * (4332 ±23)` + // Minimum execution time: 23_374_000 picoseconds. + Weight::from_parts(23_504_000, 0) .saturating_add(Weight::from_parts(0, 15762)) - // Standard Error: 62_082 - .saturating_add(Weight::from_parts(4_739_522, 0).saturating_mul(m.into())) - // Standard Error: 62_082 - .saturating_add(Weight::from_parts(8_691_516, 0).saturating_mul(p.into())) + // Standard Error: 60_192 + .saturating_add(Weight::from_parts(4_633_199, 0).saturating_mul(m.into())) + // Standard Error: 60_192 + .saturating_add(Weight::from_parts(8_698_431, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -69,13 +69,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `103 + m * (32 ±0)` // Estimated: `1589 + m * (32 ±0)` - // Minimum execution time: 23_564_000 picoseconds. - Weight::from_parts(22_084_327, 0) + // Minimum execution time: 24_135_000 picoseconds. + Weight::from_parts(22_966_882, 0) .saturating_add(Weight::from_parts(0, 1589)) - // Standard Error: 49 - .saturating_add(Weight::from_parts(2_131, 0).saturating_mul(b.into())) - // Standard Error: 506 - .saturating_add(Weight::from_parts(20_334, 0).saturating_mul(m.into())) + // Standard Error: 46 + .saturating_add(Weight::from_parts(1_997, 0).saturating_mul(b.into())) + // Standard Error: 480 + .saturating_add(Weight::from_parts(20_320, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -89,13 +89,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `103 + m * (32 ±0)` // Estimated: `3569 + m * (32 ±0)` - // Minimum execution time: 27_571_000 picoseconds. - Weight::from_parts(25_346_668, 0) + // Minimum execution time: 28_223_000 picoseconds. + Weight::from_parts(26_956_940, 0) .saturating_add(Weight::from_parts(0, 3569)) - // Standard Error: 104 - .saturating_add(Weight::from_parts(2_955, 0).saturating_mul(b.into())) - // Standard Error: 1_072 - .saturating_add(Weight::from_parts(35_436, 0).saturating_mul(m.into())) + // Standard Error: 38 + .saturating_add(Weight::from_parts(2_106, 0).saturating_mul(b.into())) + // Standard Error: 401 + .saturating_add(Weight::from_parts(32_690, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -116,15 +116,15 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `393 + m * (32 ±0) + p * (36 ±0)` // Estimated: `3785 + m * (33 ±0) + p * (36 ±0)` - // Minimum execution time: 35_916_000 picoseconds. - Weight::from_parts(36_451_343, 0) + // Minimum execution time: 36_949_000 picoseconds. + Weight::from_parts(36_552_537, 0) .saturating_add(Weight::from_parts(0, 3785)) - // Standard Error: 149 - .saturating_add(Weight::from_parts(2_088, 0).saturating_mul(b.into())) - // Standard Error: 1_560 - .saturating_add(Weight::from_parts(24_913, 0).saturating_mul(m.into())) - // Standard Error: 1_541 - .saturating_add(Weight::from_parts(248_734, 0).saturating_mul(p.into())) + // Standard Error: 93 + .saturating_add(Weight::from_parts(3_308, 0).saturating_mul(b.into())) + // Standard Error: 979 + .saturating_add(Weight::from_parts(29_061, 0).saturating_mul(m.into())) + // Standard Error: 967 + .saturating_add(Weight::from_parts(235_816, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into())) @@ -139,11 +139,11 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `842 + m * (64 ±0)` // Estimated: `4306 + m * (64 ±0)` - // Minimum execution time: 30_487_000 picoseconds. - Weight::from_parts(31_186_724, 0) + // Minimum execution time: 31_420_000 picoseconds. + Weight::from_parts(31_931_080, 0) .saturating_add(Weight::from_parts(0, 4306)) - // Standard Error: 901 - .saturating_add(Weight::from_parts(47_639, 0).saturating_mul(m.into())) + // Standard Error: 746 + .saturating_add(Weight::from_parts(47_123, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) @@ -162,13 +162,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `431 + m * (64 ±0) + p * (36 ±0)` // Estimated: `3876 + m * (65 ±0) + p * (36 ±0)` - // Minimum execution time: 39_053_000 picoseconds. - Weight::from_parts(37_916_630, 0) + // Minimum execution time: 40_307_000 picoseconds. + Weight::from_parts(39_986_377, 0) .saturating_add(Weight::from_parts(0, 3876)) - // Standard Error: 1_015 - .saturating_add(Weight::from_parts(41_963, 0).saturating_mul(m.into())) - // Standard Error: 990 - .saturating_add(Weight::from_parts(238_197, 0).saturating_mul(p.into())) + // Standard Error: 867 + .saturating_add(Weight::from_parts(34_369, 0).saturating_mul(m.into())) + // Standard Error: 845 + .saturating_add(Weight::from_parts(229_930, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) @@ -189,15 +189,15 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `733 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` // Estimated: `4050 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` - // Minimum execution time: 56_205_000 picoseconds. - Weight::from_parts(57_901_173, 0) + // Minimum execution time: 59_182_000 picoseconds. + Weight::from_parts(58_407_416, 0) .saturating_add(Weight::from_parts(0, 4050)) - // Standard Error: 207 - .saturating_add(Weight::from_parts(2_111, 0).saturating_mul(b.into())) - // Standard Error: 2_195 - .saturating_add(Weight::from_parts(3_399, 0).saturating_mul(m.into())) - // Standard Error: 2_140 - .saturating_add(Weight::from_parts(282_136, 0).saturating_mul(p.into())) + // Standard Error: 198 + .saturating_add(Weight::from_parts(2_797, 0).saturating_mul(b.into())) + // Standard Error: 2_101 + .saturating_add(Weight::from_parts(13_039, 0).saturating_mul(m.into())) + // Standard Error: 2_048 + .saturating_add(Weight::from_parts(281_668, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) @@ -220,13 +220,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `451 + m * (64 ±0) + p * (36 ±0)` // Estimated: `3896 + m * (65 ±0) + p * (36 ±0)` - // Minimum execution time: 43_211_000 picoseconds. - Weight::from_parts(41_189_289, 0) + // Minimum execution time: 44_323_000 picoseconds. + Weight::from_parts(43_743_185, 0) .saturating_add(Weight::from_parts(0, 3896)) - // Standard Error: 1_317 - .saturating_add(Weight::from_parts(45_314, 0).saturating_mul(m.into())) - // Standard Error: 1_285 - .saturating_add(Weight::from_parts(246_712, 0).saturating_mul(p.into())) + // Standard Error: 919 + .saturating_add(Weight::from_parts(37_849, 0).saturating_mul(m.into())) + // Standard Error: 896 + .saturating_add(Weight::from_parts(230_841, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) @@ -249,15 +249,15 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `753 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` // Estimated: `4070 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` - // Minimum execution time: 59_491_000 picoseconds. - Weight::from_parts(59_825_088, 0) + // Minimum execution time: 62_588_000 picoseconds. + Weight::from_parts(62_848_298, 0) .saturating_add(Weight::from_parts(0, 4070)) - // Standard Error: 149 - .saturating_add(Weight::from_parts(2_574, 0).saturating_mul(b.into())) - // Standard Error: 1_578 - .saturating_add(Weight::from_parts(39_976, 0).saturating_mul(m.into())) - // Standard Error: 1_538 - .saturating_add(Weight::from_parts(275_431, 0).saturating_mul(p.into())) + // Standard Error: 150 + .saturating_add(Weight::from_parts(2_185, 0).saturating_mul(b.into())) + // Standard Error: 1_592 + .saturating_add(Weight::from_parts(33_764, 0).saturating_mul(m.into())) + // Standard Error: 1_552 + .saturating_add(Weight::from_parts(267_125, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) @@ -275,11 +275,11 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `260 + p * (32 ±0)` // Estimated: `1745 + p * (32 ±0)` - // Minimum execution time: 22_131_000 picoseconds. - Weight::from_parts(23_547_927, 0) + // Minimum execution time: 23_224_000 picoseconds. + Weight::from_parts(24_703_918, 0) .saturating_add(Weight::from_parts(0, 1745)) - // Standard Error: 961 - .saturating_add(Weight::from_parts(224_637, 0).saturating_mul(p.into())) + // Standard Error: 693 + .saturating_add(Weight::from_parts(216_290, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) diff --git a/runtime/altair/src/weights/pallet_crowdloan_claim.rs b/runtime/altair/src/weights/pallet_crowdloan_claim.rs index fc2134043b..d7142acd29 100644 --- a/runtime/altair/src/weights/pallet_crowdloan_claim.rs +++ b/runtime/altair/src/weights/pallet_crowdloan_claim.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_crowdloan_claim` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -60,8 +60,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `639` // Estimated: `6196` - // Minimum execution time: 258_603_000 picoseconds. - Weight::from_parts(262_099_000, 0) + // Minimum execution time: 273_536_000 picoseconds. + Weight::from_parts(275_820_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(5)) @@ -94,8 +94,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `795` // Estimated: `6196` - // Minimum execution time: 262_250_000 picoseconds. - Weight::from_parts(264_855_000, 0) + // Minimum execution time: 275_250_000 picoseconds. + Weight::from_parts(278_065_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(5)) @@ -128,8 +128,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `691` // Estimated: `6196` - // Minimum execution time: 244_116_000 picoseconds. - Weight::from_parts(246_280_000, 0) + // Minimum execution time: 258_728_000 picoseconds. + Weight::from_parts(261_322_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(5)) @@ -152,8 +152,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `76` // Estimated: `1489` - // Minimum execution time: 25_047_000 picoseconds. - Weight::from_parts(25_588_000, 0) + // Minimum execution time: 27_041_000 picoseconds. + Weight::from_parts(27_552_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(6)) @@ -164,8 +164,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_301_000 picoseconds. - Weight::from_parts(11_662_000, 0) + // Minimum execution time: 12_343_000 picoseconds. + Weight::from_parts(12_764_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -175,8 +175,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_432_000 picoseconds. - Weight::from_parts(11_651_000, 0) + // Minimum execution time: 12_353_000 picoseconds. + Weight::from_parts(12_764_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -186,8 +186,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_333_000 picoseconds. - Weight::from_parts(12_884_000, 0) + // Minimum execution time: 13_345_000 picoseconds. + Weight::from_parts(13_676_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -197,8 +197,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_461_000 picoseconds. - Weight::from_parts(11_682_000, 0) + // Minimum execution time: 12_153_000 picoseconds. + Weight::from_parts(12_654_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -208,8 +208,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_401_000 picoseconds. - Weight::from_parts(11_662_000, 0) + // Minimum execution time: 12_304_000 picoseconds. + Weight::from_parts(12_804_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/altair/src/weights/pallet_crowdloan_reward.rs b/runtime/altair/src/weights/pallet_crowdloan_reward.rs index cece9871af..cbc5190064 100644 --- a/runtime/altair/src/weights/pallet_crowdloan_reward.rs +++ b/runtime/altair/src/weights/pallet_crowdloan_reward.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_crowdloan_reward` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -42,8 +42,8 @@ impl pallet_crowdloan_reward::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_716_000 picoseconds. - Weight::from_parts(14_277_000, 0) + // Minimum execution time: 14_026_000 picoseconds. + Weight::from_parts(14_337_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -53,8 +53,8 @@ impl pallet_crowdloan_reward::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_782_000 picoseconds. - Weight::from_parts(12_113_000, 0) + // Minimum execution time: 11_952_000 picoseconds. + Weight::from_parts(12_314_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -64,8 +64,8 @@ impl pallet_crowdloan_reward::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_612_000 picoseconds. - Weight::from_parts(11_992_000, 0) + // Minimum execution time: 12_003_000 picoseconds. + Weight::from_parts(12_254_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -75,8 +75,8 @@ impl pallet_crowdloan_reward::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_632_000 picoseconds. - Weight::from_parts(12_022_000, 0) + // Minimum execution time: 12_082_000 picoseconds. + Weight::from_parts(12_323_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/altair/src/weights/pallet_democracy.rs b/runtime/altair/src/weights/pallet_democracy.rs index 678e23038c..0c9b0cfed3 100644 --- a/runtime/altair/src/weights/pallet_democracy.rs +++ b/runtime/altair/src/weights/pallet_democracy.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -44,8 +44,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4768` // Estimated: `18187` - // Minimum execution time: 58_419_000 picoseconds. - Weight::from_parts(61_114_000, 0) + // Minimum execution time: 59_613_000 picoseconds. + Weight::from_parts(60_644_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -56,8 +56,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3523` // Estimated: `6695` - // Minimum execution time: 52_207_000 picoseconds. - Weight::from_parts(53_901_000, 0) + // Minimum execution time: 52_940_000 picoseconds. + Weight::from_parts(54_773_000, 0) .saturating_add(Weight::from_parts(0, 6695)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -74,8 +74,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3400` // Estimated: `7260` - // Minimum execution time: 66_113_000 picoseconds. - Weight::from_parts(68_718_000, 0) + // Minimum execution time: 66_846_000 picoseconds. + Weight::from_parts(67_848_000, 0) .saturating_add(Weight::from_parts(0, 7260)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -92,8 +92,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3422` // Estimated: `7260` - // Minimum execution time: 72_676_000 picoseconds. - Weight::from_parts(74_579_000, 0) + // Minimum execution time: 73_378_000 picoseconds. + Weight::from_parts(75_562_000, 0) .saturating_add(Weight::from_parts(0, 7260)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -108,8 +108,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `333` // Estimated: `3666` - // Minimum execution time: 38_351_000 picoseconds. - Weight::from_parts(39_003_000, 0) + // Minimum execution time: 39_905_000 picoseconds. + Weight::from_parts(40_647_000, 0) .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -132,8 +132,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `6249` // Estimated: `18187` - // Minimum execution time: 148_978_000 picoseconds. - Weight::from_parts(151_513_000, 0) + // Minimum execution time: 149_401_000 picoseconds. + Weight::from_parts(151_185_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) @@ -146,8 +146,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3383` // Estimated: `6703` - // Minimum execution time: 18_244_000 picoseconds. - Weight::from_parts(18_915_000, 0) + // Minimum execution time: 18_706_000 picoseconds. + Weight::from_parts(19_257_000, 0) .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -158,8 +158,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_959_000 picoseconds. - Weight::from_parts(5_310_000, 0) + // Minimum execution time: 4_970_000 picoseconds. + Weight::from_parts(5_330_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -169,8 +169,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_040_000 picoseconds. - Weight::from_parts(5_280_000, 0) + // Minimum execution time: 4_889_000 picoseconds. + Weight::from_parts(5_170_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -186,8 +186,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `253` // Estimated: `3518` - // Minimum execution time: 39_634_000 picoseconds. - Weight::from_parts(40_205_000, 0) + // Minimum execution time: 40_937_000 picoseconds. + Weight::from_parts(41_769_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) @@ -202,8 +202,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3486` // Estimated: `6703` - // Minimum execution time: 42_439_000 picoseconds. - Weight::from_parts(43_051_000, 0) + // Minimum execution time: 43_001_000 picoseconds. + Weight::from_parts(44_283_000, 0) .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -220,8 +220,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `6160` // Estimated: `18187` - // Minimum execution time: 122_889_000 picoseconds. - Weight::from_parts(124_803_000, 0) + // Minimum execution time: 123_593_000 picoseconds. + Weight::from_parts(125_377_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -234,8 +234,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `238` // Estimated: `3518` - // Minimum execution time: 28_853_000 picoseconds. - Weight::from_parts(29_485_000, 0) + // Minimum execution time: 29_746_000 picoseconds. + Weight::from_parts(30_097_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -251,11 +251,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 10_049_000 picoseconds. - Weight::from_parts(13_517_271, 0) + // Minimum execution time: 10_349_000 picoseconds. + Weight::from_parts(13_544_734, 0) .saturating_add(Weight::from_parts(0, 1489)) - // Standard Error: 5_035 - .saturating_add(Weight::from_parts(4_070_284, 0).saturating_mul(r.into())) + // Standard Error: 5_038 + .saturating_add(Weight::from_parts(4_087_987, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -278,11 +278,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` // Estimated: `18187 + r * (2676 ±0)` - // Minimum execution time: 14_908_000 picoseconds. - Weight::from_parts(18_208_256, 0) + // Minimum execution time: 15_469_000 picoseconds. + Weight::from_parts(18_869_189, 0) .saturating_add(Weight::from_parts(0, 18187)) - // Standard Error: 5_804 - .saturating_add(Weight::from_parts(4_082_645, 0).saturating_mul(r.into())) + // Standard Error: 5_080 + .saturating_add(Weight::from_parts(4_088_151, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -301,11 +301,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `764 + r * (108 ±0)` // Estimated: `19800 + r * (2676 ±0)` - // Minimum execution time: 56_275_000 picoseconds. - Weight::from_parts(63_373_708, 0) + // Minimum execution time: 56_647_000 picoseconds. + Weight::from_parts(62_741_892, 0) .saturating_add(Weight::from_parts(0, 19800)) - // Standard Error: 6_499 - .saturating_add(Weight::from_parts(5_172_759, 0).saturating_mul(r.into())) + // Standard Error: 6_476 + .saturating_add(Weight::from_parts(5_189_037, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -321,11 +321,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `460 + r * (108 ±0)` // Estimated: `13530 + r * (2676 ±0)` - // Minimum execution time: 28_323_000 picoseconds. - Weight::from_parts(29_550_866, 0) + // Minimum execution time: 28_634_000 picoseconds. + Weight::from_parts(29_357_960, 0) .saturating_add(Weight::from_parts(0, 13530)) - // Standard Error: 6_284 - .saturating_add(Weight::from_parts(5_136_337, 0).saturating_mul(r.into())) + // Standard Error: 6_380 + .saturating_add(Weight::from_parts(5_129_915, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -338,8 +338,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_010_000 picoseconds. - Weight::from_parts(5_260_000, 0) + // Minimum execution time: 4_959_000 picoseconds. + Weight::from_parts(5_220_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -356,11 +356,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `492` // Estimated: `7260` - // Minimum execution time: 33_943_000 picoseconds. - Weight::from_parts(52_244_125, 0) + // Minimum execution time: 33_984_000 picoseconds. + Weight::from_parts(52_092_292, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 4_191 - .saturating_add(Weight::from_parts(69_405, 0).saturating_mul(r.into())) + // Standard Error: 4_027 + .saturating_add(Weight::from_parts(70_359, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -377,11 +377,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `493 + r * (22 ±0)` // Estimated: `7260` - // Minimum execution time: 47_909_000 picoseconds. - Weight::from_parts(50_333_181, 0) + // Minimum execution time: 47_519_000 picoseconds. + Weight::from_parts(49_870_769, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_515 - .saturating_add(Weight::from_parts(87_706, 0).saturating_mul(r.into())) + // Standard Error: 1_122 + .saturating_add(Weight::from_parts(85_346, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -394,11 +394,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `695 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 20_950_000 picoseconds. - Weight::from_parts(24_010_403, 0) + // Minimum execution time: 21_260_000 picoseconds. + Weight::from_parts(23_945_514, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_347 - .saturating_add(Weight::from_parts(94_265, 0).saturating_mul(r.into())) + // Standard Error: 1_027 + .saturating_add(Weight::from_parts(92_014, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -411,11 +411,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `695 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 21_430_000 picoseconds. - Weight::from_parts(24_439_550, 0) + // Minimum execution time: 21_190_000 picoseconds. + Weight::from_parts(24_157_354, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_282 - .saturating_add(Weight::from_parts(91_206, 0).saturating_mul(r.into())) + // Standard Error: 1_086 + .saturating_add(Weight::from_parts(92_539, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -429,8 +429,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `357` // Estimated: `3556` - // Minimum execution time: 26_168_000 picoseconds. - Weight::from_parts(27_040_000, 0) + // Minimum execution time: 27_100_000 picoseconds. + Weight::from_parts(27_642_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -443,8 +443,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `253` // Estimated: `3518` - // Minimum execution time: 23_904_000 picoseconds. - Weight::from_parts(24_526_000, 0) + // Minimum execution time: 24_206_000 picoseconds. + Weight::from_parts(24_637_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -459,8 +459,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4889` // Estimated: `18187` - // Minimum execution time: 54_291_000 picoseconds. - Weight::from_parts(55_334_000, 0) + // Minimum execution time: 54_913_000 picoseconds. + Weight::from_parts(56_827_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -473,8 +473,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4789` // Estimated: `18187` - // Minimum execution time: 50_724_000 picoseconds. - Weight::from_parts(52_669_000, 0) + // Minimum execution time: 51_206_000 picoseconds. + Weight::from_parts(53_050_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -487,8 +487,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 21_540_000 picoseconds. - Weight::from_parts(22_001_000, 0) + // Minimum execution time: 21_741_000 picoseconds. + Weight::from_parts(22_272_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -501,8 +501,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `269` // Estimated: `3666` - // Minimum execution time: 26_700_000 picoseconds. - Weight::from_parts(27_592_000, 0) + // Minimum execution time: 27_020_000 picoseconds. + Weight::from_parts(27_521_000, 0) .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/altair/src/weights/pallet_elections_phragmen.rs b/runtime/altair/src/weights/pallet_elections_phragmen.rs index 09d236ab15..8e6ba1a923 100644 --- a/runtime/altair/src/weights/pallet_elections_phragmen.rs +++ b/runtime/altair/src/weights/pallet_elections_phragmen.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_elections_phragmen` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -49,11 +49,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `397 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 42_880_000 picoseconds. - Weight::from_parts(44_335_425, 0) + // Minimum execution time: 45_766_000 picoseconds. + Weight::from_parts(47_049_779, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 11_100 - .saturating_add(Weight::from_parts(110_463, 0).saturating_mul(v.into())) + // Standard Error: 9_976 + .saturating_add(Weight::from_parts(152_113, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) @@ -75,11 +75,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `366 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 61_185_000 picoseconds. - Weight::from_parts(62_561_326, 0) + // Minimum execution time: 65_413_000 picoseconds. + Weight::from_parts(66_686_953, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 15_990 - .saturating_add(Weight::from_parts(122_911, 0).saturating_mul(v.into())) + // Standard Error: 17_172 + .saturating_add(Weight::from_parts(141_651, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) @@ -101,11 +101,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `398 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 61_104_000 picoseconds. - Weight::from_parts(62_248_281, 0) + // Minimum execution time: 65_173_000 picoseconds. + Weight::from_parts(66_348_928, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 16_823 - .saturating_add(Weight::from_parts(194_270, 0).saturating_mul(v.into())) + // Standard Error: 17_934 + .saturating_add(Weight::from_parts(232_091, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) @@ -120,8 +120,8 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `568` // Estimated: `4764` - // Minimum execution time: 64_280_000 picoseconds. - Weight::from_parts(64_961_000, 0) + // Minimum execution time: 68_740_000 picoseconds. + Weight::from_parts(70_252_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -137,11 +137,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `1475 + c * (48 ±0)` // Estimated: `2960 + c * (48 ±0)` - // Minimum execution time: 46_096_000 picoseconds. - Weight::from_parts(47_421_484, 0) + // Minimum execution time: 49_002_000 picoseconds. + Weight::from_parts(50_158_093, 0) .saturating_add(Weight::from_parts(0, 2960)) - // Standard Error: 3_299 - .saturating_add(Weight::from_parts(84_931, 0).saturating_mul(c.into())) + // Standard Error: 2_741 + .saturating_add(Weight::from_parts(98_664, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into())) @@ -153,11 +153,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `318 + c * (48 ±0)` // Estimated: `1803 + c * (48 ±0)` - // Minimum execution time: 41_838_000 picoseconds. - Weight::from_parts(43_191_759, 0) + // Minimum execution time: 45_425_000 picoseconds. + Weight::from_parts(46_408_689, 0) .saturating_add(Weight::from_parts(0, 1803)) - // Standard Error: 2_606 - .saturating_add(Weight::from_parts(63_294, 0).saturating_mul(c.into())) + // Standard Error: 2_628 + .saturating_add(Weight::from_parts(73_603, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into())) @@ -176,8 +176,8 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `1655` // Estimated: `3140` - // Minimum execution time: 59_010_000 picoseconds. - Weight::from_parts(59_802_000, 0) + // Minimum execution time: 62_568_000 picoseconds. + Weight::from_parts(63_770_000, 0) .saturating_add(Weight::from_parts(0, 3140)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -188,8 +188,8 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `1023` // Estimated: `2508` - // Minimum execution time: 43_291_000 picoseconds. - Weight::from_parts(43_912_000, 0) + // Minimum execution time: 45_546_000 picoseconds. + Weight::from_parts(46_267_000, 0) .saturating_add(Weight::from_parts(0, 2508)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -220,8 +220,8 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `1758` // Estimated: `6196` - // Minimum execution time: 90_538_000 picoseconds. - Weight::from_parts(91_501_000, 0) + // Minimum execution time: 95_860_000 picoseconds. + Weight::from_parts(97_203_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) @@ -246,11 +246,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `1226 + v * (457 ±0)` // Estimated: `4528 + d * (1 ±0) + v * (3774 ±0)` - // Minimum execution time: 3_546_260_000 picoseconds. - Weight::from_parts(3_563_834_000, 0) + // Minimum execution time: 3_868_142_000 picoseconds. + Weight::from_parts(3_877_579_000, 0) .saturating_add(Weight::from_parts(0, 4528)) - // Standard Error: 282_378 - .saturating_add(Weight::from_parts(41_778_592, 0).saturating_mul(v.into())) + // Standard Error: 302_857 + .saturating_add(Weight::from_parts(45_086_130, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) @@ -282,15 +282,15 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0 + e * (23 ±0) + v * (241 ±0)` // Estimated: `9351 + c * (154 ±35) + e * (19 ±0) + v * (2526 ±2)` - // Minimum execution time: 312_173_000 picoseconds. - Weight::from_parts(313_886_000, 0) + // Minimum execution time: 326_914_000 picoseconds. + Weight::from_parts(328_347_000, 0) .saturating_add(Weight::from_parts(0, 9351)) - // Standard Error: 683_000 - .saturating_add(Weight::from_parts(2_432_199, 0).saturating_mul(c.into())) - // Standard Error: 135_867 - .saturating_add(Weight::from_parts(7_641_196, 0).saturating_mul(v.into())) - // Standard Error: 29_505 - .saturating_add(Weight::from_parts(186_463, 0).saturating_mul(e.into())) + // Standard Error: 649_623 + .saturating_add(Weight::from_parts(2_462_336, 0).saturating_mul(c.into())) + // Standard Error: 129_227 + .saturating_add(Weight::from_parts(7_589_292, 0).saturating_mul(v.into())) + // Standard Error: 28_063 + .saturating_add(Weight::from_parts(163_681, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(17)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes(7)) diff --git a/runtime/altair/src/weights/pallet_fees.rs b/runtime/altair/src/weights/pallet_fees.rs index a8d02ceef7..3819b181ed 100644 --- a/runtime/altair/src/weights/pallet_fees.rs +++ b/runtime/altair/src/weights/pallet_fees.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_fees` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -38,8 +38,8 @@ impl pallet_fees::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_863_000 picoseconds. - Weight::from_parts(12_243_000, 0) + // Minimum execution time: 12_884_000 picoseconds. + Weight::from_parts(13_476_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/altair/src/weights/pallet_identity.rs b/runtime/altair/src/weights/pallet_identity.rs index 4687808556..118596c4c5 100644 --- a/runtime/altair/src/weights/pallet_identity.rs +++ b/runtime/altair/src/weights/pallet_identity.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -39,11 +39,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `31 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 17_222_000 picoseconds. - Weight::from_parts(18_262_370, 0) + // Minimum execution time: 17_984_000 picoseconds. + Weight::from_parts(19_196_076, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 2_268 - .saturating_add(Weight::from_parts(101_954, 0).saturating_mul(r.into())) + // Standard Error: 2_244 + .saturating_add(Weight::from_parts(93_804, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -55,13 +55,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `441 + r * (5 ±0)` // Estimated: `11003` - // Minimum execution time: 45_976_000 picoseconds. - Weight::from_parts(45_222_385, 0) + // Minimum execution time: 48_391_000 picoseconds. + Weight::from_parts(47_441_350, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 4_660 - .saturating_add(Weight::from_parts(109_611, 0).saturating_mul(r.into())) - // Standard Error: 909 - .saturating_add(Weight::from_parts(760_628, 0).saturating_mul(x.into())) + // Standard Error: 4_632 + .saturating_add(Weight::from_parts(114_047, 0).saturating_mul(r.into())) + // Standard Error: 903 + .saturating_add(Weight::from_parts(796_229, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -76,11 +76,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `100` // Estimated: `11003 + s * (2589 ±0)` - // Minimum execution time: 13_035_000 picoseconds. - Weight::from_parts(34_324_276, 0) + // Minimum execution time: 13_385_000 picoseconds. + Weight::from_parts(35_012_175, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 6_069 - .saturating_add(Weight::from_parts(4_691_057, 0).saturating_mul(s.into())) + // Standard Error: 5_579 + .saturating_add(Weight::from_parts(5_033_322, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -98,11 +98,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `193 + p * (32 ±0)` // Estimated: `11003` - // Minimum execution time: 13_345_000 picoseconds. - Weight::from_parts(32_645_425, 0) + // Minimum execution time: 13_555_000 picoseconds. + Weight::from_parts(34_449_259, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 4_452 - .saturating_add(Weight::from_parts(1_871_182, 0).saturating_mul(p.into())) + // Standard Error: 4_793 + .saturating_add(Weight::from_parts(2_021_801, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) @@ -120,15 +120,15 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `468 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 85_560_000 picoseconds. - Weight::from_parts(44_337_341, 0) + // Minimum execution time: 88_256_000 picoseconds. + Weight::from_parts(47_087_223, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 9_376 - .saturating_add(Weight::from_parts(125_303, 0).saturating_mul(r.into())) - // Standard Error: 1_831 - .saturating_add(Weight::from_parts(1_851_480, 0).saturating_mul(s.into())) - // Standard Error: 1_831 - .saturating_add(Weight::from_parts(433_243, 0).saturating_mul(x.into())) + // Standard Error: 12_735 + .saturating_add(Weight::from_parts(206_434, 0).saturating_mul(r.into())) + // Standard Error: 2_487 + .saturating_add(Weight::from_parts(2_032_500, 0).saturating_mul(s.into())) + // Standard Error: 2_487 + .saturating_add(Weight::from_parts(405_404, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -143,13 +143,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `366 + r * (57 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 46_026_000 picoseconds. - Weight::from_parts(44_773_472, 0) + // Minimum execution time: 48_361_000 picoseconds. + Weight::from_parts(47_387_035, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 6_018 - .saturating_add(Weight::from_parts(125_658, 0).saturating_mul(r.into())) - // Standard Error: 1_174 - .saturating_add(Weight::from_parts(796_126, 0).saturating_mul(x.into())) + // Standard Error: 5_801 + .saturating_add(Weight::from_parts(89_565, 0).saturating_mul(r.into())) + // Standard Error: 1_132 + .saturating_add(Weight::from_parts(828_691, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -161,13 +161,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `397 + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 42_109_000 picoseconds. - Weight::from_parts(41_354_699, 0) + // Minimum execution time: 44_634_000 picoseconds. + Weight::from_parts(44_200_462, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 5_653 - .saturating_add(Weight::from_parts(81_780, 0).saturating_mul(r.into())) - // Standard Error: 1_103 - .saturating_add(Weight::from_parts(795_688, 0).saturating_mul(x.into())) + // Standard Error: 7_846 + .saturating_add(Weight::from_parts(66_743, 0).saturating_mul(r.into())) + // Standard Error: 1_531 + .saturating_add(Weight::from_parts(823_322, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -178,11 +178,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `88 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 10_479_000 picoseconds. - Weight::from_parts(11_267_415, 0) + // Minimum execution time: 10_800_000 picoseconds. + Weight::from_parts(11_560_340, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_847 - .saturating_add(Weight::from_parts(80_737, 0).saturating_mul(r.into())) + // Standard Error: 1_436 + .saturating_add(Weight::from_parts(65_728, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -193,11 +193,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `88 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 10_309_000 picoseconds. - Weight::from_parts(10_657_030, 0) + // Minimum execution time: 10_149_000 picoseconds. + Weight::from_parts(10_749_756, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 909 - .saturating_add(Weight::from_parts(69_053, 0).saturating_mul(r.into())) + // Standard Error: 1_211 + .saturating_add(Weight::from_parts(73_627, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -208,11 +208,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `88 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 9_879_000 picoseconds. - Weight::from_parts(10_169_035, 0) + // Minimum execution time: 9_828_000 picoseconds. + Weight::from_parts(10_486_472, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 755 - .saturating_add(Weight::from_parts(74_088, 0).saturating_mul(r.into())) + // Standard Error: 1_079 + .saturating_add(Weight::from_parts(56_775, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -226,13 +226,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `444 + r * (57 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 32_000_000 picoseconds. - Weight::from_parts(30_738_392, 0) + // Minimum execution time: 33_443_000 picoseconds. + Weight::from_parts(30_762_960, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 6_630 - .saturating_add(Weight::from_parts(117_196, 0).saturating_mul(r.into())) - // Standard Error: 1_226 - .saturating_add(Weight::from_parts(1_244_886, 0).saturating_mul(x.into())) + // Standard Error: 9_179 + .saturating_add(Weight::from_parts(151_014, 0).saturating_mul(r.into())) + // Standard Error: 1_698 + .saturating_add(Weight::from_parts(1_309_125, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -251,15 +251,15 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `797 + r * (15 ±0) + s * (32 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 112_120_000 picoseconds. - Weight::from_parts(69_223_779, 0) + // Minimum execution time: 117_871_000 picoseconds. + Weight::from_parts(76_587_113, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 9_575 - .saturating_add(Weight::from_parts(201_498, 0).saturating_mul(r.into())) - // Standard Error: 1_869 - .saturating_add(Weight::from_parts(1_879_123, 0).saturating_mul(s.into())) - // Standard Error: 1_869 - .saturating_add(Weight::from_parts(438_479, 0).saturating_mul(x.into())) + // Standard Error: 10_045 + .saturating_add(Weight::from_parts(179_445, 0).saturating_mul(r.into())) + // Standard Error: 1_961 + .saturating_add(Weight::from_parts(2_029_598, 0).saturating_mul(s.into())) + // Standard Error: 1_961 + .saturating_add(Weight::from_parts(433_828, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -275,11 +275,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `474 + s * (36 ±0)` // Estimated: `11003` - // Minimum execution time: 41_187_000 picoseconds. - Weight::from_parts(46_717_899, 0) + // Minimum execution time: 44_634_000 picoseconds. + Weight::from_parts(49_922_675, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 1_352 - .saturating_add(Weight::from_parts(70_294, 0).saturating_mul(s.into())) + // Standard Error: 1_300 + .saturating_add(Weight::from_parts(66_943, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -292,11 +292,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `590 + s * (3 ±0)` // Estimated: `11003` - // Minimum execution time: 17_603_000 picoseconds. - Weight::from_parts(19_733_471, 0) + // Minimum execution time: 18_374_000 picoseconds. + Weight::from_parts(20_536_491, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 568 - .saturating_add(Weight::from_parts(23_970, 0).saturating_mul(s.into())) + // Standard Error: 565 + .saturating_add(Weight::from_parts(18_611, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -311,11 +311,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `637 + s * (35 ±0)` // Estimated: `11003` - // Minimum execution time: 45_315_000 picoseconds. - Weight::from_parts(48_617_347, 0) + // Minimum execution time: 48_681_000 picoseconds. + Weight::from_parts(51_302_602, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 932 - .saturating_add(Weight::from_parts(58_477, 0).saturating_mul(s.into())) + // Standard Error: 890 + .saturating_add(Weight::from_parts(56_097, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -330,11 +330,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `770 + s * (37 ±0)` // Estimated: `6723` - // Minimum execution time: 34_043_000 picoseconds. - Weight::from_parts(36_065_633, 0) + // Minimum execution time: 35_296_000 picoseconds. + Weight::from_parts(37_766_079, 0) .saturating_add(Weight::from_parts(0, 6723)) - // Standard Error: 888 - .saturating_add(Weight::from_parts(66_065, 0).saturating_mul(s.into())) + // Standard Error: 809 + .saturating_add(Weight::from_parts(61_292, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/altair/src/weights/pallet_interest_accrual.rs b/runtime/altair/src/weights/pallet_interest_accrual.rs index aebe9b784e..26f0b0b783 100644 --- a/runtime/altair/src/weights/pallet_interest_accrual.rs +++ b/runtime/altair/src/weights/pallet_interest_accrual.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_interest_accrual` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -37,10 +37,10 @@ impl pallet_interest_accrual::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 752_000 picoseconds. - Weight::from_parts(222_073, 0) + // Minimum execution time: 692_000 picoseconds. + Weight::from_parts(224_143, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 230 - .saturating_add(Weight::from_parts(609_183, 0).saturating_mul(n.into())) + // Standard Error: 235 + .saturating_add(Weight::from_parts(587_336, 0).saturating_mul(n.into())) } } diff --git a/runtime/altair/src/weights/pallet_investments.rs b/runtime/altair/src/weights/pallet_investments.rs index ff03f6c7b0..7697fbc707 100644 --- a/runtime/altair/src/weights/pallet_investments.rs +++ b/runtime/altair/src/weights/pallet_investments.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_investments` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -52,8 +52,8 @@ impl pallet_investments::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2122` // Estimated: `6198` - // Minimum execution time: 98_664_000 picoseconds. - Weight::from_parts(100_347_000, 0) + // Minimum execution time: 102_202_000 picoseconds. + Weight::from_parts(103_535_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) @@ -78,8 +78,8 @@ impl pallet_investments::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2018` // Estimated: `6198` - // Minimum execution time: 98_023_000 picoseconds. - Weight::from_parts(99_757_000, 0) + // Minimum execution time: 101_270_000 picoseconds. + Weight::from_parts(102_953_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) @@ -105,11 +105,11 @@ impl pallet_investments::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2392 + n * (44 ±0)` // Estimated: `6198 + n * (2555 ±0)` - // Minimum execution time: 111_208_000 picoseconds. - Weight::from_parts(107_237_632, 0) + // Minimum execution time: 113_794_000 picoseconds. + Weight::from_parts(109_408_854, 0) .saturating_add(Weight::from_parts(0, 6198)) - // Standard Error: 31_193 - .saturating_add(Weight::from_parts(5_074_896, 0).saturating_mul(n.into())) + // Standard Error: 27_755 + .saturating_add(Weight::from_parts(5_251_523, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -136,11 +136,11 @@ impl pallet_investments::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2429 + n * (44 ±0)` // Estimated: `6198 + n * (2555 ±0)` - // Minimum execution time: 108_853_000 picoseconds. - Weight::from_parts(105_043_278, 0) + // Minimum execution time: 111_810_000 picoseconds. + Weight::from_parts(107_373_697, 0) .saturating_add(Weight::from_parts(0, 6198)) - // Standard Error: 23_021 - .saturating_add(Weight::from_parts(5_045_104, 0).saturating_mul(n.into())) + // Standard Error: 21_896 + .saturating_add(Weight::from_parts(5_295_761, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(4)) diff --git a/runtime/altair/src/weights/pallet_keystore.rs b/runtime/altair/src/weights/pallet_keystore.rs index 38d3127099..fecb66d1d2 100644 --- a/runtime/altair/src/weights/pallet_keystore.rs +++ b/runtime/altair/src/weights/pallet_keystore.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_keystore` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -45,11 +45,11 @@ impl pallet_keystore::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `250` // Estimated: `3593 + n * (2595 ±0)` - // Minimum execution time: 45_525_000 picoseconds. - Weight::from_parts(19_498_368, 0) + // Minimum execution time: 46_918_000 picoseconds. + Weight::from_parts(19_221_192, 0) .saturating_add(Weight::from_parts(0, 3593)) - // Standard Error: 9_798 - .saturating_add(Weight::from_parts(27_482_748, 0).saturating_mul(n.into())) + // Standard Error: 17_991 + .saturating_add(Weight::from_parts(29_077_517, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -63,11 +63,11 @@ impl pallet_keystore::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `148 + n * (75 ±0)` // Estimated: `990 + n * (2595 ±0)` - // Minimum execution time: 22_131_000 picoseconds. - Weight::from_parts(10_374_711, 0) + // Minimum execution time: 22_933_000 picoseconds. + Weight::from_parts(10_256_118, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 12_701 - .saturating_add(Weight::from_parts(13_147_071, 0).saturating_mul(n.into())) + // Standard Error: 12_762 + .saturating_add(Weight::from_parts(13_843_760, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 2595).saturating_mul(n.into())) @@ -78,8 +78,8 @@ impl pallet_keystore::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_141_000 picoseconds. - Weight::from_parts(11_672_000, 0) + // Minimum execution time: 11_953_000 picoseconds. + Weight::from_parts(12_383_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/altair/src/weights/pallet_liquidity_rewards.rs b/runtime/altair/src/weights/pallet_liquidity_rewards.rs index e2ee7b9015..a0a8a8dd0e 100644 --- a/runtime/altair/src/weights/pallet_liquidity_rewards.rs +++ b/runtime/altair/src/weights/pallet_liquidity_rewards.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_liquidity_rewards` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -39,17 +39,19 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf /// The range of component `x` is `[0, 20]`. /// The range of component `y` is `[0, 50]`. /// The range of component `z` is `[0, 50]`. - fn on_initialize(x: u32, _y: u32, z: u32, ) -> Weight { + fn on_initialize(x: u32, y: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `295` // Estimated: `1493` - // Minimum execution time: 9_017_000 picoseconds. - Weight::from_parts(9_505_613, 0) + // Minimum execution time: 9_157_000 picoseconds. + Weight::from_parts(9_685_142, 0) .saturating_add(Weight::from_parts(0, 1493)) - // Standard Error: 592 - .saturating_add(Weight::from_parts(653, 0).saturating_mul(x.into())) - // Standard Error: 242 - .saturating_add(Weight::from_parts(9_507, 0).saturating_mul(z.into())) + // Standard Error: 571 + .saturating_add(Weight::from_parts(2_972, 0).saturating_mul(x.into())) + // Standard Error: 234 + .saturating_add(Weight::from_parts(934, 0).saturating_mul(y.into())) + // Standard Error: 234 + .saturating_add(Weight::from_parts(9_504, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) } /// Storage: LiquidityRewardsBase Currency (r:1 w:1) @@ -66,8 +68,8 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `539` // Estimated: `4328` - // Minimum execution time: 39_524_000 picoseconds. - Weight::from_parts(40_296_000, 0) + // Minimum execution time: 41_418_000 picoseconds. + Weight::from_parts(42_219_000, 0) .saturating_add(Weight::from_parts(0, 4328)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) @@ -82,8 +84,8 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `176` // Estimated: `4328` - // Minimum execution time: 27_091_000 picoseconds. - Weight::from_parts(27_852_000, 0) + // Minimum execution time: 28_353_000 picoseconds. + Weight::from_parts(29_225_000, 0) .saturating_add(Weight::from_parts(0, 4328)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -100,8 +102,8 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `449` // Estimated: `4328` - // Minimum execution time: 55_834_000 picoseconds. - Weight::from_parts(56_726_000, 0) + // Minimum execution time: 59_472_000 picoseconds. + Weight::from_parts(60_865_000, 0) .saturating_add(Weight::from_parts(0, 4328)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -112,8 +114,8 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `142` // Estimated: `3563` - // Minimum execution time: 8_687_000 picoseconds. - Weight::from_parts(9_087_000, 0) + // Minimum execution time: 8_967_000 picoseconds. + Weight::from_parts(9_377_000, 0) .saturating_add(Weight::from_parts(0, 3563)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -124,8 +126,8 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `142` // Estimated: `3563` - // Minimum execution time: 8_776_000 picoseconds. - Weight::from_parts(8_987_000, 0) + // Minimum execution time: 8_836_000 picoseconds. + Weight::from_parts(9_278_000, 0) .saturating_add(Weight::from_parts(0, 3563)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -136,8 +138,8 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `142` // Estimated: `3563` - // Minimum execution time: 8_997_000 picoseconds. - Weight::from_parts(9_238_000, 0) + // Minimum execution time: 9_458_000 picoseconds. + Weight::from_parts(9_608_000, 0) .saturating_add(Weight::from_parts(0, 3563)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -148,8 +150,8 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `142` // Estimated: `3563` - // Minimum execution time: 9_217_000 picoseconds. - Weight::from_parts(9_538_000, 0) + // Minimum execution time: 9_348_000 picoseconds. + Weight::from_parts(9_628_000, 0) .saturating_add(Weight::from_parts(0, 3563)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/altair/src/weights/pallet_loans.rs b/runtime/altair/src/weights/pallet_loans.rs index a8f6f84489..3dab649919 100644 --- a/runtime/altair/src/weights/pallet_loans.rs +++ b/runtime/altair/src/weights/pallet_loans.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_loans` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -54,8 +54,8 @@ impl pallet_loans::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1195` // Estimated: `4278` - // Minimum execution time: 80_781_000 picoseconds. - Weight::from_parts(82_094_000, 0) + // Minimum execution time: 83_587_000 picoseconds. + Weight::from_parts(85_240_000, 0) .saturating_add(Weight::from_parts(0, 4278)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) @@ -69,9 +69,9 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: InterestAccrual LastUpdated (r:1 w:0) /// Proof: InterestAccrual LastUpdated (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:1) - /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(7250), added: 9725, mode: MaxEncodedLen) + /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(111626), added: 114101, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:1) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: OrmlTokens Accounts (r:2 w:2) @@ -84,20 +84,20 @@ impl pallet_loans::WeightInfo for WeightInfo { fn borrow(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `13046 + n * (340 ±0)` - // Estimated: `115091 + n * (340 ±0)` - // Minimum execution time: 183_092_000 picoseconds. - Weight::from_parts(187_007_372, 0) - .saturating_add(Weight::from_parts(0, 115091)) - // Standard Error: 22_869 - .saturating_add(Weight::from_parts(565_198, 0).saturating_mul(n.into())) + // Estimated: `375491 + n * (340 ±0)` + // Minimum execution time: 188_133_000 picoseconds. + Weight::from_parts(191_809_796, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 22_907 + .saturating_add(Weight::from_parts(748_544, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(7)) .saturating_add(Weight::from_parts(0, 340).saturating_mul(n.into())) } /// Storage: Loans PortfolioValuation (r:1 w:1) - /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(7250), added: 9725, mode: MaxEncodedLen) + /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(111626), added: 114101, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: InterestAccrual Rates (r:1 w:0) @@ -116,20 +116,20 @@ impl pallet_loans::WeightInfo for WeightInfo { fn repay(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `13199 + n * (340 ±0)` - // Estimated: `115091 + n * (340 ±0)` - // Minimum execution time: 159_899_000 picoseconds. - Weight::from_parts(161_791_860, 0) - .saturating_add(Weight::from_parts(0, 115091)) - // Standard Error: 19_241 - .saturating_add(Weight::from_parts(710_874, 0).saturating_mul(n.into())) + // Estimated: `375491 + n * (340 ±0)` + // Minimum execution time: 165_481_000 picoseconds. + Weight::from_parts(167_736_317, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 13_300 + .saturating_add(Weight::from_parts(592_762, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(Weight::from_parts(0, 340).saturating_mul(n.into())) } /// Storage: Loans PortfolioValuation (r:1 w:1) - /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(7250), added: 9725, mode: MaxEncodedLen) + /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(111626), added: 114101, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: Loans WriteOffPolicy (r:1 w:0) /// Proof: Loans WriteOffPolicy (max_values: None, max_size: Some(5126), added: 7601, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) @@ -142,21 +142,21 @@ impl pallet_loans::WeightInfo for WeightInfo { fn write_off(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `15906 + n * (340 ±0)` - // Estimated: `115091` - // Minimum execution time: 249_296_000 picoseconds. - Weight::from_parts(255_236_620, 0) - .saturating_add(Weight::from_parts(0, 115091)) - // Standard Error: 42_964 - .saturating_add(Weight::from_parts(364_111, 0).saturating_mul(n.into())) + // Estimated: `375491` + // Minimum execution time: 269_847_000 picoseconds. + Weight::from_parts(274_204_051, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 22_816 + .saturating_add(Weight::from_parts(432_521, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Permissions Permission (r:1 w:0) /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:1) - /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(7250), added: 9725, mode: MaxEncodedLen) + /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(111626), added: 114101, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: Loans WriteOffPolicy (r:1 w:0) /// Proof: Loans WriteOffPolicy (max_values: None, max_size: Some(5126), added: 7601, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) @@ -169,44 +169,44 @@ impl pallet_loans::WeightInfo for WeightInfo { fn admin_write_off(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `16157 + n * (340 ±0)` - // Estimated: `115091` - // Minimum execution time: 267_920_000 picoseconds. - Weight::from_parts(271_975_826, 0) - .saturating_add(Weight::from_parts(0, 115091)) - // Standard Error: 31_380 - .saturating_add(Weight::from_parts(566_396, 0).saturating_mul(n.into())) + // Estimated: `375491` + // Minimum execution time: 285_956_000 picoseconds. + Weight::from_parts(289_862_120, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 23_319 + .saturating_add(Weight::from_parts(554_477, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Permissions Permission (r:1 w:0) /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:0) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(111626), added: 114101, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: PoolSystem NotedChange (r:0 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) /// The range of component `n` is `[1, 9]`. fn propose_loan_mutation(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `938 + n * (316 ±0)` - // Estimated: `115091` - // Minimum execution time: 43_882_000 picoseconds. - Weight::from_parts(44_577_524, 0) - .saturating_add(Weight::from_parts(0, 115091)) - // Standard Error: 5_933 - .saturating_add(Weight::from_parts(571_089, 0).saturating_mul(n.into())) + // Estimated: `375491` + // Minimum execution time: 45_665_000 picoseconds. + Weight::from_parts(45_972_269, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 6_052 + .saturating_add(Weight::from_parts(533_126, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: PoolSystem NotedChange (r:1 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:1) - /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(7250), added: 9725, mode: MaxEncodedLen) + /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(111626), added: 114101, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: InterestAccrual Rates (r:1 w:0) @@ -217,21 +217,21 @@ impl pallet_loans::WeightInfo for WeightInfo { fn apply_loan_mutation(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `12242 + n * (340 ±0)` - // Estimated: `115091` - // Minimum execution time: 88_976_000 picoseconds. - Weight::from_parts(89_968_234, 0) - .saturating_add(Weight::from_parts(0, 115091)) - // Standard Error: 10_038 - .saturating_add(Weight::from_parts(633_860, 0).saturating_mul(n.into())) + // Estimated: `375491` + // Minimum execution time: 90_289_000 picoseconds. + Weight::from_parts(91_278_745, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 9_175 + .saturating_add(Weight::from_parts(632_047, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Loans CreatedLoan (r:1 w:0) /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(111626), added: 114101, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:1) - /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(7250), added: 9725, mode: MaxEncodedLen) + /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) /// Storage: InterestAccrual Rates (r:1 w:1) /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(10802), added: 11297, mode: MaxEncodedLen) /// Storage: Uniques Class (r:1 w:0) @@ -248,12 +248,12 @@ impl pallet_loans::WeightInfo for WeightInfo { fn close(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `12102 + n * (373 ±0)` - // Estimated: `115091` - // Minimum execution time: 98_454_000 picoseconds. - Weight::from_parts(100_170_475, 0) - .saturating_add(Weight::from_parts(0, 115091)) - // Standard Error: 12_592 - .saturating_add(Weight::from_parts(738_040, 0).saturating_mul(n.into())) + // Estimated: `375491` + // Minimum execution time: 101_341_000 picoseconds. + Weight::from_parts(102_705_712, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 9_474 + .saturating_add(Weight::from_parts(658_589, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -264,19 +264,19 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: PoolSystem NotedChange (r:0 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) fn propose_write_off_policy() -> Weight { // Proof Size summary in bytes: // Measured: `478` // Estimated: `4278` - // Minimum execution time: 102_100_000 picoseconds. - Weight::from_parts(103_984_000, 0) + // Minimum execution time: 106_640_000 picoseconds. + Weight::from_parts(108_834_000, 0) .saturating_add(Weight::from_parts(0, 4278)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: PoolSystem NotedChange (r:1 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: Loans WriteOffPolicy (r:0 w:1) @@ -284,10 +284,10 @@ impl pallet_loans::WeightInfo for WeightInfo { fn apply_write_off_policy() -> Weight { // Proof Size summary in bytes: // Measured: `4854` - // Estimated: `9601` - // Minimum execution time: 113_452_000 picoseconds. - Weight::from_parts(115_064_000, 0) - .saturating_add(Weight::from_parts(0, 9601)) + // Estimated: `8649` + // Minimum execution time: 117_761_000 picoseconds. + Weight::from_parts(119_634_000, 0) + .saturating_add(Weight::from_parts(0, 8649)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -296,32 +296,32 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: InterestAccrual Rates (r:1 w:0) /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(10802), added: 11297, mode: MaxEncodedLen) /// Storage: OraclePriceCollection Collection (r:1 w:0) - /// Proof: OraclePriceCollection Collection (max_values: None, max_size: Some(22542), added: 25017, mode: MaxEncodedLen) + /// Proof: OraclePriceCollection Collection (max_values: None, max_size: Some(7542), added: 10017, mode: MaxEncodedLen) /// Storage: OraclePriceCollection CollectionInfo (r:1 w:0) - /// Proof: OraclePriceCollection CollectionInfo (max_values: None, max_size: Some(6078), added: 8553, mode: MaxEncodedLen) + /// Proof: OraclePriceCollection CollectionInfo (max_values: None, max_size: Some(3058), added: 5533, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:0) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(111626), added: 114101, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:0 w:1) - /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(7250), added: 9725, mode: MaxEncodedLen) + /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) /// The range of component `n` is `[1, 10]`. fn update_portfolio_valuation(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `11791 + n * (353 ±0)` - // Estimated: `115091` - // Minimum execution time: 80_821_000 picoseconds. - Weight::from_parts(73_336_401, 0) - .saturating_add(Weight::from_parts(0, 115091)) - // Standard Error: 10_134 - .saturating_add(Weight::from_parts(9_816_446, 0).saturating_mul(n.into())) + // Estimated: `375491` + // Minimum execution time: 82_074_000 picoseconds. + Weight::from_parts(73_837_079, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 8_940 + .saturating_add(Weight::from_parts(9_891_285, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Loans PortfolioValuation (r:1 w:0) - /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(7250), added: 9725, mode: MaxEncodedLen) + /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:0) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(111626), added: 114101, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: InterestAccrual Rates (r:1 w:0) @@ -331,28 +331,28 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: Loans CreatedLoan (r:1 w:0) /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, mode: MaxEncodedLen) /// Storage: PoolSystem NotedChange (r:0 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) /// The range of component `n` is `[2, 8]`. fn propose_transfer_debt(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `11909 + n * (340 ±0)` - // Estimated: `115091` - // Minimum execution time: 183_823_000 picoseconds. - Weight::from_parts(185_452_439, 0) - .saturating_add(Weight::from_parts(0, 115091)) - // Standard Error: 28_918 - .saturating_add(Weight::from_parts(1_126_373, 0).saturating_mul(n.into())) + // Estimated: `375491` + // Minimum execution time: 188_443_000 picoseconds. + Weight::from_parts(189_833_206, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 25_559 + .saturating_add(Weight::from_parts(1_093_689, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: PoolSystem NotedChange (r:1 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:1) - /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(7250), added: 9725, mode: MaxEncodedLen) + /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(111626), added: 114101, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: InterestAccrual Rates (r:1 w:1) @@ -365,12 +365,12 @@ impl pallet_loans::WeightInfo for WeightInfo { fn apply_transfer_debt(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `12570 + n * (340 ±0)` - // Estimated: `115091` - // Minimum execution time: 192_009_000 picoseconds. - Weight::from_parts(194_589_072, 0) - .saturating_add(Weight::from_parts(0, 115091)) - // Standard Error: 25_719 - .saturating_add(Weight::from_parts(983_934, 0).saturating_mul(n.into())) + // Estimated: `375491` + // Minimum execution time: 196_158_000 picoseconds. + Weight::from_parts(197_046_349, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 22_399 + .saturating_add(Weight::from_parts(1_283_811, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -383,19 +383,19 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: InterestAccrual LastUpdated (r:1 w:0) /// Proof: InterestAccrual LastUpdated (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:1) - /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(7250), added: 9725, mode: MaxEncodedLen) + /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(111626), added: 114101, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// The range of component `n` is `[1, 9]`. fn increase_debt(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `11569 + n * (340 ±0)` - // Estimated: `115091` - // Minimum execution time: 114_634_000 picoseconds. - Weight::from_parts(117_574_773, 0) - .saturating_add(Weight::from_parts(0, 115091)) - // Standard Error: 14_137 - .saturating_add(Weight::from_parts(696_651, 0).saturating_mul(n.into())) + // Estimated: `375491` + // Minimum execution time: 118_162_000 picoseconds. + Weight::from_parts(120_329_148, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 12_594 + .saturating_add(Weight::from_parts(662_691, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) } diff --git a/runtime/altair/src/weights/pallet_multisig.rs b/runtime/altair/src/weights/pallet_multisig.rs index 6d436b904e..eef580e362 100644 --- a/runtime/altair/src/weights/pallet_multisig.rs +++ b/runtime/altair/src/weights/pallet_multisig.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -37,11 +37,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 16_741_000 picoseconds. - Weight::from_parts(17_448_880, 0) + // Minimum execution time: 16_460_000 picoseconds. + Weight::from_parts(17_330_672, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 3 - .saturating_add(Weight::from_parts(471, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(558, 0).saturating_mul(z.into())) } /// Storage: Multisig Multisigs (r:1 w:1) /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) @@ -51,13 +51,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `334 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 55_213_000 picoseconds. - Weight::from_parts(49_310_081, 0) + // Minimum execution time: 58_439_000 picoseconds. + Weight::from_parts(52_997_207, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 1_126 - .saturating_add(Weight::from_parts(81_924, 0).saturating_mul(s.into())) - // Standard Error: 11 - .saturating_add(Weight::from_parts(1_500, 0).saturating_mul(z.into())) + // Standard Error: 787 + .saturating_add(Weight::from_parts(75_612, 0).saturating_mul(s.into())) + // Standard Error: 7 + .saturating_add(Weight::from_parts(1_512, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -69,13 +69,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `315` // Estimated: `6811` - // Minimum execution time: 34_214_000 picoseconds. - Weight::from_parts(28_772_451, 0) + // Minimum execution time: 35_397_000 picoseconds. + Weight::from_parts(29_031_825, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 636 - .saturating_add(Weight::from_parts(72_591, 0).saturating_mul(s.into())) - // Standard Error: 6 - .saturating_add(Weight::from_parts(1_484, 0).saturating_mul(z.into())) + // Standard Error: 481 + .saturating_add(Weight::from_parts(75_928, 0).saturating_mul(s.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_588, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -89,13 +89,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `456 + s * (33 ±0)` // Estimated: `6811` - // Minimum execution time: 63_499_000 picoseconds. - Weight::from_parts(53_659_557, 0) + // Minimum execution time: 66_395_000 picoseconds. + Weight::from_parts(55_902_022, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 943 - .saturating_add(Weight::from_parts(113_737, 0).saturating_mul(s.into())) - // Standard Error: 9 - .saturating_add(Weight::from_parts(1_560, 0).saturating_mul(z.into())) + // Standard Error: 635 + .saturating_add(Weight::from_parts(113_333, 0).saturating_mul(s.into())) + // Standard Error: 6 + .saturating_add(Weight::from_parts(1_646, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -106,11 +106,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `334 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 45_655_000 picoseconds. - Weight::from_parts(47_157_099, 0) + // Minimum execution time: 48_711_000 picoseconds. + Weight::from_parts(49_779_996, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 728 - .saturating_add(Weight::from_parts(80_363, 0).saturating_mul(s.into())) + // Standard Error: 761 + .saturating_add(Weight::from_parts(79_890, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -121,11 +121,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `315` // Estimated: `6811` - // Minimum execution time: 25_207_000 picoseconds. - Weight::from_parts(26_149_263, 0) + // Minimum execution time: 26_310_000 picoseconds. + Weight::from_parts(26_950_692, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 1_749 - .saturating_add(Weight::from_parts(75_702, 0).saturating_mul(s.into())) + // Standard Error: 624 + .saturating_add(Weight::from_parts(75_150, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -136,11 +136,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `520 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 45_936_000 picoseconds. - Weight::from_parts(47_420_356, 0) + // Minimum execution time: 48_782_000 picoseconds. + Weight::from_parts(49_680_127, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 1_089 - .saturating_add(Weight::from_parts(75_987, 0).saturating_mul(s.into())) + // Standard Error: 673 + .saturating_add(Weight::from_parts(79_663, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/altair/src/weights/pallet_oracle_collection.rs b/runtime/altair/src/weights/pallet_oracle_collection.rs index 21bf90d5a5..f71935825b 100644 --- a/runtime/altair/src/weights/pallet_oracle_collection.rs +++ b/runtime/altair/src/weights/pallet_oracle_collection.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_oracle_collection` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -37,73 +37,73 @@ impl pallet_oracle_collection::WeightInfo for WeightInf /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: PoolSystem NotedChange (r:0 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) - /// The range of component `n` is `[1, 10]`. + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 5]`. fn propose_update_collection_info(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `222` // Estimated: `3693` - // Minimum execution time: 28_363_000 picoseconds. - Weight::from_parts(27_830_005, 0) + // Minimum execution time: 29_555_000 picoseconds. + Weight::from_parts(29_106_737, 0) .saturating_add(Weight::from_parts(0, 3693)) - // Standard Error: 5_582 - .saturating_add(Weight::from_parts(1_624_328, 0).saturating_mul(n.into())) + // Standard Error: 8_606 + .saturating_add(Weight::from_parts(1_527_386, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: PoolSystem NotedChange (r:1 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: OraclePriceCollection Collection (r:0 w:1) - /// Proof: OraclePriceCollection Collection (max_values: None, max_size: Some(22542), added: 25017, mode: MaxEncodedLen) + /// Proof: OraclePriceCollection Collection (max_values: None, max_size: Some(7542), added: 10017, mode: MaxEncodedLen) /// Storage: OraclePriceCollection CollectionInfo (r:0 w:1) - /// Proof: OraclePriceCollection CollectionInfo (max_values: None, max_size: Some(6078), added: 8553, mode: MaxEncodedLen) - /// The range of component `n` is `[1, 10]`. + /// Proof: OraclePriceCollection CollectionInfo (max_values: None, max_size: Some(3058), added: 5533, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 5]`. fn apply_update_collection_info(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `658 + n * (34 ±0)` - // Estimated: `9601` - // Minimum execution time: 35_096_000 picoseconds. - Weight::from_parts(34_582_246, 0) - .saturating_add(Weight::from_parts(0, 9601)) - // Standard Error: 6_355 - .saturating_add(Weight::from_parts(1_674_784, 0).saturating_mul(n.into())) + // Measured: `657 + n * (34 ±0)` + // Estimated: `8649` + // Minimum execution time: 35_506_000 picoseconds. + Weight::from_parts(35_372_352, 0) + .saturating_add(Weight::from_parts(0, 8649)) + // Standard Error: 8_838 + .saturating_add(Weight::from_parts(1_595_845, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: OraclePriceCollection Keys (r:11 w:0) + /// Storage: OraclePriceCollection Keys (r:101 w:0) /// Proof: OraclePriceCollection Keys (max_values: None, max_size: Some(95), added: 2570, mode: MaxEncodedLen) /// Storage: OraclePriceCollection CollectionInfo (r:1 w:0) - /// Proof: OraclePriceCollection CollectionInfo (max_values: None, max_size: Some(6078), added: 8553, mode: MaxEncodedLen) - /// Storage: OraclePriceFeed FedValues (r:100 w:0) + /// Proof: OraclePriceCollection CollectionInfo (max_values: None, max_size: Some(3058), added: 5533, mode: MaxEncodedLen) + /// Storage: OraclePriceFeed FedValues (r:500 w:0) /// Proof: OraclePriceFeed FedValues (max_values: None, max_size: Some(711), added: 3186, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) /// Storage: OraclePriceCollection Collection (r:0 w:1) - /// Proof: OraclePriceCollection Collection (max_values: None, max_size: Some(22542), added: 25017, mode: MaxEncodedLen) - /// The range of component `n` is `[1, 10]`. - /// The range of component `m` is `[1, 10]`. + /// Proof: OraclePriceCollection Collection (max_values: None, max_size: Some(7542), added: 10017, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 5]`. + /// The range of component `m` is `[1, 100]`. fn update_collection(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + m * (607 ±0) + n * (663 ±0)` - // Estimated: `32850 + m * (9227 ±7) + n * (9227 ±7)` - // Minimum execution time: 245_178_000 picoseconds. - Weight::from_parts(247_392_000, 0) - .saturating_add(Weight::from_parts(0, 32850)) - // Standard Error: 3_127_409 - .saturating_add(Weight::from_parts(94_348_001, 0).saturating_mul(n.into())) - // Standard Error: 3_127_409 - .saturating_add(Weight::from_parts(57_593_710, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(16)) - .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(m.into()))) + // Measured: `0 + m * (326 ±0) + n * (5851 ±0)` + // Estimated: `16920 + m * (6039 ±0) + n * (100600 ±3_323)` + // Minimum execution time: 165_330_000 picoseconds. + Weight::from_parts(166_182_000, 0) + .saturating_add(Weight::from_parts(0, 16920)) + // Standard Error: 22_542_608 + .saturating_add(Weight::from_parts(713_580_761, 0).saturating_mul(n.into())) + // Standard Error: 1_116_560 + .saturating_add(Weight::from_parts(36_976_362, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().reads((31_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(m.into()))) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 9227).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 9227).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 6039).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 100600).saturating_mul(n.into())) } } diff --git a/runtime/altair/src/weights/pallet_oracle_feed.rs b/runtime/altair/src/weights/pallet_oracle_feed.rs index 89d1da9a8e..c2bb3f04d2 100644 --- a/runtime/altair/src/weights/pallet_oracle_feed.rs +++ b/runtime/altair/src/weights/pallet_oracle_feed.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_oracle_feed` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -42,8 +42,8 @@ impl pallet_oracle_feed::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `354` // Estimated: `4176` - // Minimum execution time: 65_012_000 picoseconds. - Weight::from_parts(66_424_000, 0) + // Minimum execution time: 68_549_000 picoseconds. + Weight::from_parts(70_262_000, 0) .saturating_add(Weight::from_parts(0, 4176)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -56,8 +56,8 @@ impl pallet_oracle_feed::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `380` // Estimated: `4176` - // Minimum execution time: 22_873_000 picoseconds. - Weight::from_parts(23_454_000, 0) + // Minimum execution time: 23_885_000 picoseconds. + Weight::from_parts(24_597_000, 0) .saturating_add(Weight::from_parts(0, 4176)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/altair/src/weights/pallet_order_book.rs b/runtime/altair/src/weights/pallet_order_book.rs index 019ee8823e..576731ae8c 100644 --- a/runtime/altair/src/weights/pallet_order_book.rs +++ b/runtime/altair/src/weights/pallet_order_book.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_order_book` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -46,8 +46,8 @@ impl pallet_order_book::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `709` // Estimated: `4174` - // Minimum execution time: 53_059_000 picoseconds. - Weight::from_parts(54_242_000, 0) + // Minimum execution time: 55_925_000 picoseconds. + Weight::from_parts(56_907_000, 0) .saturating_add(Weight::from_parts(0, 4174)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) @@ -62,8 +62,8 @@ impl pallet_order_book::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `913` // Estimated: `4378` - // Minimum execution time: 48_220_000 picoseconds. - Weight::from_parts(49_362_000, 0) + // Minimum execution time: 51_047_000 picoseconds. + Weight::from_parts(51_417_000, 0) .saturating_add(Weight::from_parts(0, 4378)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -80,8 +80,8 @@ impl pallet_order_book::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `913` // Estimated: `4378` - // Minimum execution time: 51_175_000 picoseconds. - Weight::from_parts(52_337_000, 0) + // Minimum execution time: 53_310_000 picoseconds. + Weight::from_parts(54_232_000, 0) .saturating_add(Weight::from_parts(0, 4378)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -106,8 +106,8 @@ impl pallet_order_book::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1665` // Estimated: `11406` - // Minimum execution time: 167_212_000 picoseconds. - Weight::from_parts(169_547_000, 0) + // Minimum execution time: 172_604_000 picoseconds. + Weight::from_parts(175_290_000, 0) .saturating_add(Weight::from_parts(0, 11406)) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(8)) @@ -118,8 +118,8 @@ impl pallet_order_book::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_864_000 picoseconds. - Weight::from_parts(13_205_000, 0) + // Minimum execution time: 13_405_000 picoseconds. + Weight::from_parts(13_706_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/altair/src/weights/pallet_permissions.rs b/runtime/altair/src/weights/pallet_permissions.rs index 097ac8359e..b7270da4a7 100644 --- a/runtime/altair/src/weights/pallet_permissions.rs +++ b/runtime/altair/src/weights/pallet_permissions.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_permissions` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -40,8 +40,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3` // Estimated: `3693` - // Minimum execution time: 20_789_000 picoseconds. - Weight::from_parts(21_510_000, 0) + // Minimum execution time: 21_561_000 picoseconds. + Weight::from_parts(22_312_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -54,8 +54,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `162` // Estimated: `6396` - // Minimum execution time: 28_764_000 picoseconds. - Weight::from_parts(29_284_000, 0) + // Minimum execution time: 29_095_000 picoseconds. + Weight::from_parts(29_876_000, 0) .saturating_add(Weight::from_parts(0, 6396)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -68,8 +68,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3693` - // Minimum execution time: 24_646_000 picoseconds. - Weight::from_parts(25_477_000, 0) + // Minimum execution time: 25_067_000 picoseconds. + Weight::from_parts(25_979_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -82,8 +82,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `256` // Estimated: `6396` - // Minimum execution time: 30_927_000 picoseconds. - Weight::from_parts(31_639_000, 0) + // Minimum execution time: 31_639_000 picoseconds. + Weight::from_parts(32_441_000, 0) .saturating_add(Weight::from_parts(0, 6396)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -94,8 +94,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `146` // Estimated: `3693` - // Minimum execution time: 21_620_000 picoseconds. - Weight::from_parts(22_402_000, 0) + // Minimum execution time: 21_851_000 picoseconds. + Weight::from_parts(22_432_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -106,8 +106,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `146` // Estimated: `3693` - // Minimum execution time: 21_570_000 picoseconds. - Weight::from_parts(22_362_000, 0) + // Minimum execution time: 22_372_000 picoseconds. + Weight::from_parts(22_683_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/altair/src/weights/pallet_pool_fees.rs b/runtime/altair/src/weights/pallet_pool_fees.rs index b9e19fe40f..3d60170c98 100644 --- a/runtime/altair/src/weights/pallet_pool_fees.rs +++ b/runtime/altair/src/weights/pallet_pool_fees.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_pool_fees` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -41,13 +41,13 @@ impl pallet_pool_fees::WeightInfo for WeightInfo { /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: PoolSystem NotedChange (r:0 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) fn propose_new_fee() -> Weight { // Proof Size summary in bytes: // Measured: `548` // Estimated: `4278` - // Minimum execution time: 42_239_000 picoseconds. - Weight::from_parts(42_760_000, 0) + // Minimum execution time: 43_652_000 picoseconds. + Weight::from_parts(44_444_000, 0) .saturating_add(Weight::from_parts(0, 4278)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -55,7 +55,7 @@ impl pallet_pool_fees::WeightInfo for WeightInfo { /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: PoolSystem NotedChange (r:1 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) /// Storage: PoolFees FeeIdsToPoolBucket (r:1 w:1) /// Proof: PoolFees FeeIdsToPoolBucket (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) /// Storage: PoolFees FeeIds (r:1 w:1) @@ -67,11 +67,11 @@ impl pallet_pool_fees::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1362 + n * (137 ±0)` // Estimated: `17508` - // Minimum execution time: 54_341_000 picoseconds. - Weight::from_parts(54_987_622, 0) + // Minimum execution time: 55_645_000 picoseconds. + Weight::from_parts(56_508_588, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 2_107 - .saturating_add(Weight::from_parts(286_878, 0).saturating_mul(n.into())) + // Standard Error: 2_096 + .saturating_add(Weight::from_parts(277_336, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -86,11 +86,11 @@ impl pallet_pool_fees::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `676 + n * (136 ±0)` // Estimated: `17508` - // Minimum execution time: 36_749_000 picoseconds. - Weight::from_parts(37_500_480, 0) + // Minimum execution time: 37_951_000 picoseconds. + Weight::from_parts(38_599_094, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 3_499 - .saturating_add(Weight::from_parts(415_630, 0).saturating_mul(n.into())) + // Standard Error: 3_366 + .saturating_add(Weight::from_parts(412_182, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -103,11 +103,11 @@ impl pallet_pool_fees::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `762 + n * (129 ±0)` // Estimated: `17508` - // Minimum execution time: 26_921_000 picoseconds. - Weight::from_parts(26_483_196, 0) + // Minimum execution time: 27_703_000 picoseconds. + Weight::from_parts(27_482_913, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 2_137 - .saturating_add(Weight::from_parts(268_066, 0).saturating_mul(n.into())) + // Standard Error: 2_076 + .saturating_add(Weight::from_parts(256_479, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -120,11 +120,11 @@ impl pallet_pool_fees::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `762 + n * (129 ±0)` // Estimated: `17508` - // Minimum execution time: 26_349_000 picoseconds. - Weight::from_parts(25_777_665, 0) + // Minimum execution time: 27_111_000 picoseconds. + Weight::from_parts(26_637_232, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 2_116 - .saturating_add(Weight::from_parts(267_809, 0).saturating_mul(n.into())) + // Standard Error: 2_224 + .saturating_add(Weight::from_parts(260_103, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -143,11 +143,11 @@ impl pallet_pool_fees::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `570 + n * (124 ±0)` // Estimated: `17508` - // Minimum execution time: 47_629_000 picoseconds. - Weight::from_parts(41_924_608, 0) + // Minimum execution time: 50_234_000 picoseconds. + Weight::from_parts(42_753_052, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 6_451 - .saturating_add(Weight::from_parts(6_031_889, 0).saturating_mul(n.into())) + // Standard Error: 5_307 + .saturating_add(Weight::from_parts(6_476_364, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/altair/src/weights/pallet_pool_registry.rs b/runtime/altair/src/weights/pallet_pool_registry.rs index 4fd01f5d3a..023a470d48 100644 --- a/runtime/altair/src/weights/pallet_pool_registry.rs +++ b/runtime/altair/src/weights/pallet_pool_registry.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_pool_registry` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -64,11 +64,11 @@ impl pallet_pool_registry::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `441` // Estimated: `17508 + m * (2508 ±0) + n * (2475 ±0)` - // Minimum execution time: 223_337_000 picoseconds. - Weight::from_parts(131_495_516, 0) + // Minimum execution time: 232_456_000 picoseconds. + Weight::from_parts(104_353_702, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 83_898 - .saturating_add(Weight::from_parts(27_174_874, 0).saturating_mul(m.into())) + // Standard Error: 82_581 + .saturating_add(Weight::from_parts(28_423_981, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into()))) @@ -88,22 +88,24 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Investments ActiveRedeemOrders (r:5 w:0) /// Proof: Investments ActiveRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:0) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) /// Storage: PoolSystem ScheduledUpdate (r:0 w:1) /// Proof: PoolSystem ScheduledUpdate (max_values: None, max_size: Some(1019), added: 3494, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. /// The range of component `m` is `[0, 100]`. fn update_no_execution(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `753 + n * (133 ±0)` - // Estimated: `4278 + n * (2531 ±0)` - // Minimum execution time: 52_799_000 picoseconds. - Weight::from_parts(48_069_949, 0) - .saturating_add(Weight::from_parts(0, 4278)) - // Standard Error: 10_752 - .saturating_add(Weight::from_parts(2_776_332, 0).saturating_mul(n.into())) - // Standard Error: 490 - .saturating_add(Weight::from_parts(37_686, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Measured: `924 + m * (124 ±0) + n * (133 ±0)` + // Estimated: `17508 + n * (2531 ±0)` + // Minimum execution time: 66_094_000 picoseconds. + Weight::from_parts(56_905_727, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 37_239 + .saturating_add(Weight::from_parts(3_213_798, 0).saturating_mul(n.into())) + // Standard Error: 1_699 + .saturating_add(Weight::from_parts(219_086, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 2531).saturating_mul(n.into())) @@ -120,24 +122,27 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Proof: Investments ActiveRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) /// Storage: OrmlAssetRegistry Metadata (r:2 w:1) /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: PoolFees ActiveFees (r:1 w:0) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) /// Storage: PoolSystem ScheduledUpdate (r:0 w:1) /// Proof: PoolSystem ScheduledUpdate (max_values: None, max_size: Some(1019), added: 3494, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. /// The range of component `m` is `[0, 100]`. fn update_and_execute(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `817 + n * (167 ±0)` - // Estimated: `6754 + n * (2531 ±0)` - // Minimum execution time: 90_127_000 picoseconds. - Weight::from_parts(77_643_323, 0) - .saturating_add(Weight::from_parts(0, 6754)) - // Standard Error: 35_193 - .saturating_add(Weight::from_parts(9_350_499, 0).saturating_mul(n.into())) - // Standard Error: 1_606 - .saturating_add(Weight::from_parts(67_674, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(6)) + // Measured: `988 + m * (124 ±0) + n * (167 ±0)` + // Estimated: `17508 + m * (124 ±0) + n * (2531 ±0)` + // Minimum execution time: 117_640_000 picoseconds. + Weight::from_parts(86_928_788, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 41_212 + .saturating_add(Weight::from_parts(10_004_690, 0).saturating_mul(n.into())) + // Standard Error: 1_880 + .saturating_add(Weight::from_parts(234_201, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 124).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 2531).saturating_mul(n.into())) } /// Storage: PoolSystem Pool (r:1 w:1) @@ -152,22 +157,25 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Proof: Investments ActiveRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) /// Storage: OrmlAssetRegistry Metadata (r:2 w:1) /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: PoolFees ActiveFees (r:1 w:0) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. /// The range of component `m` is `[0, 100]`. fn execute_update(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `805 + n * (194 ±0)` - // Estimated: `6744 + n * (2531 ±0)` - // Minimum execution time: 77_745_000 picoseconds. - Weight::from_parts(67_024_743, 0) - .saturating_add(Weight::from_parts(0, 6744)) - // Standard Error: 27_176 - .saturating_add(Weight::from_parts(9_257_700, 0).saturating_mul(n.into())) - // Standard Error: 1_240 - .saturating_add(Weight::from_parts(39_933, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(6)) + // Measured: `976 + m * (124 ±0) + n * (194 ±0)` + // Estimated: `17508 + m * (124 ±0) + n * (2531 ±0)` + // Minimum execution time: 102_502_000 picoseconds. + Weight::from_parts(73_321_614, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 37_447 + .saturating_add(Weight::from_parts(10_091_703, 0).saturating_mul(n.into())) + // Standard Error: 1_708 + .saturating_add(Weight::from_parts(216_539, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 124).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 2531).saturating_mul(n.into())) } /// Storage: Permissions Permission (r:1 w:0) @@ -180,13 +188,13 @@ impl pallet_pool_registry::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `146` // Estimated: `3693` - // Minimum execution time: 23_073_000 picoseconds. - Weight::from_parts(23_462_709, 0) + // Minimum execution time: 23_554_000 picoseconds. + Weight::from_parts(24_240_005, 0) .saturating_add(Weight::from_parts(0, 3693)) - // Standard Error: 769 - .saturating_add(Weight::from_parts(18_264, 0).saturating_mul(n.into())) - // Standard Error: 357 - .saturating_add(Weight::from_parts(25_560, 0).saturating_mul(m.into())) + // Standard Error: 696 + .saturating_add(Weight::from_parts(6_016, 0).saturating_mul(n.into())) + // Standard Error: 323 + .saturating_add(Weight::from_parts(22_810, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/altair/src/weights/pallet_pool_system.rs b/runtime/altair/src/weights/pallet_pool_system.rs index 74cc24da1b..6002e8dd0b 100644 --- a/runtime/altair/src/weights/pallet_pool_system.rs +++ b/runtime/altair/src/weights/pallet_pool_system.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_pool_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -41,11 +41,11 @@ impl pallet_pool_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `592` // Estimated: `4278` - // Minimum execution time: 29_285_000 picoseconds. - Weight::from_parts(30_146_839, 0) + // Minimum execution time: 29_416_000 picoseconds. + Weight::from_parts(30_938_668, 0) .saturating_add(Weight::from_parts(0, 4278)) - // Standard Error: 514 - .saturating_add(Weight::from_parts(29_995, 0).saturating_mul(m.into())) + // Standard Error: 459 + .saturating_add(Weight::from_parts(28_705, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -56,7 +56,7 @@ impl pallet_pool_system::WeightInfo for WeightInfo { /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:0) - /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(7250), added: 9725, mode: MaxEncodedLen) + /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) /// Storage: PoolFees PortfolioValuation (r:1 w:1) /// Proof: PoolFees PortfolioValuation (max_values: None, max_size: Some(4850), added: 7325, mode: MaxEncodedLen) /// Storage: PoolFees AssetsUnderManagement (r:1 w:1) @@ -88,14 +88,14 @@ impl pallet_pool_system::WeightInfo for WeightInfo { fn close_epoch_no_orders(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1014 + m * (124 ±0) + n * (133 ±0)` - // Estimated: `17508 + n * (2604 ±0)` - // Minimum execution time: 482_662_000 picoseconds. - Weight::from_parts(88_114_215, 0) - .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 184_256 - .saturating_add(Weight::from_parts(78_426_116, 0).saturating_mul(n.into())) - // Standard Error: 8_509 - .saturating_add(Weight::from_parts(6_367_507, 0).saturating_mul(m.into())) + // Estimated: `27515 + n * (2604 ±0)` + // Minimum execution time: 513_134_000 picoseconds. + Weight::from_parts(88_468_897, 0) + .saturating_add(Weight::from_parts(0, 27515)) + // Standard Error: 145_706 + .saturating_add(Weight::from_parts(83_992_022, 0).saturating_mul(n.into())) + // Standard Error: 6_729 + .saturating_add(Weight::from_parts(6_815_360, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((8_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -109,7 +109,7 @@ impl pallet_pool_system::WeightInfo for WeightInfo { /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:0) - /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(7250), added: 9725, mode: MaxEncodedLen) + /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) /// Storage: PoolFees PortfolioValuation (r:1 w:1) /// Proof: PoolFees PortfolioValuation (max_values: None, max_size: Some(4850), added: 7325, mode: MaxEncodedLen) /// Storage: PoolFees AssetsUnderManagement (r:1 w:1) @@ -135,14 +135,14 @@ impl pallet_pool_system::WeightInfo for WeightInfo { fn close_epoch_no_execution(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1178 + m * (124 ±0) + n * (133 ±0)` - // Estimated: `17508 + n * (2531 ±0)` - // Minimum execution time: 245_338_000 picoseconds. - Weight::from_parts(91_702_181, 0) - .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 150_638 - .saturating_add(Weight::from_parts(32_136_452, 0).saturating_mul(n.into())) - // Standard Error: 6_874 - .saturating_add(Weight::from_parts(6_155_665, 0).saturating_mul(m.into())) + // Estimated: `27515 + n * (2531 ±0)` + // Minimum execution time: 257_853_000 picoseconds. + Weight::from_parts(89_178_439, 0) + .saturating_add(Weight::from_parts(0, 27515)) + // Standard Error: 124_848 + .saturating_add(Weight::from_parts(35_129_226, 0).saturating_mul(n.into())) + // Standard Error: 5_697 + .saturating_add(Weight::from_parts(6_644_224, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(5)) @@ -156,7 +156,7 @@ impl pallet_pool_system::WeightInfo for WeightInfo { /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:0) - /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(7250), added: 9725, mode: MaxEncodedLen) + /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) /// Storage: PoolFees PortfolioValuation (r:1 w:1) /// Proof: PoolFees PortfolioValuation (max_values: None, max_size: Some(4850), added: 7325, mode: MaxEncodedLen) /// Storage: PoolFees AssetsUnderManagement (r:1 w:1) @@ -192,14 +192,14 @@ impl pallet_pool_system::WeightInfo for WeightInfo { fn close_epoch_execute(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1989 + m * (124 ±0) + n * (167 ±0)` - // Estimated: `17508 + m * (124 ±0) + n * (2604 ±0)` - // Minimum execution time: 606_302_000 picoseconds. - Weight::from_parts(221_680_359, 0) - .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 377_157 - .saturating_add(Weight::from_parts(80_288_569, 0).saturating_mul(n.into())) - // Standard Error: 17_211 - .saturating_add(Weight::from_parts(6_155_422, 0).saturating_mul(m.into())) + // Estimated: `27515 + m * (124 ±0) + n * (2604 ±0)` + // Minimum execution time: 630_764_000 picoseconds. + Weight::from_parts(208_124_486, 0) + .saturating_add(Weight::from_parts(0, 27515)) + // Standard Error: 183_068 + .saturating_add(Weight::from_parts(86_193_666, 0).saturating_mul(n.into())) + // Standard Error: 8_354 + .saturating_add(Weight::from_parts(6_815_530, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().reads((8_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(10)) @@ -219,13 +219,13 @@ impl pallet_pool_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `788 + m * (124 ±0) + n * (249 ±0)` // Estimated: `17508` - // Minimum execution time: 42_780_000 picoseconds. - Weight::from_parts(37_816_291, 0) + // Minimum execution time: 43_101_000 picoseconds. + Weight::from_parts(37_259_107, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 37_847 - .saturating_add(Weight::from_parts(1_414_737, 0).saturating_mul(n.into())) - // Standard Error: 1_727 - .saturating_add(Weight::from_parts(198_164, 0).saturating_mul(m.into())) + // Standard Error: 33_433 + .saturating_add(Weight::from_parts(1_679_944, 0).saturating_mul(n.into())) + // Standard Error: 1_525 + .saturating_add(Weight::from_parts(205_031, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -267,13 +267,13 @@ impl pallet_pool_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1944 + m * (124 ±0) + n * (633 ±0)` // Estimated: `17508 + m * (124 ±0) + n * (2604 ±0)` - // Minimum execution time: 252_091_000 picoseconds. - Weight::from_parts(155_828_596, 0) + // Minimum execution time: 259_918_000 picoseconds. + Weight::from_parts(163_308_268, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 116_609 - .saturating_add(Weight::from_parts(60_156_657, 0).saturating_mul(n.into())) - // Standard Error: 5_321 - .saturating_add(Weight::from_parts(421_139, 0).saturating_mul(m.into())) + // Standard Error: 100_494 + .saturating_add(Weight::from_parts(62_607_725, 0).saturating_mul(n.into())) + // Standard Error: 4_585 + .saturating_add(Weight::from_parts(393_529, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(9)) diff --git a/runtime/altair/src/weights/pallet_preimage.rs b/runtime/altair/src/weights/pallet_preimage.rs index ade956b403..6b723f7f3b 100644 --- a/runtime/altair/src/weights/pallet_preimage.rs +++ b/runtime/altair/src/weights/pallet_preimage.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -41,11 +41,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 43_120_000 picoseconds. - Weight::from_parts(555_330_695, 0) + // Minimum execution time: 45_225_000 picoseconds. + Weight::from_parts(488_614_451, 0) .saturating_add(Weight::from_parts(0, 3556)) // Standard Error: 18 - .saturating_add(Weight::from_parts(2_004, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(2_063, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -58,11 +58,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 23_644_000 picoseconds. - Weight::from_parts(35_225_056, 0) + // Minimum execution time: 24_646_000 picoseconds. + Weight::from_parts(25_731_125, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 8 - .saturating_add(Weight::from_parts(2_619, 0).saturating_mul(s.into())) + // Standard Error: 10 + .saturating_add(Weight::from_parts(2_720, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -75,11 +75,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 22_432_000 picoseconds. - Weight::from_parts(16_229_201, 0) + // Minimum execution time: 23_644_000 picoseconds. + Weight::from_parts(49_338_396, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 8 - .saturating_add(Weight::from_parts(2_623, 0).saturating_mul(s.into())) + // Standard Error: 7 + .saturating_add(Weight::from_parts(2_689, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -91,8 +91,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `324` // Estimated: `3556` - // Minimum execution time: 48_922_000 picoseconds. - Weight::from_parts(50_454_000, 0) + // Minimum execution time: 50_284_000 picoseconds. + Weight::from_parts(51_306_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -105,8 +105,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 27_251_000 picoseconds. - Weight::from_parts(28_162_000, 0) + // Minimum execution time: 27_592_000 picoseconds. + Weight::from_parts(28_163_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -117,8 +117,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `222` // Estimated: `3556` - // Minimum execution time: 24_145_000 picoseconds. - Weight::from_parts(24_886_000, 0) + // Minimum execution time: 24_175_000 picoseconds. + Weight::from_parts(24_857_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -129,8 +129,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 13_996_000 picoseconds. - Weight::from_parts(14_637_000, 0) + // Minimum execution time: 14_027_000 picoseconds. + Weight::from_parts(14_617_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -141,8 +141,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3556` - // Minimum execution time: 20_609_000 picoseconds. - Weight::from_parts(21_229_000, 0) + // Minimum execution time: 21_300_000 picoseconds. + Weight::from_parts(22_111_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -153,8 +153,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 12_473_000 picoseconds. - Weight::from_parts(13_245_000, 0) + // Minimum execution time: 12_653_000 picoseconds. + Weight::from_parts(12_995_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -167,8 +167,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 25_468_000 picoseconds. - Weight::from_parts(26_680_000, 0) + // Minimum execution time: 25_539_000 picoseconds. + Weight::from_parts(26_329_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -179,8 +179,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 12_413_000 picoseconds. - Weight::from_parts(12_644_000, 0) + // Minimum execution time: 12_534_000 picoseconds. + Weight::from_parts(12_915_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -191,8 +191,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 12_363_000 picoseconds. - Weight::from_parts(12_824_000, 0) + // Minimum execution time: 12_163_000 picoseconds. + Weight::from_parts(12_714_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/altair/src/weights/pallet_proxy.rs b/runtime/altair/src/weights/pallet_proxy.rs index d0b210709c..6605cd4af7 100644 --- a/runtime/altair/src/weights/pallet_proxy.rs +++ b/runtime/altair/src/weights/pallet_proxy.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -39,11 +39,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 22_262_000 picoseconds. - Weight::from_parts(23_012_905, 0) + // Minimum execution time: 22_682_000 picoseconds. + Weight::from_parts(23_626_656, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_509 - .saturating_add(Weight::from_parts(42_298, 0).saturating_mul(p.into())) + // Standard Error: 1_195 + .saturating_add(Weight::from_parts(43_622, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: Proxy Proxies (r:1 w:0) @@ -58,13 +58,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `620 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 51_726_000 picoseconds. - Weight::from_parts(52_356_690, 0) + // Minimum execution time: 54_021_000 picoseconds. + Weight::from_parts(54_133_706, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 2_520 - .saturating_add(Weight::from_parts(217_686, 0).saturating_mul(a.into())) - // Standard Error: 2_604 - .saturating_add(Weight::from_parts(27_763, 0).saturating_mul(p.into())) + // Standard Error: 2_347 + .saturating_add(Weight::from_parts(218_295, 0).saturating_mul(a.into())) + // Standard Error: 2_425 + .saturating_add(Weight::from_parts(39_645, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -78,11 +78,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `535 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 32_922_000 picoseconds. - Weight::from_parts(34_233_850, 0) + // Minimum execution time: 34_495_000 picoseconds. + Weight::from_parts(35_308_038, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 2_048 - .saturating_add(Weight::from_parts(225_958, 0).saturating_mul(a.into())) + // Standard Error: 1_920 + .saturating_add(Weight::from_parts(225_401, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -96,11 +96,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `535 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 33_292_000 picoseconds. - Weight::from_parts(34_524_051, 0) + // Minimum execution time: 34_585_000 picoseconds. + Weight::from_parts(35_391_113, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 1_879 - .saturating_add(Weight::from_parts(219_747, 0).saturating_mul(a.into())) + // Standard Error: 1_909 + .saturating_add(Weight::from_parts(224_163, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -116,13 +116,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `552 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 46_417_000 picoseconds. - Weight::from_parts(46_733_513, 0) + // Minimum execution time: 48_201_000 picoseconds. + Weight::from_parts(48_084_637, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 1_928 - .saturating_add(Weight::from_parts(212_012, 0).saturating_mul(a.into())) - // Standard Error: 1_992 - .saturating_add(Weight::from_parts(22_461, 0).saturating_mul(p.into())) + // Standard Error: 2_057 + .saturating_add(Weight::from_parts(230_408, 0).saturating_mul(a.into())) + // Standard Error: 2_126 + .saturating_add(Weight::from_parts(40_514, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -133,11 +133,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 34_755_000 picoseconds. - Weight::from_parts(36_218_463, 0) + // Minimum execution time: 37_080_000 picoseconds. + Weight::from_parts(37_982_672, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_227 - .saturating_add(Weight::from_parts(42_948, 0).saturating_mul(p.into())) + // Standard Error: 1_243 + .saturating_add(Weight::from_parts(38_662, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -148,11 +148,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 35_066_000 picoseconds. - Weight::from_parts(36_716_231, 0) + // Minimum execution time: 36_899_000 picoseconds. + Weight::from_parts(38_243_962, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 2_432 - .saturating_add(Weight::from_parts(39_391, 0).saturating_mul(p.into())) + // Standard Error: 2_414 + .saturating_add(Weight::from_parts(32_643, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -163,11 +163,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 31_098_000 picoseconds. - Weight::from_parts(32_256_629, 0) + // Minimum execution time: 32_241_000 picoseconds. + Weight::from_parts(33_245_118, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_427 - .saturating_add(Weight::from_parts(34_750, 0).saturating_mul(p.into())) + // Standard Error: 1_355 + .saturating_add(Weight::from_parts(38_915, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -178,11 +178,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `305` // Estimated: `4706` - // Minimum execution time: 37_680_000 picoseconds. - Weight::from_parts(39_110_275, 0) + // Minimum execution time: 39_765_000 picoseconds. + Weight::from_parts(40_958_812, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_496 - .saturating_add(Weight::from_parts(14_266, 0).saturating_mul(p.into())) + // Standard Error: 1_551 + .saturating_add(Weight::from_parts(13_834, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -193,11 +193,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `330 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 32_351_000 picoseconds. - Weight::from_parts(33_725_054, 0) + // Minimum execution time: 33_612_000 picoseconds. + Weight::from_parts(34_704_279, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_354 - .saturating_add(Weight::from_parts(47_256, 0).saturating_mul(p.into())) + // Standard Error: 1_497 + .saturating_add(Weight::from_parts(41_081, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/altair/src/weights/pallet_remarks.rs b/runtime/altair/src/weights/pallet_remarks.rs index 6e73ab08c5..6d922f8847 100644 --- a/runtime/altair/src/weights/pallet_remarks.rs +++ b/runtime/altair/src/weights/pallet_remarks.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_remarks` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -37,10 +37,10 @@ impl pallet_remarks::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 16_581_000 picoseconds. - Weight::from_parts(16_937_614, 0) + // Minimum execution time: 17_924_000 picoseconds. + Weight::from_parts(18_247_001, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_436 - .saturating_add(Weight::from_parts(126_758, 0).saturating_mul(n.into())) + // Standard Error: 2_713 + .saturating_add(Weight::from_parts(116_940, 0).saturating_mul(n.into())) } } diff --git a/runtime/altair/src/weights/pallet_restricted_tokens.rs b/runtime/altair/src/weights/pallet_restricted_tokens.rs index f5e8a5d0b8..dfb1f88157 100644 --- a/runtime/altair/src/weights/pallet_restricted_tokens.rs +++ b/runtime/altair/src/weights/pallet_restricted_tokens.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_restricted_tokens` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -40,8 +40,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `505` // Estimated: `6124` - // Minimum execution time: 93_475_000 picoseconds. - Weight::from_parts(94_977_000, 0) + // Minimum execution time: 101_651_000 picoseconds. + Weight::from_parts(103_054_000, 0) .saturating_add(Weight::from_parts(0, 6124)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -58,8 +58,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `923` // Estimated: `6198` - // Minimum execution time: 73_958_000 picoseconds. - Weight::from_parts(75_130_000, 0) + // Minimum execution time: 78_086_000 picoseconds. + Weight::from_parts(79_820_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) @@ -72,8 +72,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `505` // Estimated: `6124` - // Minimum execution time: 81_563_000 picoseconds. - Weight::from_parts(83_025_000, 0) + // Minimum execution time: 87_805_000 picoseconds. + Weight::from_parts(88_787_000, 0) .saturating_add(Weight::from_parts(0, 6124)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -90,8 +90,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `820` // Estimated: `6198` - // Minimum execution time: 69_831_000 picoseconds. - Weight::from_parts(71_132_000, 0) + // Minimum execution time: 73_608_000 picoseconds. + Weight::from_parts(74_510_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) @@ -104,8 +104,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `505` // Estimated: `6124` - // Minimum execution time: 98_033_000 picoseconds. - Weight::from_parts(100_077_000, 0) + // Minimum execution time: 105_829_000 picoseconds. + Weight::from_parts(106_991_000, 0) .saturating_add(Weight::from_parts(0, 6124)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -122,8 +122,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `923` // Estimated: `6198` - // Minimum execution time: 79_418_000 picoseconds. - Weight::from_parts(80_931_000, 0) + // Minimum execution time: 82_786_000 picoseconds. + Weight::from_parts(83_808_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) @@ -134,8 +134,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `259` // Estimated: `3593` - // Minimum execution time: 85_670_000 picoseconds. - Weight::from_parts(86_892_000, 0) + // Minimum execution time: 92_494_000 picoseconds. + Weight::from_parts(93_696_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -150,8 +150,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `677` // Estimated: `6198` - // Minimum execution time: 65_963_000 picoseconds. - Weight::from_parts(66_985_000, 0) + // Minimum execution time: 68_739_000 picoseconds. + Weight::from_parts(70_422_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -164,8 +164,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `298` // Estimated: `3674` - // Minimum execution time: 168_283_000 picoseconds. - Weight::from_parts(169_847_000, 0) + // Minimum execution time: 183_716_000 picoseconds. + Weight::from_parts(185_028_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -180,8 +180,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `467` // Estimated: `3932` - // Minimum execution time: 100_959_000 picoseconds. - Weight::from_parts(102_321_000, 0) + // Minimum execution time: 108_784_000 picoseconds. + Weight::from_parts(110_137_000, 0) .saturating_add(Weight::from_parts(0, 3932)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtime/altair/src/weights/pallet_scheduler.rs b/runtime/altair/src/weights/pallet_scheduler.rs index 867ac4cf6f..969755b5b1 100644 --- a/runtime/altair/src/weights/pallet_scheduler.rs +++ b/runtime/altair/src/weights/pallet_scheduler.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -38,8 +38,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `31` // Estimated: `1489` - // Minimum execution time: 5_901_000 picoseconds. - Weight::from_parts(6_152_000, 0) + // Minimum execution time: 6_042_000 picoseconds. + Weight::from_parts(6_432_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -51,11 +51,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 5_740_000 picoseconds. - Weight::from_parts(8_457_864, 0) + // Minimum execution time: 6_022_000 picoseconds. + Weight::from_parts(8_519_098, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 4_130 - .saturating_add(Weight::from_parts(1_199_429, 0).saturating_mul(s.into())) + // Standard Error: 3_359 + .saturating_add(Weight::from_parts(1_209_012, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -63,8 +63,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_406_000 picoseconds. - Weight::from_parts(8_526_000, 0) + // Minimum execution time: 8_936_000 picoseconds. + Weight::from_parts(9_368_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Preimage PreimageFor (r:1 w:1) @@ -76,11 +76,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `213 + s * (1 ±0)` // Estimated: `3678 + s * (1 ±0)` - // Minimum execution time: 29_515_000 picoseconds. - Weight::from_parts(29_845_000, 0) + // Minimum execution time: 31_059_000 picoseconds. + Weight::from_parts(31_409_000, 0) .saturating_add(Weight::from_parts(0, 3678)) - // Standard Error: 12 - .saturating_add(Weight::from_parts(1_258, 0).saturating_mul(s.into())) + // Standard Error: 11 + .saturating_add(Weight::from_parts(1_400, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) @@ -91,8 +91,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_550_000 picoseconds. - Weight::from_parts(10_840_000, 0) + // Minimum execution time: 11_521_000 picoseconds. + Weight::from_parts(11_872_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -100,24 +100,24 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_426_000 picoseconds. - Weight::from_parts(8_576_000, 0) + // Minimum execution time: 8_987_000 picoseconds. + Weight::from_parts(9_247_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_348_000 picoseconds. - Weight::from_parts(4_588_000, 0) + // Minimum execution time: 4_438_000 picoseconds. + Weight::from_parts(4_679_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_278_000 picoseconds. - Weight::from_parts(4_508_000, 0) + // Minimum execution time: 4_419_000 picoseconds. + Weight::from_parts(4_599_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Scheduler Agenda (r:1 w:1) @@ -127,11 +127,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 19_556_000 picoseconds. - Weight::from_parts(22_435_318, 0) + // Minimum execution time: 20_709_000 picoseconds. + Weight::from_parts(23_734_264, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 4_138 - .saturating_add(Weight::from_parts(1_197_959, 0).saturating_mul(s.into())) + // Standard Error: 3_968 + .saturating_add(Weight::from_parts(1_190_970, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -144,11 +144,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 25_898_000 picoseconds. - Weight::from_parts(22_451_579, 0) + // Minimum execution time: 27_201_000 picoseconds. + Weight::from_parts(23_886_573, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 5_039 - .saturating_add(Weight::from_parts(2_201_323, 0).saturating_mul(s.into())) + // Standard Error: 4_738 + .saturating_add(Weight::from_parts(2_182_054, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -161,11 +161,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `255 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 24_466_000 picoseconds. - Weight::from_parts(28_276_332, 0) + // Minimum execution time: 25_618_000 picoseconds. + Weight::from_parts(29_927_463, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_707 - .saturating_add(Weight::from_parts(1_233_730, 0).saturating_mul(s.into())) + // Standard Error: 4_185 + .saturating_add(Weight::from_parts(1_213_999, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -178,11 +178,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `281 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 27_351_000 picoseconds. - Weight::from_parts(25_668_189, 0) + // Minimum execution time: 28_533_000 picoseconds. + Weight::from_parts(26_799_743, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 4_998 - .saturating_add(Weight::from_parts(2_202_433, 0).saturating_mul(s.into())) + // Standard Error: 5_540 + .saturating_add(Weight::from_parts(2_186_022, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/altair/src/weights/pallet_session.rs b/runtime/altair/src/weights/pallet_session.rs index 67c193d0d3..863e86a0b0 100644 --- a/runtime/altair/src/weights/pallet_session.rs +++ b/runtime/altair/src/weights/pallet_session.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -40,8 +40,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `369` // Estimated: `3834` - // Minimum execution time: 26_991_000 picoseconds. - Weight::from_parts(27_732_000, 0) + // Minimum execution time: 27_882_000 picoseconds. + Weight::from_parts(28_924_000, 0) .saturating_add(Weight::from_parts(0, 3834)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -54,8 +54,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `386` // Estimated: `3851` - // Minimum execution time: 18_705_000 picoseconds. - Weight::from_parts(19_256_000, 0) + // Minimum execution time: 19_066_000 picoseconds. + Weight::from_parts(19_717_000, 0) .saturating_add(Weight::from_parts(0, 3851)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtime/altair/src/weights/pallet_timestamp.rs b/runtime/altair/src/weights/pallet_timestamp.rs index 63201b9ec7..be2a6d6ea1 100644 --- a/runtime/altair/src/weights/pallet_timestamp.rs +++ b/runtime/altair/src/weights/pallet_timestamp.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -40,8 +40,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `223` // Estimated: `1493` - // Minimum execution time: 13_696_000 picoseconds. - Weight::from_parts(14_106_000, 0) + // Minimum execution time: 14_137_000 picoseconds. + Weight::from_parts(14_678_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -50,8 +50,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `128` // Estimated: `0` - // Minimum execution time: 6_212_000 picoseconds. - Weight::from_parts(6_392_000, 0) + // Minimum execution time: 6_201_000 picoseconds. + Weight::from_parts(6_452_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtime/altair/src/weights/pallet_token_mux.rs b/runtime/altair/src/weights/pallet_token_mux.rs index dab7a1dc06..2b7acfcff1 100644 --- a/runtime/altair/src/weights/pallet_token_mux.rs +++ b/runtime/altair/src/weights/pallet_token_mux.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_token_mux` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -44,8 +44,8 @@ impl pallet_token_mux::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `803` // Estimated: `8802` - // Minimum execution time: 120_394_000 picoseconds. - Weight::from_parts(121_507_000, 0) + // Minimum execution time: 123_462_000 picoseconds. + Weight::from_parts(125_617_000, 0) .saturating_add(Weight::from_parts(0, 8802)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) @@ -62,8 +62,8 @@ impl pallet_token_mux::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1093` // Estimated: `8802` - // Minimum execution time: 103_193_000 picoseconds. - Weight::from_parts(105_918_000, 0) + // Minimum execution time: 110_277_000 picoseconds. + Weight::from_parts(111_640_000, 0) .saturating_add(Weight::from_parts(0, 8802)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) @@ -86,8 +86,8 @@ impl pallet_token_mux::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1373` // Estimated: `11406` - // Minimum execution time: 209_842_000 picoseconds. - Weight::from_parts(212_817_000, 0) + // Minimum execution time: 219_272_000 picoseconds. + Weight::from_parts(221_907_000, 0) .saturating_add(Weight::from_parts(0, 11406)) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(9)) diff --git a/runtime/altair/src/weights/pallet_transfer_allowlist.rs b/runtime/altair/src/weights/pallet_transfer_allowlist.rs index 0107c1be2b..ae7900e8b7 100644 --- a/runtime/altair/src/weights/pallet_transfer_allowlist.rs +++ b/runtime/altair/src/weights/pallet_transfer_allowlist.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_transfer_allowlist` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -46,8 +46,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `603` // Estimated: `3674` - // Minimum execution time: 86_341_000 picoseconds. - Weight::from_parts(88_195_000, 0) + // Minimum execution time: 94_919_000 picoseconds. + Weight::from_parts(97_413_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -66,8 +66,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `697` // Estimated: `3674` - // Minimum execution time: 89_687_000 picoseconds. - Weight::from_parts(91_340_000, 0) + // Minimum execution time: 98_375_000 picoseconds. + Weight::from_parts(99_767_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -78,8 +78,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `246` // Estimated: `3557` - // Minimum execution time: 20_117_000 picoseconds. - Weight::from_parts(20_528_000, 0) + // Minimum execution time: 21_611_000 picoseconds. + Weight::from_parts(22_282_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -90,8 +90,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `370` // Estimated: `3557` - // Minimum execution time: 22_362_000 picoseconds. - Weight::from_parts(23_043_000, 0) + // Minimum execution time: 23_976_000 picoseconds. + Weight::from_parts(24_757_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -102,8 +102,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `340` // Estimated: `3557` - // Minimum execution time: 22_643_000 picoseconds. - Weight::from_parts(23_384_000, 0) + // Minimum execution time: 23_815_000 picoseconds. + Weight::from_parts(24_646_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -114,8 +114,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `344` // Estimated: `3557` - // Minimum execution time: 22_542_000 picoseconds. - Weight::from_parts(23_444_000, 0) + // Minimum execution time: 24_136_000 picoseconds. + Weight::from_parts(24_727_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -126,8 +126,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `344` // Estimated: `3557` - // Minimum execution time: 22_542_000 picoseconds. - Weight::from_parts(23_103_000, 0) + // Minimum execution time: 23_675_000 picoseconds. + Weight::from_parts(24_356_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -138,8 +138,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `378` // Estimated: `3557` - // Minimum execution time: 23_254_000 picoseconds. - Weight::from_parts(23_964_000, 0) + // Minimum execution time: 24_927_000 picoseconds. + Weight::from_parts(25_689_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -152,8 +152,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `473` // Estimated: `3597` - // Minimum execution time: 34_294_000 picoseconds. - Weight::from_parts(34_895_000, 0) + // Minimum execution time: 36_348_000 picoseconds. + Weight::from_parts(37_160_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -166,8 +166,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `469` // Estimated: `3597` - // Minimum execution time: 34_254_000 picoseconds. - Weight::from_parts(34_976_000, 0) + // Minimum execution time: 35_887_000 picoseconds. + Weight::from_parts(37_120_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -186,8 +186,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `879` // Estimated: `3674` - // Minimum execution time: 81_201_000 picoseconds. - Weight::from_parts(82_454_000, 0) + // Minimum execution time: 86_853_000 picoseconds. + Weight::from_parts(88_557_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -206,8 +206,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `918` // Estimated: `3674` - // Minimum execution time: 80_410_000 picoseconds. - Weight::from_parts(81_341_000, 0) + // Minimum execution time: 86_543_000 picoseconds. + Weight::from_parts(87_945_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) diff --git a/runtime/altair/src/weights/pallet_treasury.rs b/runtime/altair/src/weights/pallet_treasury.rs index 8911abfa19..8c78a9491c 100644 --- a/runtime/altair/src/weights/pallet_treasury.rs +++ b/runtime/altair/src/weights/pallet_treasury.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -36,8 +36,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 361_000 picoseconds. - Weight::from_parts(431_000, 0) + // Minimum execution time: 391_000 picoseconds. + Weight::from_parts(461_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Treasury ProposalCount (r:1 w:1) @@ -48,8 +48,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `1489` - // Minimum execution time: 39_645_000 picoseconds. - Weight::from_parts(40_866_000, 0) + // Minimum execution time: 41_859_000 picoseconds. + Weight::from_parts(42_720_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -62,8 +62,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `405` // Estimated: `6196` - // Minimum execution time: 62_126_000 picoseconds. - Weight::from_parts(63_308_000, 0) + // Minimum execution time: 65_643_000 picoseconds. + Weight::from_parts(66_666_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -77,11 +77,11 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `470 + p * (8 ±0)` // Estimated: `3573` - // Minimum execution time: 13_696_000 picoseconds. - Weight::from_parts(17_198_224, 0) + // Minimum execution time: 14_477_000 picoseconds. + Weight::from_parts(17_712_520, 0) .saturating_add(Weight::from_parts(0, 3573)) - // Standard Error: 1_366 - .saturating_add(Weight::from_parts(49_111, 0).saturating_mul(p.into())) + // Standard Error: 1_251 + .saturating_add(Weight::from_parts(50_107, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -91,8 +91,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `127` // Estimated: `1887` - // Minimum execution time: 11_061_000 picoseconds. - Weight::from_parts(11_322_000, 0) + // Minimum execution time: 11_271_000 picoseconds. + Weight::from_parts(11_722_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -110,11 +110,11 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `230 + p * (120 ±0)` // Estimated: `3593 + p * (2583 ±0)` - // Minimum execution time: 39_063_000 picoseconds. - Weight::from_parts(35_724_501, 0) + // Minimum execution time: 41_588_000 picoseconds. + Weight::from_parts(38_538_825, 0) .saturating_add(Weight::from_parts(0, 3593)) - // Standard Error: 5_409 - .saturating_add(Weight::from_parts(3_881_491, 0).saturating_mul(p.into())) + // Standard Error: 5_722 + .saturating_add(Weight::from_parts(3_947_427, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtime/altair/src/weights/pallet_uniques.rs b/runtime/altair/src/weights/pallet_uniques.rs index 12e0b753dc..c0eca9bbc2 100644 --- a/runtime/altair/src/weights/pallet_uniques.rs +++ b/runtime/altair/src/weights/pallet_uniques.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_uniques` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -40,8 +40,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `249` // Estimated: `3647` - // Minimum execution time: 43_240_000 picoseconds. - Weight::from_parts(44_273_000, 0) + // Minimum execution time: 44_776_000 picoseconds. + Weight::from_parts(45_828_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -54,8 +54,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `109` // Estimated: `3647` - // Minimum execution time: 21_019_000 picoseconds. - Weight::from_parts(21_630_000, 0) + // Minimum execution time: 22_153_000 picoseconds. + Weight::from_parts(22_584_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -83,15 +83,15 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `511 + a * (346 ±0) + m * (69 ±0) + n * (88 ±0)` // Estimated: `3647 + a * (3080 ±0) + m * (2806 ±0) + n * (2613 ±0)` - // Minimum execution time: 3_001_174_000 picoseconds. - Weight::from_parts(3_024_868_000, 0) + // Minimum execution time: 2_978_805_000 picoseconds. + Weight::from_parts(3_003_231_000, 0) .saturating_add(Weight::from_parts(0, 3647)) - // Standard Error: 29_118 - .saturating_add(Weight::from_parts(9_545_114, 0).saturating_mul(n.into())) - // Standard Error: 29_118 - .saturating_add(Weight::from_parts(228_074, 0).saturating_mul(m.into())) - // Standard Error: 29_118 - .saturating_add(Weight::from_parts(526_600, 0).saturating_mul(a.into())) + // Standard Error: 28_093 + .saturating_add(Weight::from_parts(9_957_746, 0).saturating_mul(n.into())) + // Standard Error: 28_093 + .saturating_add(Weight::from_parts(230_320, 0).saturating_mul(m.into())) + // Standard Error: 28_093 + .saturating_add(Weight::from_parts(508_525, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into()))) @@ -116,8 +116,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 50_495_000 picoseconds. - Weight::from_parts(51_356_000, 0) + // Minimum execution time: 53_821_000 picoseconds. + Weight::from_parts(54_693_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -134,8 +134,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3647` - // Minimum execution time: 52_688_000 picoseconds. - Weight::from_parts(53_199_000, 0) + // Minimum execution time: 55_504_000 picoseconds. + Weight::from_parts(56_667_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) @@ -152,8 +152,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3647` - // Minimum execution time: 37_910_000 picoseconds. - Weight::from_parts(38_662_000, 0) + // Minimum execution time: 39_504_000 picoseconds. + Weight::from_parts(40_527_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) @@ -167,11 +167,11 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `821 + i * (88 ±0)` // Estimated: `3647 + i * (2613 ±0)` - // Minimum execution time: 19_857_000 picoseconds. - Weight::from_parts(20_198_000, 0) + // Minimum execution time: 20_408_000 picoseconds. + Weight::from_parts(20_869_000, 0) .saturating_add(Weight::from_parts(0, 3647)) - // Standard Error: 13_445 - .saturating_add(Weight::from_parts(24_068_474, 0).saturating_mul(i.into())) + // Standard Error: 13_352 + .saturating_add(Weight::from_parts(25_703_685, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -186,8 +186,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3647` - // Minimum execution time: 25_337_000 picoseconds. - Weight::from_parts(25_919_000, 0) + // Minimum execution time: 26_270_000 picoseconds. + Weight::from_parts(27_101_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -200,8 +200,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3647` - // Minimum execution time: 24_977_000 picoseconds. - Weight::from_parts(25_498_000, 0) + // Minimum execution time: 26_350_000 picoseconds. + Weight::from_parts(26_710_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -212,8 +212,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 17_863_000 picoseconds. - Weight::from_parts(18_444_000, 0) + // Minimum execution time: 19_026_000 picoseconds. + Weight::from_parts(19_356_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -224,8 +224,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 17_963_000 picoseconds. - Weight::from_parts(18_345_000, 0) + // Minimum execution time: 18_985_000 picoseconds. + Weight::from_parts(19_347_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -240,8 +240,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `431` // Estimated: `3647` - // Minimum execution time: 29_475_000 picoseconds. - Weight::from_parts(30_087_000, 0) + // Minimum execution time: 30_698_000 picoseconds. + Weight::from_parts(31_238_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) @@ -252,8 +252,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 18_315_000 picoseconds. - Weight::from_parts(18_946_000, 0) + // Minimum execution time: 18_876_000 picoseconds. + Weight::from_parts(19_547_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -266,8 +266,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 22_983_000 picoseconds. - Weight::from_parts(23_324_000, 0) + // Minimum execution time: 23_694_000 picoseconds. + Weight::from_parts(24_676_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -282,8 +282,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `775` // Estimated: `4070` - // Minimum execution time: 57_498_000 picoseconds. - Weight::from_parts(58_439_000, 0) + // Minimum execution time: 60_734_000 picoseconds. + Weight::from_parts(62_007_000, 0) .saturating_add(Weight::from_parts(0, 4070)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -298,8 +298,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1407` // Estimated: `4070` - // Minimum execution time: 55_604_000 picoseconds. - Weight::from_parts(56_636_000, 0) + // Minimum execution time: 58_620_000 picoseconds. + Weight::from_parts(59_472_000, 0) .saturating_add(Weight::from_parts(0, 4070)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -312,8 +312,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `419` // Estimated: `3796` - // Minimum execution time: 42_640_000 picoseconds. - Weight::from_parts(43_281_000, 0) + // Minimum execution time: 45_145_000 picoseconds. + Weight::from_parts(45_506_000, 0) .saturating_add(Weight::from_parts(0, 3796)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -326,8 +326,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `775` // Estimated: `3796` - // Minimum execution time: 43_792_000 picoseconds. - Weight::from_parts(44_623_000, 0) + // Minimum execution time: 46_036_000 picoseconds. + Weight::from_parts(46_818_000, 0) .saturating_add(Weight::from_parts(0, 3796)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -340,8 +340,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3764` - // Minimum execution time: 43_592_000 picoseconds. - Weight::from_parts(44_252_000, 0) + // Minimum execution time: 46_197_000 picoseconds. + Weight::from_parts(47_068_000, 0) .saturating_add(Weight::from_parts(0, 3764)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -354,8 +354,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `676` // Estimated: `3764` - // Minimum execution time: 42_169_000 picoseconds. - Weight::from_parts(42_910_000, 0) + // Minimum execution time: 45_054_000 picoseconds. + Weight::from_parts(45_596_000, 0) .saturating_add(Weight::from_parts(0, 3764)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -368,8 +368,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3647` - // Minimum execution time: 26_019_000 picoseconds. - Weight::from_parts(26_720_000, 0) + // Minimum execution time: 27_001_000 picoseconds. + Weight::from_parts(28_002_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -382,8 +382,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `549` // Estimated: `3647` - // Minimum execution time: 26_049_000 picoseconds. - Weight::from_parts(26_490_000, 0) + // Minimum execution time: 27_181_000 picoseconds. + Weight::from_parts(27_752_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -394,8 +394,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `109` // Estimated: `3521` - // Minimum execution time: 20_178_000 picoseconds. - Weight::from_parts(20_828_000, 0) + // Minimum execution time: 21_670_000 picoseconds. + Weight::from_parts(22_212_000, 0) .saturating_add(Weight::from_parts(0, 3521)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -408,8 +408,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 22_522_000 picoseconds. - Weight::from_parts(22_893_000, 0) + // Minimum execution time: 23_455_000 picoseconds. + Weight::from_parts(23_904_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -422,8 +422,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `343` // Estimated: `3603` - // Minimum execution time: 21_480_000 picoseconds. - Weight::from_parts(21_932_000, 0) + // Minimum execution time: 22_512_000 picoseconds. + Weight::from_parts(23_083_000, 0) .saturating_add(Weight::from_parts(0, 3603)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -440,8 +440,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `645` // Estimated: `3647` - // Minimum execution time: 52_949_000 picoseconds. - Weight::from_parts(54_010_000, 0) + // Minimum execution time: 55_594_000 picoseconds. + Weight::from_parts(57_207_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) diff --git a/runtime/altair/src/weights/pallet_utility.rs b/runtime/altair/src/weights/pallet_utility.rs index 7d4d022221..cb0861463d 100644 --- a/runtime/altair/src/weights/pallet_utility.rs +++ b/runtime/altair/src/weights/pallet_utility.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -37,18 +37,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_269_000 picoseconds. - Weight::from_parts(2_508_625, 0) + // Minimum execution time: 11_061_000 picoseconds. + Weight::from_parts(4_150_025, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_055 - .saturating_add(Weight::from_parts(8_496_099, 0).saturating_mul(c.into())) + // Standard Error: 3_208 + .saturating_add(Weight::from_parts(9_008_495, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_684_000 picoseconds. - Weight::from_parts(8_035_000, 0) + // Minimum execution time: 7_825_000 picoseconds. + Weight::from_parts(8_025_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -56,18 +56,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_510_000 picoseconds. - Weight::from_parts(1_392_310, 0) + // Minimum execution time: 11_091_000 picoseconds. + Weight::from_parts(12_679_657, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_846 - .saturating_add(Weight::from_parts(8_921_350, 0).saturating_mul(c.into())) + // Standard Error: 2_868 + .saturating_add(Weight::from_parts(9_478_944, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_226_000 picoseconds. - Weight::from_parts(14_647_000, 0) + // Minimum execution time: 14_788_000 picoseconds. + Weight::from_parts(15_219_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -75,10 +75,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_430_000 picoseconds. - Weight::from_parts(6_627_697, 0) + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(11_012_665, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_557 - .saturating_add(Weight::from_parts(8_544_756, 0).saturating_mul(c.into())) + // Standard Error: 2_910 + .saturating_add(Weight::from_parts(8_988_703, 0).saturating_mul(c.into())) } } diff --git a/runtime/altair/src/weights/pallet_vesting.rs b/runtime/altair/src/weights/pallet_vesting.rs index d48db07310..6944a97607 100644 --- a/runtime/altair/src/weights/pallet_vesting.rs +++ b/runtime/altair/src/weights/pallet_vesting.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -44,13 +44,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `272 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 45_344_000 picoseconds. - Weight::from_parts(44_587_818, 0) + // Minimum execution time: 48_030_000 picoseconds. + Weight::from_parts(47_379_481, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_257 - .saturating_add(Weight::from_parts(42_365, 0).saturating_mul(l.into())) - // Standard Error: 2_236 - .saturating_add(Weight::from_parts(89_023, 0).saturating_mul(s.into())) + // Standard Error: 1_067 + .saturating_add(Weight::from_parts(48_490, 0).saturating_mul(l.into())) + // Standard Error: 1_899 + .saturating_add(Weight::from_parts(90_491, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -66,13 +66,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `272 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 50_895_000 picoseconds. - Weight::from_parts(50_965_907, 0) + // Minimum execution time: 54_312_000 picoseconds. + Weight::from_parts(54_619_434, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_374 - .saturating_add(Weight::from_parts(27_104, 0).saturating_mul(l.into())) - // Standard Error: 2_444 - .saturating_add(Weight::from_parts(68_731, 0).saturating_mul(s.into())) + // Standard Error: 1_773 + .saturating_add(Weight::from_parts(34_503, 0).saturating_mul(l.into())) + // Standard Error: 3_155 + .saturating_add(Weight::from_parts(74_475, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -90,13 +90,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `375 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 48_331_000 picoseconds. - Weight::from_parts(47_997_480, 0) + // Minimum execution time: 51_346_000 picoseconds. + Weight::from_parts(50_861_695, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_682 - .saturating_add(Weight::from_parts(45_792, 0).saturating_mul(l.into())) - // Standard Error: 2_992 - .saturating_add(Weight::from_parts(76_747, 0).saturating_mul(s.into())) + // Standard Error: 1_032 + .saturating_add(Weight::from_parts(43_247, 0).saturating_mul(l.into())) + // Standard Error: 1_837 + .saturating_add(Weight::from_parts(85_424, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -114,13 +114,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `375 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 53_280_000 picoseconds. - Weight::from_parts(53_680_102, 0) + // Minimum execution time: 57_980_000 picoseconds. + Weight::from_parts(57_868_431, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_602 - .saturating_add(Weight::from_parts(32_726, 0).saturating_mul(l.into())) - // Standard Error: 2_850 - .saturating_add(Weight::from_parts(78_701, 0).saturating_mul(s.into())) + // Standard Error: 1_726 + .saturating_add(Weight::from_parts(37_116, 0).saturating_mul(l.into())) + // Standard Error: 3_072 + .saturating_add(Weight::from_parts(65_443, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -138,13 +138,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `479 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 102_561_000 picoseconds. - Weight::from_parts(103_557_767, 0) + // Minimum execution time: 110_938_000 picoseconds. + Weight::from_parts(111_856_166, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 2_538 - .saturating_add(Weight::from_parts(49_548, 0).saturating_mul(l.into())) - // Standard Error: 4_516 - .saturating_add(Weight::from_parts(109_821, 0).saturating_mul(s.into())) + // Standard Error: 2_053 + .saturating_add(Weight::from_parts(41_591, 0).saturating_mul(l.into())) + // Standard Error: 3_653 + .saturating_add(Weight::from_parts(103_746, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -162,13 +162,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `619 + l * (25 ±0) + s * (36 ±0)` // Estimated: `6196` - // Minimum execution time: 106_298_000 picoseconds. - Weight::from_parts(107_509_269, 0) + // Minimum execution time: 113_523_000 picoseconds. + Weight::from_parts(114_143_178, 0) .saturating_add(Weight::from_parts(0, 6196)) - // Standard Error: 2_048 - .saturating_add(Weight::from_parts(47_334, 0).saturating_mul(l.into())) - // Standard Error: 3_644 - .saturating_add(Weight::from_parts(91_289, 0).saturating_mul(s.into())) + // Standard Error: 1_448 + .saturating_add(Weight::from_parts(55_175, 0).saturating_mul(l.into())) + // Standard Error: 2_576 + .saturating_add(Weight::from_parts(110_624, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -186,13 +186,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `374 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 49_262_000 picoseconds. - Weight::from_parts(48_936_746, 0) + // Minimum execution time: 52_168_000 picoseconds. + Weight::from_parts(51_592_891, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_147 - .saturating_add(Weight::from_parts(41_126, 0).saturating_mul(l.into())) - // Standard Error: 2_119 - .saturating_add(Weight::from_parts(90_124, 0).saturating_mul(s.into())) + // Standard Error: 1_301 + .saturating_add(Weight::from_parts(49_190, 0).saturating_mul(l.into())) + // Standard Error: 2_402 + .saturating_add(Weight::from_parts(92_945, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -210,13 +210,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `374 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 55_214_000 picoseconds. - Weight::from_parts(54_945_600, 0) + // Minimum execution time: 59_351_000 picoseconds. + Weight::from_parts(58_852_699, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_228 - .saturating_add(Weight::from_parts(43_598, 0).saturating_mul(l.into())) - // Standard Error: 2_269 - .saturating_add(Weight::from_parts(82_836, 0).saturating_mul(s.into())) + // Standard Error: 1_077 + .saturating_add(Weight::from_parts(41_676, 0).saturating_mul(l.into())) + // Standard Error: 1_990 + .saturating_add(Weight::from_parts(84_168, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/altair/src/weights/pallet_xcm.rs b/runtime/altair/src/weights/pallet_xcm.rs index 3c03d51487..36acba6504 100644 --- a/runtime/altair/src/weights/pallet_xcm.rs +++ b/runtime/altair/src/weights/pallet_xcm.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_xcm` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -46,8 +46,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `278` // Estimated: `3743` - // Minimum execution time: 41_226_000 picoseconds. - Weight::from_parts(42_319_000, 0) + // Minimum execution time: 42_460_000 picoseconds. + Weight::from_parts(43_621_000, 0) .saturating_add(Weight::from_parts(0, 3743)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) @@ -60,8 +60,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `203` // Estimated: `3668` - // Minimum execution time: 40_906_000 picoseconds. - Weight::from_parts(42_059_000, 0) + // Minimum execution time: 41_288_000 picoseconds. + Weight::from_parts(41_949_000, 0) .saturating_add(Weight::from_parts(0, 3668)) .saturating_add(T::DbWeight::get().reads(2)) } @@ -73,8 +73,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `203` // Estimated: `3668` - // Minimum execution time: 39_884_000 picoseconds. - Weight::from_parts(40_926_000, 0) + // Minimum execution time: 40_897_000 picoseconds. + Weight::from_parts(41_518_000, 0) .saturating_add(Weight::from_parts(0, 3668)) .saturating_add(T::DbWeight::get().reads(2)) } @@ -94,8 +94,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_016_000 picoseconds. - Weight::from_parts(14_627_000, 0) + // Minimum execution time: 14_978_000 picoseconds. + Weight::from_parts(15_379_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -105,8 +105,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_518_000 picoseconds. - Weight::from_parts(4_769_000, 0) + // Minimum execution time: 4_588_000 picoseconds. + Weight::from_parts(4_799_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -130,8 +130,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `278` // Estimated: `3743` - // Minimum execution time: 48_852_000 picoseconds. - Weight::from_parts(49_743_000, 0) + // Minimum execution time: 50_094_000 picoseconds. + Weight::from_parts(51_777_000, 0) .saturating_add(Weight::from_parts(0, 3743)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) @@ -154,8 +154,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `460` // Estimated: `3925` - // Minimum execution time: 48_651_000 picoseconds. - Weight::from_parts(49_673_000, 0) + // Minimum execution time: 50_745_000 picoseconds. + Weight::from_parts(51_306_000, 0) .saturating_add(Weight::from_parts(0, 3925)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) @@ -166,8 +166,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_669_000 picoseconds. - Weight::from_parts(5_080_000, 0) + // Minimum execution time: 4_639_000 picoseconds. + Weight::from_parts(4_829_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -177,8 +177,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `235` // Estimated: `11125` - // Minimum execution time: 24_976_000 picoseconds. - Weight::from_parts(25_528_000, 0) + // Minimum execution time: 25_688_000 picoseconds. + Weight::from_parts(26_369_000, 0) .saturating_add(Weight::from_parts(0, 11125)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -189,8 +189,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `239` // Estimated: `11129` - // Minimum execution time: 25_337_000 picoseconds. - Weight::from_parts(25_989_000, 0) + // Minimum execution time: 25_729_000 picoseconds. + Weight::from_parts(26_380_000, 0) .saturating_add(Weight::from_parts(0, 11129)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -201,8 +201,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `246` // Estimated: `13611` - // Minimum execution time: 26_940_000 picoseconds. - Weight::from_parts(27_902_000, 0) + // Minimum execution time: 26_830_000 picoseconds. + Weight::from_parts(27_382_000, 0) .saturating_add(Weight::from_parts(0, 13611)) .saturating_add(T::DbWeight::get().reads(5)) } @@ -222,8 +222,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `345` // Estimated: `6285` - // Minimum execution time: 44_953_000 picoseconds. - Weight::from_parts(46_286_000, 0) + // Minimum execution time: 47_129_000 picoseconds. + Weight::from_parts(48_281_000, 0) .saturating_add(Weight::from_parts(0, 6285)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(3)) @@ -234,8 +234,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `206` // Estimated: `8621` - // Minimum execution time: 14_346_000 picoseconds. - Weight::from_parts(14_818_000, 0) + // Minimum execution time: 14_327_000 picoseconds. + Weight::from_parts(14_798_000, 0) .saturating_add(Weight::from_parts(0, 8621)) .saturating_add(T::DbWeight::get().reads(3)) } @@ -245,8 +245,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `246` // Estimated: `11136` - // Minimum execution time: 25_798_000 picoseconds. - Weight::from_parts(26_330_000, 0) + // Minimum execution time: 26_059_000 picoseconds. + Weight::from_parts(26_621_000, 0) .saturating_add(Weight::from_parts(0, 11136)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -267,8 +267,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `421` // Estimated: `11311` - // Minimum execution time: 54_331_000 picoseconds. - Weight::from_parts(55_524_000, 0) + // Minimum execution time: 57_008_000 picoseconds. + Weight::from_parts(58_310_000, 0) .saturating_add(Weight::from_parts(0, 11311)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) diff --git a/runtime/centrifuge/Cargo.toml b/runtime/centrifuge/Cargo.toml index 2767683f09..dd12b292a4 100644 --- a/runtime/centrifuge/Cargo.toml +++ b/runtime/centrifuge/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "centrifuge-runtime" -version = "0.10.26" +version = "0.10.28" build = "build.rs" authors.workspace = true edition.workspace = true diff --git a/runtime/centrifuge/src/lib.rs b/runtime/centrifuge/src/lib.rs index ebab64c90d..13444c3325 100644 --- a/runtime/centrifuge/src/lib.rs +++ b/runtime/centrifuge/src/lib.rs @@ -108,6 +108,7 @@ use runtime_common::{ }, origin::EnsureAccountOrRootOr, permissions::PoolAdminCheck, + rewards::SingleCurrencyMovement, transfer_filter::PreLpTransfer, xcm::AccountIdToMultiLocation, xcm_transactor, AllowanceDeposit, CurrencyED, HoldId, @@ -153,7 +154,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("centrifuge"), impl_name: create_runtime_str!("centrifuge"), authoring_version: 1, - spec_version: 1026, + spec_version: 1028, impl_version: 1, #[cfg(not(feature = "disable-runtime-api"))] apis: RUNTIME_API_VERSIONS, @@ -680,22 +681,26 @@ impl InstanceFilter for ProxyType { ProxyType::Borrow => matches!( c, RuntimeCall::Loans(pallet_loans::Call::create { .. }) | - RuntimeCall::Loans(pallet_loans::Call::borrow { .. }) | - RuntimeCall::Loans(pallet_loans::Call::repay { .. }) | - RuntimeCall::Loans(pallet_loans::Call::write_off { .. }) | - RuntimeCall::Loans(pallet_loans::Call::apply_loan_mutation { .. }) | - RuntimeCall::Loans(pallet_loans::Call::close { .. }) | - RuntimeCall::Loans(pallet_loans::Call::apply_write_off_policy { .. }) | - RuntimeCall::Loans(pallet_loans::Call::update_portfolio_valuation { .. }) | - RuntimeCall::Loans(pallet_loans::Call::propose_transfer_debt { .. }) | - RuntimeCall::Loans(pallet_loans::Call::apply_transfer_debt { .. }) | - // Borrowers should be able to close and execute an epoch - // in order to get liquidity from repayments in previous epochs. + RuntimeCall::Loans(pallet_loans::Call::borrow { .. }) | + RuntimeCall::Loans(pallet_loans::Call::repay { .. }) | + RuntimeCall::Loans(pallet_loans::Call::write_off { .. }) | + RuntimeCall::Loans(pallet_loans::Call::apply_loan_mutation { .. }) | + RuntimeCall::Loans(pallet_loans::Call::close { .. }) | + RuntimeCall::Loans(pallet_loans::Call::apply_write_off_policy { .. }) | + RuntimeCall::Loans(pallet_loans::Call::update_portfolio_valuation { .. }) | + RuntimeCall::Loans(pallet_loans::Call::propose_transfer_debt { .. }) | + RuntimeCall::Loans(pallet_loans::Call::apply_transfer_debt { .. }) | + // Borrowers should be able to close and execute an epoch + // in order to get liquidity from repayments in previous epochs. RuntimeCall::PoolSystem(pallet_pool_system::Call::close_epoch{..}) | RuntimeCall::PoolSystem(pallet_pool_system::Call::submit_solution{..}) | RuntimeCall::PoolSystem(pallet_pool_system::Call::execute_epoch{..}) | RuntimeCall::Utility(pallet_utility::Call::batch_all{..}) | - RuntimeCall::Utility(pallet_utility::Call::batch{..}) + RuntimeCall::Utility(pallet_utility::Call::batch{..}) | + // Borrowers should be able to swap back and forth between local currencies and their variants + RuntimeCall::TokenMux(pallet_token_mux::Call::burn {..}) | + RuntimeCall::TokenMux(pallet_token_mux::Call::deposit {..}) | + RuntimeCall::TokenMux(pallet_token_mux::Call::match_swap {..}) ), ProxyType::Invest => matches!( c, @@ -1216,9 +1221,6 @@ impl pallet_xcm_transactor::Config for Runtime { // Block Rewards parameter_types! { - // BlockRewards have exactly one group and currency - #[derive(scale_info::TypeInfo)] - pub const SingleCurrencyMovement: u32 = 1; #[derive(scale_info::TypeInfo, Debug, PartialEq, Eq, Clone)] pub const MaxChangesPerEpoch: u32 = 50; pub const BlockRewardsPalletId: PalletId = cfg_types::ids::BLOCK_REWARDS_PALLET_ID; @@ -1673,6 +1675,7 @@ impl pallet_investments::Config for Runtime { parameter_types! { pub const MaxActiveLoansPerPool: u32 = 1000; + pub const MaxRegisteredPricesPerPool: u32 = 100; pub const MaxRateCount: u32 = 1000; // See #1024 pub const FirstValueFee: Fee = Fee::Balance(deposit(1, pallet_oracle_feed::util::size_of_feed::())); @@ -1680,7 +1683,7 @@ parameter_types! { pub const MaxWriteOffPolicySize: u32 = 100; #[derive(Clone, PartialEq, Eq, Debug, TypeInfo, Encode, Decode, MaxEncodedLen)] - pub const MaxFeedersPerKey: u32 = 10; + pub const MaxFeedersPerKey: u32 = 5; } impl pallet_oracle_feed::Config for Runtime { @@ -1699,7 +1702,7 @@ impl pallet_oracle_collection::Config for Runtime { type CollectionId = PoolId; type FeederId = Feeder; type IsAdmin = PoolAdminCheck; - type MaxCollectionSize = MaxActiveLoansPerPool; + type MaxCollectionSize = MaxRegisteredPricesPerPool; type MaxFeedersPerKey = MaxFeedersPerKey; type OracleKey = OracleKey; type OracleProvider = @@ -1800,8 +1803,8 @@ impl pallet_uniques::Config for Runtime { } parameter_types! { - pub const OrderPairVecSize: u32 = 1_000u32; pub MinFulfillmentAmountNative: Balance = 10 * CFG; + pub NativeDecimals: u32 = cfg_primitives::currency_decimals::NATIVE; } impl pallet_order_book::Config for Runtime { @@ -1811,13 +1814,11 @@ impl pallet_order_book::Config for Runtime { type BalanceOut = Balance; type Currency = Tokens; type CurrencyId = CurrencyId; - type DecimalConverter = - runtime_common::foreign_investments::NativeBalanceDecimalConverter; type FeederId = Feeder; type FulfilledOrderHook = Swaps; type MinFulfillmentAmountNative = MinFulfillmentAmountNative; + type NativeDecimals = NativeDecimals; type OrderIdNonce = u64; - type OrderPairVecSize = OrderPairVecSize; type Ratio = Ratio; type RatioProvider = OracleRatioProviderLocalAssetExtension< RuntimeOrigin, @@ -2061,7 +2062,7 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - migrations::UpgradeCentrifuge1026, + migrations::UpgradeCentrifuge1028, >; // Frame Order in this block dictates the index of each one in the metadata diff --git a/runtime/centrifuge/src/migrations.rs b/runtime/centrifuge/src/migrations.rs index ca0ac12d1a..000570d373 100644 --- a/runtime/centrifuge/src/migrations.rs +++ b/runtime/centrifuge/src/migrations.rs @@ -10,189 +10,62 @@ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. -use cfg_primitives::{Balance, PoolId}; -use cfg_types::tokens::{ - usdc::{ - CURRENCY_ID_AXELAR, CURRENCY_ID_DOT_NATIVE, CURRENCY_ID_LOCAL, CURRENCY_ID_LP_ARB, - CURRENCY_ID_LP_BASE, CURRENCY_ID_LP_CELO, CURRENCY_ID_LP_CELO_WORMHOLE, CURRENCY_ID_LP_ETH, - LOCAL_ASSET_ID, - }, - CurrencyId, LocalAssetId, -}; - -frame_support::parameter_types! { - pub const ClaimsPalletName: &'static str = "Claims"; - pub const MigrationPalletName: &'static str = "Migration"; - pub const UsdcVariants: [CurrencyId; 6] = [CURRENCY_ID_DOT_NATIVE, CURRENCY_ID_AXELAR, CURRENCY_ID_LP_ETH, CURRENCY_ID_LP_BASE, CURRENCY_ID_LP_ARB, CURRENCY_ID_LP_CELO]; - pub const LocalAssetIdUsdc: LocalAssetId = LOCAL_ASSET_ID; - pub const LocalCurrencyIdUsdc: CurrencyId = CURRENCY_ID_LOCAL; - pub const PoolIdAnemoy: PoolId = 4_139_607_887; - pub const PoolCurrencyAnemoy: CurrencyId = CURRENCY_ID_DOT_NATIVE; - pub const UsdcDot: CurrencyId = CURRENCY_ID_DOT_NATIVE; - pub const UsdcEth: CurrencyId = CURRENCY_ID_LP_ETH; - pub const UsdcBase: CurrencyId = CURRENCY_ID_LP_BASE; - pub const UsdcArb: CurrencyId = CURRENCY_ID_LP_ARB; - pub const UsdcCeloWormhole: CurrencyId = CURRENCY_ID_LP_CELO_WORMHOLE; - pub const UsdcCelo: CurrencyId = CURRENCY_ID_LP_CELO; - pub const MinOrderAmount: Balance = 10u128.pow(6); - pub const AnnualTreasuryInflationPercent: u32 = 3; -} - -pub type UpgradeCentrifuge1026 = ( - runtime_common::migrations::epoch_execution::Migration, - // Migrates the currency used in `pallet-transfer-allowlist` from our global currency to a - // special filter currency enum - runtime_common::migrations::transfer_allowlist_currency::Migration, - // Removes tinlake reward claims pallet - runtime_common::migrations::nuke::KillPallet, - // Register LocalUSDC - runtime_common::migrations::local_currency::register::Migration< - super::Runtime, - LocalCurrencyIdUsdc, - >, - // Register new canonical USDC on Celo - runtime_common::migrations::update_celo_usdcs::AddNewCeloUsdc, - // Update custom metadata by initiating local representation for all assets - runtime_common::migrations::local_currency::translate_metadata::Migration< - super::Runtime, - UsdcVariants, - LocalAssetIdUsdc, - >, - // Change name and symbol of Celo Wormhole USDC - // NOTE: Needs to happen after metadata translation because expects new CustomMetadata - runtime_common::migrations::update_celo_usdcs::UpdateWormholeUsdc, - // Switch pool currency from Polkadot USDC to Local USDC - runtime_common::migrations::local_currency::migrate_pool_currency::Migration< - super::Runtime, - PoolIdAnemoy, - PoolCurrencyAnemoy, - LocalCurrencyIdUsdc, - >, - // Removes unused migration pallet - runtime_common::migrations::nuke::KillPallet, - // Sets account codes for all precompiles - runtime_common::migrations::precompile_account_codes::Migration, - // Bumps storage version from 0 to 1 - runtime_common::migrations::nuke::ResetPallet, - // Apply relative treasury inflation - pallet_block_rewards::migrations::v2::RelativeTreasuryInflationMigration< - crate::Runtime, - AnnualTreasuryInflationPercent, - >, - // Bump balances storage version from v0 to v1 and mark balance of CheckingAccount as inactive, - // see https://github.com/paritytech/substrate/pull/12813 - pallet_balances::migration::MigrateToTrackInactive, - // Assets were already migrated to V3 MultiLocation but version not increased from 0 to 2 - runtime_common::migrations::increase_storage_version::Migration, - // Burns tokens from other domains that are falsly not burned when they were transferred back - // to their domain - burn_unburned::Migration, - // Bumps storage version from 0 to 1 - runtime_common::migrations::nuke::ResetPallet< - crate::ForeignInvestments, - crate::RocksDbWeight, - 0, - >, -); - -mod burn_unburned { - const LOG_PREFIX: &str = "BurnUnburnedMigration: "; - const LP_ETH_USDC: CurrencyId = CurrencyId::ForeignAsset(100_001); - const ETH_DOMAIN: Domain = Domain::EVM(1); - - use cfg_types::{domain_address::Domain, tokens::CurrencyId}; - use frame_support::traits::{ - fungibles::Mutate, - tokens::{Fortitude, Precision}, - OnRuntimeUpgrade, - }; - use pallet_order_book::weights::Weight; - use sp_runtime::traits::{Convert, Get}; - - pub struct Migration +/// The migration set for Centrifuge @ Polkadot. +/// It includes all the migrations that have to be applied on that chain. +pub type UpgradeCentrifuge1028 = migrate_anemoy_external_prices::Migration; + +mod migrate_anemoy_external_prices { + use cfg_primitives::PoolId; + use cfg_traits::data::DataRegistry; + use cfg_types::oracles::OracleKey; + use frame_support::{traits::OnRuntimeUpgrade, weights::Weight}; + use pallet_loans::{entities::pricing::ActivePricing, WeightInfo}; + + const LOG_PREFIX: &str = "MigrateAnemoyPrices:"; + const ANEMOY_POOL_ID: PoolId = 4139607887; + /// Simply bumps the storage version of a pallet + /// + /// NOTE: Use with caution! Must ensure beforehand that a migration is not + /// necessary + pub struct Migration(sp_std::marker::PhantomData); + impl OnRuntimeUpgrade for Migration where - T: orml_tokens::Config + frame_system::Config, + R: pallet_loans::Config + + pallet_oracle_collection::Config, { - _phantom: sp_std::marker::PhantomData, - } - - impl OnRuntimeUpgrade for Migration - where - T: orml_tokens::Config + frame_system::Config, - { - #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, sp_runtime::TryRuntimeError> { - use sp_runtime::traits::Zero; - - let pre_data = orml_tokens::Accounts::::get( - >::convert(ETH_DOMAIN), - LP_ETH_USDC, - ); - - if !pre_data.frozen.is_zero() || !pre_data.reserved.is_zero() { - log::error!( - "{LOG_PREFIX} AccountData of Ethereum domain account has non free balances..." - ); - } - let total_issuance = orml_tokens::TotalIssuance::::get(LP_ETH_USDC); - assert_eq!(total_issuance, pre_data.free); - - log::info!( - "{LOG_PREFIX} AccountData of Ethereum domain account has free balance of: {:?}", - pre_data.free - ); - - Ok(sp_std::vec::Vec::new()) - } - fn on_runtime_upgrade() -> Weight { - let data = orml_tokens::Accounts::::get( - >::convert(ETH_DOMAIN), - LP_ETH_USDC, - ); - if let Err(e) = orml_tokens::Pallet::::burn_from( - LP_ETH_USDC, - &>::convert(ETH_DOMAIN), - data.free, - Precision::Exact, - Fortitude::Force, - ) { - log::error!( - "{LOG_PREFIX} Burning from Ethereum domain account failed with: {:?}. Migration failed...", - e - ); - } else { - log::info!( - "{LOG_PREFIX} Successfully burned {:?} LP_ETH_USDC from Ethereum domain account", - data.free - ); - } - - T::DbWeight::get().writes(2) + log::info!("{LOG_PREFIX}: STARTING Migrating Anemoy Price Ids."); + let active_loans = pallet_loans::ActiveLoans::::get(ANEMOY_POOL_ID); + active_loans.clone().into_iter().for_each(|(_, loan)| { + if let ActivePricing::External(pricing) = loan.pricing() { + match pallet_oracle_collection::Pallet::::register_id( + &pricing.price_id(), + &ANEMOY_POOL_ID, + ) { + Ok(_) => { + log::info!("{LOG_PREFIX}: Registered PriceId: {:?}", pricing.price_id()) + } + Err(e) => log::info!( + "{LOG_PREFIX}: Failed to register PriceId: {:?}, with error: {:?}.", + pricing.price_id(), + e + ), + } + } + }); + + log::info!("{LOG_PREFIX}: FINISHED Migrating Anemoy Price Ids."); + ::WeightInfo::create() + .saturating_mul(active_loans.len() as u64) } #[cfg(feature = "try-runtime")] - fn post_upgrade(_state: sp_std::vec::Vec) -> Result<(), sp_runtime::TryRuntimeError> { - use sp_runtime::traits::Zero; - - assert!(orml_tokens::TotalIssuance::::get(LP_ETH_USDC).is_zero()); - - let post_data = orml_tokens::Accounts::::get( - >::convert(ETH_DOMAIN), - LP_ETH_USDC, - ); - - if !post_data.free.is_zero() - || !post_data.frozen.is_zero() - || !post_data.reserved.is_zero() - { - log::error!( - "{LOG_PREFIX} AccountData of Ethereum domain account SHOULD be zero. Migration failed." - ); - } else { - log::info!("{LOG_PREFIX} Migration successfully finished.") - } + fn pre_upgrade() -> Result, sp_runtime::DispatchError> { + Ok(sp_std::vec![]) + } + #[cfg(feature = "try-runtime")] + fn post_upgrade(_: sp_std::vec::Vec) -> Result<(), sp_runtime::DispatchError> { Ok(()) } } diff --git a/runtime/centrifuge/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/centrifuge/src/weights/cumulus_pallet_xcmp_queue.rs index d0b5704984..d501357109 100644 --- a/runtime/centrifuge/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/centrifuge/src/weights/cumulus_pallet_xcmp_queue.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -38,8 +38,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `109` // Estimated: `1594` - // Minimum execution time: 8_646_000 picoseconds. - Weight::from_parts(9_037_000, 0) + // Minimum execution time: 8_697_000 picoseconds. + Weight::from_parts(9_047_000, 0) .saturating_add(Weight::from_parts(0, 1594)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -50,8 +50,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `109` // Estimated: `1594` - // Minimum execution time: 8_786_000 picoseconds. - Weight::from_parts(9_197_000, 0) + // Minimum execution time: 8_486_000 picoseconds. + Weight::from_parts(8_866_000, 0) .saturating_add(Weight::from_parts(0, 1594)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/centrifuge/src/weights/pallet_anchors.rs b/runtime/centrifuge/src/weights/pallet_anchors.rs index 8c7404b18c..b4a2ffbf92 100644 --- a/runtime/centrifuge/src/weights/pallet_anchors.rs +++ b/runtime/centrifuge/src/weights/pallet_anchors.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_anchors` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -42,8 +42,8 @@ impl pallet_anchors::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `334` // Estimated: `3581` - // Minimum execution time: 40_235_000 picoseconds. - Weight::from_parts(41_488_000, 0) + // Minimum execution time: 40_876_000 picoseconds. + Weight::from_parts(41_417_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -70,8 +70,8 @@ impl pallet_anchors::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `668` // Estimated: `3581` - // Minimum execution time: 71_403_000 picoseconds. - Weight::from_parts(72_826_000, 0) + // Minimum execution time: 71_232_000 picoseconds. + Weight::from_parts(72_526_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) @@ -82,8 +82,8 @@ impl pallet_anchors::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `12450` // Estimated: `260090` - // Minimum execution time: 2_197_512_000 picoseconds. - Weight::from_parts(2_213_131_000, 0) + // Minimum execution time: 2_213_019_000 picoseconds. + Weight::from_parts(2_232_476_000, 0) .saturating_add(Weight::from_parts(0, 260090)) .saturating_add(T::DbWeight::get().reads(100)) .saturating_add(T::DbWeight::get().writes(100)) @@ -506,8 +506,8 @@ impl pallet_anchors::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `18324` // Estimated: `254990` - // Minimum execution time: 1_940_261_000 picoseconds. - Weight::from_parts(1_960_890_000, 0) + // Minimum execution time: 1_962_944_000 picoseconds. + Weight::from_parts(1_983_843_000, 0) .saturating_add(Weight::from_parts(0, 254990)) .saturating_add(T::DbWeight::get().reads(504)) .saturating_add(T::DbWeight::get().writes(402)) diff --git a/runtime/centrifuge/src/weights/pallet_balances.rs b/runtime/centrifuge/src/weights/pallet_balances.rs index bdefdf1f14..9ac874a3f5 100644 --- a/runtime/centrifuge/src/weights/pallet_balances.rs +++ b/runtime/centrifuge/src/weights/pallet_balances.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -38,8 +38,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `52` // Estimated: `3593` - // Minimum execution time: 85_279_000 picoseconds. - Weight::from_parts(86_581_000, 0) + // Minimum execution time: 86_902_000 picoseconds. + Weight::from_parts(87_693_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -50,8 +50,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `52` // Estimated: `3593` - // Minimum execution time: 64_601_000 picoseconds. - Weight::from_parts(65_453_000, 0) + // Minimum execution time: 65_372_000 picoseconds. + Weight::from_parts(66_354_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -62,8 +62,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `245` // Estimated: `3593` - // Minimum execution time: 24_676_000 picoseconds. - Weight::from_parts(25_327_000, 0) + // Minimum execution time: 24_876_000 picoseconds. + Weight::from_parts(25_698_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -74,8 +74,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `245` // Estimated: `3593` - // Minimum execution time: 36_047_000 picoseconds. - Weight::from_parts(37_200_000, 0) + // Minimum execution time: 37_049_000 picoseconds. + Weight::from_parts(37_640_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -86,8 +86,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `192` // Estimated: `6196` - // Minimum execution time: 89_407_000 picoseconds. - Weight::from_parts(90_940_000, 0) + // Minimum execution time: 90_669_000 picoseconds. + Weight::from_parts(91_962_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -98,8 +98,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `52` // Estimated: `3593` - // Minimum execution time: 81_812_000 picoseconds. - Weight::from_parts(82_765_000, 0) + // Minimum execution time: 82_043_000 picoseconds. + Weight::from_parts(82_975_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -110,8 +110,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `245` // Estimated: `3593` - // Minimum execution time: 29_926_000 picoseconds. - Weight::from_parts(30_577_000, 0) + // Minimum execution time: 29_435_000 picoseconds. + Weight::from_parts(29_926_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -123,11 +123,11 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `176 + u * (136 ±0)` // Estimated: `990 + u * (2603 ±0)` - // Minimum execution time: 27_291_000 picoseconds. - Weight::from_parts(27_742_000, 0) + // Minimum execution time: 26_910_000 picoseconds. + Weight::from_parts(27_420_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 12_604 - .saturating_add(Weight::from_parts(21_969_431, 0).saturating_mul(u.into())) + // Standard Error: 13_954 + .saturating_add(Weight::from_parts(21_783_728, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into())) diff --git a/runtime/centrifuge/src/weights/pallet_block_rewards.rs b/runtime/centrifuge/src/weights/pallet_block_rewards.rs index 0ad5e6eaaf..20531c4e25 100644 --- a/runtime/centrifuge/src/weights/pallet_block_rewards.rs +++ b/runtime/centrifuge/src/weights/pallet_block_rewards.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_block_rewards` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -44,8 +44,8 @@ impl pallet_block_rewards::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `583` // Estimated: `6196` - // Minimum execution time: 89_777_000 picoseconds. - Weight::from_parts(90_960_000, 0) + // Minimum execution time: 87_612_000 picoseconds. + Weight::from_parts(89_607_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) @@ -56,8 +56,8 @@ impl pallet_block_rewards::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `41` // Estimated: `3582` - // Minimum execution time: 8_957_000 picoseconds. - Weight::from_parts(9_327_000, 0) + // Minimum execution time: 8_486_000 picoseconds. + Weight::from_parts(8_876_000, 0) .saturating_add(Weight::from_parts(0, 3582)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -68,8 +68,8 @@ impl pallet_block_rewards::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `41` // Estimated: `3582` - // Minimum execution time: 9_107_000 picoseconds. - Weight::from_parts(9_418_000, 0) + // Minimum execution time: 8_455_000 picoseconds. + Weight::from_parts(8_797_000, 0) .saturating_add(Weight::from_parts(0, 3582)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/centrifuge/src/weights/pallet_collator_allowlist.rs b/runtime/centrifuge/src/weights/pallet_collator_allowlist.rs index cca73dc0b6..aff5eb5ae8 100644 --- a/runtime/centrifuge/src/weights/pallet_collator_allowlist.rs +++ b/runtime/centrifuge/src/weights/pallet_collator_allowlist.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_collator_allowlist` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -40,8 +40,8 @@ impl pallet_collator_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `557` // Estimated: `4022` - // Minimum execution time: 25_568_000 picoseconds. - Weight::from_parts(26_480_000, 0) + // Minimum execution time: 25_628_000 picoseconds. + Weight::from_parts(26_609_000, 0) .saturating_add(Weight::from_parts(0, 4022)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -52,8 +52,8 @@ impl pallet_collator_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `265` // Estimated: `3497` - // Minimum execution time: 19_176_000 picoseconds. - Weight::from_parts(19_756_000, 0) + // Minimum execution time: 19_285_000 picoseconds. + Weight::from_parts(19_817_000, 0) .saturating_add(Weight::from_parts(0, 3497)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/centrifuge/src/weights/pallet_collator_selection.rs b/runtime/centrifuge/src/weights/pallet_collator_selection.rs index b8df0b0596..d18b6c3ff6 100644 --- a/runtime/centrifuge/src/weights/pallet_collator_selection.rs +++ b/runtime/centrifuge/src/weights/pallet_collator_selection.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_collator_selection` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -44,11 +44,11 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `499 + b * (112 ±0)` // Estimated: `1486 + b * (2588 ±0)` - // Minimum execution time: 24_636_000 picoseconds. - Weight::from_parts(22_436_650, 0) + // Minimum execution time: 24_676_000 picoseconds. + Weight::from_parts(22_033_390, 0) .saturating_add(Weight::from_parts(0, 1486)) - // Standard Error: 2_903 - .saturating_add(Weight::from_parts(5_969_368, 0).saturating_mul(b.into())) + // Standard Error: 2_725 + .saturating_add(Weight::from_parts(5_923_329, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 2588).saturating_mul(b.into())) @@ -59,8 +59,8 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_085_000 picoseconds. - Weight::from_parts(13_886_000, 0) + // Minimum execution time: 13_977_000 picoseconds. + Weight::from_parts(14_647_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -70,8 +70,8 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_068_000 picoseconds. - Weight::from_parts(10_449_000, 0) + // Minimum execution time: 10_489_000 picoseconds. + Weight::from_parts(10_960_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -95,11 +95,11 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `1068 + c * (59 ±0)` // Estimated: `4687 + c * (60 ±0)` - // Minimum execution time: 65_742_000 picoseconds. - Weight::from_parts(67_758_195, 0) + // Minimum execution time: 65_722_000 picoseconds. + Weight::from_parts(67_761_452, 0) .saturating_add(Weight::from_parts(0, 4687)) - // Standard Error: 2_042 - .saturating_add(Weight::from_parts(228_743, 0).saturating_mul(c.into())) + // Standard Error: 1_753 + .saturating_add(Weight::from_parts(236_704, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 60).saturating_mul(c.into())) @@ -114,11 +114,11 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `549 + c * (44 ±0)` // Estimated: `2446` - // Minimum execution time: 46_036_000 picoseconds. - Weight::from_parts(47_378_347, 0) + // Minimum execution time: 45_785_000 picoseconds. + Weight::from_parts(47_151_459, 0) .saturating_add(Weight::from_parts(0, 2446)) - // Standard Error: 2_567 - .saturating_add(Weight::from_parts(83_184, 0).saturating_mul(c.into())) + // Standard Error: 2_758 + .saturating_add(Weight::from_parts(89_087, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -132,8 +132,8 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `195` // Estimated: `6196` - // Minimum execution time: 71_784_000 picoseconds. - Weight::from_parts(73_277_000, 0) + // Minimum execution time: 72_164_000 picoseconds. + Weight::from_parts(73_597_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) @@ -156,11 +156,11 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `581 + c * (98 ±0) + r * (142 ±0)` // Estimated: `7019778708211172 + c * (2519 ±0) + r * (2259 ±9)` - // Minimum execution time: 25_307_000 picoseconds. - Weight::from_parts(25_928_000, 0) + // Minimum execution time: 25_227_000 picoseconds. + Weight::from_parts(25_828_000, 0) .saturating_add(Weight::from_parts(0, 7019778708211172)) - // Standard Error: 221_956 - .saturating_add(Weight::from_parts(17_817_037, 0).saturating_mul(c.into())) + // Standard Error: 224_935 + .saturating_add(Weight::from_parts(17_932_306, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/centrifuge/src/weights/pallet_collective.rs b/runtime/centrifuge/src/weights/pallet_collective.rs index a7739f4ff6..1c60d88097 100644 --- a/runtime/centrifuge/src/weights/pallet_collective.rs +++ b/runtime/centrifuge/src/weights/pallet_collective.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -47,13 +47,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + m * (3232 ±0) + p * (3190 ±0)` // Estimated: `15762 + m * (1967 ±23) + p * (4332 ±23)` - // Minimum execution time: 23_143_000 picoseconds. - Weight::from_parts(23_724_000, 0) + // Minimum execution time: 23_504_000 picoseconds. + Weight::from_parts(24_045_000, 0) .saturating_add(Weight::from_parts(0, 15762)) - // Standard Error: 63_516 - .saturating_add(Weight::from_parts(4_621_545, 0).saturating_mul(m.into())) - // Standard Error: 63_516 - .saturating_add(Weight::from_parts(8_641_676, 0).saturating_mul(p.into())) + // Standard Error: 62_373 + .saturating_add(Weight::from_parts(4_726_718, 0).saturating_mul(m.into())) + // Standard Error: 62_373 + .saturating_add(Weight::from_parts(8_779_554, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -69,13 +69,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `103 + m * (32 ±0)` // Estimated: `1589 + m * (32 ±0)` - // Minimum execution time: 23_725_000 picoseconds. - Weight::from_parts(22_511_824, 0) + // Minimum execution time: 24_235_000 picoseconds. + Weight::from_parts(23_250_984, 0) .saturating_add(Weight::from_parts(0, 1589)) - // Standard Error: 39 - .saturating_add(Weight::from_parts(1_832, 0).saturating_mul(b.into())) - // Standard Error: 411 - .saturating_add(Weight::from_parts(22_309, 0).saturating_mul(m.into())) + // Standard Error: 36 + .saturating_add(Weight::from_parts(1_948, 0).saturating_mul(b.into())) + // Standard Error: 371 + .saturating_add(Weight::from_parts(18_660, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -89,13 +89,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `103 + m * (32 ±0)` // Estimated: `3569 + m * (32 ±0)` - // Minimum execution time: 27_621_000 picoseconds. - Weight::from_parts(26_815_283, 0) + // Minimum execution time: 28_623_000 picoseconds. + Weight::from_parts(27_427_537, 0) .saturating_add(Weight::from_parts(0, 3569)) - // Standard Error: 37 - .saturating_add(Weight::from_parts(1_736, 0).saturating_mul(b.into())) - // Standard Error: 390 - .saturating_add(Weight::from_parts(31_331, 0).saturating_mul(m.into())) + // Standard Error: 44 + .saturating_add(Weight::from_parts(1_964, 0).saturating_mul(b.into())) + // Standard Error: 459 + .saturating_add(Weight::from_parts(27_792, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -116,15 +116,15 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `393 + m * (32 ±0) + p * (36 ±0)` // Estimated: `3785 + m * (33 ±0) + p * (36 ±0)` - // Minimum execution time: 37_741_000 picoseconds. - Weight::from_parts(35_042_484, 0) + // Minimum execution time: 37_019_000 picoseconds. + Weight::from_parts(36_618_582, 0) .saturating_add(Weight::from_parts(0, 3785)) - // Standard Error: 85 - .saturating_add(Weight::from_parts(3_547, 0).saturating_mul(b.into())) - // Standard Error: 895 - .saturating_add(Weight::from_parts(34_350, 0).saturating_mul(m.into())) - // Standard Error: 883 - .saturating_add(Weight::from_parts(267_409, 0).saturating_mul(p.into())) + // Standard Error: 94 + .saturating_add(Weight::from_parts(2_958, 0).saturating_mul(b.into())) + // Standard Error: 986 + .saturating_add(Weight::from_parts(25_992, 0).saturating_mul(m.into())) + // Standard Error: 973 + .saturating_add(Weight::from_parts(241_104, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into())) @@ -139,11 +139,11 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `842 + m * (64 ±0)` // Estimated: `4306 + m * (64 ±0)` - // Minimum execution time: 31_309_000 picoseconds. - Weight::from_parts(32_035_094, 0) + // Minimum execution time: 31_509_000 picoseconds. + Weight::from_parts(32_380_933, 0) .saturating_add(Weight::from_parts(0, 4306)) - // Standard Error: 942 - .saturating_add(Weight::from_parts(53_706, 0).saturating_mul(m.into())) + // Standard Error: 670 + .saturating_add(Weight::from_parts(42_211, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) @@ -162,13 +162,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `431 + m * (64 ±0) + p * (36 ±0)` // Estimated: `3876 + m * (65 ±0) + p * (36 ±0)` - // Minimum execution time: 41_217_000 picoseconds. - Weight::from_parts(39_466_396, 0) + // Minimum execution time: 40_866_000 picoseconds. + Weight::from_parts(40_128_300, 0) .saturating_add(Weight::from_parts(0, 3876)) - // Standard Error: 1_153 - .saturating_add(Weight::from_parts(42_504, 0).saturating_mul(m.into())) - // Standard Error: 1_124 - .saturating_add(Weight::from_parts(260_551, 0).saturating_mul(p.into())) + // Standard Error: 900 + .saturating_add(Weight::from_parts(35_686, 0).saturating_mul(m.into())) + // Standard Error: 878 + .saturating_add(Weight::from_parts(232_805, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) @@ -189,15 +189,15 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `733 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` // Estimated: `4050 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` - // Minimum execution time: 57_387_000 picoseconds. - Weight::from_parts(57_382_740, 0) + // Minimum execution time: 58_508_000 picoseconds. + Weight::from_parts(58_282_994, 0) .saturating_add(Weight::from_parts(0, 4050)) - // Standard Error: 222 - .saturating_add(Weight::from_parts(2_360, 0).saturating_mul(b.into())) - // Standard Error: 2_350 - .saturating_add(Weight::from_parts(18_316, 0).saturating_mul(m.into())) - // Standard Error: 2_290 - .saturating_add(Weight::from_parts(311_742, 0).saturating_mul(p.into())) + // Standard Error: 190 + .saturating_add(Weight::from_parts(2_776, 0).saturating_mul(b.into())) + // Standard Error: 2_014 + .saturating_add(Weight::from_parts(14_102, 0).saturating_mul(m.into())) + // Standard Error: 1_963 + .saturating_add(Weight::from_parts(284_218, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) @@ -220,13 +220,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `451 + m * (64 ±0) + p * (36 ±0)` // Estimated: `3896 + m * (65 ±0) + p * (36 ±0)` - // Minimum execution time: 44_543_000 picoseconds. - Weight::from_parts(43_096_644, 0) + // Minimum execution time: 44_563_000 picoseconds. + Weight::from_parts(44_023_999, 0) .saturating_add(Weight::from_parts(0, 3896)) - // Standard Error: 2_468 - .saturating_add(Weight::from_parts(45_296, 0).saturating_mul(m.into())) - // Standard Error: 2_407 - .saturating_add(Weight::from_parts(255_405, 0).saturating_mul(p.into())) + // Standard Error: 807 + .saturating_add(Weight::from_parts(39_142, 0).saturating_mul(m.into())) + // Standard Error: 787 + .saturating_add(Weight::from_parts(229_511, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) @@ -249,15 +249,15 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `753 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` // Estimated: `4070 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` - // Minimum execution time: 61_345_000 picoseconds. - Weight::from_parts(59_927_827, 0) + // Minimum execution time: 62_106_000 picoseconds. + Weight::from_parts(62_287_266, 0) .saturating_add(Weight::from_parts(0, 4070)) - // Standard Error: 157 - .saturating_add(Weight::from_parts(3_275, 0).saturating_mul(b.into())) - // Standard Error: 1_667 - .saturating_add(Weight::from_parts(41_636, 0).saturating_mul(m.into())) - // Standard Error: 1_625 - .saturating_add(Weight::from_parts(305_213, 0).saturating_mul(p.into())) + // Standard Error: 141 + .saturating_add(Weight::from_parts(2_748, 0).saturating_mul(b.into())) + // Standard Error: 1_497 + .saturating_add(Weight::from_parts(32_032, 0).saturating_mul(m.into())) + // Standard Error: 1_459 + .saturating_add(Weight::from_parts(275_044, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) @@ -275,11 +275,11 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `260 + p * (32 ±0)` // Estimated: `1745 + p * (32 ±0)` - // Minimum execution time: 22_822_000 picoseconds. - Weight::from_parts(24_613_618, 0) + // Minimum execution time: 23_244_000 picoseconds. + Weight::from_parts(24_758_733, 0) .saturating_add(Weight::from_parts(0, 1745)) - // Standard Error: 758 - .saturating_add(Weight::from_parts(249_768, 0).saturating_mul(p.into())) + // Standard Error: 752 + .saturating_add(Weight::from_parts(216_365, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) diff --git a/runtime/centrifuge/src/weights/pallet_crowdloan_claim.rs b/runtime/centrifuge/src/weights/pallet_crowdloan_claim.rs index 728b707343..8179f299fc 100644 --- a/runtime/centrifuge/src/weights/pallet_crowdloan_claim.rs +++ b/runtime/centrifuge/src/weights/pallet_crowdloan_claim.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_crowdloan_claim` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -60,8 +60,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `639` // Estimated: `6196` - // Minimum execution time: 264_033_000 picoseconds. - Weight::from_parts(265_947_000, 0) + // Minimum execution time: 266_777_000 picoseconds. + Weight::from_parts(269_562_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(5)) @@ -94,8 +94,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `795` // Estimated: `6196` - // Minimum execution time: 266_478_000 picoseconds. - Weight::from_parts(269_082_000, 0) + // Minimum execution time: 268_971_000 picoseconds. + Weight::from_parts(271_906_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(5)) @@ -128,8 +128,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `691` // Estimated: `6196` - // Minimum execution time: 248_053_000 picoseconds. - Weight::from_parts(251_389_000, 0) + // Minimum execution time: 251_618_000 picoseconds. + Weight::from_parts(255_836_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(5)) @@ -152,8 +152,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `76` // Estimated: `1489` - // Minimum execution time: 24_515_000 picoseconds. - Weight::from_parts(25_197_000, 0) + // Minimum execution time: 25_788_000 picoseconds. + Weight::from_parts(26_950_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(6)) @@ -164,8 +164,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_332_000 picoseconds. - Weight::from_parts(11_772_000, 0) + // Minimum execution time: 11_722_000 picoseconds. + Weight::from_parts(11_993_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -175,8 +175,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_121_000 picoseconds. - Weight::from_parts(11_862_000, 0) + // Minimum execution time: 11_691_000 picoseconds. + Weight::from_parts(12_142_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -186,8 +186,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_393_000 picoseconds. - Weight::from_parts(12_804_000, 0) + // Minimum execution time: 12_784_000 picoseconds. + Weight::from_parts(13_245_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -197,8 +197,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_231_000 picoseconds. - Weight::from_parts(11_562_000, 0) + // Minimum execution time: 11_771_000 picoseconds. + Weight::from_parts(12_964_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -208,8 +208,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_911_000 picoseconds. - Weight::from_parts(11_602_000, 0) + // Minimum execution time: 11_611_000 picoseconds. + Weight::from_parts(12_173_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/centrifuge/src/weights/pallet_crowdloan_reward.rs b/runtime/centrifuge/src/weights/pallet_crowdloan_reward.rs index 4f461b6c9a..a56ee127ca 100644 --- a/runtime/centrifuge/src/weights/pallet_crowdloan_reward.rs +++ b/runtime/centrifuge/src/weights/pallet_crowdloan_reward.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_crowdloan_reward` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -42,8 +42,8 @@ impl pallet_crowdloan_reward::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_004_000 picoseconds. - Weight::from_parts(13_615_000, 0) + // Minimum execution time: 13_626_000 picoseconds. + Weight::from_parts(14_047_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -53,8 +53,8 @@ impl pallet_crowdloan_reward::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_382_000 picoseconds. - Weight::from_parts(11_702_000, 0) + // Minimum execution time: 11_381_000 picoseconds. + Weight::from_parts(11_842_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -64,8 +64,8 @@ impl pallet_crowdloan_reward::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_482_000 picoseconds. - Weight::from_parts(11_782_000, 0) + // Minimum execution time: 11_421_000 picoseconds. + Weight::from_parts(11_882_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -75,8 +75,8 @@ impl pallet_crowdloan_reward::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_412_000 picoseconds. - Weight::from_parts(11_762_000, 0) + // Minimum execution time: 11_511_000 picoseconds. + Weight::from_parts(11_942_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/centrifuge/src/weights/pallet_democracy.rs b/runtime/centrifuge/src/weights/pallet_democracy.rs index a4b88ec22f..26e89c76b4 100644 --- a/runtime/centrifuge/src/weights/pallet_democracy.rs +++ b/runtime/centrifuge/src/weights/pallet_democracy.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -44,8 +44,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4768` // Estimated: `18187` - // Minimum execution time: 58_319_000 picoseconds. - Weight::from_parts(59_421_000, 0) + // Minimum execution time: 58_288_000 picoseconds. + Weight::from_parts(60_052_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -56,8 +56,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3523` // Estimated: `6695` - // Minimum execution time: 52_257_000 picoseconds. - Weight::from_parts(53_300_000, 0) + // Minimum execution time: 52_397_000 picoseconds. + Weight::from_parts(53_460_000, 0) .saturating_add(Weight::from_parts(0, 6695)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -74,8 +74,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3400` // Estimated: `7260` - // Minimum execution time: 65_933_000 picoseconds. - Weight::from_parts(67_937_000, 0) + // Minimum execution time: 66_274_000 picoseconds. + Weight::from_parts(67_706_000, 0) .saturating_add(Weight::from_parts(0, 7260)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -92,8 +92,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3422` // Estimated: `7260` - // Minimum execution time: 71_653_000 picoseconds. - Weight::from_parts(74_189_000, 0) + // Minimum execution time: 72_986_000 picoseconds. + Weight::from_parts(74_649_000, 0) .saturating_add(Weight::from_parts(0, 7260)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -108,8 +108,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `333` // Estimated: `3666` - // Minimum execution time: 37_510_000 picoseconds. - Weight::from_parts(38_692_000, 0) + // Minimum execution time: 38_291_000 picoseconds. + Weight::from_parts(39_113_000, 0) .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -132,8 +132,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `6249` // Estimated: `18187` - // Minimum execution time: 148_437_000 picoseconds. - Weight::from_parts(150_511_000, 0) + // Minimum execution time: 146_572_000 picoseconds. + Weight::from_parts(148_636_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) @@ -146,8 +146,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3383` // Estimated: `6703` - // Minimum execution time: 18_395_000 picoseconds. - Weight::from_parts(19_015_000, 0) + // Minimum execution time: 17_803_000 picoseconds. + Weight::from_parts(18_475_000, 0) .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -158,8 +158,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_070_000 picoseconds. - Weight::from_parts(5_370_000, 0) + // Minimum execution time: 4_839_000 picoseconds. + Weight::from_parts(5_140_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -169,8 +169,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_109_000 picoseconds. - Weight::from_parts(5_220_000, 0) + // Minimum execution time: 4_859_000 picoseconds. + Weight::from_parts(5_200_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -186,8 +186,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `253` // Estimated: `3518` - // Minimum execution time: 38_903_000 picoseconds. - Weight::from_parts(39_795_000, 0) + // Minimum execution time: 39_533_000 picoseconds. + Weight::from_parts(40_616_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) @@ -202,8 +202,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3486` // Estimated: `6703` - // Minimum execution time: 42_429_000 picoseconds. - Weight::from_parts(43_081_000, 0) + // Minimum execution time: 41_798_000 picoseconds. + Weight::from_parts(42_849_000, 0) .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -220,8 +220,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `6160` // Estimated: `18187` - // Minimum execution time: 123_040_000 picoseconds. - Weight::from_parts(124_723_000, 0) + // Minimum execution time: 121_095_000 picoseconds. + Weight::from_parts(122_417_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -234,8 +234,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `238` // Estimated: `3518` - // Minimum execution time: 28_493_000 picoseconds. - Weight::from_parts(29_355_000, 0) + // Minimum execution time: 29_164_000 picoseconds. + Weight::from_parts(29_716_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -251,11 +251,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 10_148_000 picoseconds. - Weight::from_parts(12_898_850, 0) + // Minimum execution time: 9_948_000 picoseconds. + Weight::from_parts(12_659_875, 0) .saturating_add(Weight::from_parts(0, 1489)) - // Standard Error: 5_373 - .saturating_add(Weight::from_parts(4_040_743, 0).saturating_mul(r.into())) + // Standard Error: 5_774 + .saturating_add(Weight::from_parts(4_020_914, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -278,11 +278,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` // Estimated: `18187 + r * (2676 ±0)` - // Minimum execution time: 14_947_000 picoseconds. - Weight::from_parts(18_327_993, 0) + // Minimum execution time: 14_788_000 picoseconds. + Weight::from_parts(18_612_348, 0) .saturating_add(Weight::from_parts(0, 18187)) - // Standard Error: 5_722 - .saturating_add(Weight::from_parts(4_042_079, 0).saturating_mul(r.into())) + // Standard Error: 6_592 + .saturating_add(Weight::from_parts(4_010_093, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -301,11 +301,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `764 + r * (108 ±0)` // Estimated: `19800 + r * (2676 ±0)` - // Minimum execution time: 56_676_000 picoseconds. - Weight::from_parts(61_261_998, 0) + // Minimum execution time: 57_287_000 picoseconds. + Weight::from_parts(62_674_495, 0) .saturating_add(Weight::from_parts(0, 19800)) - // Standard Error: 7_225 - .saturating_add(Weight::from_parts(5_104_214, 0).saturating_mul(r.into())) + // Standard Error: 6_400 + .saturating_add(Weight::from_parts(5_083_063, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -321,11 +321,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `460 + r * (108 ±0)` // Estimated: `13530 + r * (2676 ±0)` - // Minimum execution time: 28_303_000 picoseconds. - Weight::from_parts(28_299_424, 0) + // Minimum execution time: 28_764_000 picoseconds. + Weight::from_parts(30_005_574, 0) .saturating_add(Weight::from_parts(0, 13530)) - // Standard Error: 6_396 - .saturating_add(Weight::from_parts(5_107_921, 0).saturating_mul(r.into())) + // Standard Error: 5_794 + .saturating_add(Weight::from_parts(5_046_505, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -338,8 +338,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_899_000 picoseconds. - Weight::from_parts(5_159_000, 0) + // Minimum execution time: 5_009_000 picoseconds. + Weight::from_parts(5_259_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -356,11 +356,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `492` // Estimated: `7260` - // Minimum execution time: 33_813_000 picoseconds. - Weight::from_parts(52_017_727, 0) + // Minimum execution time: 34_154_000 picoseconds. + Weight::from_parts(51_607_498, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 4_092 - .saturating_add(Weight::from_parts(75_134, 0).saturating_mul(r.into())) + // Standard Error: 3_959 + .saturating_add(Weight::from_parts(70_857, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -377,11 +377,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `493 + r * (22 ±0)` // Estimated: `7260` - // Minimum execution time: 47_408_000 picoseconds. - Weight::from_parts(49_866_714, 0) + // Minimum execution time: 47_499_000 picoseconds. + Weight::from_parts(49_792_301, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_429 - .saturating_add(Weight::from_parts(93_391, 0).saturating_mul(r.into())) + // Standard Error: 1_250 + .saturating_add(Weight::from_parts(87_068, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -394,11 +394,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `695 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 20_969_000 picoseconds. - Weight::from_parts(23_886_555, 0) + // Minimum execution time: 21_400_000 picoseconds. + Weight::from_parts(24_108_794, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_276 - .saturating_add(Weight::from_parts(96_646, 0).saturating_mul(r.into())) + // Standard Error: 1_161 + .saturating_add(Weight::from_parts(92_162, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -412,10 +412,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Measured: `695 + r * (26 ±0)` // Estimated: `7260` // Minimum execution time: 21_480_000 picoseconds. - Weight::from_parts(24_332_154, 0) + Weight::from_parts(24_570_310, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_108 - .saturating_add(Weight::from_parts(96_680, 0).saturating_mul(r.into())) + // Standard Error: 1_237 + .saturating_add(Weight::from_parts(91_317, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -429,8 +429,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `357` // Estimated: `3556` - // Minimum execution time: 26_710_000 picoseconds. - Weight::from_parts(27_291_000, 0) + // Minimum execution time: 27_020_000 picoseconds. + Weight::from_parts(27_521_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -443,8 +443,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `253` // Estimated: `3518` - // Minimum execution time: 23_915_000 picoseconds. - Weight::from_parts(24_737_000, 0) + // Minimum execution time: 24_195_000 picoseconds. + Weight::from_parts(25_007_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -459,8 +459,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4889` // Estimated: `18187` - // Minimum execution time: 56_205_000 picoseconds. - Weight::from_parts(58_079_000, 0) + // Minimum execution time: 53_961_000 picoseconds. + Weight::from_parts(55_092_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -473,8 +473,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4789` // Estimated: `18187` - // Minimum execution time: 52_107_000 picoseconds. - Weight::from_parts(54_301_000, 0) + // Minimum execution time: 50_304_000 picoseconds. + Weight::from_parts(51_696_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -487,8 +487,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 21_530_000 picoseconds. - Weight::from_parts(22_091_000, 0) + // Minimum execution time: 21_741_000 picoseconds. + Weight::from_parts(22_181_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -501,8 +501,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `269` // Estimated: `3666` - // Minimum execution time: 26_670_000 picoseconds. - Weight::from_parts(27_391_000, 0) + // Minimum execution time: 26_920_000 picoseconds. + Weight::from_parts(27_501_000, 0) .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/centrifuge/src/weights/pallet_elections_phragmen.rs b/runtime/centrifuge/src/weights/pallet_elections_phragmen.rs index 28ce8a4184..7878de415b 100644 --- a/runtime/centrifuge/src/weights/pallet_elections_phragmen.rs +++ b/runtime/centrifuge/src/weights/pallet_elections_phragmen.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_elections_phragmen` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -49,11 +49,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `397 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 44_444_000 picoseconds. - Weight::from_parts(45_682_027, 0) + // Minimum execution time: 43_742_000 picoseconds. + Weight::from_parts(44_880_862, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 9_615 - .saturating_add(Weight::from_parts(136_656, 0).saturating_mul(v.into())) + // Standard Error: 8_920 + .saturating_add(Weight::from_parts(116_775, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) @@ -75,11 +75,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `366 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 63_269_000 picoseconds. - Weight::from_parts(63_956_654, 0) + // Minimum execution time: 61_504_000 picoseconds. + Weight::from_parts(62_534_140, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 15_953 - .saturating_add(Weight::from_parts(285_001, 0).saturating_mul(v.into())) + // Standard Error: 15_833 + .saturating_add(Weight::from_parts(330_451, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) @@ -101,11 +101,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `398 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 62_757_000 picoseconds. - Weight::from_parts(63_828_307, 0) + // Minimum execution time: 61_565_000 picoseconds. + Weight::from_parts(62_569_997, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 16_423 - .saturating_add(Weight::from_parts(329_304, 0).saturating_mul(v.into())) + // Standard Error: 21_420 + .saturating_add(Weight::from_parts(418_807, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) @@ -120,8 +120,8 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `568` // Estimated: `4764` - // Minimum execution time: 66_043_000 picoseconds. - Weight::from_parts(67_115_000, 0) + // Minimum execution time: 64_851_000 picoseconds. + Weight::from_parts(66_063_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -137,11 +137,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `1475 + c * (48 ±0)` // Estimated: `2960 + c * (48 ±0)` - // Minimum execution time: 47_860_000 picoseconds. - Weight::from_parts(49_025_232, 0) + // Minimum execution time: 46_947_000 picoseconds. + Weight::from_parts(48_177_216, 0) .saturating_add(Weight::from_parts(0, 2960)) - // Standard Error: 2_997 - .saturating_add(Weight::from_parts(64_151, 0).saturating_mul(c.into())) + // Standard Error: 2_528 + .saturating_add(Weight::from_parts(73_617, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into())) @@ -153,11 +153,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `318 + c * (48 ±0)` // Estimated: `1803 + c * (48 ±0)` - // Minimum execution time: 42_930_000 picoseconds. - Weight::from_parts(43_919_472, 0) + // Minimum execution time: 42_820_000 picoseconds. + Weight::from_parts(43_815_110, 0) .saturating_add(Weight::from_parts(0, 1803)) - // Standard Error: 2_103 - .saturating_add(Weight::from_parts(66_148, 0).saturating_mul(c.into())) + // Standard Error: 2_225 + .saturating_add(Weight::from_parts(67_886, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into())) @@ -176,8 +176,8 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `1655` // Estimated: `3140` - // Minimum execution time: 59_872_000 picoseconds. - Weight::from_parts(60_443_000, 0) + // Minimum execution time: 59_922_000 picoseconds. + Weight::from_parts(61_054_000, 0) .saturating_add(Weight::from_parts(0, 3140)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -188,8 +188,8 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `1023` // Estimated: `2508` - // Minimum execution time: 43_591_000 picoseconds. - Weight::from_parts(44_233_000, 0) + // Minimum execution time: 43_862_000 picoseconds. + Weight::from_parts(44_453_000, 0) .saturating_add(Weight::from_parts(0, 2508)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -220,8 +220,8 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `1758` // Estimated: `6196` - // Minimum execution time: 91_050_000 picoseconds. - Weight::from_parts(92_433_000, 0) + // Minimum execution time: 91_711_000 picoseconds. + Weight::from_parts(92_923_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) @@ -246,13 +246,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `1226 + v * (457 ±0)` // Estimated: `4528 + d * (1 ±0) + v * (3774 ±0)` - // Minimum execution time: 3_613_114_000 picoseconds. - Weight::from_parts(13_693_878, 0) + // Minimum execution time: 3_621_267_000 picoseconds. + Weight::from_parts(23_452_856, 0) .saturating_add(Weight::from_parts(0, 4528)) - // Standard Error: 35_360 - .saturating_add(Weight::from_parts(72_438_842, 0).saturating_mul(v.into())) - // Standard Error: 35_360 - .saturating_add(Weight::from_parts(125_812, 0).saturating_mul(d.into())) + // Standard Error: 37_618 + .saturating_add(Weight::from_parts(72_346_699, 0).saturating_mul(v.into())) + // Standard Error: 37_618 + .saturating_add(Weight::from_parts(59_701, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) @@ -283,16 +283,16 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + e * (23 ±0) + v * (241 ±0)` - // Estimated: `9351 + c * (154 ±3) + e * (19 ±0) + v * (2526 ±2)` - // Minimum execution time: 322_693_000 picoseconds. - Weight::from_parts(323_504_000, 0) + // Estimated: `9351 + c * (154 ±35) + e * (19 ±0) + v * (2526 ±2)` + // Minimum execution time: 315_237_000 picoseconds. + Weight::from_parts(317_170_000, 0) .saturating_add(Weight::from_parts(0, 9351)) - // Standard Error: 716_225 - .saturating_add(Weight::from_parts(2_527_984, 0).saturating_mul(c.into())) - // Standard Error: 142_476 - .saturating_add(Weight::from_parts(8_091_529, 0).saturating_mul(v.into())) - // Standard Error: 30_941 - .saturating_add(Weight::from_parts(190_114, 0).saturating_mul(e.into())) + // Standard Error: 644_016 + .saturating_add(Weight::from_parts(2_254_848, 0).saturating_mul(c.into())) + // Standard Error: 128_112 + .saturating_add(Weight::from_parts(7_562_842, 0).saturating_mul(v.into())) + // Standard Error: 27_821 + .saturating_add(Weight::from_parts(166_058, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(17)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes(7)) diff --git a/runtime/centrifuge/src/weights/pallet_fees.rs b/runtime/centrifuge/src/weights/pallet_fees.rs index a4ea75e633..f84498d6fb 100644 --- a/runtime/centrifuge/src/weights/pallet_fees.rs +++ b/runtime/centrifuge/src/weights/pallet_fees.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_fees` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -38,8 +38,8 @@ impl pallet_fees::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_523_000 picoseconds. - Weight::from_parts(12_823_000, 0) + // Minimum execution time: 12_433_000 picoseconds. + Weight::from_parts(12_853_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/centrifuge/src/weights/pallet_identity.rs b/runtime/centrifuge/src/weights/pallet_identity.rs index 0568929d9b..8f6e8c815a 100644 --- a/runtime/centrifuge/src/weights/pallet_identity.rs +++ b/runtime/centrifuge/src/weights/pallet_identity.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -39,11 +39,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `31 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 17_042_000 picoseconds. - Weight::from_parts(18_503_704, 0) + // Minimum execution time: 17_663_000 picoseconds. + Weight::from_parts(18_911_170, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 2_431 - .saturating_add(Weight::from_parts(96_248, 0).saturating_mul(r.into())) + // Standard Error: 2_246 + .saturating_add(Weight::from_parts(100_619, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -55,13 +55,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `441 + r * (5 ±0)` // Estimated: `11003` - // Minimum execution time: 47_559_000 picoseconds. - Weight::from_parts(45_654_257, 0) + // Minimum execution time: 47_899_000 picoseconds. + Weight::from_parts(46_624_446, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 4_543 - .saturating_add(Weight::from_parts(140_019, 0).saturating_mul(r.into())) - // Standard Error: 886 - .saturating_add(Weight::from_parts(846_877, 0).saturating_mul(x.into())) + // Standard Error: 3_568 + .saturating_add(Weight::from_parts(101_394, 0).saturating_mul(r.into())) + // Standard Error: 696 + .saturating_add(Weight::from_parts(774_354, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -76,11 +76,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `100` // Estimated: `11003 + s * (2589 ±0)` - // Minimum execution time: 13_214_000 picoseconds. - Weight::from_parts(33_953_331, 0) + // Minimum execution time: 13_345_000 picoseconds. + Weight::from_parts(34_731_499, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 5_382 - .saturating_add(Weight::from_parts(4_959_757, 0).saturating_mul(s.into())) + // Standard Error: 11_024 + .saturating_add(Weight::from_parts(4_877_205, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -98,11 +98,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `193 + p * (32 ±0)` // Estimated: `11003` - // Minimum execution time: 13_486_000 picoseconds. - Weight::from_parts(33_695_775, 0) + // Minimum execution time: 13_194_000 picoseconds. + Weight::from_parts(33_549_505, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 4_739 - .saturating_add(Weight::from_parts(1_963_974, 0).saturating_mul(p.into())) + // Standard Error: 4_655 + .saturating_add(Weight::from_parts(1_987_029, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) @@ -120,15 +120,15 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `468 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 88_004_000 picoseconds. - Weight::from_parts(44_759_509, 0) + // Minimum execution time: 87_102_000 picoseconds. + Weight::from_parts(44_595_745, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 8_578 - .saturating_add(Weight::from_parts(145_021, 0).saturating_mul(r.into())) - // Standard Error: 1_675 - .saturating_add(Weight::from_parts(1_946_896, 0).saturating_mul(s.into())) - // Standard Error: 1_675 - .saturating_add(Weight::from_parts(443_999, 0).saturating_mul(x.into())) + // Standard Error: 11_560 + .saturating_add(Weight::from_parts(167_752, 0).saturating_mul(r.into())) + // Standard Error: 2_257 + .saturating_add(Weight::from_parts(1_973_567, 0).saturating_mul(s.into())) + // Standard Error: 2_257 + .saturating_add(Weight::from_parts(434_354, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -143,13 +143,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `366 + r * (57 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 47_178_000 picoseconds. - Weight::from_parts(46_040_388, 0) + // Minimum execution time: 47_698_000 picoseconds. + Weight::from_parts(46_194_059, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 5_998 - .saturating_add(Weight::from_parts(117_934, 0).saturating_mul(r.into())) - // Standard Error: 1_170 - .saturating_add(Weight::from_parts(869_330, 0).saturating_mul(x.into())) + // Standard Error: 6_067 + .saturating_add(Weight::from_parts(122_661, 0).saturating_mul(r.into())) + // Standard Error: 1_183 + .saturating_add(Weight::from_parts(816_347, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -162,12 +162,12 @@ impl pallet_identity::WeightInfo for WeightInfo { // Measured: `397 + x * (66 ±0)` // Estimated: `11003` // Minimum execution time: 43_581_000 picoseconds. - Weight::from_parts(43_508_839, 0) + Weight::from_parts(43_206_735, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 6_432 - .saturating_add(Weight::from_parts(52_826, 0).saturating_mul(r.into())) - // Standard Error: 1_255 - .saturating_add(Weight::from_parts(889_955, 0).saturating_mul(x.into())) + // Standard Error: 6_274 + .saturating_add(Weight::from_parts(75_118, 0).saturating_mul(r.into())) + // Standard Error: 1_224 + .saturating_add(Weight::from_parts(805_273, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -178,11 +178,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `88 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 10_559_000 picoseconds. - Weight::from_parts(11_398_625, 0) + // Minimum execution time: 10_850_000 picoseconds. + Weight::from_parts(11_366_293, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_522 - .saturating_add(Weight::from_parts(86_547, 0).saturating_mul(r.into())) + // Standard Error: 1_331 + .saturating_add(Weight::from_parts(85_609, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -193,11 +193,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `88 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 10_149_000 picoseconds. - Weight::from_parts(10_583_621, 0) + // Minimum execution time: 10_229_000 picoseconds. + Weight::from_parts(10_656_339, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_291 - .saturating_add(Weight::from_parts(77_285, 0).saturating_mul(r.into())) + // Standard Error: 1_019 + .saturating_add(Weight::from_parts(66_335, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -208,11 +208,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `88 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 9_888_000 picoseconds. - Weight::from_parts(10_303_298, 0) + // Minimum execution time: 9_718_000 picoseconds. + Weight::from_parts(10_311_018, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 992 - .saturating_add(Weight::from_parts(80_421, 0).saturating_mul(r.into())) + // Standard Error: 997 + .saturating_add(Weight::from_parts(67_502, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -226,13 +226,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `444 + r * (57 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 33_462_000 picoseconds. - Weight::from_parts(32_543_893, 0) + // Minimum execution time: 32_801_000 picoseconds. + Weight::from_parts(31_628_849, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 6_894 - .saturating_add(Weight::from_parts(86_086, 0).saturating_mul(r.into())) - // Standard Error: 1_275 - .saturating_add(Weight::from_parts(1_402_506, 0).saturating_mul(x.into())) + // Standard Error: 7_378 + .saturating_add(Weight::from_parts(78_258, 0).saturating_mul(r.into())) + // Standard Error: 1_365 + .saturating_add(Weight::from_parts(1_258_986, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -251,15 +251,15 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `797 + r * (15 ±0) + s * (32 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 117_479_000 picoseconds. - Weight::from_parts(73_092_586, 0) + // Minimum execution time: 116_286_000 picoseconds. + Weight::from_parts(75_504_595, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 7_927 - .saturating_add(Weight::from_parts(148_449, 0).saturating_mul(r.into())) - // Standard Error: 1_548 - .saturating_add(Weight::from_parts(1_952_685, 0).saturating_mul(s.into())) - // Standard Error: 1_548 - .saturating_add(Weight::from_parts(457_548, 0).saturating_mul(x.into())) + // Standard Error: 15_724 + .saturating_add(Weight::from_parts(220_350, 0).saturating_mul(r.into())) + // Standard Error: 3_070 + .saturating_add(Weight::from_parts(1_959_302, 0).saturating_mul(s.into())) + // Standard Error: 3_070 + .saturating_add(Weight::from_parts(420_698, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -275,11 +275,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `474 + s * (36 ±0)` // Estimated: `11003` - // Minimum execution time: 42_329_000 picoseconds. - Weight::from_parts(48_074_372, 0) + // Minimum execution time: 43_691_000 picoseconds. + Weight::from_parts(48_595_541, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 1_358 - .saturating_add(Weight::from_parts(69_501, 0).saturating_mul(s.into())) + // Standard Error: 1_082 + .saturating_add(Weight::from_parts(63_570, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -292,11 +292,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `590 + s * (3 ±0)` // Estimated: `11003` - // Minimum execution time: 17_874_000 picoseconds. - Weight::from_parts(20_394_081, 0) + // Minimum execution time: 17_713_000 picoseconds. + Weight::from_parts(20_016_934, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 641 - .saturating_add(Weight::from_parts(22_238, 0).saturating_mul(s.into())) + // Standard Error: 599 + .saturating_add(Weight::from_parts(20_412, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -311,11 +311,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `637 + s * (35 ±0)` // Estimated: `11003` - // Minimum execution time: 46_607_000 picoseconds. - Weight::from_parts(49_879_526, 0) + // Minimum execution time: 47_178_000 picoseconds. + Weight::from_parts(50_189_943, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 908 - .saturating_add(Weight::from_parts(57_946, 0).saturating_mul(s.into())) + // Standard Error: 860 + .saturating_add(Weight::from_parts(55_429, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -330,11 +330,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `770 + s * (37 ±0)` // Estimated: `6723` - // Minimum execution time: 34_334_000 picoseconds. - Weight::from_parts(37_056_869, 0) + // Minimum execution time: 34_454_000 picoseconds. + Weight::from_parts(37_088_382, 0) .saturating_add(Weight::from_parts(0, 6723)) - // Standard Error: 768 - .saturating_add(Weight::from_parts(64_568, 0).saturating_mul(s.into())) + // Standard Error: 775 + .saturating_add(Weight::from_parts(58_414, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/centrifuge/src/weights/pallet_interest_accrual.rs b/runtime/centrifuge/src/weights/pallet_interest_accrual.rs index 20912ff150..bad7a31ba5 100644 --- a/runtime/centrifuge/src/weights/pallet_interest_accrual.rs +++ b/runtime/centrifuge/src/weights/pallet_interest_accrual.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_interest_accrual` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -37,10 +37,10 @@ impl pallet_interest_accrual::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 721_000 picoseconds. - Weight::from_parts(177_387, 0) + // Minimum execution time: 732_000 picoseconds. + Weight::from_parts(247_332, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 235 - .saturating_add(Weight::from_parts(608_183, 0).saturating_mul(n.into())) + // Standard Error: 669 + .saturating_add(Weight::from_parts(634_648, 0).saturating_mul(n.into())) } } diff --git a/runtime/centrifuge/src/weights/pallet_investments.rs b/runtime/centrifuge/src/weights/pallet_investments.rs index e50288ff43..e23a8cc107 100644 --- a/runtime/centrifuge/src/weights/pallet_investments.rs +++ b/runtime/centrifuge/src/weights/pallet_investments.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_investments` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -52,8 +52,8 @@ impl pallet_investments::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2155` // Estimated: `6198` - // Minimum execution time: 100_788_000 picoseconds. - Weight::from_parts(102_251_000, 0) + // Minimum execution time: 99_696_000 picoseconds. + Weight::from_parts(101_550_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) @@ -78,8 +78,8 @@ impl pallet_investments::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2051` // Estimated: `6198` - // Minimum execution time: 100_708_000 picoseconds. - Weight::from_parts(101_739_000, 0) + // Minimum execution time: 99_916_000 picoseconds. + Weight::from_parts(101_609_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) @@ -105,11 +105,11 @@ impl pallet_investments::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2458 + n * (44 ±0)` // Estimated: `6198 + n * (2555 ±0)` - // Minimum execution time: 111_568_000 picoseconds. - Weight::from_parts(108_152_557, 0) + // Minimum execution time: 112_299_000 picoseconds. + Weight::from_parts(108_143_715, 0) .saturating_add(Weight::from_parts(0, 6198)) - // Standard Error: 27_998 - .saturating_add(Weight::from_parts(5_129_294, 0).saturating_mul(n.into())) + // Standard Error: 30_952 + .saturating_add(Weight::from_parts(5_272_673, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -136,11 +136,11 @@ impl pallet_investments::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2495 + n * (44 ±0)` // Estimated: `6198 + n * (2555 ±0)` - // Minimum execution time: 109_755_000 picoseconds. - Weight::from_parts(105_947_972, 0) + // Minimum execution time: 111_098_000 picoseconds. + Weight::from_parts(107_238_198, 0) .saturating_add(Weight::from_parts(0, 6198)) - // Standard Error: 20_311 - .saturating_add(Weight::from_parts(5_280_100, 0).saturating_mul(n.into())) + // Standard Error: 22_296 + .saturating_add(Weight::from_parts(5_129_577, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(4)) diff --git a/runtime/centrifuge/src/weights/pallet_keystore.rs b/runtime/centrifuge/src/weights/pallet_keystore.rs index d600520ccf..59abe86f0f 100644 --- a/runtime/centrifuge/src/weights/pallet_keystore.rs +++ b/runtime/centrifuge/src/weights/pallet_keystore.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_keystore` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -45,11 +45,11 @@ impl pallet_keystore::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `250` // Estimated: `3593 + n * (2595 ±0)` - // Minimum execution time: 45_144_000 picoseconds. - Weight::from_parts(19_159_825, 0) + // Minimum execution time: 45_615_000 picoseconds. + Weight::from_parts(18_633_396, 0) .saturating_add(Weight::from_parts(0, 3593)) - // Standard Error: 12_231 - .saturating_add(Weight::from_parts(27_790_552, 0).saturating_mul(n.into())) + // Standard Error: 9_297 + .saturating_add(Weight::from_parts(28_119_544, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -63,11 +63,11 @@ impl pallet_keystore::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `148 + n * (75 ±0)` // Estimated: `990 + n * (2595 ±0)` - // Minimum execution time: 22_131_000 picoseconds. - Weight::from_parts(10_356_204, 0) + // Minimum execution time: 22_512_000 picoseconds. + Weight::from_parts(10_223_210, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 12_992 - .saturating_add(Weight::from_parts(13_129_787, 0).saturating_mul(n.into())) + // Standard Error: 11_426 + .saturating_add(Weight::from_parts(13_493_728, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 2595).saturating_mul(n.into())) @@ -78,8 +78,8 @@ impl pallet_keystore::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_101_000 picoseconds. - Weight::from_parts(11_601_000, 0) + // Minimum execution time: 11_932_000 picoseconds. + Weight::from_parts(12_193_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/centrifuge/src/weights/pallet_liquidity_rewards.rs b/runtime/centrifuge/src/weights/pallet_liquidity_rewards.rs index bd5af7f43e..eb11e62d40 100644 --- a/runtime/centrifuge/src/weights/pallet_liquidity_rewards.rs +++ b/runtime/centrifuge/src/weights/pallet_liquidity_rewards.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_liquidity_rewards` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -43,15 +43,15 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `295` // Estimated: `1493` - // Minimum execution time: 9_247_000 picoseconds. - Weight::from_parts(9_828_267, 0) + // Minimum execution time: 9_388_000 picoseconds. + Weight::from_parts(9_766_167, 0) .saturating_add(Weight::from_parts(0, 1493)) - // Standard Error: 776 - .saturating_add(Weight::from_parts(2_470, 0).saturating_mul(x.into())) - // Standard Error: 318 - .saturating_add(Weight::from_parts(731, 0).saturating_mul(y.into())) - // Standard Error: 318 - .saturating_add(Weight::from_parts(8_782, 0).saturating_mul(z.into())) + // Standard Error: 620 + .saturating_add(Weight::from_parts(4_012, 0).saturating_mul(x.into())) + // Standard Error: 254 + .saturating_add(Weight::from_parts(500, 0).saturating_mul(y.into())) + // Standard Error: 254 + .saturating_add(Weight::from_parts(10_715, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) } /// Storage: LiquidityRewardsBase Currency (r:1 w:1) @@ -68,8 +68,8 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `539` // Estimated: `4328` - // Minimum execution time: 40_626_000 picoseconds. - Weight::from_parts(41_448_000, 0) + // Minimum execution time: 40_445_000 picoseconds. + Weight::from_parts(41_457_000, 0) .saturating_add(Weight::from_parts(0, 4328)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) @@ -84,8 +84,8 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `176` // Estimated: `4328` - // Minimum execution time: 27_783_000 picoseconds. - Weight::from_parts(28_784_000, 0) + // Minimum execution time: 28_393_000 picoseconds. + Weight::from_parts(29_205_000, 0) .saturating_add(Weight::from_parts(0, 4328)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -102,8 +102,8 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `449` // Estimated: `4328` - // Minimum execution time: 56_866_000 picoseconds. - Weight::from_parts(58_690_000, 0) + // Minimum execution time: 58_579_000 picoseconds. + Weight::from_parts(59_621_000, 0) .saturating_add(Weight::from_parts(0, 4328)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -114,8 +114,8 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `142` // Estimated: `3563` - // Minimum execution time: 8_896_000 picoseconds. - Weight::from_parts(9_247_000, 0) + // Minimum execution time: 9_067_000 picoseconds. + Weight::from_parts(9_397_000, 0) .saturating_add(Weight::from_parts(0, 3563)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -126,8 +126,8 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `142` // Estimated: `3563` - // Minimum execution time: 8_766_000 picoseconds. - Weight::from_parts(9_037_000, 0) + // Minimum execution time: 8_927_000 picoseconds. + Weight::from_parts(9_368_000, 0) .saturating_add(Weight::from_parts(0, 3563)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -138,8 +138,8 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `142` // Estimated: `3563` - // Minimum execution time: 9_278_000 picoseconds. - Weight::from_parts(9_487_000, 0) + // Minimum execution time: 9_437_000 picoseconds. + Weight::from_parts(9_738_000, 0) .saturating_add(Weight::from_parts(0, 3563)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -150,8 +150,8 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `142` // Estimated: `3563` - // Minimum execution time: 9_227_000 picoseconds. - Weight::from_parts(9_658_000, 0) + // Minimum execution time: 9_458_000 picoseconds. + Weight::from_parts(9_919_000, 0) .saturating_add(Weight::from_parts(0, 3563)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/centrifuge/src/weights/pallet_loans.rs b/runtime/centrifuge/src/weights/pallet_loans.rs index 273fd33ef2..31cfec0e8f 100644 --- a/runtime/centrifuge/src/weights/pallet_loans.rs +++ b/runtime/centrifuge/src/weights/pallet_loans.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_loans` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -54,8 +54,8 @@ impl pallet_loans::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1228` // Estimated: `4278` - // Minimum execution time: 83_065_000 picoseconds. - Weight::from_parts(83_927_000, 0) + // Minimum execution time: 81_361_000 picoseconds. + Weight::from_parts(82_764_000, 0) .saturating_add(Weight::from_parts(0, 4278)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) @@ -85,11 +85,11 @@ impl pallet_loans::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `38281 + n * (340 ±0)` // Estimated: `375491 + n * (340 ±0)` - // Minimum execution time: 258_834_000 picoseconds. - Weight::from_parts(270_918_292, 0) + // Minimum execution time: 256_918_000 picoseconds. + Weight::from_parts(268_479_323, 0) .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 52_483 - .saturating_add(Weight::from_parts(270_583, 0).saturating_mul(n.into())) + // Standard Error: 51_464 + .saturating_add(Weight::from_parts(1_090_521, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(7)) .saturating_add(Weight::from_parts(0, 340).saturating_mul(n.into())) @@ -117,11 +117,11 @@ impl pallet_loans::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `38434 + n * (340 ±0)` // Estimated: `375491 + n * (340 ±0)` - // Minimum execution time: 189_975_000 picoseconds. - Weight::from_parts(194_674_487, 0) + // Minimum execution time: 190_325_000 picoseconds. + Weight::from_parts(196_524_248, 0) .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 44_229 - .saturating_add(Weight::from_parts(760_400, 0).saturating_mul(n.into())) + // Standard Error: 35_556 + .saturating_add(Weight::from_parts(847_252, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(Weight::from_parts(0, 340).saturating_mul(n.into())) @@ -143,11 +143,11 @@ impl pallet_loans::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `41141 + n * (340 ±0)` // Estimated: `375491` - // Minimum execution time: 361_806_000 picoseconds. - Weight::from_parts(377_184_840, 0) + // Minimum execution time: 365_260_000 picoseconds. + Weight::from_parts(384_352_915, 0) .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 50_608 - .saturating_add(Weight::from_parts(385_565, 0).saturating_mul(n.into())) + // Standard Error: 54_381 + .saturating_add(Weight::from_parts(843_515, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -170,11 +170,11 @@ impl pallet_loans::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `41392 + n * (340 ±0)` // Estimated: `375491` - // Minimum execution time: 375_490_000 picoseconds. - Weight::from_parts(394_148_035, 0) + // Minimum execution time: 381_480_000 picoseconds. + Weight::from_parts(401_491_647, 0) .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 92_912 - .saturating_add(Weight::from_parts(490_645, 0).saturating_mul(n.into())) + // Standard Error: 66_983 + .saturating_add(Weight::from_parts(913_592, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -185,22 +185,22 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: PoolSystem NotedChange (r:0 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) /// The range of component `n` is `[1, 9]`. fn propose_loan_mutation(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `971 + n * (316 ±0)` // Estimated: `375491` - // Minimum execution time: 45_475_000 picoseconds. - Weight::from_parts(47_440_607, 0) + // Minimum execution time: 47_219_000 picoseconds. + Weight::from_parts(48_107_583, 0) .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 11_156 - .saturating_add(Weight::from_parts(497_741, 0).saturating_mul(n.into())) + // Standard Error: 8_388 + .saturating_add(Weight::from_parts(606_236, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: PoolSystem NotedChange (r:1 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:1) @@ -218,11 +218,11 @@ impl pallet_loans::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `37477 + n * (340 ±0)` // Estimated: `375491` - // Minimum execution time: 98_033_000 picoseconds. - Weight::from_parts(103_175_207, 0) + // Minimum execution time: 101_429_000 picoseconds. + Weight::from_parts(103_774_947, 0) .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 28_174 - .saturating_add(Weight::from_parts(558_306, 0).saturating_mul(n.into())) + // Standard Error: 19_205 + .saturating_add(Weight::from_parts(742_675, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -249,11 +249,11 @@ impl pallet_loans::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `37337 + n * (373 ±0)` // Estimated: `375491` - // Minimum execution time: 143_118_000 picoseconds. - Weight::from_parts(151_469_205, 0) + // Minimum execution time: 145_201_000 picoseconds. + Weight::from_parts(153_265_392, 0) .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 29_664 - .saturating_add(Weight::from_parts(781_522, 0).saturating_mul(n.into())) + // Standard Error: 29_077 + .saturating_add(Weight::from_parts(654_059, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -264,19 +264,19 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: PoolSystem NotedChange (r:0 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) fn propose_write_off_policy() -> Weight { // Proof Size summary in bytes: // Measured: `478` // Estimated: `4278` - // Minimum execution time: 110_276_000 picoseconds. - Weight::from_parts(111_718_000, 0) + // Minimum execution time: 105_717_000 picoseconds. + Weight::from_parts(106_769_000, 0) .saturating_add(Weight::from_parts(0, 4278)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: PoolSystem NotedChange (r:1 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: Loans WriteOffPolicy (r:0 w:1) @@ -284,10 +284,10 @@ impl pallet_loans::WeightInfo for WeightInfo { fn apply_write_off_policy() -> Weight { // Proof Size summary in bytes: // Measured: `4854` - // Estimated: `9601` - // Minimum execution time: 118_902_000 picoseconds. - Weight::from_parts(120_966_000, 0) - .saturating_add(Weight::from_parts(0, 9601)) + // Estimated: `8649` + // Minimum execution time: 115_765_000 picoseconds. + Weight::from_parts(116_718_000, 0) + .saturating_add(Weight::from_parts(0, 8649)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -296,9 +296,9 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: InterestAccrual Rates (r:1 w:0) /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(36002), added: 36497, mode: MaxEncodedLen) /// Storage: OraclePriceCollection Collection (r:1 w:0) - /// Proof: OraclePriceCollection Collection (max_values: None, max_size: Some(75042), added: 77517, mode: MaxEncodedLen) + /// Proof: OraclePriceCollection Collection (max_values: None, max_size: Some(7542), added: 10017, mode: MaxEncodedLen) /// Storage: OraclePriceCollection CollectionInfo (r:1 w:0) - /// Proof: OraclePriceCollection CollectionInfo (max_values: None, max_size: Some(6078), added: 8553, mode: MaxEncodedLen) + /// Proof: OraclePriceCollection CollectionInfo (max_values: None, max_size: Some(3058), added: 5533, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:0) /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) @@ -310,11 +310,11 @@ impl pallet_loans::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `37026 + n * (353 ±0)` // Estimated: `375491` - // Minimum execution time: 92_994_000 picoseconds. - Weight::from_parts(85_363_227, 0) + // Minimum execution time: 94_215_000 picoseconds. + Weight::from_parts(86_429_502, 0) .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 16_880 - .saturating_add(Weight::from_parts(10_797_050, 0).saturating_mul(n.into())) + // Standard Error: 15_048 + .saturating_add(Weight::from_parts(10_740_788, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -331,22 +331,22 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: Loans CreatedLoan (r:1 w:0) /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, mode: MaxEncodedLen) /// Storage: PoolSystem NotedChange (r:0 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) /// The range of component `n` is `[2, 8]`. fn propose_transfer_debt(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `37144 + n * (340 ±0)` // Estimated: `375491` - // Minimum execution time: 285_124_000 picoseconds. - Weight::from_parts(292_535_387, 0) + // Minimum execution time: 289_098_000 picoseconds. + Weight::from_parts(300_966_124, 0) .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 72_345 - .saturating_add(Weight::from_parts(1_691_221, 0).saturating_mul(n.into())) + // Standard Error: 63_572 + .saturating_add(Weight::from_parts(867_391, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: PoolSystem NotedChange (r:1 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:1) @@ -366,11 +366,11 @@ impl pallet_loans::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `37805 + n * (340 ±0)` // Estimated: `375491` - // Minimum execution time: 291_194_000 picoseconds. - Weight::from_parts(300_874_911, 0) + // Minimum execution time: 296_362_000 picoseconds. + Weight::from_parts(305_922_343, 0) .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 81_720 - .saturating_add(Weight::from_parts(1_936_575, 0).saturating_mul(n.into())) + // Standard Error: 89_267 + .saturating_add(Weight::from_parts(1_930_308, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -391,11 +391,11 @@ impl pallet_loans::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `36804 + n * (340 ±0)` // Estimated: `375491` - // Minimum execution time: 186_598_000 picoseconds. - Weight::from_parts(196_558_588, 0) + // Minimum execution time: 187_639_000 picoseconds. + Weight::from_parts(198_899_231, 0) .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 39_911 - .saturating_add(Weight::from_parts(810_756, 0).saturating_mul(n.into())) + // Standard Error: 37_583 + .saturating_add(Weight::from_parts(945_204, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) } diff --git a/runtime/centrifuge/src/weights/pallet_multisig.rs b/runtime/centrifuge/src/weights/pallet_multisig.rs index cb9f4f5ba5..6dad62985f 100644 --- a/runtime/centrifuge/src/weights/pallet_multisig.rs +++ b/runtime/centrifuge/src/weights/pallet_multisig.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -37,11 +37,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 16_381_000 picoseconds. - Weight::from_parts(17_198_048, 0) + // Minimum execution time: 16_320_000 picoseconds. + Weight::from_parts(17_501_984, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 3 - .saturating_add(Weight::from_parts(488, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(564, 0).saturating_mul(z.into())) } /// Storage: Multisig Multisigs (r:1 w:1) /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) @@ -51,13 +51,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `334 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 57_488_000 picoseconds. - Weight::from_parts(51_341_240, 0) + // Minimum execution time: 57_918_000 picoseconds. + Weight::from_parts(50_580_568, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 688 - .saturating_add(Weight::from_parts(77_889, 0).saturating_mul(s.into())) - // Standard Error: 6 - .saturating_add(Weight::from_parts(1_496, 0).saturating_mul(z.into())) + // Standard Error: 933 + .saturating_add(Weight::from_parts(85_520, 0).saturating_mul(s.into())) + // Standard Error: 9 + .saturating_add(Weight::from_parts(1_594, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -69,13 +69,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `315` // Estimated: `6811` - // Minimum execution time: 35_106_000 picoseconds. - Weight::from_parts(28_992_770, 0) + // Minimum execution time: 35_537_000 picoseconds. + Weight::from_parts(29_091_476, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 509 - .saturating_add(Weight::from_parts(71_743, 0).saturating_mul(s.into())) + // Standard Error: 496 + .saturating_add(Weight::from_parts(74_879, 0).saturating_mul(s.into())) // Standard Error: 4 - .saturating_add(Weight::from_parts(1_496, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(1_601, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -89,13 +89,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `456 + s * (33 ±0)` // Estimated: `6811` - // Minimum execution time: 64_361_000 picoseconds. - Weight::from_parts(54_937_544, 0) + // Minimum execution time: 64_781_000 picoseconds. + Weight::from_parts(54_794_596, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 874 - .saturating_add(Weight::from_parts(115_220, 0).saturating_mul(s.into())) - // Standard Error: 8 - .saturating_add(Weight::from_parts(1_580, 0).saturating_mul(z.into())) + // Standard Error: 721 + .saturating_add(Weight::from_parts(116_529, 0).saturating_mul(s.into())) + // Standard Error: 7 + .saturating_add(Weight::from_parts(1_654, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -106,11 +106,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `334 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 47_388_000 picoseconds. - Weight::from_parts(48_902_950, 0) + // Minimum execution time: 46_507_000 picoseconds. + Weight::from_parts(48_517_453, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 965 - .saturating_add(Weight::from_parts(83_614, 0).saturating_mul(s.into())) + // Standard Error: 890 + .saturating_add(Weight::from_parts(83_810, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -121,11 +121,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `315` // Estimated: `6811` - // Minimum execution time: 26_179_000 picoseconds. - Weight::from_parts(26_759_647, 0) + // Minimum execution time: 26_129_000 picoseconds. + Weight::from_parts(26_922_322, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 1_106 - .saturating_add(Weight::from_parts(75_092, 0).saturating_mul(s.into())) + // Standard Error: 700 + .saturating_add(Weight::from_parts(72_954, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -136,11 +136,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `520 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 48_470_000 picoseconds. - Weight::from_parts(49_230_899, 0) + // Minimum execution time: 47_177_000 picoseconds. + Weight::from_parts(48_552_897, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 736 - .saturating_add(Weight::from_parts(71_102, 0).saturating_mul(s.into())) + // Standard Error: 711 + .saturating_add(Weight::from_parts(82_587, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/centrifuge/src/weights/pallet_oracle_collection.rs b/runtime/centrifuge/src/weights/pallet_oracle_collection.rs index a0ffc656b1..0bb4a765f6 100644 --- a/runtime/centrifuge/src/weights/pallet_oracle_collection.rs +++ b/runtime/centrifuge/src/weights/pallet_oracle_collection.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_oracle_collection` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -37,73 +37,73 @@ impl pallet_oracle_collection::WeightInfo for WeightInf /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: PoolSystem NotedChange (r:0 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) - /// The range of component `n` is `[1, 10]`. + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 5]`. fn propose_update_collection_info(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `222` // Estimated: `3693` - // Minimum execution time: 28_994_000 picoseconds. - Weight::from_parts(28_009_867, 0) + // Minimum execution time: 29_174_000 picoseconds. + Weight::from_parts(28_828_737, 0) .saturating_add(Weight::from_parts(0, 3693)) - // Standard Error: 5_222 - .saturating_add(Weight::from_parts(1_647_856, 0).saturating_mul(n.into())) + // Standard Error: 10_990 + .saturating_add(Weight::from_parts(1_490_038, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: PoolSystem NotedChange (r:1 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: OraclePriceCollection Collection (r:0 w:1) - /// Proof: OraclePriceCollection Collection (max_values: None, max_size: Some(75042), added: 77517, mode: MaxEncodedLen) + /// Proof: OraclePriceCollection Collection (max_values: None, max_size: Some(7542), added: 10017, mode: MaxEncodedLen) /// Storage: OraclePriceCollection CollectionInfo (r:0 w:1) - /// Proof: OraclePriceCollection CollectionInfo (max_values: None, max_size: Some(6078), added: 8553, mode: MaxEncodedLen) - /// The range of component `n` is `[1, 10]`. + /// Proof: OraclePriceCollection CollectionInfo (max_values: None, max_size: Some(3058), added: 5533, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 5]`. fn apply_update_collection_info(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `658 + n * (34 ±0)` - // Estimated: `9601` - // Minimum execution time: 35_166_000 picoseconds. - Weight::from_parts(34_227_126, 0) - .saturating_add(Weight::from_parts(0, 9601)) - // Standard Error: 5_411 - .saturating_add(Weight::from_parts(1_786_943, 0).saturating_mul(n.into())) + // Measured: `657 + n * (34 ±0)` + // Estimated: `8649` + // Minimum execution time: 35_646_000 picoseconds. + Weight::from_parts(35_108_166, 0) + .saturating_add(Weight::from_parts(0, 8649)) + // Standard Error: 9_939 + .saturating_add(Weight::from_parts(1_629_487, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: OraclePriceCollection Keys (r:11 w:0) + /// Storage: OraclePriceCollection Keys (r:101 w:0) /// Proof: OraclePriceCollection Keys (max_values: None, max_size: Some(95), added: 2570, mode: MaxEncodedLen) /// Storage: OraclePriceCollection CollectionInfo (r:1 w:0) - /// Proof: OraclePriceCollection CollectionInfo (max_values: None, max_size: Some(6078), added: 8553, mode: MaxEncodedLen) - /// Storage: OraclePriceFeed FedValues (r:100 w:0) + /// Proof: OraclePriceCollection CollectionInfo (max_values: None, max_size: Some(3058), added: 5533, mode: MaxEncodedLen) + /// Storage: OraclePriceFeed FedValues (r:500 w:0) /// Proof: OraclePriceFeed FedValues (max_values: None, max_size: Some(711), added: 3186, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) /// Storage: OraclePriceCollection Collection (r:0 w:1) - /// Proof: OraclePriceCollection Collection (max_values: None, max_size: Some(75042), added: 77517, mode: MaxEncodedLen) - /// The range of component `n` is `[1, 10]`. - /// The range of component `m` is `[1, 10]`. + /// Proof: OraclePriceCollection Collection (max_values: None, max_size: Some(7542), added: 10017, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 5]`. + /// The range of component `m` is `[1, 100]`. fn update_collection(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + m * (607 ±0) + n * (663 ±0)` - // Estimated: `32850 + m * (9227 ±363) + n * (9227 ±363)` - // Minimum execution time: 251_099_000 picoseconds. - Weight::from_parts(253_563_000, 0) - .saturating_add(Weight::from_parts(0, 32850)) - // Standard Error: 3_273_308 - .saturating_add(Weight::from_parts(98_904_664, 0).saturating_mul(n.into())) - // Standard Error: 3_273_308 - .saturating_add(Weight::from_parts(60_537_776, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(16)) - .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(m.into()))) + // Measured: `0 + m * (326 ±0) + n * (5851 ±0)` + // Estimated: `16920 + m * (6039 ±164) + n * (100600 ±3_323)` + // Minimum execution time: 160_618_000 picoseconds. + Weight::from_parts(161_691_000, 0) + .saturating_add(Weight::from_parts(0, 16920)) + // Standard Error: 21_623_789 + .saturating_add(Weight::from_parts(684_567_025, 0).saturating_mul(n.into())) + // Standard Error: 1_071_049 + .saturating_add(Weight::from_parts(35_753_437, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().reads((31_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(m.into()))) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 9227).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 9227).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 6039).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 100600).saturating_mul(n.into())) } } diff --git a/runtime/centrifuge/src/weights/pallet_oracle_feed.rs b/runtime/centrifuge/src/weights/pallet_oracle_feed.rs index 02a68460c7..17dcf24583 100644 --- a/runtime/centrifuge/src/weights/pallet_oracle_feed.rs +++ b/runtime/centrifuge/src/weights/pallet_oracle_feed.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_oracle_feed` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -42,8 +42,8 @@ impl pallet_oracle_feed::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `387` // Estimated: `4176` - // Minimum execution time: 66_053_000 picoseconds. - Weight::from_parts(67_306_000, 0) + // Minimum execution time: 66_544_000 picoseconds. + Weight::from_parts(67_205_000, 0) .saturating_add(Weight::from_parts(0, 4176)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -56,8 +56,8 @@ impl pallet_oracle_feed::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `413` // Estimated: `4176` - // Minimum execution time: 23_484_000 picoseconds. - Weight::from_parts(23_745_000, 0) + // Minimum execution time: 23_083_000 picoseconds. + Weight::from_parts(23_984_000, 0) .saturating_add(Weight::from_parts(0, 4176)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/centrifuge/src/weights/pallet_order_book.rs b/runtime/centrifuge/src/weights/pallet_order_book.rs index c474fdb5e9..5247ae670e 100644 --- a/runtime/centrifuge/src/weights/pallet_order_book.rs +++ b/runtime/centrifuge/src/weights/pallet_order_book.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_order_book` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -46,8 +46,8 @@ impl pallet_order_book::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `742` // Estimated: `4207` - // Minimum execution time: 54_021_000 picoseconds. - Weight::from_parts(55_063_000, 0) + // Minimum execution time: 54_561_000 picoseconds. + Weight::from_parts(55_152_000, 0) .saturating_add(Weight::from_parts(0, 4207)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) @@ -62,8 +62,8 @@ impl pallet_order_book::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `946` // Estimated: `4411` - // Minimum execution time: 49_393_000 picoseconds. - Weight::from_parts(50_305_000, 0) + // Minimum execution time: 49_702_000 picoseconds. + Weight::from_parts(50_905_000, 0) .saturating_add(Weight::from_parts(0, 4411)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -80,8 +80,8 @@ impl pallet_order_book::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `946` // Estimated: `4411` - // Minimum execution time: 52_087_000 picoseconds. - Weight::from_parts(52_989_000, 0) + // Minimum execution time: 52_497_000 picoseconds. + Weight::from_parts(53_189_000, 0) .saturating_add(Weight::from_parts(0, 4411)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -106,8 +106,8 @@ impl pallet_order_book::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1731` // Estimated: `11406` - // Minimum execution time: 168_214_000 picoseconds. - Weight::from_parts(170_388_000, 0) + // Minimum execution time: 168_764_000 picoseconds. + Weight::from_parts(171_238_000, 0) .saturating_add(Weight::from_parts(0, 11406)) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(8)) @@ -118,8 +118,8 @@ impl pallet_order_book::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_175_000 picoseconds. - Weight::from_parts(13_566_000, 0) + // Minimum execution time: 13_365_000 picoseconds. + Weight::from_parts(13_786_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/centrifuge/src/weights/pallet_permissions.rs b/runtime/centrifuge/src/weights/pallet_permissions.rs index 52987dddf7..a959c83d2e 100644 --- a/runtime/centrifuge/src/weights/pallet_permissions.rs +++ b/runtime/centrifuge/src/weights/pallet_permissions.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_permissions` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -40,8 +40,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3` // Estimated: `3693` - // Minimum execution time: 21_490_000 picoseconds. - Weight::from_parts(22_041_000, 0) + // Minimum execution time: 20_979_000 picoseconds. + Weight::from_parts(21_640_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -54,8 +54,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `162` // Estimated: `6396` - // Minimum execution time: 28_734_000 picoseconds. - Weight::from_parts(29_636_000, 0) + // Minimum execution time: 28_283_000 picoseconds. + Weight::from_parts(29_084_000, 0) .saturating_add(Weight::from_parts(0, 6396)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -68,8 +68,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3693` - // Minimum execution time: 24_375_000 picoseconds. - Weight::from_parts(24_897_000, 0) + // Minimum execution time: 24_455_000 picoseconds. + Weight::from_parts(24_846_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -82,8 +82,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `256` // Estimated: `6396` - // Minimum execution time: 31_439_000 picoseconds. - Weight::from_parts(31_990_000, 0) + // Minimum execution time: 30_567_000 picoseconds. + Weight::from_parts(31_299_000, 0) .saturating_add(Weight::from_parts(0, 6396)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -94,8 +94,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `146` // Estimated: `3693` - // Minimum execution time: 21_370_000 picoseconds. - Weight::from_parts(22_011_000, 0) + // Minimum execution time: 20_899_000 picoseconds. + Weight::from_parts(21_650_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -106,8 +106,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `146` // Estimated: `3693` - // Minimum execution time: 21_830_000 picoseconds. - Weight::from_parts(22_802_000, 0) + // Minimum execution time: 21_730_000 picoseconds. + Weight::from_parts(22_271_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/centrifuge/src/weights/pallet_pool_fees.rs b/runtime/centrifuge/src/weights/pallet_pool_fees.rs index bfac4e2f5a..47def1bdc2 100644 --- a/runtime/centrifuge/src/weights/pallet_pool_fees.rs +++ b/runtime/centrifuge/src/weights/pallet_pool_fees.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_pool_fees` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -41,13 +41,13 @@ impl pallet_pool_fees::WeightInfo for WeightInfo { /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: PoolSystem NotedChange (r:0 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) fn propose_new_fee() -> Weight { // Proof Size summary in bytes: // Measured: `581` // Estimated: `4278` - // Minimum execution time: 42_470_000 picoseconds. - Weight::from_parts(43_301_000, 0) + // Minimum execution time: 43_561_000 picoseconds. + Weight::from_parts(44_193_000, 0) .saturating_add(Weight::from_parts(0, 4278)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -55,7 +55,7 @@ impl pallet_pool_fees::WeightInfo for WeightInfo { /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: PoolSystem NotedChange (r:1 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) /// Storage: PoolFees FeeIdsToPoolBucket (r:1 w:1) /// Proof: PoolFees FeeIdsToPoolBucket (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) /// Storage: PoolFees FeeIds (r:1 w:1) @@ -67,11 +67,11 @@ impl pallet_pool_fees::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1395 + n * (137 ±0)` // Estimated: `17508` - // Minimum execution time: 55_203_000 picoseconds. - Weight::from_parts(55_397_177, 0) + // Minimum execution time: 54_962_000 picoseconds. + Weight::from_parts(55_423_381, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 2_212 - .saturating_add(Weight::from_parts(289_076, 0).saturating_mul(n.into())) + // Standard Error: 2_061 + .saturating_add(Weight::from_parts(285_969, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -86,11 +86,11 @@ impl pallet_pool_fees::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `709 + n * (136 ±0)` // Estimated: `17508` - // Minimum execution time: 37_711_000 picoseconds. - Weight::from_parts(38_370_638, 0) + // Minimum execution time: 37_369_000 picoseconds. + Weight::from_parts(38_425_852, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 3_466 - .saturating_add(Weight::from_parts(411_219, 0).saturating_mul(n.into())) + // Standard Error: 3_944 + .saturating_add(Weight::from_parts(404_629, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -103,11 +103,11 @@ impl pallet_pool_fees::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `795 + n * (129 ±0)` // Estimated: `17508` - // Minimum execution time: 27_402_000 picoseconds. - Weight::from_parts(27_231_143, 0) + // Minimum execution time: 27_632_000 picoseconds. + Weight::from_parts(27_469_772, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 2_037 - .saturating_add(Weight::from_parts(259_721, 0).saturating_mul(n.into())) + // Standard Error: 2_019 + .saturating_add(Weight::from_parts(259_199, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -120,11 +120,11 @@ impl pallet_pool_fees::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `795 + n * (129 ±0)` // Estimated: `17508` - // Minimum execution time: 26_810_000 picoseconds. - Weight::from_parts(26_250_765, 0) + // Minimum execution time: 26_991_000 picoseconds. + Weight::from_parts(26_651_227, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 2_031 - .saturating_add(Weight::from_parts(260_625, 0).saturating_mul(n.into())) + // Standard Error: 2_159 + .saturating_add(Weight::from_parts(259_300, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -143,11 +143,11 @@ impl pallet_pool_fees::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `603 + n * (124 ±0)` // Estimated: `17508` - // Minimum execution time: 49_082_000 picoseconds. - Weight::from_parts(42_962_181, 0) + // Minimum execution time: 48_631_000 picoseconds. + Weight::from_parts(42_835_341, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 3_854 - .saturating_add(Weight::from_parts(5_880_090, 0).saturating_mul(n.into())) + // Standard Error: 3_863 + .saturating_add(Weight::from_parts(6_212_825, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/centrifuge/src/weights/pallet_pool_registry.rs b/runtime/centrifuge/src/weights/pallet_pool_registry.rs index 62049390d5..0941a5eb7d 100644 --- a/runtime/centrifuge/src/weights/pallet_pool_registry.rs +++ b/runtime/centrifuge/src/weights/pallet_pool_registry.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_pool_registry` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -66,11 +66,11 @@ impl pallet_pool_registry::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `614` // Estimated: `17508 + m * (2508 ±0) + n * (2475 ±0)` - // Minimum execution time: 254_134_000 picoseconds. - Weight::from_parts(154_664_188, 0) + // Minimum execution time: 247_641_000 picoseconds. + Weight::from_parts(118_429_138, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 82_213 - .saturating_add(Weight::from_parts(27_771_408, 0).saturating_mul(m.into())) + // Standard Error: 87_363 + .saturating_add(Weight::from_parts(27_578_189, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into()))) @@ -90,22 +90,24 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Investments ActiveRedeemOrders (r:5 w:0) /// Proof: Investments ActiveRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:0) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) /// Storage: PoolSystem ScheduledUpdate (r:0 w:1) /// Proof: PoolSystem ScheduledUpdate (max_values: None, max_size: Some(1019), added: 3494, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. /// The range of component `m` is `[0, 100]`. fn update_no_execution(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `786 + n * (133 ±0)` - // Estimated: `4278 + n * (2531 ±0)` - // Minimum execution time: 54_201_000 picoseconds. - Weight::from_parts(50_324_674, 0) - .saturating_add(Weight::from_parts(0, 4278)) - // Standard Error: 12_014 - .saturating_add(Weight::from_parts(2_645_219, 0).saturating_mul(n.into())) - // Standard Error: 548 - .saturating_add(Weight::from_parts(31_387, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Measured: `957 + m * (124 ±0) + n * (133 ±0)` + // Estimated: `17508 + n * (2531 ±0)` + // Minimum execution time: 65_533_000 picoseconds. + Weight::from_parts(57_347_733, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 38_122 + .saturating_add(Weight::from_parts(3_027_421, 0).saturating_mul(n.into())) + // Standard Error: 1_739 + .saturating_add(Weight::from_parts(219_945, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 2531).saturating_mul(n.into())) @@ -122,24 +124,27 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Proof: Investments ActiveRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) /// Storage: OrmlAssetRegistry Metadata (r:2 w:1) /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: PoolFees ActiveFees (r:1 w:0) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) /// Storage: PoolSystem ScheduledUpdate (r:0 w:1) /// Proof: PoolSystem ScheduledUpdate (max_values: None, max_size: Some(1019), added: 3494, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. /// The range of component `m` is `[0, 100]`. fn update_and_execute(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `850 + n * (167 ±0)` - // Estimated: `6787 + n * (2531 ±0)` - // Minimum execution time: 93_764_000 picoseconds. - Weight::from_parts(81_563_764, 0) - .saturating_add(Weight::from_parts(0, 6787)) - // Standard Error: 27_081 - .saturating_add(Weight::from_parts(9_617_228, 0).saturating_mul(n.into())) - // Standard Error: 1_235 - .saturating_add(Weight::from_parts(55_884, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(6)) + // Measured: `1021 + m * (124 ±0) + n * (167 ±0)` + // Estimated: `17508 + m * (124 ±0) + n * (2531 ±0)` + // Minimum execution time: 117_268_000 picoseconds. + Weight::from_parts(86_174_059, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 36_515 + .saturating_add(Weight::from_parts(9_705_978, 0).saturating_mul(n.into())) + // Standard Error: 1_666 + .saturating_add(Weight::from_parts(242_462, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 124).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 2531).saturating_mul(n.into())) } /// Storage: PoolSystem Pool (r:1 w:1) @@ -154,22 +159,25 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Proof: Investments ActiveRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) /// Storage: OrmlAssetRegistry Metadata (r:2 w:1) /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: PoolFees ActiveFees (r:1 w:0) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. /// The range of component `m` is `[0, 100]`. fn execute_update(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `838 + n * (194 ±0)` - // Estimated: `6777 + n * (2531 ±0)` - // Minimum execution time: 79_279_000 picoseconds. - Weight::from_parts(67_973_787, 0) - .saturating_add(Weight::from_parts(0, 6777)) - // Standard Error: 19_259 - .saturating_add(Weight::from_parts(9_701_109, 0).saturating_mul(n.into())) - // Standard Error: 878 - .saturating_add(Weight::from_parts(43_521, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(6)) + // Measured: `1009 + m * (124 ±0) + n * (194 ±0)` + // Estimated: `17508 + m * (124 ±0) + n * (2531 ±0)` + // Minimum execution time: 103_112_000 picoseconds. + Weight::from_parts(73_195_692, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 37_733 + .saturating_add(Weight::from_parts(9_825_350, 0).saturating_mul(n.into())) + // Standard Error: 1_721 + .saturating_add(Weight::from_parts(225_401, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 124).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 2531).saturating_mul(n.into())) } /// Storage: Permissions Permission (r:1 w:0) @@ -182,13 +190,13 @@ impl pallet_pool_registry::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `146` // Estimated: `3693` - // Minimum execution time: 23_594_000 picoseconds. - Weight::from_parts(24_340_973, 0) + // Minimum execution time: 23_103_000 picoseconds. + Weight::from_parts(23_924_253, 0) .saturating_add(Weight::from_parts(0, 3693)) - // Standard Error: 698 - .saturating_add(Weight::from_parts(8_639, 0).saturating_mul(n.into())) - // Standard Error: 324 - .saturating_add(Weight::from_parts(26_341, 0).saturating_mul(m.into())) + // Standard Error: 714 + .saturating_add(Weight::from_parts(7_918, 0).saturating_mul(n.into())) + // Standard Error: 332 + .saturating_add(Weight::from_parts(21_889, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/centrifuge/src/weights/pallet_pool_system.rs b/runtime/centrifuge/src/weights/pallet_pool_system.rs index 54aabd862f..086b596d9d 100644 --- a/runtime/centrifuge/src/weights/pallet_pool_system.rs +++ b/runtime/centrifuge/src/weights/pallet_pool_system.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_pool_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -41,11 +41,11 @@ impl pallet_pool_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `592` // Estimated: `4278` - // Minimum execution time: 29_355_000 picoseconds. - Weight::from_parts(30_594_472, 0) + // Minimum execution time: 29_034_000 picoseconds. + Weight::from_parts(30_127_895, 0) .saturating_add(Weight::from_parts(0, 4278)) - // Standard Error: 522 - .saturating_add(Weight::from_parts(28_625, 0).saturating_mul(m.into())) + // Standard Error: 431 + .saturating_add(Weight::from_parts(31_006, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -89,13 +89,13 @@ impl pallet_pool_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1080 + m * (124 ±0) + n * (133 ±0)` // Estimated: `27515 + n * (2604 ±0)` - // Minimum execution time: 594_250_000 picoseconds. - Weight::from_parts(92_786_531, 0) + // Minimum execution time: 503_066_000 picoseconds. + Weight::from_parts(83_489_245, 0) .saturating_add(Weight::from_parts(0, 27515)) - // Standard Error: 170_995 - .saturating_add(Weight::from_parts(99_156_652, 0).saturating_mul(n.into())) - // Standard Error: 7_897 - .saturating_add(Weight::from_parts(7_804_007, 0).saturating_mul(m.into())) + // Standard Error: 153_259 + .saturating_add(Weight::from_parts(82_922_815, 0).saturating_mul(n.into())) + // Standard Error: 7_077 + .saturating_add(Weight::from_parts(6_664_319, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((8_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -136,13 +136,13 @@ impl pallet_pool_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1244 + m * (124 ±0) + n * (133 ±0)` // Estimated: `27515 + n * (2531 ±0)` - // Minimum execution time: 294_910_000 picoseconds. - Weight::from_parts(102_803_181, 0) + // Minimum execution time: 252_130_000 picoseconds. + Weight::from_parts(88_135_536, 0) .saturating_add(Weight::from_parts(0, 27515)) - // Standard Error: 146_567 - .saturating_add(Weight::from_parts(39_656_733, 0).saturating_mul(n.into())) - // Standard Error: 6_688 - .saturating_add(Weight::from_parts(7_584_482, 0).saturating_mul(m.into())) + // Standard Error: 117_082 + .saturating_add(Weight::from_parts(34_384_169, 0).saturating_mul(n.into())) + // Standard Error: 5_342 + .saturating_add(Weight::from_parts(6_467_113, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(5)) @@ -193,13 +193,13 @@ impl pallet_pool_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2055 + m * (124 ±0) + n * (167 ±0)` // Estimated: `27515 + m * (124 ±0) + n * (2604 ±0)` - // Minimum execution time: 735_322_000 picoseconds. - Weight::from_parts(227_464_284, 0) + // Minimum execution time: 606_499_000 picoseconds. + Weight::from_parts(205_295_180, 0) .saturating_add(Weight::from_parts(0, 27515)) - // Standard Error: 200_422 - .saturating_add(Weight::from_parts(104_926_718, 0).saturating_mul(n.into())) - // Standard Error: 9_146 - .saturating_add(Weight::from_parts(7_801_931, 0).saturating_mul(m.into())) + // Standard Error: 172_942 + .saturating_add(Weight::from_parts(83_784_432, 0).saturating_mul(n.into())) + // Standard Error: 7_892 + .saturating_add(Weight::from_parts(6_626_422, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().reads((8_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(10)) @@ -219,13 +219,13 @@ impl pallet_pool_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `821 + m * (124 ±0) + n * (249 ±0)` // Estimated: `17508` - // Minimum execution time: 43_951_000 picoseconds. - Weight::from_parts(37_237_325, 0) + // Minimum execution time: 43_361_000 picoseconds. + Weight::from_parts(37_221_242, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 37_094 - .saturating_add(Weight::from_parts(1_727_190, 0).saturating_mul(n.into())) - // Standard Error: 1_692 - .saturating_add(Weight::from_parts(207_507, 0).saturating_mul(m.into())) + // Standard Error: 35_715 + .saturating_add(Weight::from_parts(1_621_581, 0).saturating_mul(n.into())) + // Standard Error: 1_629 + .saturating_add(Weight::from_parts(203_444, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -267,13 +267,13 @@ impl pallet_pool_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1977 + m * (124 ±0) + n * (633 ±0)` // Estimated: `17508 + m * (124 ±0) + n * (2604 ±0)` - // Minimum execution time: 286_415_000 picoseconds. - Weight::from_parts(185_522_136, 0) + // Minimum execution time: 256_207_000 picoseconds. + Weight::from_parts(159_991_035, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 102_664 - .saturating_add(Weight::from_parts(69_281_966, 0).saturating_mul(n.into())) - // Standard Error: 4_685 - .saturating_add(Weight::from_parts(385_766, 0).saturating_mul(m.into())) + // Standard Error: 101_229 + .saturating_add(Weight::from_parts(61_278_934, 0).saturating_mul(n.into())) + // Standard Error: 4_619 + .saturating_add(Weight::from_parts(401_978, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(9)) diff --git a/runtime/centrifuge/src/weights/pallet_preimage.rs b/runtime/centrifuge/src/weights/pallet_preimage.rs index cbd0c546c1..797ad7c8a4 100644 --- a/runtime/centrifuge/src/weights/pallet_preimage.rs +++ b/runtime/centrifuge/src/weights/pallet_preimage.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -41,11 +41,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 44_192_000 picoseconds. - Weight::from_parts(436_725_293, 0) + // Minimum execution time: 43_511_000 picoseconds. + Weight::from_parts(450_203_216, 0) .saturating_add(Weight::from_parts(0, 3556)) // Standard Error: 17 - .saturating_add(Weight::from_parts(1_998, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(2_090, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -58,11 +58,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 24_476_000 picoseconds. - Weight::from_parts(24_716_000, 0) + // Minimum execution time: 23_814_000 picoseconds. + Weight::from_parts(13_518, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 3 - .saturating_add(Weight::from_parts(2_646, 0).saturating_mul(s.into())) + // Standard Error: 8 + .saturating_add(Weight::from_parts(2_768, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -75,11 +75,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 23_333_000 picoseconds. - Weight::from_parts(23_695_000, 0) + // Minimum execution time: 23_073_000 picoseconds. + Weight::from_parts(7_859_013, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 7 - .saturating_add(Weight::from_parts(2_703, 0).saturating_mul(s.into())) + // Standard Error: 11 + .saturating_add(Weight::from_parts(2_745, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -91,8 +91,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `324` // Estimated: `3556` - // Minimum execution time: 52_438_000 picoseconds. - Weight::from_parts(67_796_000, 0) + // Minimum execution time: 51_365_000 picoseconds. + Weight::from_parts(53_099_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -105,8 +105,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 28_793_000 picoseconds. - Weight::from_parts(31_269_000, 0) + // Minimum execution time: 29_625_000 picoseconds. + Weight::from_parts(30_897_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -117,8 +117,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `222` // Estimated: `3556` - // Minimum execution time: 24_345_000 picoseconds. - Weight::from_parts(26_490_000, 0) + // Minimum execution time: 25_487_000 picoseconds. + Weight::from_parts(26_579_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -129,8 +129,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 14_648_000 picoseconds. - Weight::from_parts(15_539_000, 0) + // Minimum execution time: 14_507_000 picoseconds. + Weight::from_parts(15_078_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -141,8 +141,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3556` - // Minimum execution time: 20_649_000 picoseconds. - Weight::from_parts(21_410_000, 0) + // Minimum execution time: 20_759_000 picoseconds. + Weight::from_parts(21_239_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -153,8 +153,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 12_744_000 picoseconds. - Weight::from_parts(13_886_000, 0) + // Minimum execution time: 12_673_000 picoseconds. + Weight::from_parts(12_973_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -167,8 +167,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 26_289_000 picoseconds. - Weight::from_parts(29_044_000, 0) + // Minimum execution time: 25_738_000 picoseconds. + Weight::from_parts(26_580_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -179,8 +179,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 12_814_000 picoseconds. - Weight::from_parts(13_295_000, 0) + // Minimum execution time: 12_544_000 picoseconds. + Weight::from_parts(13_014_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -191,8 +191,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 12_584_000 picoseconds. - Weight::from_parts(13_315_000, 0) + // Minimum execution time: 12_563_000 picoseconds. + Weight::from_parts(12_874_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/centrifuge/src/weights/pallet_proxy.rs b/runtime/centrifuge/src/weights/pallet_proxy.rs index 3a80e29fc1..583defa622 100644 --- a/runtime/centrifuge/src/weights/pallet_proxy.rs +++ b/runtime/centrifuge/src/weights/pallet_proxy.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -39,11 +39,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 22_633_000 picoseconds. - Weight::from_parts(23_480_537, 0) + // Minimum execution time: 22_482_000 picoseconds. + Weight::from_parts(24_103_669, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_295 - .saturating_add(Weight::from_parts(36_781, 0).saturating_mul(p.into())) + // Standard Error: 1_878 + .saturating_add(Weight::from_parts(13_525, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: Proxy Proxies (r:1 w:0) @@ -58,13 +58,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `620 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 53_049_000 picoseconds. - Weight::from_parts(52_846_125, 0) + // Minimum execution time: 52_799_000 picoseconds. + Weight::from_parts(52_725_041, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 2_144 - .saturating_add(Weight::from_parts(255_573, 0).saturating_mul(a.into())) - // Standard Error: 2_216 - .saturating_add(Weight::from_parts(39_436, 0).saturating_mul(p.into())) + // Standard Error: 2_220 + .saturating_add(Weight::from_parts(226_366, 0).saturating_mul(a.into())) + // Standard Error: 2_294 + .saturating_add(Weight::from_parts(41_798, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -78,11 +78,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `535 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 34_284_000 picoseconds. - Weight::from_parts(35_290_118, 0) + // Minimum execution time: 33_583_000 picoseconds. + Weight::from_parts(34_820_824, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 1_924 - .saturating_add(Weight::from_parts(242_682, 0).saturating_mul(a.into())) + // Standard Error: 1_852 + .saturating_add(Weight::from_parts(217_039, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -96,11 +96,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `535 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 34_134_000 picoseconds. - Weight::from_parts(35_257_295, 0) + // Minimum execution time: 33_583_000 picoseconds. + Weight::from_parts(34_783_767, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 1_844 - .saturating_add(Weight::from_parts(241_867, 0).saturating_mul(a.into())) + // Standard Error: 1_845 + .saturating_add(Weight::from_parts(217_344, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -116,13 +116,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `552 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 47_649_000 picoseconds. - Weight::from_parts(48_038_359, 0) + // Minimum execution time: 47_529_000 picoseconds. + Weight::from_parts(47_136_249, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 2_931 - .saturating_add(Weight::from_parts(266_802, 0).saturating_mul(a.into())) - // Standard Error: 3_028 - .saturating_add(Weight::from_parts(24_575, 0).saturating_mul(p.into())) + // Standard Error: 1_726 + .saturating_add(Weight::from_parts(215_266, 0).saturating_mul(a.into())) + // Standard Error: 1_783 + .saturating_add(Weight::from_parts(39_957, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -133,11 +133,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 36_348_000 picoseconds. - Weight::from_parts(37_462_455, 0) + // Minimum execution time: 35_816_000 picoseconds. + Weight::from_parts(36_963_866, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_297 - .saturating_add(Weight::from_parts(39_745, 0).saturating_mul(p.into())) + // Standard Error: 1_285 + .saturating_add(Weight::from_parts(47_584, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -148,11 +148,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 36_518_000 picoseconds. - Weight::from_parts(37_701_387, 0) + // Minimum execution time: 35_787_000 picoseconds. + Weight::from_parts(37_067_950, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 2_618 - .saturating_add(Weight::from_parts(42_686, 0).saturating_mul(p.into())) + // Standard Error: 2_254 + .saturating_add(Weight::from_parts(48_736, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -163,11 +163,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 31_809_000 picoseconds. - Weight::from_parts(32_992_892, 0) + // Minimum execution time: 31_489_000 picoseconds. + Weight::from_parts(32_356_192, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_417 - .saturating_add(Weight::from_parts(30_104, 0).saturating_mul(p.into())) + // Standard Error: 1_503 + .saturating_add(Weight::from_parts(44_238, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -178,11 +178,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `305` // Estimated: `4706` - // Minimum execution time: 38_742_000 picoseconds. - Weight::from_parts(39_884_231, 0) + // Minimum execution time: 38_562_000 picoseconds. + Weight::from_parts(39_879_762, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_523 - .saturating_add(Weight::from_parts(10_789, 0).saturating_mul(p.into())) + // Standard Error: 1_565 + .saturating_add(Weight::from_parts(21_056, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -193,11 +193,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `330 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 33_432_000 picoseconds. - Weight::from_parts(34_523_505, 0) + // Minimum execution time: 32_831_000 picoseconds. + Weight::from_parts(34_099_383, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_520 - .saturating_add(Weight::from_parts(41_130, 0).saturating_mul(p.into())) + // Standard Error: 1_348 + .saturating_add(Weight::from_parts(35_437, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/centrifuge/src/weights/pallet_remarks.rs b/runtime/centrifuge/src/weights/pallet_remarks.rs index 752c0aa15b..72cded43bc 100644 --- a/runtime/centrifuge/src/weights/pallet_remarks.rs +++ b/runtime/centrifuge/src/weights/pallet_remarks.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_remarks` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -37,10 +37,10 @@ impl pallet_remarks::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 16_901_000 picoseconds. - Weight::from_parts(17_495_535, 0) + // Minimum execution time: 17_122_000 picoseconds. + Weight::from_parts(17_699_384, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_909 - .saturating_add(Weight::from_parts(114_149, 0).saturating_mul(n.into())) + // Standard Error: 2_353 + .saturating_add(Weight::from_parts(106_809, 0).saturating_mul(n.into())) } } diff --git a/runtime/centrifuge/src/weights/pallet_restricted_tokens.rs b/runtime/centrifuge/src/weights/pallet_restricted_tokens.rs index 9203d0da41..c96aec93aa 100644 --- a/runtime/centrifuge/src/weights/pallet_restricted_tokens.rs +++ b/runtime/centrifuge/src/weights/pallet_restricted_tokens.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_restricted_tokens` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -40,8 +40,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `505` // Estimated: `6124` - // Minimum execution time: 96_390_000 picoseconds. - Weight::from_parts(98_083_000, 0) + // Minimum execution time: 96_760_000 picoseconds. + Weight::from_parts(98_223_000, 0) .saturating_add(Weight::from_parts(0, 6124)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -58,8 +58,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `923` // Estimated: `6198` - // Minimum execution time: 74_750_000 picoseconds. - Weight::from_parts(76_543_000, 0) + // Minimum execution time: 75_721_000 picoseconds. + Weight::from_parts(76_853_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) @@ -72,8 +72,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `505` // Estimated: `6124` - // Minimum execution time: 84_728_000 picoseconds. - Weight::from_parts(85_800_000, 0) + // Minimum execution time: 83_365_000 picoseconds. + Weight::from_parts(85_389_000, 0) .saturating_add(Weight::from_parts(0, 6124)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -90,8 +90,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `820` // Estimated: `6198` - // Minimum execution time: 70_882_000 picoseconds. - Weight::from_parts(72_365_000, 0) + // Minimum execution time: 70_691_000 picoseconds. + Weight::from_parts(72_184_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) @@ -104,8 +104,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `505` // Estimated: `6124` - // Minimum execution time: 100_768_000 picoseconds. - Weight::from_parts(101_850_000, 0) + // Minimum execution time: 100_137_000 picoseconds. + Weight::from_parts(102_040_000, 0) .saturating_add(Weight::from_parts(0, 6124)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -122,8 +122,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `923` // Estimated: `6198` - // Minimum execution time: 79_499_000 picoseconds. - Weight::from_parts(80_991_000, 0) + // Minimum execution time: 80_459_000 picoseconds. + Weight::from_parts(81_481_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) @@ -134,8 +134,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `259` // Estimated: `3593` - // Minimum execution time: 87_935_000 picoseconds. - Weight::from_parts(89_017_000, 0) + // Minimum execution time: 88_495_000 picoseconds. + Weight::from_parts(89_526_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -150,8 +150,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `677` // Estimated: `6198` - // Minimum execution time: 65_863_000 picoseconds. - Weight::from_parts(67_286_000, 0) + // Minimum execution time: 66_544_000 picoseconds. + Weight::from_parts(67_997_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -164,8 +164,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `298` // Estimated: `3674` - // Minimum execution time: 179_225_000 picoseconds. - Weight::from_parts(183_292_000, 0) + // Minimum execution time: 173_964_000 picoseconds. + Weight::from_parts(175_507_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -180,8 +180,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `467` // Estimated: `3932` - // Minimum execution time: 104_375_000 picoseconds. - Weight::from_parts(105_657_000, 0) + // Minimum execution time: 103_062_000 picoseconds. + Weight::from_parts(104_534_000, 0) .saturating_add(Weight::from_parts(0, 3932)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtime/centrifuge/src/weights/pallet_scheduler.rs b/runtime/centrifuge/src/weights/pallet_scheduler.rs index 68c5f2c1e6..fecd6dead3 100644 --- a/runtime/centrifuge/src/weights/pallet_scheduler.rs +++ b/runtime/centrifuge/src/weights/pallet_scheduler.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -38,8 +38,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `31` // Estimated: `1489` - // Minimum execution time: 5_921_000 picoseconds. - Weight::from_parts(6_121_000, 0) + // Minimum execution time: 5_811_000 picoseconds. + Weight::from_parts(6_091_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -51,11 +51,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 5_581_000 picoseconds. - Weight::from_parts(8_449_656, 0) + // Minimum execution time: 5_760_000 picoseconds. + Weight::from_parts(8_225_483, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_610 - .saturating_add(Weight::from_parts(1_218_339, 0).saturating_mul(s.into())) + // Standard Error: 3_455 + .saturating_add(Weight::from_parts(1_195_501, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -63,8 +63,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_235_000 picoseconds. - Weight::from_parts(8_436_000, 0) + // Minimum execution time: 8_395_000 picoseconds. + Weight::from_parts(8_756_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Preimage PreimageFor (r:1 w:1) @@ -76,11 +76,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `213 + s * (1 ±0)` // Estimated: `3678 + s * (1 ±0)` - // Minimum execution time: 29_775_000 picoseconds. - Weight::from_parts(30_196_000, 0) + // Minimum execution time: 30_176_000 picoseconds. + Weight::from_parts(4_024_841, 0) .saturating_add(Weight::from_parts(0, 3678)) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_097, 0).saturating_mul(s.into())) + // Standard Error: 18 + .saturating_add(Weight::from_parts(1_267, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) @@ -91,8 +91,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_619_000 picoseconds. - Weight::from_parts(10_920_000, 0) + // Minimum execution time: 10_750_000 picoseconds. + Weight::from_parts(11_210_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -100,24 +100,24 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_166_000 picoseconds. - Weight::from_parts(8_506_000, 0) + // Minimum execution time: 8_526_000 picoseconds. + Weight::from_parts(8_787_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_259_000 picoseconds. - Weight::from_parts(4_448_000, 0) + // Minimum execution time: 4_398_000 picoseconds. + Weight::from_parts(4_689_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_237_000 picoseconds. - Weight::from_parts(4_358_000, 0) + // Minimum execution time: 4_297_000 picoseconds. + Weight::from_parts(4_579_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Scheduler Agenda (r:1 w:1) @@ -127,11 +127,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 20_118_000 picoseconds. - Weight::from_parts(22_685_124, 0) + // Minimum execution time: 20_328_000 picoseconds. + Weight::from_parts(23_022_460, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_860 - .saturating_add(Weight::from_parts(1_212_891, 0).saturating_mul(s.into())) + // Standard Error: 3_904 + .saturating_add(Weight::from_parts(1_195_872, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -144,11 +144,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 26_480_000 picoseconds. - Weight::from_parts(22_725_404, 0) + // Minimum execution time: 26_760_000 picoseconds. + Weight::from_parts(23_352_591, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 4_919 - .saturating_add(Weight::from_parts(2_241_796, 0).saturating_mul(s.into())) + // Standard Error: 5_091 + .saturating_add(Weight::from_parts(2_188_819, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -161,11 +161,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `255 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 25_156_000 picoseconds. - Weight::from_parts(28_892_942, 0) + // Minimum execution time: 24_827_000 picoseconds. + Weight::from_parts(28_785_406, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_789 - .saturating_add(Weight::from_parts(1_232_172, 0).saturating_mul(s.into())) + // Standard Error: 3_945 + .saturating_add(Weight::from_parts(1_229_112, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -178,11 +178,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `281 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 27_471_000 picoseconds. - Weight::from_parts(25_406_471, 0) + // Minimum execution time: 27_541_000 picoseconds. + Weight::from_parts(26_000_970, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 4_732 - .saturating_add(Weight::from_parts(2_248_730, 0).saturating_mul(s.into())) + // Standard Error: 5_203 + .saturating_add(Weight::from_parts(2_218_805, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/centrifuge/src/weights/pallet_session.rs b/runtime/centrifuge/src/weights/pallet_session.rs index d2fe949f0a..cf9e0f5bef 100644 --- a/runtime/centrifuge/src/weights/pallet_session.rs +++ b/runtime/centrifuge/src/weights/pallet_session.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -40,8 +40,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `369` // Estimated: `3834` - // Minimum execution time: 27_522_000 picoseconds. - Weight::from_parts(28_142_000, 0) + // Minimum execution time: 26_700_000 picoseconds. + Weight::from_parts(27_431_000, 0) .saturating_add(Weight::from_parts(0, 3834)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -54,8 +54,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `386` // Estimated: `3851` - // Minimum execution time: 18_644_000 picoseconds. - Weight::from_parts(19_056_000, 0) + // Minimum execution time: 18_565_000 picoseconds. + Weight::from_parts(19_146_000, 0) .saturating_add(Weight::from_parts(0, 3851)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtime/centrifuge/src/weights/pallet_timestamp.rs b/runtime/centrifuge/src/weights/pallet_timestamp.rs index 94bf5b410a..fdaed47ce4 100644 --- a/runtime/centrifuge/src/weights/pallet_timestamp.rs +++ b/runtime/centrifuge/src/weights/pallet_timestamp.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -40,8 +40,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `223` // Estimated: `1493` - // Minimum execution time: 14_036_000 picoseconds. - Weight::from_parts(14_547_000, 0) + // Minimum execution time: 13_395_000 picoseconds. + Weight::from_parts(13_796_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -50,8 +50,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `128` // Estimated: `0` - // Minimum execution time: 6_212_000 picoseconds. - Weight::from_parts(6_362_000, 0) + // Minimum execution time: 6_041_000 picoseconds. + Weight::from_parts(6_372_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtime/centrifuge/src/weights/pallet_token_mux.rs b/runtime/centrifuge/src/weights/pallet_token_mux.rs index 6e5621d529..86bf2f0486 100644 --- a/runtime/centrifuge/src/weights/pallet_token_mux.rs +++ b/runtime/centrifuge/src/weights/pallet_token_mux.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_token_mux` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -44,8 +44,8 @@ impl pallet_token_mux::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `803` // Estimated: `8802` - // Minimum execution time: 118_732_000 picoseconds. - Weight::from_parts(120_705_000, 0) + // Minimum execution time: 119_933_000 picoseconds. + Weight::from_parts(120_885_000, 0) .saturating_add(Weight::from_parts(0, 8802)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) @@ -62,8 +62,8 @@ impl pallet_token_mux::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1093` // Estimated: `8802` - // Minimum execution time: 106_920_000 picoseconds. - Weight::from_parts(108_193_000, 0) + // Minimum execution time: 105_166_000 picoseconds. + Weight::from_parts(107_200_000, 0) .saturating_add(Weight::from_parts(0, 8802)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) @@ -86,8 +86,8 @@ impl pallet_token_mux::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1439` // Estimated: `11406` - // Minimum execution time: 211_274_000 picoseconds. - Weight::from_parts(214_611_000, 0) + // Minimum execution time: 212_325_000 picoseconds. + Weight::from_parts(214_489_000, 0) .saturating_add(Weight::from_parts(0, 11406)) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(9)) diff --git a/runtime/centrifuge/src/weights/pallet_transfer_allowlist.rs b/runtime/centrifuge/src/weights/pallet_transfer_allowlist.rs index 067671565a..307ba99a12 100644 --- a/runtime/centrifuge/src/weights/pallet_transfer_allowlist.rs +++ b/runtime/centrifuge/src/weights/pallet_transfer_allowlist.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_transfer_allowlist` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -46,8 +46,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `603` // Estimated: `3674` - // Minimum execution time: 91_942_000 picoseconds. - Weight::from_parts(94_065_000, 0) + // Minimum execution time: 89_276_000 picoseconds. + Weight::from_parts(91_160_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -66,8 +66,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `697` // Estimated: `3674` - // Minimum execution time: 95_959_000 picoseconds. - Weight::from_parts(98_003_000, 0) + // Minimum execution time: 93_003_000 picoseconds. + Weight::from_parts(93_845_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -78,8 +78,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `246` // Estimated: `3557` - // Minimum execution time: 20_619_000 picoseconds. - Weight::from_parts(21_450_000, 0) + // Minimum execution time: 20_668_000 picoseconds. + Weight::from_parts(21_200_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -90,8 +90,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `370` // Estimated: `3557` - // Minimum execution time: 23_554_000 picoseconds. - Weight::from_parts(24_045_000, 0) + // Minimum execution time: 23_333_000 picoseconds. + Weight::from_parts(23_724_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -102,8 +102,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `340` // Estimated: `3557` - // Minimum execution time: 23_443_000 picoseconds. - Weight::from_parts(23_905_000, 0) + // Minimum execution time: 23_514_000 picoseconds. + Weight::from_parts(24_165_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -114,8 +114,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `344` // Estimated: `3557` - // Minimum execution time: 23_243_000 picoseconds. - Weight::from_parts(23_905_000, 0) + // Minimum execution time: 23_253_000 picoseconds. + Weight::from_parts(23_794_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -126,8 +126,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `344` // Estimated: `3557` - // Minimum execution time: 23_043_000 picoseconds. - Weight::from_parts(23_544_000, 0) + // Minimum execution time: 23_092_000 picoseconds. + Weight::from_parts(23_714_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -138,8 +138,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `378` // Estimated: `3557` - // Minimum execution time: 24_095_000 picoseconds. - Weight::from_parts(24_806_000, 0) + // Minimum execution time: 24_385_000 picoseconds. + Weight::from_parts(25_037_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -152,8 +152,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `473` // Estimated: `3597` - // Minimum execution time: 35_686_000 picoseconds. - Weight::from_parts(36_328_000, 0) + // Minimum execution time: 34_695_000 picoseconds. + Weight::from_parts(35_586_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -166,8 +166,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `469` // Estimated: `3597` - // Minimum execution time: 35_676_000 picoseconds. - Weight::from_parts(36_418_000, 0) + // Minimum execution time: 34_324_000 picoseconds. + Weight::from_parts(35_707_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -186,8 +186,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `879` // Estimated: `3674` - // Minimum execution time: 85_970_000 picoseconds. - Weight::from_parts(87_053_000, 0) + // Minimum execution time: 82_904_000 picoseconds. + Weight::from_parts(84_317_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -206,8 +206,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `918` // Estimated: `3674` - // Minimum execution time: 84_778_000 picoseconds. - Weight::from_parts(86_301_000, 0) + // Minimum execution time: 82_623_000 picoseconds. + Weight::from_parts(83_666_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) diff --git a/runtime/centrifuge/src/weights/pallet_treasury.rs b/runtime/centrifuge/src/weights/pallet_treasury.rs index 51fe320e98..91cebd2470 100644 --- a/runtime/centrifuge/src/weights/pallet_treasury.rs +++ b/runtime/centrifuge/src/weights/pallet_treasury.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -36,8 +36,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 341_000 picoseconds. - Weight::from_parts(391_000, 0) + // Minimum execution time: 351_000 picoseconds. + Weight::from_parts(411_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Treasury ProposalCount (r:1 w:1) @@ -48,8 +48,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `1489` - // Minimum execution time: 39_694_000 picoseconds. - Weight::from_parts(41_067_000, 0) + // Minimum execution time: 40_626_000 picoseconds. + Weight::from_parts(41_898_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -62,8 +62,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `405` // Estimated: `6196` - // Minimum execution time: 62_186_000 picoseconds. - Weight::from_parts(63_178_000, 0) + // Minimum execution time: 63_228_000 picoseconds. + Weight::from_parts(64_039_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -77,11 +77,11 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `470 + p * (8 ±0)` // Estimated: `3573` - // Minimum execution time: 14_096_000 picoseconds. - Weight::from_parts(17_516_081, 0) + // Minimum execution time: 14_697_000 picoseconds. + Weight::from_parts(17_808_249, 0) .saturating_add(Weight::from_parts(0, 3573)) - // Standard Error: 1_311 - .saturating_add(Weight::from_parts(48_470, 0).saturating_mul(p.into())) + // Standard Error: 1_342 + .saturating_add(Weight::from_parts(49_234, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -91,8 +91,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `127` // Estimated: `1887` - // Minimum execution time: 11_261_000 picoseconds. - Weight::from_parts(11_512_000, 0) + // Minimum execution time: 11_291_000 picoseconds. + Weight::from_parts(11_622_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -110,11 +110,11 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `230 + p * (120 ±0)` // Estimated: `3593 + p * (2583 ±0)` - // Minimum execution time: 38_221_000 picoseconds. - Weight::from_parts(35_869_421, 0) + // Minimum execution time: 40_075_000 picoseconds. + Weight::from_parts(36_799_098, 0) .saturating_add(Weight::from_parts(0, 3593)) - // Standard Error: 5_742 - .saturating_add(Weight::from_parts(3_886_891, 0).saturating_mul(p.into())) + // Standard Error: 6_004 + .saturating_add(Weight::from_parts(3_848_698, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtime/centrifuge/src/weights/pallet_uniques.rs b/runtime/centrifuge/src/weights/pallet_uniques.rs index ffd46f2bea..30672514e9 100644 --- a/runtime/centrifuge/src/weights/pallet_uniques.rs +++ b/runtime/centrifuge/src/weights/pallet_uniques.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_uniques` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -40,8 +40,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `249` // Estimated: `3647` - // Minimum execution time: 42_940_000 picoseconds. - Weight::from_parts(44_092_000, 0) + // Minimum execution time: 43_851_000 picoseconds. + Weight::from_parts(45_034_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -54,8 +54,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `109` // Estimated: `3647` - // Minimum execution time: 20_899_000 picoseconds. - Weight::from_parts(21_420_000, 0) + // Minimum execution time: 21_990_000 picoseconds. + Weight::from_parts(22_702_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -83,15 +83,15 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `511 + a * (346 ±0) + m * (69 ±0) + n * (88 ±0)` // Estimated: `3647 + a * (3080 ±0) + m * (2806 ±0) + n * (2613 ±0)` - // Minimum execution time: 3_051_879_000 picoseconds. - Weight::from_parts(3_075_232_000, 0) + // Minimum execution time: 2_956_563_000 picoseconds. + Weight::from_parts(2_993_202_000, 0) .saturating_add(Weight::from_parts(0, 3647)) - // Standard Error: 29_237 - .saturating_add(Weight::from_parts(10_022_664, 0).saturating_mul(n.into())) - // Standard Error: 29_237 - .saturating_add(Weight::from_parts(230_021, 0).saturating_mul(m.into())) - // Standard Error: 29_237 - .saturating_add(Weight::from_parts(516_216, 0).saturating_mul(a.into())) + // Standard Error: 28_423 + .saturating_add(Weight::from_parts(9_954_730, 0).saturating_mul(n.into())) + // Standard Error: 28_423 + .saturating_add(Weight::from_parts(247_949, 0).saturating_mul(m.into())) + // Standard Error: 28_423 + .saturating_add(Weight::from_parts(476_212, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into()))) @@ -116,8 +116,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 51_196_000 picoseconds. - Weight::from_parts(52_428_000, 0) + // Minimum execution time: 53_700_000 picoseconds. + Weight::from_parts(54_552_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -134,8 +134,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3647` - // Minimum execution time: 53_580_000 picoseconds. - Weight::from_parts(54_752_000, 0) + // Minimum execution time: 55_273_000 picoseconds. + Weight::from_parts(56_555_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) @@ -152,8 +152,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3647` - // Minimum execution time: 38_331_000 picoseconds. - Weight::from_parts(39_403_000, 0) + // Minimum execution time: 39_945_000 picoseconds. + Weight::from_parts(40_636_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) @@ -167,11 +167,11 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `821 + i * (88 ±0)` // Estimated: `3647 + i * (2613 ±0)` - // Minimum execution time: 19_968_000 picoseconds. - Weight::from_parts(20_358_000, 0) + // Minimum execution time: 20_990_000 picoseconds. + Weight::from_parts(21_410_000, 0) .saturating_add(Weight::from_parts(0, 3647)) - // Standard Error: 15_605 - .saturating_add(Weight::from_parts(24_886_799, 0).saturating_mul(i.into())) + // Standard Error: 12_619 + .saturating_add(Weight::from_parts(25_652_006, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -186,8 +186,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3647` - // Minimum execution time: 25_628_000 picoseconds. - Weight::from_parts(26_079_000, 0) + // Minimum execution time: 26_098_000 picoseconds. + Weight::from_parts(26_819_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -200,8 +200,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3647` - // Minimum execution time: 25_167_000 picoseconds. - Weight::from_parts(25_708_000, 0) + // Minimum execution time: 26_208_000 picoseconds. + Weight::from_parts(26_769_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -212,8 +212,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 18_304_000 picoseconds. - Weight::from_parts(18_745_000, 0) + // Minimum execution time: 18_905_000 picoseconds. + Weight::from_parts(19_537_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -224,8 +224,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 17_984_000 picoseconds. - Weight::from_parts(18_685_000, 0) + // Minimum execution time: 18_855_000 picoseconds. + Weight::from_parts(19_406_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -240,8 +240,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `431` // Estimated: `3647` - // Minimum execution time: 29_816_000 picoseconds. - Weight::from_parts(30_496_000, 0) + // Minimum execution time: 30_978_000 picoseconds. + Weight::from_parts(31_628_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) @@ -252,8 +252,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 18_375_000 picoseconds. - Weight::from_parts(18_896_000, 0) + // Minimum execution time: 19_437_000 picoseconds. + Weight::from_parts(19_807_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -266,8 +266,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 22_963_000 picoseconds. - Weight::from_parts(23_644_000, 0) + // Minimum execution time: 23_444_000 picoseconds. + Weight::from_parts(24_285_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -282,8 +282,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `775` // Estimated: `4070` - // Minimum execution time: 59_041_000 picoseconds. - Weight::from_parts(59_972_000, 0) + // Minimum execution time: 60_993_000 picoseconds. + Weight::from_parts(62_095_000, 0) .saturating_add(Weight::from_parts(0, 4070)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -298,8 +298,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1407` // Estimated: `4070` - // Minimum execution time: 56_275_000 picoseconds. - Weight::from_parts(57_277_000, 0) + // Minimum execution time: 59_521_000 picoseconds. + Weight::from_parts(60_653_000, 0) .saturating_add(Weight::from_parts(0, 4070)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -312,8 +312,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `419` // Estimated: `3796` - // Minimum execution time: 42_569_000 picoseconds. - Weight::from_parts(43_361_000, 0) + // Minimum execution time: 44_022_000 picoseconds. + Weight::from_parts(44_724_000, 0) .saturating_add(Weight::from_parts(0, 3796)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -326,8 +326,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `775` // Estimated: `3796` - // Minimum execution time: 42_940_000 picoseconds. - Weight::from_parts(44_403_000, 0) + // Minimum execution time: 44_463_000 picoseconds. + Weight::from_parts(45_966_000, 0) .saturating_add(Weight::from_parts(0, 3796)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -340,8 +340,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3764` - // Minimum execution time: 44_192_000 picoseconds. - Weight::from_parts(44_984_000, 0) + // Minimum execution time: 45_265_000 picoseconds. + Weight::from_parts(45_975_000, 0) .saturating_add(Weight::from_parts(0, 3764)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -354,8 +354,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `676` // Estimated: `3764` - // Minimum execution time: 42_439_000 picoseconds. - Weight::from_parts(43_230_000, 0) + // Minimum execution time: 43_862_000 picoseconds. + Weight::from_parts(44_643_000, 0) .saturating_add(Weight::from_parts(0, 3764)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -368,8 +368,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3647` - // Minimum execution time: 25_859_000 picoseconds. - Weight::from_parts(26_500_000, 0) + // Minimum execution time: 26_530_000 picoseconds. + Weight::from_parts(27_191_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -382,8 +382,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `549` // Estimated: `3647` - // Minimum execution time: 25_608_000 picoseconds. - Weight::from_parts(26_249_000, 0) + // Minimum execution time: 26_529_000 picoseconds. + Weight::from_parts(27_301_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -394,8 +394,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `109` // Estimated: `3521` - // Minimum execution time: 20_539_000 picoseconds. - Weight::from_parts(21_049_000, 0) + // Minimum execution time: 21_500_000 picoseconds. + Weight::from_parts(22_091_000, 0) .saturating_add(Weight::from_parts(0, 3521)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -408,8 +408,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 22_271_000 picoseconds. - Weight::from_parts(22_853_000, 0) + // Minimum execution time: 22_692_000 picoseconds. + Weight::from_parts(23_403_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -422,8 +422,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `343` // Estimated: `3603` - // Minimum execution time: 21_429_000 picoseconds. - Weight::from_parts(22_231_000, 0) + // Minimum execution time: 22_562_000 picoseconds. + Weight::from_parts(23_213_000, 0) .saturating_add(Weight::from_parts(0, 3603)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -440,8 +440,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `645` // Estimated: `3647` - // Minimum execution time: 54_402_000 picoseconds. - Weight::from_parts(54_923_000, 0) + // Minimum execution time: 56_265_000 picoseconds. + Weight::from_parts(57_116_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) diff --git a/runtime/centrifuge/src/weights/pallet_utility.rs b/runtime/centrifuge/src/weights/pallet_utility.rs index 7ae79c1986..23a4232d32 100644 --- a/runtime/centrifuge/src/weights/pallet_utility.rs +++ b/runtime/centrifuge/src/weights/pallet_utility.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -37,18 +37,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_049_000 picoseconds. - Weight::from_parts(3_238_211, 0) + // Minimum execution time: 10_410_000 picoseconds. + Weight::from_parts(10_649_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_465 - .saturating_add(Weight::from_parts(8_386_691, 0).saturating_mul(c.into())) + // Standard Error: 2_678 + .saturating_add(Weight::from_parts(8_552_226, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_724_000 picoseconds. - Weight::from_parts(8_095_000, 0) + // Minimum execution time: 7_464_000 picoseconds. + Weight::from_parts(7_725_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -56,18 +56,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_299_000 picoseconds. - Weight::from_parts(7_189_336, 0) + // Minimum execution time: 10_289_000 picoseconds. + Weight::from_parts(10_564_874, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_022 - .saturating_add(Weight::from_parts(8_839_805, 0).saturating_mul(c.into())) + // Standard Error: 3_865 + .saturating_add(Weight::from_parts(9_035_936, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_067_000 picoseconds. - Weight::from_parts(14_367_000, 0) + // Minimum execution time: 13_896_000 picoseconds. + Weight::from_parts(14_317_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -75,10 +75,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_289_000 picoseconds. - Weight::from_parts(10_549_000, 0) + // Minimum execution time: 10_279_000 picoseconds. + Weight::from_parts(11_117_982, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_768 - .saturating_add(Weight::from_parts(8_395_566, 0).saturating_mul(c.into())) + // Standard Error: 3_775 + .saturating_add(Weight::from_parts(8_623_590, 0).saturating_mul(c.into())) } } diff --git a/runtime/centrifuge/src/weights/pallet_vesting.rs b/runtime/centrifuge/src/weights/pallet_vesting.rs index c379932543..f0b06d0697 100644 --- a/runtime/centrifuge/src/weights/pallet_vesting.rs +++ b/runtime/centrifuge/src/weights/pallet_vesting.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -44,13 +44,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `269 + l * (25 ±0) + s * (37 ±0)` // Estimated: `4764` - // Minimum execution time: 43_842_000 picoseconds. - Weight::from_parts(44_180_620, 0) + // Minimum execution time: 43_641_000 picoseconds. + Weight::from_parts(44_114_954, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_257 - .saturating_add(Weight::from_parts(56_516, 0).saturating_mul(l.into())) - // Standard Error: 24_086 - .saturating_add(Weight::from_parts(272_132, 0).saturating_mul(s.into())) + // Standard Error: 1_129 + .saturating_add(Weight::from_parts(56_043, 0).saturating_mul(l.into())) + // Standard Error: 21_640 + .saturating_add(Weight::from_parts(292_082, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -66,13 +66,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `269 + l * (25 ±0) + s * (37 ±0)` // Estimated: `4764` - // Minimum execution time: 49_653_000 picoseconds. - Weight::from_parts(50_680_762, 0) + // Minimum execution time: 49_512_000 picoseconds. + Weight::from_parts(50_819_626, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_732 - .saturating_add(Weight::from_parts(40_382, 0).saturating_mul(l.into())) - // Standard Error: 33_199 - .saturating_add(Weight::from_parts(243_888, 0).saturating_mul(s.into())) + // Standard Error: 1_649 + .saturating_add(Weight::from_parts(39_948, 0).saturating_mul(l.into())) + // Standard Error: 31_602 + .saturating_add(Weight::from_parts(288_484, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -90,13 +90,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `372 + l * (25 ±0) + s * (37 ±0)` // Estimated: `4764` - // Minimum execution time: 46_957_000 picoseconds. - Weight::from_parts(47_809_155, 0) + // Minimum execution time: 46_457_000 picoseconds. + Weight::from_parts(46_776_316, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_202 - .saturating_add(Weight::from_parts(47_884, 0).saturating_mul(l.into())) - // Standard Error: 23_030 - .saturating_add(Weight::from_parts(215_378, 0).saturating_mul(s.into())) + // Standard Error: 1_307 + .saturating_add(Weight::from_parts(61_798, 0).saturating_mul(l.into())) + // Standard Error: 25_050 + .saturating_add(Weight::from_parts(398_077, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -114,13 +114,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `372 + l * (25 ±0) + s * (37 ±0)` // Estimated: `4764` - // Minimum execution time: 52_548_000 picoseconds. - Weight::from_parts(53_599_353, 0) + // Minimum execution time: 52_568_000 picoseconds. + Weight::from_parts(53_808_154, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_692 - .saturating_add(Weight::from_parts(43_660, 0).saturating_mul(l.into())) - // Standard Error: 32_420 - .saturating_add(Weight::from_parts(282_952, 0).saturating_mul(s.into())) + // Standard Error: 1_705 + .saturating_add(Weight::from_parts(38_885, 0).saturating_mul(l.into())) + // Standard Error: 32_684 + .saturating_add(Weight::from_parts(223_704, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -138,13 +138,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `283 + l * (25 ±0) + s * (134 ±0)` // Estimated: `4764` - // Minimum execution time: 103_082_000 picoseconds. - Weight::from_parts(103_359_680, 0) + // Minimum execution time: 102_281_000 picoseconds. + Weight::from_parts(101_427_102, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_859 - .saturating_add(Weight::from_parts(61_400, 0).saturating_mul(l.into())) - // Standard Error: 35_624 - .saturating_add(Weight::from_parts(834_297, 0).saturating_mul(s.into())) + // Standard Error: 3_530 + .saturating_add(Weight::from_parts(84_354, 0).saturating_mul(l.into())) + // Standard Error: 67_649 + .saturating_add(Weight::from_parts(2_103_621, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -162,13 +162,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `423 + l * (25 ±0) + s * (134 ±0)` // Estimated: `6196` - // Minimum execution time: 106_559_000 picoseconds. - Weight::from_parts(106_922_879, 0) + // Minimum execution time: 105_235_000 picoseconds. + Weight::from_parts(106_598_065, 0) .saturating_add(Weight::from_parts(0, 6196)) - // Standard Error: 2_058 - .saturating_add(Weight::from_parts(58_113, 0).saturating_mul(l.into())) - // Standard Error: 39_435 - .saturating_add(Weight::from_parts(932_852, 0).saturating_mul(s.into())) + // Standard Error: 2_176 + .saturating_add(Weight::from_parts(58_728, 0).saturating_mul(l.into())) + // Standard Error: 41_707 + .saturating_add(Weight::from_parts(819_989, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -186,13 +186,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `374 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 47_641_000 picoseconds. - Weight::from_parts(48_919_370, 0) + // Minimum execution time: 47_729_000 picoseconds. + Weight::from_parts(47_999_344, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_672 - .saturating_add(Weight::from_parts(52_258, 0).saturating_mul(l.into())) - // Standard Error: 53_351 - .saturating_add(Weight::from_parts(250_283, 0).saturating_mul(s.into())) + // Standard Error: 1_560 + .saturating_add(Weight::from_parts(58_575, 0).saturating_mul(l.into())) + // Standard Error: 49_774 + .saturating_add(Weight::from_parts(405_292, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -210,13 +210,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `374 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 53_670_000 picoseconds. - Weight::from_parts(54_175_059, 0) + // Minimum execution time: 53_850_000 picoseconds. + Weight::from_parts(54_841_045, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_733 - .saturating_add(Weight::from_parts(53_023, 0).saturating_mul(l.into())) - // Standard Error: 55_290 - .saturating_add(Weight::from_parts(493_309, 0).saturating_mul(s.into())) + // Standard Error: 1_729 + .saturating_add(Weight::from_parts(50_620, 0).saturating_mul(l.into())) + // Standard Error: 55_171 + .saturating_add(Weight::from_parts(274_849, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/centrifuge/src/weights/pallet_xcm.rs b/runtime/centrifuge/src/weights/pallet_xcm.rs index 1c3c2eedbc..77e10e1b31 100644 --- a/runtime/centrifuge/src/weights/pallet_xcm.rs +++ b/runtime/centrifuge/src/weights/pallet_xcm.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_xcm` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -46,8 +46,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `311` // Estimated: `3776` - // Minimum execution time: 41_988_000 picoseconds. - Weight::from_parts(42_530_000, 0) + // Minimum execution time: 42_008_000 picoseconds. + Weight::from_parts(42_820_000, 0) .saturating_add(Weight::from_parts(0, 3776)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) @@ -60,8 +60,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `203` // Estimated: `3668` - // Minimum execution time: 41_888_000 picoseconds. - Weight::from_parts(42_389_000, 0) + // Minimum execution time: 41_157_000 picoseconds. + Weight::from_parts(41_928_000, 0) .saturating_add(Weight::from_parts(0, 3668)) .saturating_add(T::DbWeight::get().reads(2)) } @@ -73,8 +73,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `203` // Estimated: `3668` - // Minimum execution time: 41_367_000 picoseconds. - Weight::from_parts(42_239_000, 0) + // Minimum execution time: 40_746_000 picoseconds. + Weight::from_parts(41_668_000, 0) .saturating_add(Weight::from_parts(0, 3668)) .saturating_add(T::DbWeight::get().reads(2)) } @@ -94,8 +94,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_427_000 picoseconds. - Weight::from_parts(14_888_000, 0) + // Minimum execution time: 14_577_000 picoseconds. + Weight::from_parts(14_957_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -105,8 +105,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_378_000 picoseconds. - Weight::from_parts(4_708_000, 0) + // Minimum execution time: 4_418_000 picoseconds. + Weight::from_parts(4_669_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -130,8 +130,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `311` // Estimated: `3776` - // Minimum execution time: 49_622_000 picoseconds. - Weight::from_parts(50_395_000, 0) + // Minimum execution time: 49_061_000 picoseconds. + Weight::from_parts(50_214_000, 0) .saturating_add(Weight::from_parts(0, 3776)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) @@ -154,8 +154,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `493` // Estimated: `3958` - // Minimum execution time: 49_522_000 picoseconds. - Weight::from_parts(50_164_000, 0) + // Minimum execution time: 49_512_000 picoseconds. + Weight::from_parts(50_644_000, 0) .saturating_add(Weight::from_parts(0, 3958)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) @@ -166,8 +166,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_638_000 picoseconds. - Weight::from_parts(4_959_000, 0) + // Minimum execution time: 4_539_000 picoseconds. + Weight::from_parts(4_780_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -177,8 +177,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `235` // Estimated: `11125` - // Minimum execution time: 25_257_000 picoseconds. - Weight::from_parts(26_349_000, 0) + // Minimum execution time: 26_609_000 picoseconds. + Weight::from_parts(27_050_000, 0) .saturating_add(Weight::from_parts(0, 11125)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -189,8 +189,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `239` // Estimated: `11129` - // Minimum execution time: 25_547_000 picoseconds. - Weight::from_parts(26_330_000, 0) + // Minimum execution time: 26_269_000 picoseconds. + Weight::from_parts(27_120_000, 0) .saturating_add(Weight::from_parts(0, 11129)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -201,8 +201,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `246` // Estimated: `13611` - // Minimum execution time: 26_770_000 picoseconds. - Weight::from_parts(27_482_000, 0) + // Minimum execution time: 27_240_000 picoseconds. + Weight::from_parts(28_162_000, 0) .saturating_add(Weight::from_parts(0, 13611)) .saturating_add(T::DbWeight::get().reads(5)) } @@ -222,8 +222,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `378` // Estimated: `6318` - // Minimum execution time: 46_056_000 picoseconds. - Weight::from_parts(47_058_000, 0) + // Minimum execution time: 46_085_000 picoseconds. + Weight::from_parts(46_707_000, 0) .saturating_add(Weight::from_parts(0, 6318)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(3)) @@ -234,8 +234,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `206` // Estimated: `8621` - // Minimum execution time: 14_056_000 picoseconds. - Weight::from_parts(14_467_000, 0) + // Minimum execution time: 13_966_000 picoseconds. + Weight::from_parts(14_597_000, 0) .saturating_add(Weight::from_parts(0, 8621)) .saturating_add(T::DbWeight::get().reads(3)) } @@ -245,8 +245,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `246` // Estimated: `11136` - // Minimum execution time: 25_658_000 picoseconds. - Weight::from_parts(26_349_000, 0) + // Minimum execution time: 25_427_000 picoseconds. + Weight::from_parts(26_108_000, 0) .saturating_add(Weight::from_parts(0, 11136)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -267,8 +267,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `454` // Estimated: `11344` - // Minimum execution time: 55_364_000 picoseconds. - Weight::from_parts(56_936_000, 0) + // Minimum execution time: 55_574_000 picoseconds. + Weight::from_parts(56_786_000, 0) .saturating_add(Weight::from_parts(0, 11344)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) diff --git a/runtime/common/src/lib.rs b/runtime/common/src/lib.rs index 4b4cbe5f7c..d91ada560b 100644 --- a/runtime/common/src/lib.rs +++ b/runtime/common/src/lib.rs @@ -388,9 +388,7 @@ pub mod xcm_transactor { pub mod foreign_investments { use cfg_primitives::{conversion::convert_balance_decimals, Balance}; - use cfg_traits::{ - ConversionFromAssetBalance, ConversionToAssetBalance, IdentityCurrencyConversion, - }; + use cfg_traits::IdentityCurrencyConversion; use cfg_types::tokens::CurrencyId; use frame_support::pallet_prelude::PhantomData; use orml_traits::asset_registry::Inspect; @@ -451,78 +449,6 @@ pub mod foreign_investments { } } } - - /// Provides means of applying the decimals of an incoming currency to the - /// amount of an outgoing currency. - /// - /// NOTE: Either the incoming (in case of `ConversionFromAssetBalance`) or - /// outgoing currency (in case of `ConversionToAssetBalance`) is assumed - /// to be `CurrencyId::Native`. - pub struct NativeBalanceDecimalConverter(PhantomData); - - impl ConversionToAssetBalance - for NativeBalanceDecimalConverter - where - AssetRegistry: Inspect< - AssetId = CurrencyId, - Balance = Balance, - CustomMetadata = cfg_types::tokens::CustomMetadata, - >, - { - fn to_asset_balance( - balance: Balance, - currency_in: CurrencyId, - ) -> Result { - match currency_in { - CurrencyId::Native => Ok(balance), - CurrencyId::ForeignAsset(_) => { - let to_decimals = AssetRegistry::metadata(¤cy_in) - .ok_or(DispatchError::CannotLookup)? - .decimals; - convert_balance_decimals( - cfg_primitives::currency_decimals::NATIVE, - to_decimals, - balance, - ) - .map_err(DispatchError::from) - } - _ => Err(DispatchError::Token(sp_runtime::TokenError::Unsupported)), - } - } - } - - impl ConversionFromAssetBalance - for NativeBalanceDecimalConverter - where - AssetRegistry: Inspect< - AssetId = CurrencyId, - Balance = Balance, - CustomMetadata = cfg_types::tokens::CustomMetadata, - >, - { - type Error = DispatchError; - - fn from_asset_balance( - balance: Balance, - currency_out: CurrencyId, - ) -> Result { - match currency_out { - CurrencyId::Native => Ok(balance), - CurrencyId::ForeignAsset(_) => { - let from_decimals = AssetRegistry::metadata(¤cy_out) - .ok_or(DispatchError::CannotLookup)? - .decimals; - convert_balance_decimals( - from_decimals, - cfg_primitives::currency_decimals::NATIVE, - balance, - ) - .map_err(DispatchError::from) - } - _ => Err(DispatchError::Token(sp_runtime::TokenError::Unsupported)), - } - } - } } pub mod liquidity_pools { @@ -768,3 +694,10 @@ pub mod permissions { } } } + +pub mod rewards { + frame_support::parameter_types! { + #[derive(scale_info::TypeInfo)] + pub const SingleCurrencyMovement: u32 = 1; + } +} diff --git a/runtime/common/src/migrations/asset_registry_xcmv3.rs b/runtime/common/src/migrations/asset_registry_xcmv3.rs deleted file mode 100644 index a9327856e3..0000000000 --- a/runtime/common/src/migrations/asset_registry_xcmv3.rs +++ /dev/null @@ -1,240 +0,0 @@ -// Copyright 2023 Centrifuge Foundation (centrifuge.io). -// This file is part of Centrifuge chain project. - -// Centrifuge is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version (see http://www.gnu.org/licenses). - -// Centrifuge is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -use cfg_primitives::Balance; -use cfg_types::tokens::{CurrencyId, CustomMetadata}; -use frame_support::{ - traits::OnRuntimeUpgrade, - weights::{constants::RocksDbWeight, Weight}, - StoragePrefixedMap, -}; -use orml_traits::asset_registry::AssetMetadata; -#[cfg(feature = "try-runtime")] -use parity_scale_codec::Encode; -#[cfg(feature = "try-runtime")] -use sp_arithmetic::traits::Zero; -#[cfg(feature = "try-runtime")] -use sp_runtime::DispatchError; -use sp_std::vec::Vec; - -pub struct Migration< - T, - Assets, - const EXPECTED_MAINNET_LOC_COUNT: u32, - const EXPECTED_MAINNET_META_COUNT: u32, - const EXPECTED_TESTNET_LOC_COUNT: u32, - const EXPECTED_TESTNET_META_COUNT: u32, ->(sp_std::marker::PhantomData<(T, Assets)>); - -impl< - T, - Assets, - const EXPECTED_MAINNET_LOC_COUNT: u32, - const EXPECTED_MAINNET_META_COUNT: u32, - const EXPECTED_TESTNET_LOC_COUNT: u32, - const EXPECTED_TESTNET_META_COUNT: u32, - > OnRuntimeUpgrade - for Migration< - T, - Assets, - EXPECTED_MAINNET_LOC_COUNT, - EXPECTED_MAINNET_META_COUNT, - EXPECTED_TESTNET_LOC_COUNT, - EXPECTED_TESTNET_META_COUNT, - > where - T: orml_asset_registry::Config, - ::Balance: From, - ::CustomMetadata: From, - ::AssetId: From, - AssetMetadata< - ::Balance, - ::CustomMetadata, - >: From>, - Assets: AssetsToMigrate, -{ - fn on_runtime_upgrade() -> Weight { - log::info!("💎 AssetRegistryMultilocationToXCMV3: on_runtime_upgrade: started"); - // Complexity: 2 reads - let (loc_count, meta_count) = Self::get_key_counts(); - - if Self::check_key_counts(loc_count, meta_count).is_err() { - return RocksDbWeight::get().reads(loc_count.saturating_add(meta_count).into()); - } - - // Complexity: O(loc_count) writes - let result = orml_asset_registry::LocationToAssetId::::clear(loc_count, None); - match result.maybe_cursor { - None => log::info!("💎 AssetRegistryMultilocationToXCMV3: Cleared all LocationToAssetId entries successfully"), - Some(_) => { - log::error!( - "💎 AssetRegistryMultilocationToXCMV3: LocationToAssetId not fully cleared: {:?} remaining", - orml_asset_registry::LocationToAssetId::::iter_keys().count() - ) - } - } - log::info!( - "💎 AssetRegistryMultilocationToXCMV3: LocationToAssetId clearing iteration result. backend: {} unique: {} loops: {}", - result.backend, - result.unique, - result.loops, - ); - - // Complexity: O(meta_count) writes - let result = orml_asset_registry::Metadata::::clear(meta_count, None); - match result.maybe_cursor { - None => log::info!("Cleared all Metadata entries successfully"), - Some(_) => log::error!("Metadata not fully cleared"), - } - log::info!( - "💎 AssetRegistryMultilocationToXCMV3: Metadata clearing iteration result. backend: {} unique: {} loops: {}", - result.backend, - result.unique, - result.loops, - ); - - let assets = Assets::get_assets_to_migrate(); - log::info!( - "💎 AssetRegistryMultilocationToXCMV3: Starting migration of {:?} assets", - assets.iter().len() - ); - - // Complexity: O(meta_count + loc_count) writes - assets.into_iter().for_each(|(asset_id, asset_metadata)| { - log::debug!("Migrating asset: {:?}", asset_id); - orml_asset_registry::Pallet::::do_register_asset_without_asset_processor( - asset_metadata.into(), - asset_id.into(), - ) - .map_err(|e| log::error!("Failed to register asset id: {:?}", e)) - .ok(); - }); - - log::info!("💎 AssetRegistryMultilocationToXCMV3: on_runtime_upgrade: completed!"); - RocksDbWeight::get().reads_writes( - loc_count.saturating_add(meta_count).into(), - loc_count - .saturating_add(meta_count) - .saturating_mul(2) - .into(), - ) - } - - #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, DispatchError> { - log::info!("💎 AssetRegistryMultilocationToXCMV3: pre-upgrade: started"); - let (loc_count, meta_count) = Self::get_key_counts(); - - Self::check_key_counts(loc_count, meta_count)?; - - log::info!("💎 AssetRegistryMultilocationToXCMV3: pre-upgrade: done"); - Ok((loc_count, meta_count).encode()) - } - - #[cfg(feature = "try-runtime")] - fn post_upgrade(_old_counts: Vec) -> Result<(), DispatchError> { - log::info!("💎 AssetRegistryMultilocationToXCMV3: post-upgrade: started"); - let (loc_count, meta_count) = Self::get_key_counts(); - - // Should not check for strict equality as at least the location count is - // expected to have increased - // * For Centrifuge we can check post_upgrade >= pre_upgrade - // * For Altair, we remove one of the two AUSD variants and thus have less - // registered currencies - assert!(!loc_count.is_zero()); - assert!(!meta_count.is_zero()); - - log::info!("💎 AssetRegistryMultilocationToXCMV3: post_upgrade: storage was updated!"); - Ok(()) - } -} - -impl< - T: orml_asset_registry::Config, - AssetsToMigrate, - const EXPECTED_MAINNET_LOC_COUNT: u32, - const EXPECTED_MAINNET_META_COUNT: u32, - const EXPECTED_TESTNET_LOC_COUNT: u32, - const EXPECTED_TESTNET_META_COUNT: u32, - > - Migration< - T, - AssetsToMigrate, - EXPECTED_MAINNET_LOC_COUNT, - EXPECTED_MAINNET_META_COUNT, - EXPECTED_TESTNET_LOC_COUNT, - EXPECTED_TESTNET_META_COUNT, - > -{ - fn get_key_counts() -> (u32, u32) { - // let loc_count = - // orml_asset_registry::LocationToAssetId::::iter_keys().count() as u32; - // let meta_count = orml_asset_registry::Metadata::::iter_keys().count() as - // u32; - let loc_count = Self::count_storage_keys( - orml_asset_registry::LocationToAssetId::::final_prefix().as_ref(), - ); - let meta_count = - Self::count_storage_keys(orml_asset_registry::Metadata::::final_prefix().as_ref()); - - log::info!( - "💎 AssetRegistryMultilocationToXCMV3: Found {} LocationToAssetId keys ", - loc_count - ); - log::info!( - "💎 AssetRegistryMultilocationToXCMV3: Found {} Metadata keys ", - meta_count - ); - - (loc_count, meta_count) - } - - fn check_key_counts(loc_count: u32, meta_count: u32) -> Result<(), &'static str> { - match (loc_count, meta_count) { - (loc, meta) - if (loc, meta) == (EXPECTED_MAINNET_LOC_COUNT, EXPECTED_MAINNET_META_COUNT) => - { - Ok(()) - } - (loc, meta) - if (loc, meta) == (EXPECTED_TESTNET_LOC_COUNT, EXPECTED_TESTNET_META_COUNT) => - { - Ok(()) - } - _ => Err("💎 AssetRegistryMultilocationToXCMV3: Unexpected counters"), - } - } - - pub fn count_storage_keys(prefix: &[u8]) -> u32 { - let mut count = 0; - let mut next_key = prefix.to_vec(); - loop { - match sp_io::storage::next_key(&next_key) { - Some(key) if !key.starts_with(prefix) => break count, - Some(key) => { - next_key = key; - count += 1; - } - None => { - break count; - } - } - } - } -} - -pub trait AssetsToMigrate { - fn get_assets_to_migrate() -> Vec<( - CurrencyId, - orml_asset_registry::AssetMetadata, - )>; -} diff --git a/runtime/common/src/migrations/epoch_execution.rs b/runtime/common/src/migrations/epoch_execution.rs deleted file mode 100644 index 340d9f24dd..0000000000 --- a/runtime/common/src/migrations/epoch_execution.rs +++ /dev/null @@ -1,142 +0,0 @@ -// Copyright 2023 Centrifuge Foundation (centrifuge.io). -// -// This file is part of the Centrifuge chain project. -// Centrifuge is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version (see http://www.gnu.org/licenses). -// Centrifuge is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -use frame_support::traits::{Get, GetStorageVersion, OnRuntimeUpgrade}; -use pallet_order_book::weights::Weight; -use pallet_pool_system::{Config, EpochExecution, EpochExecutionInfo, Nav, Pallet as PoolSystem}; -#[cfg(feature = "try-runtime")] -use parity_scale_codec::{Decode, Encode}; -use sp_runtime::traits::Zero; - -const LOG_PREFIX: &str = "EpochExecutionMigration: "; - -pub(crate) mod v1 { - use frame_support::{ - dispatch::{Decode, Encode, MaxEncodedLen, TypeInfo}, - pallet_prelude::Get, - RuntimeDebug, - }; - use pallet_pool_system::{tranches::EpochExecutionTranches, Config, EpochSolution}; - - #[derive(Encode, Decode, Clone, Eq, PartialEq, RuntimeDebug, TypeInfo, MaxEncodedLen)] - pub(crate) struct EpochExecutionInfo< - Balance, - BalanceRatio, - EpochId, - Weight, - BlockNumber, - TrancheCurrency, - MaxTranches, - > where - MaxTranches: Get, - { - pub epoch: EpochId, - pub nav: Balance, - pub reserve: Balance, - pub max_reserve: Balance, - pub tranches: - EpochExecutionTranches, - pub best_submission: Option>, - pub challenge_period_end: Option, - } - - pub(crate) type EpochExecutionInfoOf = EpochExecutionInfo< - ::Balance, - ::BalanceRatio, - ::EpochId, - ::TrancheWeight, - ::BlockNumber, - ::TrancheCurrency, - ::MaxTranches, - >; - - #[cfg(feature = "try-runtime")] - #[frame_support::storage_alias] - pub(crate) type EpochExecution = StorageMap< - pallet_pool_system::Pallet, - frame_support::Blake2_128Concat, - ::PoolId, - EpochExecutionInfoOf, - >; -} - -pub struct Migration -where - T: Config + frame_system::Config, -{ - _phantom: sp_std::marker::PhantomData, -} - -impl OnRuntimeUpgrade for Migration -where - T: Config + frame_system::Config, -{ - #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, sp_runtime::TryRuntimeError> { - frame_support::ensure!( - PoolSystem::::on_chain_storage_version() == 1, - "Can only upgrade from PoolSystem version 1" - ); - let count = v1::EpochExecution::::iter().count() as u32; - log::info!( - "{LOG_PREFIX} EpochExecution count pre migration is {}", - count - ); - - Ok(count.encode()) - } - - fn on_runtime_upgrade() -> Weight { - let mut weight = T::DbWeight::get().reads(1); - if PoolSystem::::on_chain_storage_version() != 1 { - log::info!( - "{LOG_PREFIX} Skipping on_runtime_upgrade: executed on wrong storage version. Expected version 1" - ); - return weight; - } - - EpochExecution::::translate::, _>(|_, old| { - weight.saturating_accrue(T::DbWeight::get().reads_writes(1, 1)); - Some(EpochExecutionInfo { - epoch: old.epoch, - nav: Nav::<::Balance>::new(old.nav, ::Balance::zero()), - tranches: old.tranches, - best_submission: old.best_submission, - challenge_period_end: old.challenge_period_end, - }) - }); - - PoolSystem::::current_storage_version().put::>(); - - weight.saturating_add(T::DbWeight::get().writes(1)) - } - - #[cfg(feature = "try-runtime")] - fn post_upgrade(state: sp_std::vec::Vec) -> Result<(), sp_runtime::TryRuntimeError> { - frame_support::ensure!( - PoolSystem::::on_chain_storage_version() - == PoolSystem::::current_storage_version(), - "EpochExecutionMigration: StorageVersion of PoolSystem is not 2" - ); - - let old_count: u32 = Decode::decode(&mut &state[..]) - .expect("EpochExecutionMigration: pre_upgrade provides a valid state; qed"); - let new_count = EpochExecution::::iter().count() as u32; - log::info!("{LOG_PREFIX} EpochExecutionV2 count post migration is {new_count}",); - frame_support::ensure!( - old_count == new_count, - "EpochExecutionMigration: Mismatch in pre and post counters, must migrate all EpochExecution values!" - ); - - Ok(()) - } -} diff --git a/runtime/common/src/migrations/local_currency.rs b/runtime/common/src/migrations/local_currency.rs deleted file mode 100644 index 26907eebeb..0000000000 --- a/runtime/common/src/migrations/local_currency.rs +++ /dev/null @@ -1,387 +0,0 @@ -// Copyright 2023 Centrifuge Foundation (centrifuge.io). -// This file is part of Centrifuge chain project. - -// Centrifuge is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version (see http://www.gnu.org/licenses). - -// Centrifuge is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -use cfg_types::tokens::{CurrencyId, CustomMetadata}; -use frame_support::{ - traits::{Get, OnRuntimeUpgrade}, - weights::Weight, -}; -use orml_traits::asset_registry::AssetMetadata; -#[cfg(feature = "try-runtime")] -use sp_runtime::DispatchError; -#[cfg(feature = "try-runtime")] -use sp_std::vec; -use sp_std::vec::Vec; - -pub mod register { - use cfg_primitives::Balance; - #[cfg(feature = "try-runtime")] - use cfg_types::tokens::LocalAssetId; - use cfg_types::tokens::{CrossChainTransferability, CurrencyId}; - use orml_traits::asset_registry::Mutate; - - use super::*; - - const LOG_PREFIX: &str = "RegisterLocalCurrency"; - - pub struct Migration(sp_std::marker::PhantomData<(T, LocalCurrency)>); - - impl OnRuntimeUpgrade for Migration - where - T: orml_asset_registry::Config< - CustomMetadata = CustomMetadata, - AssetId = CurrencyId, - Balance = Balance, - >, - LocalCurrency: Get, - { - fn on_runtime_upgrade() -> Weight { - as Mutate>::register_asset( - Some(LocalCurrency::get()), - AssetMetadata { - decimals: 6, - name: "Local USDC".as_bytes().to_vec(), - symbol: "localUSDC".as_bytes().to_vec(), - existential_deposit: 1000u128, - location: None, - additional: CustomMetadata { - transferability: CrossChainTransferability::None, - mintable: false, - permissioned: false, - pool_currency: true, - local_representation: None, - }, - }, - ) - .map_err(|e| { - log::error!( - "{LOG_PREFIX} Failed to register local asset due to error {:?}", - e - ); - }) - .ok(); - - log::info!("{LOG_PREFIX} Done registering local currency"); - - T::DbWeight::get().writes(1) - } - - #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, DispatchError> { - assert!(matches!( - LocalCurrency::get(), - CurrencyId::LocalAsset(LocalAssetId(_)) - )); - assert!(!orml_asset_registry::Metadata::::contains_key( - LocalCurrency::get() - )); - - log::info!("{LOG_PREFIX} PRE UPGRADE: Finished"); - - Ok(vec![]) - } - - #[cfg(feature = "try-runtime")] - fn post_upgrade(_: Vec) -> Result<(), DispatchError> { - assert!(orml_asset_registry::Metadata::::contains_key( - LocalCurrency::get() - )); - - log::info!("{LOG_PREFIX} POST UPGRADE: Finished"); - Ok(()) - } - } -} - -pub mod translate_metadata { - use cfg_primitives::Balance; - use cfg_types::tokens::{CrossChainTransferability, LocalAssetId}; - use frame_support::dispatch::{Decode, Encode, MaxEncodedLen, TypeInfo}; - #[cfg(feature = "try-runtime")] - use orml_traits::asset_registry::Inspect; - - use super::*; - - const LOG_PREFIX: &str = "TranslateMetadata"; - - #[derive( - Clone, - Copy, - Default, - PartialOrd, - Ord, - PartialEq, - Eq, - Debug, - Encode, - Decode, - TypeInfo, - MaxEncodedLen, - )] - struct OldCustomMetadata { - pub transferability: CrossChainTransferability, - pub mintable: bool, - pub permissioned: bool, - pub pool_currency: bool, - } - - pub struct Migration(sp_std::marker::PhantomData<(T, AssetList, Local)>); - - impl OnRuntimeUpgrade for Migration - where - T: orml_asset_registry::Config< - CustomMetadata = CustomMetadata, - AssetId = CurrencyId, - Balance = Balance, - >, - AssetList: Get>, - Local: Get, - { - fn on_runtime_upgrade() -> Weight { - let mut weight = Weight::zero(); - orml_asset_registry::Metadata::::translate::< - AssetMetadata, - _, - >(|currency_id, meta| { - weight.saturating_accrue(T::DbWeight::get().writes(1)); - Some(AssetMetadata { - decimals: meta.decimals, - name: meta.name, - symbol: meta.symbol, - existential_deposit: meta.existential_deposit, - location: meta.location, - additional: CustomMetadata { - transferability: meta.additional.transferability, - mintable: meta.additional.mintable, - permissioned: meta.additional.permissioned, - pool_currency: meta.additional.pool_currency, - local_representation: init_local_representation( - currency_id, - AssetList::get(), - Local::get(), - ), - }, - }) - }); - log::info!("{LOG_PREFIX} Done translating asset metadata"); - - weight - } - - #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, DispatchError> { - let num_assets = orml_asset_registry::Metadata::::iter_keys().count() as u32; - log::info!( - "{LOG_PREFIX} PRE UPGRADE: Finished with {} registered assets", - num_assets - ); - - Ok(num_assets.encode()) - } - - #[cfg(feature = "try-runtime")] - fn post_upgrade(pre_state: Vec) -> Result<(), DispatchError> { - let n_pre: u32 = Decode::decode(&mut pre_state.as_slice()) - .expect("pre_ugprade provides a valid state; qed"); - let n = orml_asset_registry::Metadata::::iter_keys().count() as u32; - assert_eq!(n_pre, n); - - let local_currency_id: CurrencyId = Local::get().into(); - let local_meta = - as Inspect>::metadata(&local_currency_id) - .expect("Local asset was just registered; qed"); - log::info!("{LOG_PREFIX} CheckAssetIntegrity: Local meta exists"); - - for variant in AssetList::get().into_iter() { - log::info!("{LOG_PREFIX} Checking asset {:?}", variant); - let variant_meta = as Inspect>::metadata(&variant) - .expect("Asset variant is registered; qed"); - assert_eq!(variant_meta.decimals, local_meta.decimals); - assert_eq!( - variant_meta.additional.local_representation, - Some(Local::get()) - ); - } - - log::info!("{LOG_PREFIX} POST UPGRADE: Finished"); - - Ok(()) - } - } - - fn init_local_representation( - currency_id: CurrencyId, - check_list: Vec, - local_asset_id: LocalAssetId, - ) -> Option { - if check_list.iter().any(|c| c == ¤cy_id) { - log::info!( - "{LOG_PREFIX} Set local representation of asset variant {:?}", - currency_id - ); - Some(local_asset_id) - } else { - log::info!( - "{LOG_PREFIX} Skipping setting local representation of asset variant {:?}", - currency_id - ); - None - } - } -} - -pub mod migrate_pool_currency { - use cfg_primitives::{PoolId, TrancheId}; - use cfg_traits::investments::TrancheCurrency as _; - use cfg_types::tokens::TrancheCurrency; - use orml_traits::asset_registry::Inspect; - use sp_runtime::traits::Zero; - - use super::*; - - const LOG_PREFIX: &str = "MigratePoolCurrency"; - - pub struct Migration( - sp_std::marker::PhantomData<(T, TargetPoolId, CurrencyOut, CurrencyIn)>, - ); - - impl OnRuntimeUpgrade - for Migration - where - T: pallet_pool_system::Config< - TrancheId = TrancheId, - PoolId = PoolId, - CurrencyId = CurrencyId, - > + orml_asset_registry::Config - + pallet_investments::Config, - TargetPoolId: Get<::PoolId>, - CurrencyOut: Get, - CurrencyIn: Get, - ::AssetId: From, - ::CurrencyId: From, - { - fn on_runtime_upgrade() -> Weight { - let to = CurrencyIn::get(); - let from = CurrencyOut::get(); - let mut weight = T::DbWeight::get().reads(3); - - match ( - check_local_coupling::(from, to), - has_pending_invest_orders::(TargetPoolId::get()), - ) { - (Some(true), false) => { - pallet_pool_system::Pool::::mutate(TargetPoolId::get(), |maybe_pool| { - if let Some(pool) = maybe_pool { - pool.currency = to; - } - }); - weight.saturating_accrue(T::DbWeight::get().writes(1)); - log::info!("{LOG_PREFIX} Migrated pool currency"); - } - (_, false) => { - log::info!("{LOG_PREFIX} Skipping pool currency migration due to local coupling issues"); - } - (_, true) => { - log::info!("{LOG_PREFIX} Skipping pool currency migration due non-empty active investment orders"); - } - } - - weight - } - - #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, DispatchError> { - assert!( - check_local_coupling::(CurrencyOut::get().into(), CurrencyIn::get().into()) - .unwrap() - ); - - let pool = - pallet_pool_system::Pool::::get(TargetPoolId::get()).expect("Pool should exist"); - assert!(pool.currency == CurrencyOut::get().into()); - assert!(!has_pending_invest_orders::(TargetPoolId::get())); - - log::info!("{LOG_PREFIX} PRE UPGRADE: Finished"); - - Ok(vec![]) - } - - #[cfg(feature = "try-runtime")] - fn post_upgrade(_: Vec) -> Result<(), DispatchError> { - let pool = - pallet_pool_system::Pool::::get(TargetPoolId::get()).expect("Pool should exist"); - assert!(pool.currency == CurrencyIn::get().into()); - - log::info!("{LOG_PREFIX} POST UPGRADE: Finished"); - - Ok(()) - } - } - - fn check_local_coupling(from: CurrencyId, to: CurrencyId) -> Option - where - T: pallet_pool_system::Config - + orml_asset_registry::Config, - ::AssetId: From, - { - let to_meta = as Inspect>::metadata(&to); - let from_meta = as Inspect>::metadata(&from); - - match (from_meta, to_meta) { - (Some(meta), Some(_)) => { - let to_currency_id: CurrencyId = meta - .additional - .local_representation - .map(|x| x.try_into().ok())??; - if to_currency_id == to { - Some(true) - } else { - log::error!( - "{LOG_PREFIX} CurrencyOut does not have CurrencyIn set as local currency" - ); - Some(false) - } - } - (Some(_), None) => { - log::error!("{LOG_PREFIX} CurrencyIn is not registered"); - None - } - _ => { - log::error!("{LOG_PREFIX} CurrencyOut is not registered"); - None - } - } - } - - fn has_pending_invest_orders(pool_id: PoolId) -> bool - where - T: pallet_investments::Config, - T: pallet_pool_system::Config< - PoolId = PoolId, - TrancheId = TrancheId, - CurrencyId = CurrencyId, - >, - { - if let Some(t) = pallet_pool_system::Pool::::get(pool_id) { - t.tranches.ids.into_iter().any(|tranche_id| { - !pallet_investments::ActiveInvestOrders::::get(TrancheCurrency::generate( - pool_id, tranche_id, - )) - .amount - .is_zero() - }) - } else { - false - } - } -} diff --git a/runtime/common/src/migrations/mod.rs b/runtime/common/src/migrations/mod.rs index e1919f42a8..6d331c0302 100644 --- a/runtime/common/src/migrations/mod.rs +++ b/runtime/common/src/migrations/mod.rs @@ -12,165 +12,6 @@ //! Centrifuge Runtime-Common Migrations -pub mod asset_registry_xcmv3; -pub mod epoch_execution; pub mod increase_storage_version; -pub mod local_currency; pub mod nuke; -pub mod orml_tokens; pub mod precompile_account_codes; -pub mod transfer_allowlist_currency; - -pub mod update_celo_usdcs { - use cfg_primitives::Balance; - use cfg_types::tokens::{ - usdc::{CURRENCY_ID_LP_CELO, CURRENCY_ID_LP_CELO_WORMHOLE}, - CrossChainTransferability, CurrencyId, CustomMetadata, - }; - use frame_support::{traits::OnRuntimeUpgrade, weights::Weight}; - use hex_literal::hex; - use orml_traits::asset_registry::{AssetMetadata, Mutate}; - use sp_runtime::traits::Get; - #[cfg(feature = "try-runtime")] - use sp_std::{vec, vec::Vec}; - use xcm::v3::{ - Junction::{AccountKey20, GlobalConsensus, PalletInstance}, - Junctions::X3, - NetworkId::Ethereum, - }; - - const LOG_PREFIX_ADD: &str = "AddNewCeloUsdc"; - const LOG_PREFIX_UPDATE: &str = "UpdateCeloWormholeUsdc"; - - pub struct AddNewCeloUsdc(sp_std::marker::PhantomData); - - impl OnRuntimeUpgrade for AddNewCeloUsdc - where - T: orml_asset_registry::Config< - CustomMetadata = CustomMetadata, - AssetId = CurrencyId, - Balance = Balance, - >, - { - fn on_runtime_upgrade() -> Weight { - as Mutate>::register_asset( - Some(CURRENCY_ID_LP_CELO), - AssetMetadata { - decimals: 6, - name: "LP Celo Wrapped USDC ".as_bytes().to_vec(), - symbol: "LpCeloUSDC".as_bytes().to_vec(), - existential_deposit: 1000u128, - location: Some( - X3( - PalletInstance(103), - GlobalConsensus(Ethereum { chain_id: 42220 }), - AccountKey20 { - // https://www.circle.com/blog/usdc-now-available-on-celo - key: hex!("cebA9300f2b948710d2653dD7B07f33A8B32118C"), - network: None, - }, - ) - .into(), - ), - additional: CustomMetadata { - transferability: CrossChainTransferability::LiquidityPools, - mintable: false, - permissioned: false, - pool_currency: true, - local_representation: None, - }, - }, - ) - .map_err(|e| { - log::error!( - "{LOG_PREFIX_ADD} Failed to register new canonical Celo USDC due to error {:?}", - e - ); - }) - .ok(); - - log::info!("{LOG_PREFIX_ADD} Done registering new canonical Celo USDC currency"); - - T::DbWeight::get().writes(1) - } - - #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, sp_runtime::DispatchError> { - assert!(!orml_asset_registry::Metadata::::contains_key( - CURRENCY_ID_LP_CELO - )); - - log::info!("{LOG_PREFIX_ADD} PRE UPGRADE: Finished"); - - Ok(vec![]) - } - - #[cfg(feature = "try-runtime")] - fn post_upgrade(_: Vec) -> Result<(), sp_runtime::DispatchError> { - assert!(orml_asset_registry::Metadata::::contains_key( - CURRENCY_ID_LP_CELO - )); - - log::info!("{LOG_PREFIX_ADD} POST UPGRADE: Finished"); - Ok(()) - } - } - - pub struct UpdateWormholeUsdc(sp_std::marker::PhantomData); - - impl OnRuntimeUpgrade for UpdateWormholeUsdc - where - T: orml_asset_registry::Config< - CustomMetadata = CustomMetadata, - AssetId = CurrencyId, - Balance = Balance, - >, - { - fn on_runtime_upgrade() -> Weight { - as Mutate>::update_asset( - CURRENCY_ID_LP_CELO_WORMHOLE, - None, - Some("LP Celo Wrapped Wormhole USDC ".as_bytes().to_vec()), - Some("LpCeloWormUSDC ".as_bytes().to_vec()), - None, - None, - None, - ) - .map_err(|e| { - log::error!( - "{LOG_PREFIX_UPDATE} Failed to update wormhole Celo USDC due to error {:?}", - e - ); - }) - .ok(); - - log::info!("{LOG_PREFIX_UPDATE} Done updating wormhole Celo USDC currency"); - - T::DbWeight::get().writes(1) - } - - #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, sp_runtime::DispatchError> { - assert!(orml_asset_registry::Metadata::::contains_key( - CURRENCY_ID_LP_CELO_WORMHOLE - )); - - log::info!("{LOG_PREFIX_UPDATE} PRE UPGRADE: Finished"); - - Ok(vec![]) - } - - #[cfg(feature = "try-runtime")] - fn post_upgrade(_: Vec) -> Result<(), sp_runtime::DispatchError> { - assert_eq!( - orml_asset_registry::Metadata::::get(CURRENCY_ID_LP_CELO_WORMHOLE) - .expect("Wormhole Celo USDC exists; qed") - .name, - "LP Celo Wrapped Wormhole USDC ".as_bytes().to_vec() - ); - - log::info!("{LOG_PREFIX_UPDATE} POST UPGRADE: Finished"); - Ok(()) - } - } -} diff --git a/runtime/common/src/migrations/orml_tokens.rs b/runtime/common/src/migrations/orml_tokens.rs deleted file mode 100644 index 6ef6485250..0000000000 --- a/runtime/common/src/migrations/orml_tokens.rs +++ /dev/null @@ -1,5 +0,0 @@ -use frame_support::traits::OnRuntimeUpgrade; - -pub struct Migration(sp_std::marker::PhantomData); - -impl OnRuntimeUpgrade for Migration where T: orml_tokens::Config + frame_system::Config {} diff --git a/runtime/common/src/migrations/transfer_allowlist_currency.rs b/runtime/common/src/migrations/transfer_allowlist_currency.rs deleted file mode 100644 index ff7fca6e79..0000000000 --- a/runtime/common/src/migrations/transfer_allowlist_currency.rs +++ /dev/null @@ -1,169 +0,0 @@ -// Copyright 2023 Centrifuge Foundation (centrifuge.io). -// This file is part of Centrifuge chain project. - -// Centrifuge is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version (see http://www.gnu.org/licenses). - -// Centrifuge is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -use cfg_primitives::{AccountId, BlockNumber}; -use cfg_types::{ - locations::Location, - tokens::{CurrencyId, FilterCurrency}, -}; -use frame_support::{ - dispatch::GetStorageVersion, - pallet_prelude::{NMapKey, OptionQuery}, - storage::types::{StorageDoubleMap, StorageNMap}, - traits::{Get, OnRuntimeUpgrade, StorageInstance}, - weights::Weight, - Blake2_128Concat, Twox64Concat, -}; -use pallet_transfer_allowlist::{AllowanceDetails, AllowanceMetadata}; -#[cfg(feature = "try-runtime")] -use parity_scale_codec::{Decode, Encode}; -#[cfg(feature = "try-runtime")] -use sp_runtime::DispatchError; - -const LOG_PREFIX: &str = "TransferAllowlist-CurrencyMigration: "; - -struct DelayPrefix; -impl StorageInstance for DelayPrefix { - const STORAGE_PREFIX: &'static str = "AccountCurrencyTransferCountDelay"; - - fn pallet_prefix() -> &'static str { - "TransferAllowList" - } -} -type OldAccountCurrencyTransferCountDelay = StorageDoubleMap< - DelayPrefix, - Twox64Concat, - AccountId, - Twox64Concat, - CurrencyId, - AllowanceMetadata, - OptionQuery, ->; - -struct AllowancePrefix; -impl StorageInstance for AllowancePrefix { - const STORAGE_PREFIX: &'static str = "AccountCurrencyTransferAllowance"; - - fn pallet_prefix() -> &'static str { - "TransferAllowList" - } -} -type OldAccountCurrencyTransferAllowance = StorageNMap< - AllowancePrefix, - ( - NMapKey, - NMapKey, - NMapKey, - ), - AllowanceDetails, - OptionQuery, ->; - -pub struct Migration(sp_std::marker::PhantomData); -impl< - T: pallet_transfer_allowlist::Config< - AccountId = AccountId, - Location = Location, - CurrencyId = FilterCurrency, - BlockNumber = BlockNumber, - >, - > OnRuntimeUpgrade for Migration -{ - fn on_runtime_upgrade() -> Weight { - let weight = T::DbWeight::get().reads(1); - if pallet_transfer_allowlist::Pallet::::on_chain_storage_version() != 0 { - log::info!( - "{LOG_PREFIX} Skipping on_runtime_upgrade: executed on wrong storage version. Expected version 0" - ); - return weight; - } - - log::info!("{LOG_PREFIX} Migrating allowlist storage keys started..."); - - let mut counter = 0; - OldAccountCurrencyTransferAllowance::translate::, _>( - |(account, currency_id, location), allowance| { - pallet_transfer_allowlist::AccountCurrencyTransferAllowance::::insert( - (account, FilterCurrency::Specific(currency_id), location), - allowance, - ); - - counter += 1; - // We will remove the storage here, as we are inserting the new storage above - None - }, - ); - - OldAccountCurrencyTransferCountDelay::translate::, _>( - |account, currency_id, delay| { - pallet_transfer_allowlist::AccountCurrencyTransferCountDelay::::insert( - account, - FilterCurrency::Specific(currency_id), - delay, - ); - - counter += 1; - // We will remove the storage here, as we are inserting the new storage above - None - }, - ); - - pallet_transfer_allowlist::STORAGE_VERSION.put::>(); - - log::info!("{LOG_PREFIX} Migrating allowlist storage keys finished."); - - weight.saturating_add(T::DbWeight::get().reads_writes(counter, counter.saturating_mul(2))) - } - - #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, DispatchError> { - log::info!("{LOG_PREFIX} PRE UPGRADE: Starting..."); - - let count_allowance = OldAccountCurrencyTransferAllowance::iter().count() as u64; - log::info!("{LOG_PREFIX} Counted {count_allowance} keys in old allowance storage."); - - let count_delay = OldAccountCurrencyTransferCountDelay::iter().count() as u64; - log::info!("{LOG_PREFIX} Counted {count_delay} keys in old delay storage."); - - log::info!("{LOG_PREFIX} PRE UPGRADE: Finished."); - Ok((count_allowance, count_delay).encode()) - } - - #[cfg(feature = "try-runtime")] - fn post_upgrade(state: sp_std::vec::Vec) -> Result<(), DispatchError> { - log::info!("{LOG_PREFIX} POST UPGRADE: Starting..."); - let (count_allowance_pre, count_delay_pre): (u64, u64) = - Decode::decode(&mut state.as_slice()) - .map_err(|_| DispatchError::Other("{LOG_PREFIX} Failed decoding state."))?; - - let count_allowance_after = - pallet_transfer_allowlist::AccountCurrencyTransferCountDelay::::iter().count() - as u64; - - if count_allowance_after != count_allowance_pre { - log::error!("{LOG_PREFIX} Delay migration failed. Got: {count_allowance_after}, Expected: {count_allowance_pre}"); - } - - let count_delay_after = - pallet_transfer_allowlist::AccountCurrencyTransferCountDelay::::iter().count() - as u64; - - if count_delay_after != count_delay_pre { - log::error!("{LOG_PREFIX} Delay migration failed. Got: {count_delay_after}, Expected: {count_delay_pre}"); - } - - log::info!("{LOG_PREFIX} POST UPGRADE: Finished."); - - Ok(()) - } -} diff --git a/runtime/development/Cargo.toml b/runtime/development/Cargo.toml index 05dff3db18..146f65908b 100644 --- a/runtime/development/Cargo.toml +++ b/runtime/development/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "development-runtime" -version = "0.10.43" +version = "0.10.45" build = "build.rs" authors.workspace = true edition.workspace = true diff --git a/runtime/development/src/lib.rs b/runtime/development/src/lib.rs index cc86650c13..2ec8fa01a0 100644 --- a/runtime/development/src/lib.rs +++ b/runtime/development/src/lib.rs @@ -112,6 +112,7 @@ use runtime_common::{ Feeder, OracleConverterBridge, OracleRatioProvider, OracleRatioProviderLocalAssetExtension, }, permissions::PoolAdminCheck, + rewards::SingleCurrencyMovement, transfer_filter::PreLpTransfer, xcm::AccountIdToMultiLocation, xcm_transactor, AllowanceDeposit, CurrencyED, HoldId, @@ -157,7 +158,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("centrifuge-devel"), impl_name: create_runtime_str!("centrifuge-devel"), authoring_version: 1, - spec_version: 1043, + spec_version: 1045, impl_version: 1, #[cfg(not(feature = "disable-runtime-api"))] apis: RUNTIME_API_VERSIONS, @@ -570,7 +571,11 @@ impl InstanceFilter for ProxyType { RuntimeCall::PoolSystem(pallet_pool_system::Call::submit_solution { .. }) | RuntimeCall::PoolSystem(pallet_pool_system::Call::execute_epoch { .. }) | RuntimeCall::Utility(pallet_utility::Call::batch_all { .. }) | - RuntimeCall::Utility(pallet_utility::Call::batch { .. }) + RuntimeCall::Utility(pallet_utility::Call::batch { .. }) | + // Borrowers should be able to swap back and forth between local currencies and their variants + RuntimeCall::TokenMux(pallet_token_mux::Call::burn {..}) | + RuntimeCall::TokenMux(pallet_token_mux::Call::deposit {..}) | + RuntimeCall::TokenMux(pallet_token_mux::Call::match_swap {..}) ), ProxyType::Invest => matches!( c, @@ -1297,6 +1302,7 @@ impl pallet_xcm_transactor::Config for Runtime { parameter_types! { pub const MaxActiveLoansPerPool: u32 = 1000; + pub const MaxRegisteredPricesPerPool: u32 = 100; pub const MaxRateCount: u32 = 1000; // See #1024 pub const FirstValueFee: Fee = Fee::Balance(deposit(1, pallet_oracle_feed::util::size_of_feed::())); // @@ -1304,7 +1310,7 @@ parameter_types! { pub const MaxWriteOffPolicySize: u32 = 10; #[derive(Clone, PartialEq, Eq, Debug, TypeInfo, Encode, Decode, MaxEncodedLen)] - pub const MaxFeedersPerKey: u32 = 10; + pub const MaxFeedersPerKey: u32 = 5; } impl pallet_oracle_feed::Config for Runtime { @@ -1323,7 +1329,7 @@ impl pallet_oracle_collection::Config for Runtime { type CollectionId = PoolId; type FeederId = Feeder; type IsAdmin = PoolAdminCheck; - type MaxCollectionSize = MaxActiveLoansPerPool; + type MaxCollectionSize = MaxRegisteredPricesPerPool; type MaxFeedersPerKey = MaxFeedersPerKey; type OracleKey = OracleKey; type OracleProvider = @@ -1688,7 +1694,7 @@ impl pallet_rewards::mechanism::gap::Config for Runtime { type Rate = FixedI128; } -impl pallet_rewards::Config for Runtime { +impl pallet_rewards::Config for Runtime { type Currency = Tokens; type CurrencyId = CurrencyId; type GroupId = u32; @@ -1715,13 +1721,7 @@ impl pallet_liquidity_rewards::Config for Runtime { type WeightInfo = (); } -parameter_types! { - // BlockRewards have exactly one group and currency - #[derive(scale_info::TypeInfo)] - pub const SingleCurrencyMovement: u32 = 1; -} - -impl pallet_rewards::Config for Runtime { +impl pallet_rewards::Config for Runtime { type Currency = Tokens; type CurrencyId = CurrencyId; type GroupId = u32; @@ -1775,8 +1775,8 @@ impl pallet_transfer_allowlist::Config for Runtime { } parameter_types! { - pub const OrderPairVecSize: u32 = 1_000u32; pub MinFulfillmentAmountNative: Balance = 10 * CFG; + pub NativeDecimals: u32 = cfg_primitives::currency_decimals::NATIVE; } impl pallet_order_book::Config for Runtime { @@ -1786,13 +1786,11 @@ impl pallet_order_book::Config for Runtime { type BalanceOut = Balance; type Currency = Tokens; type CurrencyId = CurrencyId; - type DecimalConverter = - runtime_common::foreign_investments::NativeBalanceDecimalConverter; type FeederId = Feeder; type FulfilledOrderHook = Swaps; type MinFulfillmentAmountNative = MinFulfillmentAmountNative; + type NativeDecimals = NativeDecimals; type OrderIdNonce = u64; - type OrderPairVecSize = OrderPairVecSize; type Ratio = Ratio; type RatioProvider = OracleRatioProviderLocalAssetExtension< RuntimeOrigin, @@ -2042,7 +2040,7 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - crate::migrations::UpgradeDevelopment1043, + crate::migrations::UpgradeDevelopment1045, >; // Frame Order in this block dictates the index of each one in the metadata @@ -2103,11 +2101,11 @@ construct_runtime!( // Removed: Nft = 103 Keystore: pallet_keystore::{Pallet, Call, Storage, Event} = 104, Investments: pallet_investments::{Pallet, Call, Storage, Event} = 105, - LiquidityRewardsBase: pallet_rewards::::{Pallet, Storage, Event, Config} = 106, + LiquidityRewardsBase: pallet_rewards::::{Pallet, Storage, Event, Config} = 106, LiquidityRewards: pallet_liquidity_rewards::{Pallet, Call, Storage, Event} = 107, LiquidityPools: pallet_liquidity_pools::{Pallet, Call, Storage, Event} = 108, PoolRegistry: pallet_pool_registry::{Pallet, Call, Storage, Event} = 109, - BlockRewardsBase: pallet_rewards::::{Pallet, Storage, Event, Config} = 110, + BlockRewardsBase: pallet_rewards::::{Pallet, Storage, Event, Config} = 110, BlockRewards: pallet_block_rewards::{Pallet, Call, Storage, Event, Config} = 111, TransferAllowList: pallet_transfer_allowlist::{Pallet, Call, Storage, Event} = 112, GapRewardMechanism: pallet_rewards::mechanism::gap = 114, @@ -2438,15 +2436,15 @@ impl_runtime_apis! { impl runtime_common::apis::RewardsApi for Runtime { fn list_currencies(domain: runtime_common::apis::RewardDomain, account_id: AccountId) -> Vec { match domain { - runtime_common::apis::RewardDomain::Block => pallet_rewards::Pallet::::list_currencies(&account_id), - runtime_common::apis::RewardDomain::Liquidity => pallet_rewards::Pallet::::list_currencies(&account_id), + runtime_common::apis::RewardDomain::Block => pallet_rewards::Pallet::::list_currencies(&account_id), + runtime_common::apis::RewardDomain::Liquidity => pallet_rewards::Pallet::::list_currencies(&account_id), } } fn compute_reward(domain: runtime_common::apis::RewardDomain, currency_id: CurrencyId, account_id: AccountId) -> Option { match domain { - runtime_common::apis::RewardDomain::Block => as cfg_traits::rewards::AccountRewards>::compute_reward(currency_id, &account_id).ok(), - runtime_common::apis::RewardDomain::Liquidity => as cfg_traits::rewards::AccountRewards>::compute_reward(currency_id, &account_id).ok(), + runtime_common::apis::RewardDomain::Block => as cfg_traits::rewards::AccountRewards>::compute_reward(currency_id, &account_id).ok(), + runtime_common::apis::RewardDomain::Liquidity => as cfg_traits::rewards::AccountRewards>::compute_reward(currency_id, &account_id).ok(), } } } diff --git a/runtime/development/src/migrations.rs b/runtime/development/src/migrations.rs index fff72d8738..ec3bd8edcf 100644 --- a/runtime/development/src/migrations.rs +++ b/runtime/development/src/migrations.rs @@ -10,5 +10,6 @@ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. -pub type UpgradeDevelopment1043 = - (runtime_common::migrations::increase_storage_version::ForceMigration,); +/// The migration set for Development & Demo. +/// It includes all the migrations that have to be applied on that chain. +pub type UpgradeDevelopment1045 = (); diff --git a/runtime/development/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/development/src/weights/cumulus_pallet_xcmp_queue.rs index aad8bc3ecc..8ebf568dc8 100644 --- a/runtime/development/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/development/src/weights/cumulus_pallet_xcmp_queue.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -38,8 +38,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `109` // Estimated: `1594` - // Minimum execution time: 7_815_000 picoseconds. - Weight::from_parts(8_225_000, 0) + // Minimum execution time: 7_724_000 picoseconds. + Weight::from_parts(7_975_000, 0) .saturating_add(Weight::from_parts(0, 1594)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -50,8 +50,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `109` // Estimated: `1594` - // Minimum execution time: 7_945_000 picoseconds. - Weight::from_parts(8_155_000, 0) + // Minimum execution time: 7_785_000 picoseconds. + Weight::from_parts(8_025_000, 0) .saturating_add(Weight::from_parts(0, 1594)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/development/src/weights/pallet_anchors.rs b/runtime/development/src/weights/pallet_anchors.rs index 5cf620b4e0..111a73a62c 100644 --- a/runtime/development/src/weights/pallet_anchors.rs +++ b/runtime/development/src/weights/pallet_anchors.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_anchors` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -42,8 +42,8 @@ impl pallet_anchors::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `334` // Estimated: `3581` - // Minimum execution time: 41_807_000 picoseconds. - Weight::from_parts(42_289_000, 0) + // Minimum execution time: 39_925_000 picoseconds. + Weight::from_parts(40_886_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -70,8 +70,8 @@ impl pallet_anchors::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `668` // Estimated: `3581` - // Minimum execution time: 72_415_000 picoseconds. - Weight::from_parts(74_629_000, 0) + // Minimum execution time: 69_240_000 picoseconds. + Weight::from_parts(71_283_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) @@ -82,8 +82,8 @@ impl pallet_anchors::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `12450` // Estimated: `260090` - // Minimum execution time: 2_307_756_000 picoseconds. - Weight::from_parts(2_329_196_000, 0) + // Minimum execution time: 2_149_515_000 picoseconds. + Weight::from_parts(2_165_375_000, 0) .saturating_add(Weight::from_parts(0, 260090)) .saturating_add(T::DbWeight::get().reads(100)) .saturating_add(T::DbWeight::get().writes(100)) @@ -506,8 +506,8 @@ impl pallet_anchors::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `18324` // Estimated: `254990` - // Minimum execution time: 2_022_316_000 picoseconds. - Weight::from_parts(2_050_047_000, 0) + // Minimum execution time: 1_937_319_000 picoseconds. + Weight::from_parts(1_957_657_000, 0) .saturating_add(Weight::from_parts(0, 254990)) .saturating_add(T::DbWeight::get().reads(504)) .saturating_add(T::DbWeight::get().writes(402)) diff --git a/runtime/development/src/weights/pallet_balances.rs b/runtime/development/src/weights/pallet_balances.rs index 430f2f3bc3..58771df8f1 100644 --- a/runtime/development/src/weights/pallet_balances.rs +++ b/runtime/development/src/weights/pallet_balances.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -38,8 +38,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `52` // Estimated: `3593` - // Minimum execution time: 90_718_000 picoseconds. - Weight::from_parts(91_881_000, 0) + // Minimum execution time: 84_408_000 picoseconds. + Weight::from_parts(85_691_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -50,8 +50,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `52` // Estimated: `3593` - // Minimum execution time: 68_267_000 picoseconds. - Weight::from_parts(69_589_000, 0) + // Minimum execution time: 63_229_000 picoseconds. + Weight::from_parts(64_261_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -62,8 +62,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `245` // Estimated: `3593` - // Minimum execution time: 24_766_000 picoseconds. - Weight::from_parts(25_307_000, 0) + // Minimum execution time: 24_025_000 picoseconds. + Weight::from_parts(24_777_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -74,8 +74,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `245` // Estimated: `3593` - // Minimum execution time: 36_538_000 picoseconds. - Weight::from_parts(37_329_000, 0) + // Minimum execution time: 34_244_000 picoseconds. + Weight::from_parts(35_036_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -86,8 +86,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `192` // Estimated: `6196` - // Minimum execution time: 93_605_000 picoseconds. - Weight::from_parts(94_796_000, 0) + // Minimum execution time: 89_017_000 picoseconds. + Weight::from_parts(91_191_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -98,8 +98,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `52` // Estimated: `3593` - // Minimum execution time: 85_960_000 picoseconds. - Weight::from_parts(87_232_000, 0) + // Minimum execution time: 79_449_000 picoseconds. + Weight::from_parts(80_210_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -110,8 +110,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `245` // Estimated: `3593` - // Minimum execution time: 29_374_000 picoseconds. - Weight::from_parts(30_076_000, 0) + // Minimum execution time: 28_824_000 picoseconds. + Weight::from_parts(29_375_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -123,11 +123,11 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `148 + u * (136 ±0)` // Estimated: `990 + u * (2603 ±0)` - // Minimum execution time: 27_381_000 picoseconds. - Weight::from_parts(27_843_000, 0) + // Minimum execution time: 25_578_000 picoseconds. + Weight::from_parts(26_129_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 11_675 - .saturating_add(Weight::from_parts(23_169_414, 0).saturating_mul(u.into())) + // Standard Error: 13_061 + .saturating_add(Weight::from_parts(21_391_423, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into())) diff --git a/runtime/development/src/weights/pallet_block_rewards.rs b/runtime/development/src/weights/pallet_block_rewards.rs index b70c57427a..2e3fee480c 100644 --- a/runtime/development/src/weights/pallet_block_rewards.rs +++ b/runtime/development/src/weights/pallet_block_rewards.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_block_rewards` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -44,8 +44,8 @@ impl pallet_block_rewards::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `516` // Estimated: `6196` - // Minimum execution time: 92_272_000 picoseconds. - Weight::from_parts(93_043_000, 0) + // Minimum execution time: 87_023_000 picoseconds. + Weight::from_parts(87_555_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) @@ -56,8 +56,8 @@ impl pallet_block_rewards::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `41` // Estimated: `3582` - // Minimum execution time: 8_235_000 picoseconds. - Weight::from_parts(8_466_000, 0) + // Minimum execution time: 7_855_000 picoseconds. + Weight::from_parts(8_245_000, 0) .saturating_add(Weight::from_parts(0, 3582)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -68,8 +68,8 @@ impl pallet_block_rewards::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `41` // Estimated: `3582` - // Minimum execution time: 8_125_000 picoseconds. - Weight::from_parts(8_456_000, 0) + // Minimum execution time: 7_844_000 picoseconds. + Weight::from_parts(8_165_000, 0) .saturating_add(Weight::from_parts(0, 3582)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/development/src/weights/pallet_collator_allowlist.rs b/runtime/development/src/weights/pallet_collator_allowlist.rs index 04973c147f..4b3b23d98d 100644 --- a/runtime/development/src/weights/pallet_collator_allowlist.rs +++ b/runtime/development/src/weights/pallet_collator_allowlist.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_collator_allowlist` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -40,8 +40,8 @@ impl pallet_collator_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `485` // Estimated: `3950` - // Minimum execution time: 24_325_000 picoseconds. - Weight::from_parts(24_876_000, 0) + // Minimum execution time: 23_344_000 picoseconds. + Weight::from_parts(24_015_000, 0) .saturating_add(Weight::from_parts(0, 3950)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -52,8 +52,8 @@ impl pallet_collator_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `265` // Estimated: `3497` - // Minimum execution time: 18_875_000 picoseconds. - Weight::from_parts(19_306_000, 0) + // Minimum execution time: 17_503_000 picoseconds. + Weight::from_parts(18_134_000, 0) .saturating_add(Weight::from_parts(0, 3497)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/development/src/weights/pallet_collator_selection.rs b/runtime/development/src/weights/pallet_collator_selection.rs index 1325f391d5..e431bc96b6 100644 --- a/runtime/development/src/weights/pallet_collator_selection.rs +++ b/runtime/development/src/weights/pallet_collator_selection.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_collator_selection` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -42,11 +42,11 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `218 + b * (112 ±0)` // Estimated: `1207 + b * (2588 ±0)` - // Minimum execution time: 20_478_000 picoseconds. - Weight::from_parts(18_513_992, 0) + // Minimum execution time: 19_737_000 picoseconds. + Weight::from_parts(17_600_253, 0) .saturating_add(Weight::from_parts(0, 1207)) - // Standard Error: 2_415 - .saturating_add(Weight::from_parts(4_339_082, 0).saturating_mul(b.into())) + // Standard Error: 3_140 + .saturating_add(Weight::from_parts(4_139_155, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 2588).saturating_mul(b.into())) @@ -57,8 +57,8 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_026_000 picoseconds. - Weight::from_parts(14_547_000, 0) + // Minimum execution time: 13_866_000 picoseconds. + Weight::from_parts(14_387_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -68,8 +68,8 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_740_000 picoseconds. - Weight::from_parts(11_110_000, 0) + // Minimum execution time: 10_139_000 picoseconds. + Weight::from_parts(10_520_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -91,11 +91,11 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `730 + c * (61 ±0)` // Estimated: `4687 + c * (62 ±0)` - // Minimum execution time: 62_897_000 picoseconds. - Weight::from_parts(64_549_123, 0) + // Minimum execution time: 59_923_000 picoseconds. + Weight::from_parts(61_646_540, 0) .saturating_add(Weight::from_parts(0, 4687)) - // Standard Error: 1_818 - .saturating_add(Weight::from_parts(259_988, 0).saturating_mul(c.into())) + // Standard Error: 1_613 + .saturating_add(Weight::from_parts(243_372, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 62).saturating_mul(c.into())) @@ -110,11 +110,11 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `549 + c * (44 ±0)` // Estimated: `2446` - // Minimum execution time: 46_226_000 picoseconds. - Weight::from_parts(47_880_519, 0) + // Minimum execution time: 43_952_000 picoseconds. + Weight::from_parts(45_425_559, 0) .saturating_add(Weight::from_parts(0, 2446)) - // Standard Error: 2_834 - .saturating_add(Weight::from_parts(66_217, 0).saturating_mul(c.into())) + // Standard Error: 2_674 + .saturating_add(Weight::from_parts(62_414, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -128,8 +128,8 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `195` // Estimated: `6196` - // Minimum execution time: 74_569_000 picoseconds. - Weight::from_parts(75_841_000, 0) + // Minimum execution time: 68_859_000 picoseconds. + Weight::from_parts(70_452_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) @@ -152,11 +152,11 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `525 + c * (98 ±0) + r * (140 ±0)` // Estimated: `7019778708211172 + c * (2519 ±0) + r * (2259 ±9)` - // Minimum execution time: 24_085_000 picoseconds. - Weight::from_parts(24_736_000, 0) + // Minimum execution time: 23_484_000 picoseconds. + Weight::from_parts(24_135_000, 0) .saturating_add(Weight::from_parts(0, 7019778708211172)) - // Standard Error: 238_192 - .saturating_add(Weight::from_parts(18_919_531, 0).saturating_mul(c.into())) + // Standard Error: 221_958 + .saturating_add(Weight::from_parts(17_711_762, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/development/src/weights/pallet_collective.rs b/runtime/development/src/weights/pallet_collective.rs index d458726e8c..8913302557 100644 --- a/runtime/development/src/weights/pallet_collective.rs +++ b/runtime/development/src/weights/pallet_collective.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -47,13 +47,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + m * (3232 ±0) + p * (3190 ±0)` // Estimated: `15762 + m * (1967 ±23) + p * (4332 ±23)` - // Minimum execution time: 22_462_000 picoseconds. - Weight::from_parts(22_903_000, 0) + // Minimum execution time: 22_031_000 picoseconds. + Weight::from_parts(22_131_000, 0) .saturating_add(Weight::from_parts(0, 15762)) - // Standard Error: 61_242 - .saturating_add(Weight::from_parts(4_737_301, 0).saturating_mul(m.into())) - // Standard Error: 61_242 - .saturating_add(Weight::from_parts(8_842_227, 0).saturating_mul(p.into())) + // Standard Error: 64_638 + .saturating_add(Weight::from_parts(4_864_099, 0).saturating_mul(m.into())) + // Standard Error: 64_638 + .saturating_add(Weight::from_parts(8_822_364, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -69,13 +69,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `103 + m * (32 ±0)` // Estimated: `1589 + m * (32 ±0)` - // Minimum execution time: 22_842_000 picoseconds. - Weight::from_parts(21_872_998, 0) + // Minimum execution time: 22_873_000 picoseconds. + Weight::from_parts(21_677_760, 0) .saturating_add(Weight::from_parts(0, 1589)) - // Standard Error: 35 - .saturating_add(Weight::from_parts(2_034, 0).saturating_mul(b.into())) - // Standard Error: 368 - .saturating_add(Weight::from_parts(19_210, 0).saturating_mul(m.into())) + // Standard Error: 31 + .saturating_add(Weight::from_parts(1_867, 0).saturating_mul(b.into())) + // Standard Error: 329 + .saturating_add(Weight::from_parts(18_854, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -89,13 +89,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `103 + m * (32 ±0)` // Estimated: `3569 + m * (32 ±0)` - // Minimum execution time: 27_411_000 picoseconds. - Weight::from_parts(26_019_615, 0) + // Minimum execution time: 26_480_000 picoseconds. + Weight::from_parts(25_197_273, 0) .saturating_add(Weight::from_parts(0, 3569)) - // Standard Error: 51 - .saturating_add(Weight::from_parts(2_195, 0).saturating_mul(b.into())) - // Standard Error: 531 - .saturating_add(Weight::from_parts(30_840, 0).saturating_mul(m.into())) + // Standard Error: 47 + .saturating_add(Weight::from_parts(2_314, 0).saturating_mul(b.into())) + // Standard Error: 491 + .saturating_add(Weight::from_parts(33_905, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -116,15 +116,15 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `393 + m * (32 ±0) + p * (36 ±0)` // Estimated: `3785 + m * (33 ±0) + p * (36 ±0)` - // Minimum execution time: 36_127_000 picoseconds. - Weight::from_parts(36_019_244, 0) + // Minimum execution time: 35_547_000 picoseconds. + Weight::from_parts(34_701_219, 0) .saturating_add(Weight::from_parts(0, 3785)) - // Standard Error: 93 - .saturating_add(Weight::from_parts(2_915, 0).saturating_mul(b.into())) - // Standard Error: 972 - .saturating_add(Weight::from_parts(24_722, 0).saturating_mul(m.into())) - // Standard Error: 959 - .saturating_add(Weight::from_parts(249_344, 0).saturating_mul(p.into())) + // Standard Error: 90 + .saturating_add(Weight::from_parts(2_948, 0).saturating_mul(b.into())) + // Standard Error: 947 + .saturating_add(Weight::from_parts(28_930, 0).saturating_mul(m.into())) + // Standard Error: 935 + .saturating_add(Weight::from_parts(227_441, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into())) @@ -139,11 +139,11 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `842 + m * (64 ±0)` // Estimated: `4306 + m * (64 ±0)` - // Minimum execution time: 30_216_000 picoseconds. - Weight::from_parts(30_987_563, 0) + // Minimum execution time: 29_907_000 picoseconds. + Weight::from_parts(30_410_229, 0) .saturating_add(Weight::from_parts(0, 4306)) - // Standard Error: 740 - .saturating_add(Weight::from_parts(49_516, 0).saturating_mul(m.into())) + // Standard Error: 831 + .saturating_add(Weight::from_parts(52_000, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) @@ -162,13 +162,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `431 + m * (64 ±0) + p * (36 ±0)` // Estimated: `3876 + m * (65 ±0) + p * (36 ±0)` - // Minimum execution time: 40_135_000 picoseconds. - Weight::from_parts(39_113_208, 0) + // Minimum execution time: 39_034_000 picoseconds. + Weight::from_parts(37_269_171, 0) .saturating_add(Weight::from_parts(0, 3876)) - // Standard Error: 837 - .saturating_add(Weight::from_parts(37_015, 0).saturating_mul(m.into())) - // Standard Error: 816 - .saturating_add(Weight::from_parts(241_934, 0).saturating_mul(p.into())) + // Standard Error: 847 + .saturating_add(Weight::from_parts(42_588, 0).saturating_mul(m.into())) + // Standard Error: 826 + .saturating_add(Weight::from_parts(227_157, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) @@ -189,15 +189,15 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `733 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` // Estimated: `4050 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` - // Minimum execution time: 58_579_000 picoseconds. - Weight::from_parts(58_445_204, 0) + // Minimum execution time: 56_867_000 picoseconds. + Weight::from_parts(55_852_759, 0) .saturating_add(Weight::from_parts(0, 4050)) - // Standard Error: 144 - .saturating_add(Weight::from_parts(2_186, 0).saturating_mul(b.into())) - // Standard Error: 1_530 - .saturating_add(Weight::from_parts(33_512, 0).saturating_mul(m.into())) - // Standard Error: 1_491 - .saturating_add(Weight::from_parts(280_006, 0).saturating_mul(p.into())) + // Standard Error: 137 + .saturating_add(Weight::from_parts(2_434, 0).saturating_mul(b.into())) + // Standard Error: 1_454 + .saturating_add(Weight::from_parts(39_438, 0).saturating_mul(m.into())) + // Standard Error: 1_418 + .saturating_add(Weight::from_parts(264_589, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) @@ -220,13 +220,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `451 + m * (64 ±0) + p * (36 ±0)` // Estimated: `3896 + m * (65 ±0) + p * (36 ±0)` - // Minimum execution time: 43_681_000 picoseconds. - Weight::from_parts(42_137_463, 0) + // Minimum execution time: 43_472_000 picoseconds. + Weight::from_parts(41_983_641, 0) .saturating_add(Weight::from_parts(0, 3896)) - // Standard Error: 853 - .saturating_add(Weight::from_parts(42_878, 0).saturating_mul(m.into())) - // Standard Error: 832 - .saturating_add(Weight::from_parts(244_693, 0).saturating_mul(p.into())) + // Standard Error: 1_422 + .saturating_add(Weight::from_parts(36_655, 0).saturating_mul(m.into())) + // Standard Error: 1_387 + .saturating_add(Weight::from_parts(221_237, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) @@ -249,15 +249,15 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `753 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` // Estimated: `4070 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` - // Minimum execution time: 62_376_000 picoseconds. - Weight::from_parts(62_156_308, 0) + // Minimum execution time: 60_073_000 picoseconds. + Weight::from_parts(60_114_436, 0) .saturating_add(Weight::from_parts(0, 4070)) - // Standard Error: 140 - .saturating_add(Weight::from_parts(2_038, 0).saturating_mul(b.into())) - // Standard Error: 1_482 - .saturating_add(Weight::from_parts(32_663, 0).saturating_mul(m.into())) - // Standard Error: 1_445 - .saturating_add(Weight::from_parts(284_878, 0).saturating_mul(p.into())) + // Standard Error: 132 + .saturating_add(Weight::from_parts(2_308, 0).saturating_mul(b.into())) + // Standard Error: 1_403 + .saturating_add(Weight::from_parts(34_965, 0).saturating_mul(m.into())) + // Standard Error: 1_368 + .saturating_add(Weight::from_parts(263_100, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) @@ -275,11 +275,11 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `260 + p * (32 ±0)` // Estimated: `1745 + p * (32 ±0)` - // Minimum execution time: 22_202_000 picoseconds. - Weight::from_parts(23_463_072, 0) + // Minimum execution time: 21_952_000 picoseconds. + Weight::from_parts(23_205_951, 0) .saturating_add(Weight::from_parts(0, 1745)) - // Standard Error: 685 - .saturating_add(Weight::from_parts(232_895, 0).saturating_mul(p.into())) + // Standard Error: 647 + .saturating_add(Weight::from_parts(209_830, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) diff --git a/runtime/development/src/weights/pallet_crowdloan_claim.rs b/runtime/development/src/weights/pallet_crowdloan_claim.rs index 514e77e3f9..c31d337dae 100644 --- a/runtime/development/src/weights/pallet_crowdloan_claim.rs +++ b/runtime/development/src/weights/pallet_crowdloan_claim.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_crowdloan_claim` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -60,8 +60,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `672` // Estimated: `6196` - // Minimum execution time: 273_028_000 picoseconds. - Weight::from_parts(275_342_000, 0) + // Minimum execution time: 258_876_000 picoseconds. + Weight::from_parts(261_782_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(5)) @@ -94,8 +94,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `828` // Estimated: `6196` - // Minimum execution time: 274_582_000 picoseconds. - Weight::from_parts(277_166_000, 0) + // Minimum execution time: 262_984_000 picoseconds. + Weight::from_parts(265_229_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(5)) @@ -128,8 +128,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `724` // Estimated: `6196` - // Minimum execution time: 256_859_000 picoseconds. - Weight::from_parts(258_872_000, 0) + // Minimum execution time: 245_751_000 picoseconds. + Weight::from_parts(248_788_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(5)) @@ -152,8 +152,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `76` // Estimated: `1489` - // Minimum execution time: 24_767_000 picoseconds. - Weight::from_parts(25_849_000, 0) + // Minimum execution time: 23_744_000 picoseconds. + Weight::from_parts(24_155_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(6)) @@ -164,8 +164,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_022_000 picoseconds. - Weight::from_parts(12_363_000, 0) + // Minimum execution time: 11_462_000 picoseconds. + Weight::from_parts(11_933_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -175,8 +175,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_033_000 picoseconds. - Weight::from_parts(12_263_000, 0) + // Minimum execution time: 11_362_000 picoseconds. + Weight::from_parts(11_762_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -186,8 +186,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_935_000 picoseconds. - Weight::from_parts(13_466_000, 0) + // Minimum execution time: 12_563_000 picoseconds. + Weight::from_parts(12_994_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -197,8 +197,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_973_000 picoseconds. - Weight::from_parts(12_303_000, 0) + // Minimum execution time: 11_662_000 picoseconds. + Weight::from_parts(11_983_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -208,8 +208,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_842_000 picoseconds. - Weight::from_parts(12_303_000, 0) + // Minimum execution time: 11_501_000 picoseconds. + Weight::from_parts(11_942_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/development/src/weights/pallet_crowdloan_reward.rs b/runtime/development/src/weights/pallet_crowdloan_reward.rs index a56be49ae3..3f8bea438a 100644 --- a/runtime/development/src/weights/pallet_crowdloan_reward.rs +++ b/runtime/development/src/weights/pallet_crowdloan_reward.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_crowdloan_reward` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -42,8 +42,8 @@ impl pallet_crowdloan_reward::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_876_000 picoseconds. - Weight::from_parts(14_177_000, 0) + // Minimum execution time: 12_824_000 picoseconds. + Weight::from_parts(13_345_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -53,8 +53,8 @@ impl pallet_crowdloan_reward::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_762_000 picoseconds. - Weight::from_parts(12_053_000, 0) + // Minimum execution time: 10_971_000 picoseconds. + Weight::from_parts(11_451_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -64,8 +64,8 @@ impl pallet_crowdloan_reward::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_651_000 picoseconds. - Weight::from_parts(12_093_000, 0) + // Minimum execution time: 11_061_000 picoseconds. + Weight::from_parts(11_421_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -75,8 +75,8 @@ impl pallet_crowdloan_reward::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_642_000 picoseconds. - Weight::from_parts(12_082_000, 0) + // Minimum execution time: 11_091_000 picoseconds. + Weight::from_parts(11_411_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/development/src/weights/pallet_democracy.rs b/runtime/development/src/weights/pallet_democracy.rs index a8547442c6..38de258daf 100644 --- a/runtime/development/src/weights/pallet_democracy.rs +++ b/runtime/development/src/weights/pallet_democracy.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -44,8 +44,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4768` // Estimated: `18187` - // Minimum execution time: 58_208_000 picoseconds. - Weight::from_parts(59_461_000, 0) + // Minimum execution time: 55_724_000 picoseconds. + Weight::from_parts(56_716_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -56,8 +56,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3523` // Estimated: `6695` - // Minimum execution time: 52_718_000 picoseconds. - Weight::from_parts(53_470_000, 0) + // Minimum execution time: 50_675_000 picoseconds. + Weight::from_parts(51_376_000, 0) .saturating_add(Weight::from_parts(0, 6695)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -74,8 +74,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3400` // Estimated: `7260` - // Minimum execution time: 66_404_000 picoseconds. - Weight::from_parts(68_057_000, 0) + // Minimum execution time: 64_612_000 picoseconds. + Weight::from_parts(65_763_000, 0) .saturating_add(Weight::from_parts(0, 7260)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -92,8 +92,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3422` // Estimated: `7260` - // Minimum execution time: 73_667_000 picoseconds. - Weight::from_parts(75_040_000, 0) + // Minimum execution time: 70_973_000 picoseconds. + Weight::from_parts(72_446_000, 0) .saturating_add(Weight::from_parts(0, 7260)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -108,8 +108,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `333` // Estimated: `3666` - // Minimum execution time: 38_452_000 picoseconds. - Weight::from_parts(39_052_000, 0) + // Minimum execution time: 37_090_000 picoseconds. + Weight::from_parts(37_801_000, 0) .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -132,8 +132,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `5877` // Estimated: `18187` - // Minimum execution time: 126_725_000 picoseconds. - Weight::from_parts(128_559_000, 0) + // Minimum execution time: 123_462_000 picoseconds. + Weight::from_parts(124_784_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) @@ -146,8 +146,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3383` // Estimated: `6703` - // Minimum execution time: 17_914_000 picoseconds. - Weight::from_parts(18_404_000, 0) + // Minimum execution time: 17_193_000 picoseconds. + Weight::from_parts(17_744_000, 0) .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -158,8 +158,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_471_000 picoseconds. - Weight::from_parts(5_570_000, 0) + // Minimum execution time: 5_160_000 picoseconds. + Weight::from_parts(5_320_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -169,8 +169,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_210_000 picoseconds. - Weight::from_parts(5_570_000, 0) + // Minimum execution time: 5_079_000 picoseconds. + Weight::from_parts(5_350_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -186,8 +186,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `253` // Estimated: `3518` - // Minimum execution time: 39_683_000 picoseconds. - Weight::from_parts(40_355_000, 0) + // Minimum execution time: 37_951_000 picoseconds. + Weight::from_parts(38_783_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) @@ -202,8 +202,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3486` // Estimated: `6703` - // Minimum execution time: 42_750_000 picoseconds. - Weight::from_parts(43_632_000, 0) + // Minimum execution time: 41_177_000 picoseconds. + Weight::from_parts(41_868_000, 0) .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -220,8 +220,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `5788` // Estimated: `18187` - // Minimum execution time: 99_495_000 picoseconds. - Weight::from_parts(101_359_000, 0) + // Minimum execution time: 97_863_000 picoseconds. + Weight::from_parts(100_960_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -234,8 +234,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `238` // Estimated: `3518` - // Minimum execution time: 28_964_000 picoseconds. - Weight::from_parts(29_706_000, 0) + // Minimum execution time: 27_672_000 picoseconds. + Weight::from_parts(28_283_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -251,11 +251,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 9_337_000 picoseconds. - Weight::from_parts(12_767_374, 0) + // Minimum execution time: 8_927_000 picoseconds. + Weight::from_parts(12_794_096, 0) .saturating_add(Weight::from_parts(0, 1489)) - // Standard Error: 5_469 - .saturating_add(Weight::from_parts(4_166_264, 0).saturating_mul(r.into())) + // Standard Error: 5_979 + .saturating_add(Weight::from_parts(4_056_896, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -278,11 +278,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` // Estimated: `18187 + r * (2676 ±0)` - // Minimum execution time: 14_397_000 picoseconds. - Weight::from_parts(18_978_082, 0) + // Minimum execution time: 13_966_000 picoseconds. + Weight::from_parts(17_788_557, 0) .saturating_add(Weight::from_parts(0, 18187)) - // Standard Error: 5_054 - .saturating_add(Weight::from_parts(4_150_127, 0).saturating_mul(r.into())) + // Standard Error: 5_907 + .saturating_add(Weight::from_parts(4_058_130, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -301,11 +301,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `764 + r * (108 ±0)` // Estimated: `19800 + r * (2676 ±0)` - // Minimum execution time: 57_637_000 picoseconds. - Weight::from_parts(64_159_197, 0) + // Minimum execution time: 55_083_000 picoseconds. + Weight::from_parts(61_597_360, 0) .saturating_add(Weight::from_parts(0, 19800)) - // Standard Error: 6_228 - .saturating_add(Weight::from_parts(5_235_378, 0).saturating_mul(r.into())) + // Standard Error: 6_334 + .saturating_add(Weight::from_parts(5_076_703, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -321,11 +321,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `460 + r * (108 ±0)` // Estimated: `13530 + r * (2676 ±0)` - // Minimum execution time: 28_263_000 picoseconds. - Weight::from_parts(29_876_975, 0) + // Minimum execution time: 27_331_000 picoseconds. + Weight::from_parts(29_089_447, 0) .saturating_add(Weight::from_parts(0, 13530)) - // Standard Error: 6_155 - .saturating_add(Weight::from_parts(5_180_473, 0).saturating_mul(r.into())) + // Standard Error: 6_120 + .saturating_add(Weight::from_parts(5_043_068, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -338,8 +338,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_069_000 picoseconds. - Weight::from_parts(5_370_000, 0) + // Minimum execution time: 4_990_000 picoseconds. + Weight::from_parts(5_200_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -356,11 +356,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `492` // Estimated: `7260` - // Minimum execution time: 33_863_000 picoseconds. - Weight::from_parts(52_304_223, 0) + // Minimum execution time: 32_030_000 picoseconds. + Weight::from_parts(49_868_598, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 4_125 - .saturating_add(Weight::from_parts(71_392, 0).saturating_mul(r.into())) + // Standard Error: 4_008 + .saturating_add(Weight::from_parts(67_218, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -377,11 +377,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `493 + r * (22 ±0)` // Estimated: `7260` - // Minimum execution time: 47_909_000 picoseconds. - Weight::from_parts(49_871_116, 0) + // Minimum execution time: 45_786_000 picoseconds. + Weight::from_parts(47_742_470, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_238 - .saturating_add(Weight::from_parts(87_599, 0).saturating_mul(r.into())) + // Standard Error: 987 + .saturating_add(Weight::from_parts(86_969, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -394,11 +394,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `695 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 20_669_000 picoseconds. - Weight::from_parts(23_415_471, 0) + // Minimum execution time: 20_268_000 picoseconds. + Weight::from_parts(22_749_343, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_128 - .saturating_add(Weight::from_parts(87_876, 0).saturating_mul(r.into())) + // Standard Error: 1_068 + .saturating_add(Weight::from_parts(89_934, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -411,11 +411,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `695 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 21_100_000 picoseconds. - Weight::from_parts(23_766_097, 0) + // Minimum execution time: 20_419_000 picoseconds. + Weight::from_parts(23_110_049, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_140 - .saturating_add(Weight::from_parts(89_943, 0).saturating_mul(r.into())) + // Standard Error: 1_134 + .saturating_add(Weight::from_parts(88_627, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -429,8 +429,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `357` // Estimated: `3556` - // Minimum execution time: 26_209_000 picoseconds. - Weight::from_parts(26_800_000, 0) + // Minimum execution time: 25_678_000 picoseconds. + Weight::from_parts(26_240_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -443,8 +443,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `253` // Estimated: `3518` - // Minimum execution time: 23_834_000 picoseconds. - Weight::from_parts(24_225_000, 0) + // Minimum execution time: 22_843_000 picoseconds. + Weight::from_parts(23_404_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -459,8 +459,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4889` // Estimated: `18187` - // Minimum execution time: 52_889_000 picoseconds. - Weight::from_parts(54_231_000, 0) + // Minimum execution time: 52_899_000 picoseconds. + Weight::from_parts(55_174_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -473,8 +473,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4789` // Estimated: `18187` - // Minimum execution time: 49_723_000 picoseconds. - Weight::from_parts(50_785_000, 0) + // Minimum execution time: 49_563_000 picoseconds. + Weight::from_parts(50_655_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -487,8 +487,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 21_300_000 picoseconds. - Weight::from_parts(21_781_000, 0) + // Minimum execution time: 20_689_000 picoseconds. + Weight::from_parts(21_251_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -501,8 +501,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `269` // Estimated: `3666` - // Minimum execution time: 26_340_000 picoseconds. - Weight::from_parts(27_300_000, 0) + // Minimum execution time: 25_939_000 picoseconds. + Weight::from_parts(26_360_000, 0) .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/development/src/weights/pallet_elections_phragmen.rs b/runtime/development/src/weights/pallet_elections_phragmen.rs index 057177089e..1ea5139227 100644 --- a/runtime/development/src/weights/pallet_elections_phragmen.rs +++ b/runtime/development/src/weights/pallet_elections_phragmen.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_elections_phragmen` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -49,11 +49,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `397 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 44_192_000 picoseconds. - Weight::from_parts(45_591_805, 0) + // Minimum execution time: 41_468_000 picoseconds. + Weight::from_parts(42_560_017, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 9_708 - .saturating_add(Weight::from_parts(171_429, 0).saturating_mul(v.into())) + // Standard Error: 9_642 + .saturating_add(Weight::from_parts(242_626, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) @@ -75,11 +75,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `366 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 63_398_000 picoseconds. - Weight::from_parts(64_252_582, 0) + // Minimum execution time: 59_232_000 picoseconds. + Weight::from_parts(60_716_949, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 16_243 - .saturating_add(Weight::from_parts(342_475, 0).saturating_mul(v.into())) + // Standard Error: 18_221 + .saturating_add(Weight::from_parts(152_053, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) @@ -101,11 +101,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `398 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 63_358_000 picoseconds. - Weight::from_parts(64_172_866, 0) + // Minimum execution time: 59_071_000 picoseconds. + Weight::from_parts(60_124_534, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 16_192 - .saturating_add(Weight::from_parts(363_260, 0).saturating_mul(v.into())) + // Standard Error: 15_245 + .saturating_add(Weight::from_parts(340_864, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) @@ -120,8 +120,8 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `568` // Estimated: `4764` - // Minimum execution time: 66_744_000 picoseconds. - Weight::from_parts(67_466_000, 0) + // Minimum execution time: 62_237_000 picoseconds. + Weight::from_parts(63_410_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -137,11 +137,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `963 + c * (48 ±0)` // Estimated: `2448 + c * (48 ±0)` - // Minimum execution time: 46_887_000 picoseconds. - Weight::from_parts(47_796_515, 0) + // Minimum execution time: 44_684_000 picoseconds. + Weight::from_parts(45_756_572, 0) .saturating_add(Weight::from_parts(0, 2448)) - // Standard Error: 2_510 - .saturating_add(Weight::from_parts(66_456, 0).saturating_mul(c.into())) + // Standard Error: 2_274 + .saturating_add(Weight::from_parts(59_575, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into())) @@ -153,11 +153,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `318 + c * (48 ±0)` // Estimated: `1803 + c * (48 ±0)` - // Minimum execution time: 42_900_000 picoseconds. - Weight::from_parts(44_012_052, 0) + // Minimum execution time: 40_296_000 picoseconds. + Weight::from_parts(41_327_773, 0) .saturating_add(Weight::from_parts(0, 1803)) - // Standard Error: 2_409 - .saturating_add(Weight::from_parts(34_488, 0).saturating_mul(c.into())) + // Standard Error: 2_230 + .saturating_add(Weight::from_parts(72_117, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into())) @@ -176,8 +176,8 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `1177` // Estimated: `2662` - // Minimum execution time: 58_770_000 picoseconds. - Weight::from_parts(60_052_000, 0) + // Minimum execution time: 56_436_000 picoseconds. + Weight::from_parts(57_518_000, 0) .saturating_add(Weight::from_parts(0, 2662)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -188,8 +188,8 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `639` // Estimated: `2124` - // Minimum execution time: 42_439_000 picoseconds. - Weight::from_parts(43_341_000, 0) + // Minimum execution time: 40_667_000 picoseconds. + Weight::from_parts(41_187_000, 0) .saturating_add(Weight::from_parts(0, 2124)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -220,8 +220,8 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `1177` // Estimated: `3593` - // Minimum execution time: 67_586_000 picoseconds. - Weight::from_parts(68_848_000, 0) + // Minimum execution time: 64_871_000 picoseconds. + Weight::from_parts(65_784_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -246,13 +246,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `1193 + v * (457 ±0)` // Estimated: `4528 + d * (1 ±0) + v * (3774 ±0)` - // Minimum execution time: 3_795_398_000 picoseconds. - Weight::from_parts(33_230_444, 0) + // Minimum execution time: 3_491_786_000 picoseconds. + Weight::from_parts(62_147_002, 0) .saturating_add(Weight::from_parts(0, 4528)) - // Standard Error: 31_437 - .saturating_add(Weight::from_parts(75_780_673, 0).saturating_mul(v.into())) - // Standard Error: 31_437 - .saturating_add(Weight::from_parts(11_652, 0).saturating_mul(d.into())) + // Standard Error: 78_060 + .saturating_add(Weight::from_parts(69_439_573, 0).saturating_mul(v.into())) + // Standard Error: 78_060 + .saturating_add(Weight::from_parts(3_241, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) @@ -283,16 +283,16 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + c * (199 ±0) + e * (24 ±0) + v * (248 ±0)` - // Estimated: `7737 + c * (1665 ±11) + e * (19 ±0) + v * (2536 ±2)` - // Minimum execution time: 472_039_000 picoseconds. - Weight::from_parts(476_096_000, 0) + // Estimated: `7737 + c * (1665 ±35) + e * (19 ±0) + v * (2536 ±2)` + // Minimum execution time: 448_752_000 picoseconds. + Weight::from_parts(450_275_000, 0) .saturating_add(Weight::from_parts(0, 7737)) - // Standard Error: 597_138 - .saturating_add(Weight::from_parts(4_068_071, 0).saturating_mul(c.into())) - // Standard Error: 118_787 - .saturating_add(Weight::from_parts(6_539_216, 0).saturating_mul(v.into())) - // Standard Error: 25_796 - .saturating_add(Weight::from_parts(79_045, 0).saturating_mul(e.into())) + // Standard Error: 590_822 + .saturating_add(Weight::from_parts(3_268_250, 0).saturating_mul(c.into())) + // Standard Error: 117_530 + .saturating_add(Weight::from_parts(6_433_607, 0).saturating_mul(v.into())) + // Standard Error: 25_523 + .saturating_add(Weight::from_parts(110_406, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(15)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) diff --git a/runtime/development/src/weights/pallet_fees.rs b/runtime/development/src/weights/pallet_fees.rs index 70d8789fa5..ddb8a5385c 100644 --- a/runtime/development/src/weights/pallet_fees.rs +++ b/runtime/development/src/weights/pallet_fees.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_fees` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -38,8 +38,8 @@ impl pallet_fees::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_543_000 picoseconds. - Weight::from_parts(12_824_000, 0) + // Minimum execution time: 12_103_000 picoseconds. + Weight::from_parts(12_533_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/development/src/weights/pallet_identity.rs b/runtime/development/src/weights/pallet_identity.rs index 936293c1a4..a3f990dffb 100644 --- a/runtime/development/src/weights/pallet_identity.rs +++ b/runtime/development/src/weights/pallet_identity.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -39,11 +39,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `31 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 16_932_000 picoseconds. - Weight::from_parts(17_940_818, 0) + // Minimum execution time: 16_210_000 picoseconds. + Weight::from_parts(17_286_909, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 2_033 - .saturating_add(Weight::from_parts(101_929, 0).saturating_mul(r.into())) + // Standard Error: 2_071 + .saturating_add(Weight::from_parts(93_041, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -55,13 +55,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `441 + r * (5 ±0)` // Estimated: `11003` - // Minimum execution time: 48_570_000 picoseconds. - Weight::from_parts(48_311_419, 0) + // Minimum execution time: 46_377_000 picoseconds. + Weight::from_parts(45_672_988, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 3_419 - .saturating_add(Weight::from_parts(72_961, 0).saturating_mul(r.into())) - // Standard Error: 667 - .saturating_add(Weight::from_parts(805_377, 0).saturating_mul(x.into())) + // Standard Error: 7_829 + .saturating_add(Weight::from_parts(110_777, 0).saturating_mul(r.into())) + // Standard Error: 1_527 + .saturating_add(Weight::from_parts(773_988, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -76,11 +76,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `100` // Estimated: `11003 + s * (2589 ±0)` - // Minimum execution time: 13_705_000 picoseconds. - Weight::from_parts(35_286_448, 0) + // Minimum execution time: 12_743_000 picoseconds. + Weight::from_parts(34_190_321, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 5_466 - .saturating_add(Weight::from_parts(5_105_456, 0).saturating_mul(s.into())) + // Standard Error: 7_399 + .saturating_add(Weight::from_parts(4_731_928, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -98,11 +98,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `193 + p * (32 ±0)` // Estimated: `11003` - // Minimum execution time: 13_445_000 picoseconds. - Weight::from_parts(34_191_616, 0) + // Minimum execution time: 12_934_000 picoseconds. + Weight::from_parts(32_567_793, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 4_745 - .saturating_add(Weight::from_parts(2_079_322, 0).saturating_mul(p.into())) + // Standard Error: 4_528 + .saturating_add(Weight::from_parts(1_884_047, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) @@ -120,15 +120,15 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `468 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 88_665_000 picoseconds. - Weight::from_parts(38_154_151, 0) + // Minimum execution time: 85_852_000 picoseconds. + Weight::from_parts(43_121_455, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 13_437 - .saturating_add(Weight::from_parts(268_439, 0).saturating_mul(r.into())) - // Standard Error: 2_624 - .saturating_add(Weight::from_parts(2_116_798, 0).saturating_mul(s.into())) - // Standard Error: 2_624 - .saturating_add(Weight::from_parts(484_313, 0).saturating_mul(x.into())) + // Standard Error: 8_529 + .saturating_add(Weight::from_parts(134_938, 0).saturating_mul(r.into())) + // Standard Error: 1_665 + .saturating_add(Weight::from_parts(1_901_046, 0).saturating_mul(s.into())) + // Standard Error: 1_665 + .saturating_add(Weight::from_parts(445_516, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -143,13 +143,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `366 + r * (57 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 48_090_000 picoseconds. - Weight::from_parts(46_804_176, 0) + // Minimum execution time: 46_477_000 picoseconds. + Weight::from_parts(44_703_745, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 5_276 - .saturating_add(Weight::from_parts(124_615, 0).saturating_mul(r.into())) - // Standard Error: 1_029 - .saturating_add(Weight::from_parts(872_566, 0).saturating_mul(x.into())) + // Standard Error: 6_245 + .saturating_add(Weight::from_parts(149_256, 0).saturating_mul(r.into())) + // Standard Error: 1_218 + .saturating_add(Weight::from_parts(812_768, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -161,13 +161,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `397 + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 44_392_000 picoseconds. - Weight::from_parts(43_436_168, 0) + // Minimum execution time: 42_289_000 picoseconds. + Weight::from_parts(41_699_662, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 6_774 - .saturating_add(Weight::from_parts(124_264, 0).saturating_mul(r.into())) - // Standard Error: 1_321 - .saturating_add(Weight::from_parts(841_771, 0).saturating_mul(x.into())) + // Standard Error: 5_903 + .saturating_add(Weight::from_parts(99_576, 0).saturating_mul(r.into())) + // Standard Error: 1_151 + .saturating_add(Weight::from_parts(795_580, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -178,11 +178,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `88 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 9_849_000 picoseconds. - Weight::from_parts(10_591_139, 0) + // Minimum execution time: 9_498_000 picoseconds. + Weight::from_parts(10_110_634, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_121 - .saturating_add(Weight::from_parts(70_038, 0).saturating_mul(r.into())) + // Standard Error: 1_315 + .saturating_add(Weight::from_parts(74_892, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -193,11 +193,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `88 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 10_439_000 picoseconds. - Weight::from_parts(10_863_338, 0) + // Minimum execution time: 9_889_000 picoseconds. + Weight::from_parts(10_330_567, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 999 - .saturating_add(Weight::from_parts(67_492, 0).saturating_mul(r.into())) + // Standard Error: 980 + .saturating_add(Weight::from_parts(74_021, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -208,11 +208,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `88 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 10_149_000 picoseconds. - Weight::from_parts(10_552_400, 0) + // Minimum execution time: 9_678_000 picoseconds. + Weight::from_parts(10_131_437, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 789 - .saturating_add(Weight::from_parts(61_062, 0).saturating_mul(r.into())) + // Standard Error: 906 + .saturating_add(Weight::from_parts(66_752, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -226,13 +226,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `444 + r * (57 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 33_232_000 picoseconds. - Weight::from_parts(30_806_277, 0) + // Minimum execution time: 32_532_000 picoseconds. + Weight::from_parts(30_238_292, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 6_673 - .saturating_add(Weight::from_parts(143_492, 0).saturating_mul(r.into())) - // Standard Error: 1_234 - .saturating_add(Weight::from_parts(1_379_184, 0).saturating_mul(x.into())) + // Standard Error: 6_879 + .saturating_add(Weight::from_parts(156_196, 0).saturating_mul(r.into())) + // Standard Error: 1_272 + .saturating_add(Weight::from_parts(1_276_350, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -247,17 +247,19 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 20]`. /// The range of component `s` is `[0, 100]`. /// The range of component `x` is `[0, 100]`. - fn kill_identity(_r: u32, s: u32, x: u32, ) -> Weight { + fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `708 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 93_434_000 picoseconds. - Weight::from_parts(59_676_250, 0) + // Minimum execution time: 93_435_000 picoseconds. + Weight::from_parts(49_922_054, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 2_515 - .saturating_add(Weight::from_parts(2_064_181, 0).saturating_mul(s.into())) - // Standard Error: 2_515 - .saturating_add(Weight::from_parts(415_613, 0).saturating_mul(x.into())) + // Standard Error: 8_472 + .saturating_add(Weight::from_parts(160_912, 0).saturating_mul(r.into())) + // Standard Error: 1_654 + .saturating_add(Weight::from_parts(1_941_271, 0).saturating_mul(s.into())) + // Standard Error: 1_654 + .saturating_add(Weight::from_parts(439_581, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -273,11 +275,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `474 + s * (36 ±0)` // Estimated: `11003` - // Minimum execution time: 44_142_000 picoseconds. - Weight::from_parts(49_205_253, 0) + // Minimum execution time: 41_979_000 picoseconds. + Weight::from_parts(46_603_374, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 1_196 - .saturating_add(Weight::from_parts(68_809, 0).saturating_mul(s.into())) + // Standard Error: 1_179 + .saturating_add(Weight::from_parts(74_218, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -290,11 +292,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `590 + s * (3 ±0)` // Estimated: `11003` - // Minimum execution time: 18_044_000 picoseconds. - Weight::from_parts(20_254_551, 0) + // Minimum execution time: 17_282_000 picoseconds. + Weight::from_parts(19_747_060, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 562 - .saturating_add(Weight::from_parts(21_640, 0).saturating_mul(s.into())) + // Standard Error: 563 + .saturating_add(Weight::from_parts(24_156, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -309,11 +311,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `637 + s * (35 ±0)` // Estimated: `11003` - // Minimum execution time: 47_979_000 picoseconds. - Weight::from_parts(51_148_383, 0) + // Minimum execution time: 45_686_000 picoseconds. + Weight::from_parts(48_850_397, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 773 - .saturating_add(Weight::from_parts(56_162, 0).saturating_mul(s.into())) + // Standard Error: 804 + .saturating_add(Weight::from_parts(55_800, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -328,11 +330,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `770 + s * (37 ±0)` // Estimated: `6723` - // Minimum execution time: 34_434_000 picoseconds. - Weight::from_parts(36_517_689, 0) + // Minimum execution time: 33_062_000 picoseconds. + Weight::from_parts(35_251_530, 0) .saturating_add(Weight::from_parts(0, 6723)) - // Standard Error: 739 - .saturating_add(Weight::from_parts(60_254, 0).saturating_mul(s.into())) + // Standard Error: 751 + .saturating_add(Weight::from_parts(63_125, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/development/src/weights/pallet_interest_accrual.rs b/runtime/development/src/weights/pallet_interest_accrual.rs index 8d00f951e4..a55244601a 100644 --- a/runtime/development/src/weights/pallet_interest_accrual.rs +++ b/runtime/development/src/weights/pallet_interest_accrual.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_interest_accrual` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -37,10 +37,10 @@ impl pallet_interest_accrual::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 721_000 picoseconds. - Weight::from_parts(202_373, 0) + // Minimum execution time: 701_000 picoseconds. + Weight::from_parts(239_342, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 227 - .saturating_add(Weight::from_parts(607_296, 0).saturating_mul(n.into())) + // Standard Error: 239 + .saturating_add(Weight::from_parts(607_860, 0).saturating_mul(n.into())) } } diff --git a/runtime/development/src/weights/pallet_investments.rs b/runtime/development/src/weights/pallet_investments.rs index 77c1c43f0c..fbd02879b9 100644 --- a/runtime/development/src/weights/pallet_investments.rs +++ b/runtime/development/src/weights/pallet_investments.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_investments` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -52,8 +52,8 @@ impl pallet_investments::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2525` // Estimated: `6198` - // Minimum execution time: 104_946_000 picoseconds. - Weight::from_parts(106_278_000, 0) + // Minimum execution time: 99_787_000 picoseconds. + Weight::from_parts(101_520_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) @@ -78,8 +78,8 @@ impl pallet_investments::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2421` // Estimated: `6198` - // Minimum execution time: 102_702_000 picoseconds. - Weight::from_parts(104_544_000, 0) + // Minimum execution time: 99_116_000 picoseconds. + Weight::from_parts(100_518_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) @@ -105,11 +105,11 @@ impl pallet_investments::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2828 + n * (44 ±0)` // Estimated: `6293 + n * (2555 ±0)` - // Minimum execution time: 115_184_000 picoseconds. - Weight::from_parts(110_443_967, 0) + // Minimum execution time: 110_367_000 picoseconds. + Weight::from_parts(105_946_000, 0) .saturating_add(Weight::from_parts(0, 6293)) - // Standard Error: 20_142 - .saturating_add(Weight::from_parts(5_589_535, 0).saturating_mul(n.into())) + // Standard Error: 20_360 + .saturating_add(Weight::from_parts(5_571_103, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -136,11 +136,11 @@ impl pallet_investments::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2865 + n * (44 ±0)` // Estimated: `6330 + n * (2555 ±0)` - // Minimum execution time: 116_046_000 picoseconds. - Weight::from_parts(112_398_785, 0) + // Minimum execution time: 111_479_000 picoseconds. + Weight::from_parts(107_429_507, 0) .saturating_add(Weight::from_parts(0, 6330)) - // Standard Error: 23_452 - .saturating_add(Weight::from_parts(5_300_469, 0).saturating_mul(n.into())) + // Standard Error: 18_573 + .saturating_add(Weight::from_parts(5_264_352, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(4)) diff --git a/runtime/development/src/weights/pallet_keystore.rs b/runtime/development/src/weights/pallet_keystore.rs index e9e099ffdd..d7ff004063 100644 --- a/runtime/development/src/weights/pallet_keystore.rs +++ b/runtime/development/src/weights/pallet_keystore.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_keystore` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -45,11 +45,11 @@ impl pallet_keystore::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `250` // Estimated: `3593 + n * (2595 ±0)` - // Minimum execution time: 46_226_000 picoseconds. - Weight::from_parts(18_151_048, 0) + // Minimum execution time: 43_672_000 picoseconds. + Weight::from_parts(16_926_925, 0) .saturating_add(Weight::from_parts(0, 3593)) - // Standard Error: 9_170 - .saturating_add(Weight::from_parts(29_559_660, 0).saturating_mul(n.into())) + // Standard Error: 10_899 + .saturating_add(Weight::from_parts(27_767_673, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -63,11 +63,11 @@ impl pallet_keystore::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `148 + n * (75 ±0)` // Estimated: `990 + n * (2595 ±0)` - // Minimum execution time: 21_881_000 picoseconds. - Weight::from_parts(8_785_737, 0) + // Minimum execution time: 21_290_000 picoseconds. + Weight::from_parts(8_829_942, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 18_718 - .saturating_add(Weight::from_parts(13_862_228, 0).saturating_mul(n.into())) + // Standard Error: 16_913 + .saturating_add(Weight::from_parts(13_295_862, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 2595).saturating_mul(n.into())) @@ -78,8 +78,8 @@ impl pallet_keystore::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_622_000 picoseconds. - Weight::from_parts(12_162_000, 0) + // Minimum execution time: 11_381_000 picoseconds. + Weight::from_parts(11_853_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/development/src/weights/pallet_loans.rs b/runtime/development/src/weights/pallet_loans.rs index 5064547b69..03c9541f19 100644 --- a/runtime/development/src/weights/pallet_loans.rs +++ b/runtime/development/src/weights/pallet_loans.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_loans` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -54,8 +54,8 @@ impl pallet_loans::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1261` // Estimated: `4278` - // Minimum execution time: 81_511_000 picoseconds. - Weight::from_parts(82_984_000, 0) + // Minimum execution time: 80_350_000 picoseconds. + Weight::from_parts(81_984_000, 0) .saturating_add(Weight::from_parts(0, 4278)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) @@ -85,11 +85,11 @@ impl pallet_loans::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `38651 + n * (340 ±0)` // Estimated: `375491 + n * (340 ±0)` - // Minimum execution time: 261_457_000 picoseconds. - Weight::from_parts(269_945_492, 0) + // Minimum execution time: 258_965_000 picoseconds. + Weight::from_parts(273_923_939, 0) .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 38_824 - .saturating_add(Weight::from_parts(470_137, 0).saturating_mul(n.into())) + // Standard Error: 57_114 + .saturating_add(Weight::from_parts(607_600, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(7)) .saturating_add(Weight::from_parts(0, 340).saturating_mul(n.into())) @@ -117,11 +117,11 @@ impl pallet_loans::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `38771 + n * (340 ±0)` // Estimated: `375491 + n * (340 ±0)` - // Minimum execution time: 192_559_000 picoseconds. - Weight::from_parts(195_053_334, 0) + // Minimum execution time: 191_809_000 picoseconds. + Weight::from_parts(197_140_156, 0) .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 27_857 - .saturating_add(Weight::from_parts(777_616, 0).saturating_mul(n.into())) + // Standard Error: 31_149 + .saturating_add(Weight::from_parts(875_000, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(Weight::from_parts(0, 340).saturating_mul(n.into())) @@ -143,11 +143,11 @@ impl pallet_loans::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `37360 + n * (340 ±0)` // Estimated: `375491` - // Minimum execution time: 234_256_000 picoseconds. - Weight::from_parts(245_198_608, 0) + // Minimum execution time: 240_039_000 picoseconds. + Weight::from_parts(253_671_302, 0) .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 36_611 - .saturating_add(Weight::from_parts(920_271, 0).saturating_mul(n.into())) + // Standard Error: 52_481 + .saturating_add(Weight::from_parts(736_804, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -170,11 +170,11 @@ impl pallet_loans::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `37611 + n * (340 ±0)` // Estimated: `375491` - // Minimum execution time: 252_480_000 picoseconds. - Weight::from_parts(262_803_032, 0) + // Minimum execution time: 251_641_000 picoseconds. + Weight::from_parts(269_631_279, 0) .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 43_954 - .saturating_add(Weight::from_parts(768_285, 0).saturating_mul(n.into())) + // Standard Error: 49_436 + .saturating_add(Weight::from_parts(898_913, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -185,22 +185,22 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: PoolSystem NotedChange (r:0 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(3116), added: 5591, mode: MaxEncodedLen) /// The range of component `n` is `[1, 9]`. fn propose_loan_mutation(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `971 + n * (316 ±0)` // Estimated: `375491` - // Minimum execution time: 45_004_000 picoseconds. - Weight::from_parts(45_388_925, 0) + // Minimum execution time: 45_165_000 picoseconds. + Weight::from_parts(45_298_209, 0) .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 6_376 - .saturating_add(Weight::from_parts(536_320, 0).saturating_mul(n.into())) + // Standard Error: 12_320 + .saturating_add(Weight::from_parts(714_558, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: PoolSystem NotedChange (r:1 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(3116), added: 5591, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:1) @@ -218,11 +218,11 @@ impl pallet_loans::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `37477 + n * (340 ±0)` // Estimated: `375491` - // Minimum execution time: 97_923_000 picoseconds. - Weight::from_parts(99_003_360, 0) + // Minimum execution time: 99_717_000 picoseconds. + Weight::from_parts(101_939_910, 0) .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 11_822 - .saturating_add(Weight::from_parts(733_586, 0).saturating_mul(n.into())) + // Standard Error: 18_626 + .saturating_add(Weight::from_parts(640_848, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -249,11 +249,11 @@ impl pallet_loans::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `37370 + n * (373 ±0)` // Estimated: `375491` - // Minimum execution time: 140_832_000 picoseconds. - Weight::from_parts(148_472_648, 0) + // Minimum execution time: 142_897_000 picoseconds. + Weight::from_parts(152_648_479, 0) .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 20_210 - .saturating_add(Weight::from_parts(837_764, 0).saturating_mul(n.into())) + // Standard Error: 36_308 + .saturating_add(Weight::from_parts(464_350, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -264,19 +264,19 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: PoolSystem NotedChange (r:0 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(3116), added: 5591, mode: MaxEncodedLen) fn propose_write_off_policy() -> Weight { // Proof Size summary in bytes: // Measured: `478` // Estimated: `4278` - // Minimum execution time: 44_553_000 picoseconds. - Weight::from_parts(45_234_000, 0) + // Minimum execution time: 44_153_000 picoseconds. + Weight::from_parts(44_754_000, 0) .saturating_add(Weight::from_parts(0, 4278)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: PoolSystem NotedChange (r:1 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(3116), added: 5591, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: Loans WriteOffPolicy (r:0 w:1) @@ -284,10 +284,10 @@ impl pallet_loans::WeightInfo for WeightInfo { fn apply_write_off_policy() -> Weight { // Proof Size summary in bytes: // Measured: `1073` - // Estimated: `9601` - // Minimum execution time: 44_162_000 picoseconds. - Weight::from_parts(45_044_000, 0) - .saturating_add(Weight::from_parts(0, 9601)) + // Estimated: `6581` + // Minimum execution time: 43_742_000 picoseconds. + Weight::from_parts(44_454_000, 0) + .saturating_add(Weight::from_parts(0, 6581)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -296,9 +296,9 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: InterestAccrual Rates (r:1 w:0) /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(36002), added: 36497, mode: MaxEncodedLen) /// Storage: OraclePriceCollection Collection (r:1 w:0) - /// Proof: OraclePriceCollection Collection (max_values: None, max_size: Some(75042), added: 77517, mode: MaxEncodedLen) + /// Proof: OraclePriceCollection Collection (max_values: None, max_size: Some(7542), added: 10017, mode: MaxEncodedLen) /// Storage: OraclePriceCollection CollectionInfo (r:1 w:0) - /// Proof: OraclePriceCollection CollectionInfo (max_values: None, max_size: Some(6078), added: 8553, mode: MaxEncodedLen) + /// Proof: OraclePriceCollection CollectionInfo (max_values: None, max_size: Some(3058), added: 5533, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:0) /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) @@ -310,11 +310,11 @@ impl pallet_loans::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `37026 + n * (353 ±0)` // Estimated: `375491` - // Minimum execution time: 91_230_000 picoseconds. - Weight::from_parts(81_829_588, 0) + // Minimum execution time: 91_371_000 picoseconds. + Weight::from_parts(86_053_471, 0) .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 45_137 - .saturating_add(Weight::from_parts(11_165_196, 0).saturating_mul(n.into())) + // Standard Error: 42_303 + .saturating_add(Weight::from_parts(10_607_794, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -331,22 +331,22 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: Loans CreatedLoan (r:1 w:0) /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, mode: MaxEncodedLen) /// Storage: PoolSystem NotedChange (r:0 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(3116), added: 5591, mode: MaxEncodedLen) /// The range of component `n` is `[2, 8]`. fn propose_transfer_debt(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `37144 + n * (340 ±0)` // Estimated: `375491` - // Minimum execution time: 283_818_000 picoseconds. - Weight::from_parts(291_026_811, 0) + // Minimum execution time: 283_661_000 picoseconds. + Weight::from_parts(295_272_087, 0) .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 52_244 - .saturating_add(Weight::from_parts(1_347_711, 0).saturating_mul(n.into())) + // Standard Error: 88_073 + .saturating_add(Weight::from_parts(1_367_999, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: PoolSystem NotedChange (r:1 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(3116), added: 5591, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:1) @@ -366,11 +366,11 @@ impl pallet_loans::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `37805 + n * (340 ±0)` // Estimated: `375491` - // Minimum execution time: 288_027_000 picoseconds. - Weight::from_parts(296_350_525, 0) + // Minimum execution time: 286_618_000 picoseconds. + Weight::from_parts(301_381_602, 0) .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 58_333 - .saturating_add(Weight::from_parts(1_111_002, 0).saturating_mul(n.into())) + // Standard Error: 88_453 + .saturating_add(Weight::from_parts(956_537, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -391,11 +391,11 @@ impl pallet_loans::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `36804 + n * (340 ±0)` // Estimated: `375491` - // Minimum execution time: 187_028_000 picoseconds. - Weight::from_parts(194_961_956, 0) + // Minimum execution time: 187_943_000 picoseconds. + Weight::from_parts(195_618_379, 0) .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 25_436 - .saturating_add(Weight::from_parts(616_474, 0).saturating_mul(n.into())) + // Standard Error: 44_252 + .saturating_add(Weight::from_parts(1_090_526, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) } diff --git a/runtime/development/src/weights/pallet_multisig.rs b/runtime/development/src/weights/pallet_multisig.rs index c35ff004b7..1e120ecdf9 100644 --- a/runtime/development/src/weights/pallet_multisig.rs +++ b/runtime/development/src/weights/pallet_multisig.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -37,11 +37,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 16_531_000 picoseconds. - Weight::from_parts(17_544_132, 0) + // Minimum execution time: 16_201_000 picoseconds. + Weight::from_parts(17_023_793, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 3 - .saturating_add(Weight::from_parts(483, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(474, 0).saturating_mul(z.into())) } /// Storage: Multisig Multisigs (r:1 w:1) /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) @@ -51,13 +51,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `334 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 59_711_000 picoseconds. - Weight::from_parts(52_448_757, 0) + // Minimum execution time: 55_184_000 picoseconds. + Weight::from_parts(47_625_938, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 688 - .saturating_add(Weight::from_parts(86_009, 0).saturating_mul(s.into())) - // Standard Error: 6 - .saturating_add(Weight::from_parts(1_524, 0).saturating_mul(z.into())) + // Standard Error: 953 + .saturating_add(Weight::from_parts(92_681, 0).saturating_mul(s.into())) + // Standard Error: 9 + .saturating_add(Weight::from_parts(1_575, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -69,13 +69,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `315` // Estimated: `6811` - // Minimum execution time: 35_636_000 picoseconds. - Weight::from_parts(28_582_543, 0) + // Minimum execution time: 34_355_000 picoseconds. + Weight::from_parts(27_105_453, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 499 - .saturating_add(Weight::from_parts(83_233, 0).saturating_mul(s.into())) + // Standard Error: 479 + .saturating_add(Weight::from_parts(80_857, 0).saturating_mul(s.into())) // Standard Error: 4 - .saturating_add(Weight::from_parts(1_536, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(1_530, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -89,13 +89,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `456 + s * (33 ±0)` // Estimated: `6811` - // Minimum execution time: 67_196_000 picoseconds. - Weight::from_parts(56_324_054, 0) + // Minimum execution time: 63_038_000 picoseconds. + Weight::from_parts(51_996_533, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 644 - .saturating_add(Weight::from_parts(125_155, 0).saturating_mul(s.into())) + // Standard Error: 658 + .saturating_add(Weight::from_parts(125_530, 0).saturating_mul(s.into())) // Standard Error: 6 - .saturating_add(Weight::from_parts(1_596, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(1_584, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -106,11 +106,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `334 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 48_370_000 picoseconds. - Weight::from_parts(50_135_932, 0) + // Minimum execution time: 44_584_000 picoseconds. + Weight::from_parts(45_966_461, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 774 - .saturating_add(Weight::from_parts(92_608, 0).saturating_mul(s.into())) + // Standard Error: 927 + .saturating_add(Weight::from_parts(94_698, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -121,11 +121,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `315` // Estimated: `6811` - // Minimum execution time: 25_778_000 picoseconds. - Weight::from_parts(26_501_912, 0) + // Minimum execution time: 24_296_000 picoseconds. + Weight::from_parts(25_023_749, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 457 - .saturating_add(Weight::from_parts(85_718, 0).saturating_mul(s.into())) + // Standard Error: 504 + .saturating_add(Weight::from_parts(84_010, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -136,11 +136,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `520 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 48_621_000 picoseconds. - Weight::from_parts(50_129_263, 0) + // Minimum execution time: 44_965_000 picoseconds. + Weight::from_parts(46_528_960, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 729 - .saturating_add(Weight::from_parts(90_145, 0).saturating_mul(s.into())) + // Standard Error: 787 + .saturating_add(Weight::from_parts(90_262, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/development/src/weights/pallet_oracle_collection.rs b/runtime/development/src/weights/pallet_oracle_collection.rs index 4f779bc36b..92caaa381c 100644 --- a/runtime/development/src/weights/pallet_oracle_collection.rs +++ b/runtime/development/src/weights/pallet_oracle_collection.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_oracle_collection` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -37,73 +37,73 @@ impl pallet_oracle_collection::WeightInfo for WeightInf /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: PoolSystem NotedChange (r:0 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) - /// The range of component `n` is `[1, 10]`. + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(3116), added: 5591, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 5]`. fn propose_update_collection_info(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `222` // Estimated: `3693` - // Minimum execution time: 29_214_000 picoseconds. - Weight::from_parts(28_632_452, 0) + // Minimum execution time: 28_865_000 picoseconds. + Weight::from_parts(28_313_405, 0) .saturating_add(Weight::from_parts(0, 3693)) - // Standard Error: 5_629 - .saturating_add(Weight::from_parts(1_628_737, 0).saturating_mul(n.into())) + // Standard Error: 8_302 + .saturating_add(Weight::from_parts(1_508_067, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: PoolSystem NotedChange (r:1 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(3116), added: 5591, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: OraclePriceCollection Collection (r:0 w:1) - /// Proof: OraclePriceCollection Collection (max_values: None, max_size: Some(75042), added: 77517, mode: MaxEncodedLen) + /// Proof: OraclePriceCollection Collection (max_values: None, max_size: Some(7542), added: 10017, mode: MaxEncodedLen) /// Storage: OraclePriceCollection CollectionInfo (r:0 w:1) - /// Proof: OraclePriceCollection CollectionInfo (max_values: None, max_size: Some(6078), added: 8553, mode: MaxEncodedLen) - /// The range of component `n` is `[1, 10]`. + /// Proof: OraclePriceCollection CollectionInfo (max_values: None, max_size: Some(3058), added: 5533, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 5]`. fn apply_update_collection_info(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `658 + n * (34 ±0)` - // Estimated: `9601` - // Minimum execution time: 35_636_000 picoseconds. - Weight::from_parts(35_001_125, 0) - .saturating_add(Weight::from_parts(0, 9601)) - // Standard Error: 5_843 - .saturating_add(Weight::from_parts(1_730_127, 0).saturating_mul(n.into())) + // Measured: `657 + n * (34 ±0)` + // Estimated: `6581` + // Minimum execution time: 34_686_000 picoseconds. + Weight::from_parts(34_127_332, 0) + .saturating_add(Weight::from_parts(0, 6581)) + // Standard Error: 9_263 + .saturating_add(Weight::from_parts(1_611_448, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: OraclePriceCollection Keys (r:11 w:0) + /// Storage: OraclePriceCollection Keys (r:101 w:0) /// Proof: OraclePriceCollection Keys (max_values: None, max_size: Some(95), added: 2570, mode: MaxEncodedLen) /// Storage: OraclePriceCollection CollectionInfo (r:1 w:0) - /// Proof: OraclePriceCollection CollectionInfo (max_values: None, max_size: Some(6078), added: 8553, mode: MaxEncodedLen) - /// Storage: OraclePriceFeed FedValues (r:100 w:0) + /// Proof: OraclePriceCollection CollectionInfo (max_values: None, max_size: Some(3058), added: 5533, mode: MaxEncodedLen) + /// Storage: OraclePriceFeed FedValues (r:500 w:0) /// Proof: OraclePriceFeed FedValues (max_values: None, max_size: Some(711), added: 3186, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) /// Storage: OraclePriceCollection Collection (r:0 w:1) - /// Proof: OraclePriceCollection Collection (max_values: None, max_size: Some(75042), added: 77517, mode: MaxEncodedLen) - /// The range of component `n` is `[1, 10]`. - /// The range of component `m` is `[1, 10]`. + /// Proof: OraclePriceCollection Collection (max_values: None, max_size: Some(7542), added: 10017, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 5]`. + /// The range of component `m` is `[1, 100]`. fn update_collection(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + m * (607 ±0) + n * (663 ±0)` - // Estimated: `32850 + m * (9227 ±363) + n * (9227 ±363)` - // Minimum execution time: 261_336_000 picoseconds. - Weight::from_parts(263_832_000, 0) - .saturating_add(Weight::from_parts(0, 32850)) - // Standard Error: 3_330_840 - .saturating_add(Weight::from_parts(99_886_250, 0).saturating_mul(n.into())) - // Standard Error: 3_330_840 - .saturating_add(Weight::from_parts(62_424_750, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(16)) - .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(m.into()))) + // Measured: `0 + m * (326 ±0) + n * (5851 ±0)` + // Estimated: `16920 + m * (6039 ±164) + n * (100600 ±3_323)` + // Minimum execution time: 162_866_000 picoseconds. + Weight::from_parts(164_109_000, 0) + .saturating_add(Weight::from_parts(0, 16920)) + // Standard Error: 22_002_017 + .saturating_add(Weight::from_parts(697_156_624, 0).saturating_mul(n.into())) + // Standard Error: 1_089_783 + .saturating_add(Weight::from_parts(36_441_120, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().reads((31_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(m.into()))) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 9227).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 9227).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 6039).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 100600).saturating_mul(n.into())) } } diff --git a/runtime/development/src/weights/pallet_oracle_feed.rs b/runtime/development/src/weights/pallet_oracle_feed.rs index f089e1b36a..305a11dbc2 100644 --- a/runtime/development/src/weights/pallet_oracle_feed.rs +++ b/runtime/development/src/weights/pallet_oracle_feed.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_oracle_feed` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -42,8 +42,8 @@ impl pallet_oracle_feed::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `387` // Estimated: `4176` - // Minimum execution time: 68_938_000 picoseconds. - Weight::from_parts(69_710_000, 0) + // Minimum execution time: 64_792_000 picoseconds. + Weight::from_parts(65_763_000, 0) .saturating_add(Weight::from_parts(0, 4176)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -56,8 +56,8 @@ impl pallet_oracle_feed::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `413` // Estimated: `4176` - // Minimum execution time: 23_664_000 picoseconds. - Weight::from_parts(24_145_000, 0) + // Minimum execution time: 22_802_000 picoseconds. + Weight::from_parts(23_564_000, 0) .saturating_add(Weight::from_parts(0, 4176)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/development/src/weights/pallet_order_book.rs b/runtime/development/src/weights/pallet_order_book.rs index c42c79df40..a7abfd1c6e 100644 --- a/runtime/development/src/weights/pallet_order_book.rs +++ b/runtime/development/src/weights/pallet_order_book.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_order_book` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -44,11 +44,11 @@ impl pallet_order_book::WeightInfo for WeightInfo { /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) fn place_order() -> Weight { // Proof Size summary in bytes: - // Measured: `1144` - // Estimated: `4609` - // Minimum execution time: 55_252_000 picoseconds. - Weight::from_parts(56_996_000, 0) - .saturating_add(Weight::from_parts(0, 4609)) + // Measured: `1148` + // Estimated: `4613` + // Minimum execution time: 56_065_000 picoseconds. + Weight::from_parts(57_078_000, 0) + .saturating_add(Weight::from_parts(0, 4613)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -60,11 +60,11 @@ impl pallet_order_book::WeightInfo for WeightInfo { /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) fn update_order() -> Weight { // Proof Size summary in bytes: - // Measured: `1348` - // Estimated: `4813` - // Minimum execution time: 52_858_000 picoseconds. - Weight::from_parts(53_860_000, 0) - .saturating_add(Weight::from_parts(0, 4813)) + // Measured: `1352` + // Estimated: `4817` + // Minimum execution time: 51_137_000 picoseconds. + Weight::from_parts(52_549_000, 0) + .saturating_add(Weight::from_parts(0, 4817)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -78,11 +78,11 @@ impl pallet_order_book::WeightInfo for WeightInfo { /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) fn cancel_order() -> Weight { // Proof Size summary in bytes: - // Measured: `1348` - // Estimated: `4813` - // Minimum execution time: 55_834_000 picoseconds. - Weight::from_parts(56_876_000, 0) - .saturating_add(Weight::from_parts(0, 4813)) + // Measured: `1352` + // Estimated: `4817` + // Minimum execution time: 54_483_000 picoseconds. + Weight::from_parts(55_474_000, 0) + .saturating_add(Weight::from_parts(0, 4817)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -104,10 +104,10 @@ impl pallet_order_book::WeightInfo for WeightInfo { /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) fn fill_order() -> Weight { // Proof Size summary in bytes: - // Measured: `2133` + // Measured: `2137` // Estimated: `11406` - // Minimum execution time: 172_651_000 picoseconds. - Weight::from_parts(175_076_000, 0) + // Minimum execution time: 163_798_000 picoseconds. + Weight::from_parts(167_515_000, 0) .saturating_add(Weight::from_parts(0, 11406)) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(8)) @@ -118,8 +118,8 @@ impl pallet_order_book::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_224_000 picoseconds. - Weight::from_parts(13_576_000, 0) + // Minimum execution time: 12_483_000 picoseconds. + Weight::from_parts(13_014_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/development/src/weights/pallet_permissions.rs b/runtime/development/src/weights/pallet_permissions.rs index 53e2e00072..9f22845b4a 100644 --- a/runtime/development/src/weights/pallet_permissions.rs +++ b/runtime/development/src/weights/pallet_permissions.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_permissions` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -40,8 +40,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3` // Estimated: `3693` - // Minimum execution time: 21_230_000 picoseconds. - Weight::from_parts(22_010_000, 0) + // Minimum execution time: 20_308_000 picoseconds. + Weight::from_parts(21_210_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -55,7 +55,7 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Measured: `162` // Estimated: `6396` // Minimum execution time: 28_213_000 picoseconds. - Weight::from_parts(28_934_000, 0) + Weight::from_parts(28_814_000, 0) .saturating_add(Weight::from_parts(0, 6396)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -68,8 +68,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3693` - // Minimum execution time: 23_995_000 picoseconds. - Weight::from_parts(24_525_000, 0) + // Minimum execution time: 23_554_000 picoseconds. + Weight::from_parts(24_205_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -82,8 +82,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `256` // Estimated: `6396` - // Minimum execution time: 30_357_000 picoseconds. - Weight::from_parts(31_138_000, 0) + // Minimum execution time: 30_557_000 picoseconds. + Weight::from_parts(31_018_000, 0) .saturating_add(Weight::from_parts(0, 6396)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -94,8 +94,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `146` // Estimated: `3693` - // Minimum execution time: 21_059_000 picoseconds. - Weight::from_parts(21_319_000, 0) + // Minimum execution time: 20_549_000 picoseconds. + Weight::from_parts(20_999_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -106,8 +106,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `146` // Estimated: `3693` - // Minimum execution time: 21_691_000 picoseconds. - Weight::from_parts(22_081_000, 0) + // Minimum execution time: 21_009_000 picoseconds. + Weight::from_parts(21_631_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/development/src/weights/pallet_pool_fees.rs b/runtime/development/src/weights/pallet_pool_fees.rs index 11bf89d162..ebd7e24a9c 100644 --- a/runtime/development/src/weights/pallet_pool_fees.rs +++ b/runtime/development/src/weights/pallet_pool_fees.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_pool_fees` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -41,13 +41,13 @@ impl pallet_pool_fees::WeightInfo for WeightInfo { /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: PoolSystem NotedChange (r:0 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(3116), added: 5591, mode: MaxEncodedLen) fn propose_new_fee() -> Weight { // Proof Size summary in bytes: // Measured: `581` // Estimated: `4278` - // Minimum execution time: 43_932_000 picoseconds. - Weight::from_parts(44_613_000, 0) + // Minimum execution time: 42_871_000 picoseconds. + Weight::from_parts(43_642_000, 0) .saturating_add(Weight::from_parts(0, 4278)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -55,7 +55,7 @@ impl pallet_pool_fees::WeightInfo for WeightInfo { /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: PoolSystem NotedChange (r:1 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(3116), added: 5591, mode: MaxEncodedLen) /// Storage: PoolFees FeeIdsToPoolBucket (r:1 w:1) /// Proof: PoolFees FeeIdsToPoolBucket (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) /// Storage: PoolFees FeeIds (r:1 w:1) @@ -67,11 +67,11 @@ impl pallet_pool_fees::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1395 + n * (137 ±0)` // Estimated: `17508` - // Minimum execution time: 55_854_000 picoseconds. - Weight::from_parts(56_615_791, 0) + // Minimum execution time: 54_252_000 picoseconds. + Weight::from_parts(54_430_369, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 2_253 - .saturating_add(Weight::from_parts(283_046, 0).saturating_mul(n.into())) + // Standard Error: 1_919 + .saturating_add(Weight::from_parts(295_209, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -86,11 +86,11 @@ impl pallet_pool_fees::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `709 + n * (136 ±0)` // Estimated: `17508` - // Minimum execution time: 37_941_000 picoseconds. - Weight::from_parts(38_901_543, 0) + // Minimum execution time: 36_939_000 picoseconds. + Weight::from_parts(37_417_528, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 3_547 - .saturating_add(Weight::from_parts(411_039, 0).saturating_mul(n.into())) + // Standard Error: 3_755 + .saturating_add(Weight::from_parts(415_086, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -103,11 +103,11 @@ impl pallet_pool_fees::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `795 + n * (129 ±0)` // Estimated: `17508` - // Minimum execution time: 27_903_000 picoseconds. - Weight::from_parts(27_418_529, 0) + // Minimum execution time: 26_860_000 picoseconds. + Weight::from_parts(26_714_451, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 2_183 - .saturating_add(Weight::from_parts(258_321, 0).saturating_mul(n.into())) + // Standard Error: 1_782 + .saturating_add(Weight::from_parts(266_514, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -120,11 +120,11 @@ impl pallet_pool_fees::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `795 + n * (129 ±0)` // Estimated: `17508` - // Minimum execution time: 27_321_000 picoseconds. - Weight::from_parts(26_957_331, 0) + // Minimum execution time: 26_590_000 picoseconds. + Weight::from_parts(25_909_323, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 2_202 - .saturating_add(Weight::from_parts(255_754, 0).saturating_mul(n.into())) + // Standard Error: 2_074 + .saturating_add(Weight::from_parts(264_449, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -143,11 +143,11 @@ impl pallet_pool_fees::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `603 + n * (124 ±0)` // Estimated: `17508` - // Minimum execution time: 50_154_000 picoseconds. - Weight::from_parts(43_703_169, 0) + // Minimum execution time: 48_390_000 picoseconds. + Weight::from_parts(41_924_329, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 4_174 - .saturating_add(Weight::from_parts(6_361_126, 0).saturating_mul(n.into())) + // Standard Error: 5_097 + .saturating_add(Weight::from_parts(6_031_986, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/development/src/weights/pallet_pool_registry.rs b/runtime/development/src/weights/pallet_pool_registry.rs index 7e794bb5ae..7e7a0934f9 100644 --- a/runtime/development/src/weights/pallet_pool_registry.rs +++ b/runtime/development/src/weights/pallet_pool_registry.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_pool_registry` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -66,11 +66,11 @@ impl pallet_pool_registry::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `757 + n * (5 ±0)` // Estimated: `17508 + m * (2508 ±0) + n * (2479 ±0)` - // Minimum execution time: 209_801_000 picoseconds. - Weight::from_parts(96_931_652, 0) + // Minimum execution time: 199_996_000 picoseconds. + Weight::from_parts(80_455_940, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 81_724 - .saturating_add(Weight::from_parts(28_411_905, 0).saturating_mul(m.into())) + // Standard Error: 89_402 + .saturating_add(Weight::from_parts(27_223_509, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into()))) @@ -90,22 +90,24 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Investments ActiveRedeemOrders (r:5 w:0) /// Proof: Investments ActiveRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:0) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) /// Storage: PoolSystem ScheduledUpdate (r:0 w:1) /// Proof: PoolSystem ScheduledUpdate (max_values: None, max_size: Some(1019), added: 3494, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. /// The range of component `m` is `[0, 100]`. fn update_no_execution(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `786 + n * (133 ±0)` - // Estimated: `4278 + n * (2531 ±0)` - // Minimum execution time: 53_269_000 picoseconds. - Weight::from_parts(48_031_199, 0) - .saturating_add(Weight::from_parts(0, 4278)) - // Standard Error: 17_336 - .saturating_add(Weight::from_parts(2_944_622, 0).saturating_mul(n.into())) - // Standard Error: 791 - .saturating_add(Weight::from_parts(35_599, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Measured: `957 + m * (124 ±0) + n * (133 ±0)` + // Estimated: `17508 + n * (2531 ±0)` + // Minimum execution time: 64_161_000 picoseconds. + Weight::from_parts(57_081_855, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 38_438 + .saturating_add(Weight::from_parts(2_932_779, 0).saturating_mul(n.into())) + // Standard Error: 1_754 + .saturating_add(Weight::from_parts(216_729, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 2531).saturating_mul(n.into())) @@ -122,24 +124,27 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Proof: Investments ActiveRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) /// Storage: OrmlAssetRegistry Metadata (r:2 w:1) /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: PoolFees ActiveFees (r:1 w:0) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) /// Storage: PoolSystem ScheduledUpdate (r:0 w:1) /// Proof: PoolSystem ScheduledUpdate (max_values: None, max_size: Some(1019), added: 3494, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. /// The range of component `m` is `[0, 100]`. fn update_and_execute(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1007 + n * (155 ±0)` - // Estimated: `6955 + n * (2531 ±0)` - // Minimum execution time: 94_846_000 picoseconds. - Weight::from_parts(81_495_524, 0) - .saturating_add(Weight::from_parts(0, 6955)) - // Standard Error: 18_403 - .saturating_add(Weight::from_parts(10_556_441, 0).saturating_mul(n.into())) - // Standard Error: 839 - .saturating_add(Weight::from_parts(55_783, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(6)) + // Measured: `1178 + m * (124 ±0) + n * (155 ±0)` + // Estimated: `17508 + m * (124 ±0) + n * (2531 ±0)` + // Minimum execution time: 118_332_000 picoseconds. + Weight::from_parts(87_721_649, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 40_220 + .saturating_add(Weight::from_parts(10_041_182, 0).saturating_mul(n.into())) + // Standard Error: 1_835 + .saturating_add(Weight::from_parts(227_595, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 124).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 2531).saturating_mul(n.into())) } /// Storage: PoolSystem Pool (r:1 w:1) @@ -154,22 +159,25 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Proof: Investments ActiveRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) /// Storage: OrmlAssetRegistry Metadata (r:2 w:1) /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: PoolFees ActiveFees (r:1 w:0) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. /// The range of component `m` is `[0, 100]`. fn execute_update(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `997 + n * (181 ±0)` - // Estimated: `6945 + n * (2531 ±0)` - // Minimum execution time: 80_760_000 picoseconds. - Weight::from_parts(68_698_831, 0) - .saturating_add(Weight::from_parts(0, 6945)) - // Standard Error: 29_813 - .saturating_add(Weight::from_parts(10_729_676, 0).saturating_mul(n.into())) - // Standard Error: 1_360 - .saturating_add(Weight::from_parts(36_162, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(6)) + // Measured: `1169 + m * (124 ±0) + n * (181 ±0)` + // Estimated: `17508 + m * (124 ±0) + n * (2531 ±0)` + // Minimum execution time: 105_027_000 picoseconds. + Weight::from_parts(74_405_248, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 38_428 + .saturating_add(Weight::from_parts(10_332_690, 0).saturating_mul(n.into())) + // Standard Error: 1_753 + .saturating_add(Weight::from_parts(225_564, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 124).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 2531).saturating_mul(n.into())) } /// Storage: Permissions Permission (r:1 w:0) @@ -182,13 +190,13 @@ impl pallet_pool_registry::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `146` // Estimated: `3693` - // Minimum execution time: 22_382_000 picoseconds. - Weight::from_parts(23_216_875, 0) + // Minimum execution time: 22_473_000 picoseconds. + Weight::from_parts(22_771_703, 0) .saturating_add(Weight::from_parts(0, 3693)) - // Standard Error: 753 - .saturating_add(Weight::from_parts(8_419, 0).saturating_mul(n.into())) - // Standard Error: 350 - .saturating_add(Weight::from_parts(24_401, 0).saturating_mul(m.into())) + // Standard Error: 687 + .saturating_add(Weight::from_parts(11_218, 0).saturating_mul(n.into())) + // Standard Error: 319 + .saturating_add(Weight::from_parts(28_624, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/development/src/weights/pallet_pool_system.rs b/runtime/development/src/weights/pallet_pool_system.rs index bddb83ee09..71093e4310 100644 --- a/runtime/development/src/weights/pallet_pool_system.rs +++ b/runtime/development/src/weights/pallet_pool_system.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_pool_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -41,11 +41,11 @@ impl pallet_pool_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `592` // Estimated: `4278` - // Minimum execution time: 28_493_000 picoseconds. - Weight::from_parts(29_295_935, 0) + // Minimum execution time: 28_233_000 picoseconds. + Weight::from_parts(28_951_685, 0) .saturating_add(Weight::from_parts(0, 4278)) - // Standard Error: 374 - .saturating_add(Weight::from_parts(31_418, 0).saturating_mul(m.into())) + // Standard Error: 408 + .saturating_add(Weight::from_parts(28_142, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -89,13 +89,13 @@ impl pallet_pool_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1425 + m * (124 ±0) + n * (175 ±0)` // Estimated: `27515 + n * (2604 ±0)` - // Minimum execution time: 524_366_000 picoseconds. - Weight::from_parts(82_175_515, 0) + // Minimum execution time: 488_026_000 picoseconds. + Weight::from_parts(85_726_776, 0) .saturating_add(Weight::from_parts(0, 27515)) - // Standard Error: 138_179 - .saturating_add(Weight::from_parts(86_172_489, 0).saturating_mul(n.into())) - // Standard Error: 6_381 - .saturating_add(Weight::from_parts(6_837_799, 0).saturating_mul(m.into())) + // Standard Error: 167_057 + .saturating_add(Weight::from_parts(80_462_577, 0).saturating_mul(n.into())) + // Standard Error: 7_715 + .saturating_add(Weight::from_parts(6_333_393, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((8_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -136,13 +136,13 @@ impl pallet_pool_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1276 + m * (124 ±0) + n * (133 ±0)` // Estimated: `27515 + n * (2531 ±0)` - // Minimum execution time: 258_811_000 picoseconds. - Weight::from_parts(93_532_289, 0) + // Minimum execution time: 247_905_000 picoseconds. + Weight::from_parts(89_711_306, 0) .saturating_add(Weight::from_parts(0, 27515)) - // Standard Error: 111_864 - .saturating_add(Weight::from_parts(33_853_289, 0).saturating_mul(n.into())) - // Standard Error: 5_104 - .saturating_add(Weight::from_parts(6_601_745, 0).saturating_mul(m.into())) + // Standard Error: 122_857 + .saturating_add(Weight::from_parts(32_966_523, 0).saturating_mul(n.into())) + // Standard Error: 5_606 + .saturating_add(Weight::from_parts(6_104_967, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(5)) @@ -193,13 +193,13 @@ impl pallet_pool_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2462 + m * (124 ±0) + n * (197 ±0)` // Estimated: `27515 + m * (124 ±0) + n * (2604 ±0)` - // Minimum execution time: 634_792_000 picoseconds. - Weight::from_parts(214_475_514, 0) + // Minimum execution time: 599_265_000 picoseconds. + Weight::from_parts(196_920_651, 0) .saturating_add(Weight::from_parts(0, 27515)) - // Standard Error: 158_104 - .saturating_add(Weight::from_parts(86_629_363, 0).saturating_mul(n.into())) - // Standard Error: 7_215 - .saturating_add(Weight::from_parts(6_790_515, 0).saturating_mul(m.into())) + // Standard Error: 174_251 + .saturating_add(Weight::from_parts(83_251_293, 0).saturating_mul(n.into())) + // Standard Error: 7_951 + .saturating_add(Weight::from_parts(6_318_897, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().reads((8_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(10)) @@ -219,13 +219,13 @@ impl pallet_pool_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `821 + m * (124 ±0) + n * (249 ±0)` // Estimated: `17508` - // Minimum execution time: 42_369_000 picoseconds. - Weight::from_parts(37_122_780, 0) + // Minimum execution time: 41_467_000 picoseconds. + Weight::from_parts(36_167_525, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 33_630 - .saturating_add(Weight::from_parts(1_543_894, 0).saturating_mul(n.into())) - // Standard Error: 1_534 - .saturating_add(Weight::from_parts(199_535, 0).saturating_mul(m.into())) + // Standard Error: 32_450 + .saturating_add(Weight::from_parts(1_545_250, 0).saturating_mul(n.into())) + // Standard Error: 1_480 + .saturating_add(Weight::from_parts(202_119, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -267,13 +267,13 @@ impl pallet_pool_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2359 + m * (124 ±0) + n * (671 ±0)` // Estimated: `17508 + m * (124 ±0) + n * (2604 ±0)` - // Minimum execution time: 264_012_000 picoseconds. - Weight::from_parts(165_396_115, 0) + // Minimum execution time: 255_491_000 picoseconds. + Weight::from_parts(159_932_357, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 107_102 - .saturating_add(Weight::from_parts(63_850_944, 0).saturating_mul(n.into())) - // Standard Error: 4_887 - .saturating_add(Weight::from_parts(402_149, 0).saturating_mul(m.into())) + // Standard Error: 116_803 + .saturating_add(Weight::from_parts(61_351_628, 0).saturating_mul(n.into())) + // Standard Error: 5_330 + .saturating_add(Weight::from_parts(392_140, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(9)) diff --git a/runtime/development/src/weights/pallet_preimage.rs b/runtime/development/src/weights/pallet_preimage.rs index 1d78590f40..46e2b7175d 100644 --- a/runtime/development/src/weights/pallet_preimage.rs +++ b/runtime/development/src/weights/pallet_preimage.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -41,11 +41,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 44_133_000 picoseconds. - Weight::from_parts(352_252_290, 0) + // Minimum execution time: 41_548_000 picoseconds. + Weight::from_parts(547_954_960, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 16 - .saturating_add(Weight::from_parts(1_986, 0).saturating_mul(s.into())) + // Standard Error: 17 + .saturating_add(Weight::from_parts(2_012, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -58,11 +58,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 23_965_000 picoseconds. - Weight::from_parts(40_406_052, 0) + // Minimum execution time: 22_382_000 picoseconds. + Weight::from_parts(22_813_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 7 - .saturating_add(Weight::from_parts(2_624, 0).saturating_mul(s.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(2_665, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -75,11 +75,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 22_642_000 picoseconds. - Weight::from_parts(25_814_301, 0) + // Minimum execution time: 21_560_000 picoseconds. + Weight::from_parts(59_253_289, 0) .saturating_add(Weight::from_parts(0, 3556)) // Standard Error: 8 - .saturating_add(Weight::from_parts(2_613, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(2_620, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -91,8 +91,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `324` // Estimated: `3556` - // Minimum execution time: 49_272_000 picoseconds. - Weight::from_parts(50_133_000, 0) + // Minimum execution time: 47_720_000 picoseconds. + Weight::from_parts(50_585_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -105,8 +105,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 27_181_000 picoseconds. - Weight::from_parts(27_611_000, 0) + // Minimum execution time: 27_011_000 picoseconds. + Weight::from_parts(31_429_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -117,8 +117,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `222` // Estimated: `3556` - // Minimum execution time: 23_644_000 picoseconds. - Weight::from_parts(24_395_000, 0) + // Minimum execution time: 23_394_000 picoseconds. + Weight::from_parts(28_213_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -129,8 +129,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 13_224_000 picoseconds. - Weight::from_parts(13_866_000, 0) + // Minimum execution time: 13_114_000 picoseconds. + Weight::from_parts(14_517_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -141,8 +141,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3556` - // Minimum execution time: 19_727_000 picoseconds. - Weight::from_parts(20_398_000, 0) + // Minimum execution time: 19_617_000 picoseconds. + Weight::from_parts(20_849_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -153,8 +153,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 11_982_000 picoseconds. - Weight::from_parts(12_313_000, 0) + // Minimum execution time: 11_482_000 picoseconds. + Weight::from_parts(11_903_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -167,8 +167,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 24_736_000 picoseconds. - Weight::from_parts(25_778_000, 0) + // Minimum execution time: 26_269_000 picoseconds. + Weight::from_parts(30_888_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -179,8 +179,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 11_521_000 picoseconds. - Weight::from_parts(12_063_000, 0) + // Minimum execution time: 11_612_000 picoseconds. + Weight::from_parts(12_053_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -191,8 +191,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 11_872_000 picoseconds. - Weight::from_parts(12_272_000, 0) + // Minimum execution time: 11_431_000 picoseconds. + Weight::from_parts(11_793_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/development/src/weights/pallet_proxy.rs b/runtime/development/src/weights/pallet_proxy.rs index ebb05ec369..63d6da424a 100644 --- a/runtime/development/src/weights/pallet_proxy.rs +++ b/runtime/development/src/weights/pallet_proxy.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -39,11 +39,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 22_652_000 picoseconds. - Weight::from_parts(23_577_071, 0) + // Minimum execution time: 22_021_000 picoseconds. + Weight::from_parts(22_864_348, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_265 - .saturating_add(Weight::from_parts(45_247, 0).saturating_mul(p.into())) + // Standard Error: 1_185 + .saturating_add(Weight::from_parts(52_255, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: Proxy Proxies (r:1 w:0) @@ -58,13 +58,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `620 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 54_591_000 picoseconds. - Weight::from_parts(54_396_127, 0) + // Minimum execution time: 51_607_000 picoseconds. + Weight::from_parts(51_796_899, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 2_355 - .saturating_add(Weight::from_parts(249_894, 0).saturating_mul(a.into())) - // Standard Error: 2_434 - .saturating_add(Weight::from_parts(48_633, 0).saturating_mul(p.into())) + // Standard Error: 2_325 + .saturating_add(Weight::from_parts(230_433, 0).saturating_mul(a.into())) + // Standard Error: 2_402 + .saturating_add(Weight::from_parts(35_401, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -78,11 +78,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `535 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 34_865_000 picoseconds. - Weight::from_parts(36_088_782, 0) + // Minimum execution time: 33_192_000 picoseconds. + Weight::from_parts(34_247_959, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 1_897 - .saturating_add(Weight::from_parts(230_257, 0).saturating_mul(a.into())) + // Standard Error: 2_051 + .saturating_add(Weight::from_parts(211_748, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -96,11 +96,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `535 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 34_895_000 picoseconds. - Weight::from_parts(36_192_784, 0) + // Minimum execution time: 32_881_000 picoseconds. + Weight::from_parts(34_081_692, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 2_087 - .saturating_add(Weight::from_parts(232_177, 0).saturating_mul(a.into())) + // Standard Error: 2_117 + .saturating_add(Weight::from_parts(214_356, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -116,13 +116,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `552 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 49_322_000 picoseconds. - Weight::from_parts(49_237_035, 0) + // Minimum execution time: 45_746_000 picoseconds. + Weight::from_parts(46_034_362, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 2_045 - .saturating_add(Weight::from_parts(232_388, 0).saturating_mul(a.into())) - // Standard Error: 2_113 - .saturating_add(Weight::from_parts(31_220, 0).saturating_mul(p.into())) + // Standard Error: 1_789 + .saturating_add(Weight::from_parts(224_944, 0).saturating_mul(a.into())) + // Standard Error: 1_849 + .saturating_add(Weight::from_parts(31_655, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -133,11 +133,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 37_129_000 picoseconds. - Weight::from_parts(38_118_311, 0) + // Minimum execution time: 34_856_000 picoseconds. + Weight::from_parts(35_665_629, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_274 - .saturating_add(Weight::from_parts(48_661, 0).saturating_mul(p.into())) + // Standard Error: 1_181 + .saturating_add(Weight::from_parts(42_996, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -148,11 +148,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 37_460_000 picoseconds. - Weight::from_parts(38_527_212, 0) + // Minimum execution time: 34_365_000 picoseconds. + Weight::from_parts(36_021_565, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 2_474 - .saturating_add(Weight::from_parts(54_416, 0).saturating_mul(p.into())) + // Standard Error: 2_305 + .saturating_add(Weight::from_parts(42_028, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -163,11 +163,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 32_842_000 picoseconds. - Weight::from_parts(33_993_723, 0) + // Minimum execution time: 31_048_000 picoseconds. + Weight::from_parts(31_959_271, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_214 - .saturating_add(Weight::from_parts(41_015, 0).saturating_mul(p.into())) + // Standard Error: 1_370 + .saturating_add(Weight::from_parts(41_038, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -178,11 +178,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `305` // Estimated: `4706` - // Minimum execution time: 40_154_000 picoseconds. - Weight::from_parts(41_297_670, 0) + // Minimum execution time: 38_021_000 picoseconds. + Weight::from_parts(39_065_754, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_369 - .saturating_add(Weight::from_parts(13_349, 0).saturating_mul(p.into())) + // Standard Error: 1_468 + .saturating_add(Weight::from_parts(17_337, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -193,11 +193,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `330 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 34_293_000 picoseconds. - Weight::from_parts(35_261_582, 0) + // Minimum execution time: 32_300_000 picoseconds. + Weight::from_parts(33_718_715, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_454 - .saturating_add(Weight::from_parts(50_459, 0).saturating_mul(p.into())) + // Standard Error: 1_720 + .saturating_add(Weight::from_parts(29_996, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/development/src/weights/pallet_remarks.rs b/runtime/development/src/weights/pallet_remarks.rs index 43a0e1f6be..db89aba8fe 100644 --- a/runtime/development/src/weights/pallet_remarks.rs +++ b/runtime/development/src/weights/pallet_remarks.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_remarks` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -37,10 +37,10 @@ impl pallet_remarks::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 17_081_000 picoseconds. - Weight::from_parts(17_728_430, 0) + // Minimum execution time: 16_872_000 picoseconds. + Weight::from_parts(17_442_789, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_270 - .saturating_add(Weight::from_parts(106_708, 0).saturating_mul(n.into())) + // Standard Error: 2_718 + .saturating_add(Weight::from_parts(120_160, 0).saturating_mul(n.into())) } } diff --git a/runtime/development/src/weights/pallet_restricted_tokens.rs b/runtime/development/src/weights/pallet_restricted_tokens.rs index 96218ddfa0..cc29d05c60 100644 --- a/runtime/development/src/weights/pallet_restricted_tokens.rs +++ b/runtime/development/src/weights/pallet_restricted_tokens.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_restricted_tokens` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -40,8 +40,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `505` // Estimated: `6124` - // Minimum execution time: 98_905_000 picoseconds. - Weight::from_parts(99_916_000, 0) + // Minimum execution time: 93_275_000 picoseconds. + Weight::from_parts(94_888_000, 0) .saturating_add(Weight::from_parts(0, 6124)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -58,8 +58,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `1507` // Estimated: `6198` - // Minimum execution time: 87_954_000 picoseconds. - Weight::from_parts(89_547_000, 0) + // Minimum execution time: 86_031_000 picoseconds. + Weight::from_parts(87_334_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) @@ -72,8 +72,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `505` // Estimated: `6124` - // Minimum execution time: 85_459_000 picoseconds. - Weight::from_parts(86_741_000, 0) + // Minimum execution time: 80_842_000 picoseconds. + Weight::from_parts(81_703_000, 0) .saturating_add(Weight::from_parts(0, 6124)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -90,8 +90,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `1404` // Estimated: `6198` - // Minimum execution time: 83_996_000 picoseconds. - Weight::from_parts(85_328_000, 0) + // Minimum execution time: 81_634_000 picoseconds. + Weight::from_parts(82_725_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) @@ -104,8 +104,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `505` // Estimated: `6124` - // Minimum execution time: 103_192_000 picoseconds. - Weight::from_parts(104_905_000, 0) + // Minimum execution time: 96_992_000 picoseconds. + Weight::from_parts(98_805_000, 0) .saturating_add(Weight::from_parts(0, 6124)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -122,8 +122,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `1507` // Estimated: `6198` - // Minimum execution time: 92_902_000 picoseconds. - Weight::from_parts(94_576_000, 0) + // Minimum execution time: 90_630_000 picoseconds. + Weight::from_parts(91_722_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) @@ -134,8 +134,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `259` // Estimated: `3593` - // Minimum execution time: 89_977_000 picoseconds. - Weight::from_parts(91_029_000, 0) + // Minimum execution time: 85_660_000 picoseconds. + Weight::from_parts(86_452_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -150,8 +150,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `1261` // Estimated: `6198` - // Minimum execution time: 79_859_000 picoseconds. - Weight::from_parts(81_171_000, 0) + // Minimum execution time: 77_095_000 picoseconds. + Weight::from_parts(78_347_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -164,8 +164,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `298` // Estimated: `3674` - // Minimum execution time: 181_849_000 picoseconds. - Weight::from_parts(183_362_000, 0) + // Minimum execution time: 169_979_000 picoseconds. + Weight::from_parts(171_382_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -180,8 +180,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `1000` // Estimated: `4465` - // Minimum execution time: 125_043_000 picoseconds. - Weight::from_parts(126_285_000, 0) + // Minimum execution time: 118_192_000 picoseconds. + Weight::from_parts(119_845_000, 0) .saturating_add(Weight::from_parts(0, 4465)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtime/development/src/weights/pallet_scheduler.rs b/runtime/development/src/weights/pallet_scheduler.rs index fd69719e04..6470dd3235 100644 --- a/runtime/development/src/weights/pallet_scheduler.rs +++ b/runtime/development/src/weights/pallet_scheduler.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -38,8 +38,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `31` // Estimated: `1489` - // Minimum execution time: 5_109_000 picoseconds. - Weight::from_parts(5_310_000, 0) + // Minimum execution time: 4_890_000 picoseconds. + Weight::from_parts(5_160_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -51,11 +51,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 5_079_000 picoseconds. - Weight::from_parts(7_655_172, 0) + // Minimum execution time: 4_869_000 picoseconds. + Weight::from_parts(7_401_777, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_651 - .saturating_add(Weight::from_parts(1_063_128, 0).saturating_mul(s.into())) + // Standard Error: 3_942 + .saturating_add(Weight::from_parts(1_180_604, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -63,8 +63,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_917_000 picoseconds. - Weight::from_parts(9_097_000, 0) + // Minimum execution time: 8_465_000 picoseconds. + Weight::from_parts(8_646_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Preimage PreimageFor (r:1 w:1) @@ -76,11 +76,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `213 + s * (1 ±0)` // Estimated: `3678 + s * (1 ±0)` - // Minimum execution time: 29_755_000 picoseconds. - Weight::from_parts(30_176_000, 0) + // Minimum execution time: 28_544_000 picoseconds. + Weight::from_parts(52_629_661, 0) .saturating_add(Weight::from_parts(0, 3678)) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_053, 0).saturating_mul(s.into())) + // Standard Error: 8 + .saturating_add(Weight::from_parts(1_037, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) @@ -91,8 +91,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_451_000 picoseconds. - Weight::from_parts(11_632_000, 0) + // Minimum execution time: 10_439_000 picoseconds. + Weight::from_parts(10_840_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -100,24 +100,24 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_887_000 picoseconds. - Weight::from_parts(9_217_000, 0) + // Minimum execution time: 8_456_000 picoseconds. + Weight::from_parts(8_747_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_518_000 picoseconds. - Weight::from_parts(4_688_000, 0) + // Minimum execution time: 4_448_000 picoseconds. + Weight::from_parts(4_699_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_408_000 picoseconds. - Weight::from_parts(4_658_000, 0) + // Minimum execution time: 4_288_000 picoseconds. + Weight::from_parts(4_559_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Scheduler Agenda (r:1 w:1) @@ -127,11 +127,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 19_627_000 picoseconds. - Weight::from_parts(22_247_077, 0) + // Minimum execution time: 19_115_000 picoseconds. + Weight::from_parts(21_727_436, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_595 - .saturating_add(Weight::from_parts(1_066_092, 0).saturating_mul(s.into())) + // Standard Error: 3_706 + .saturating_add(Weight::from_parts(1_182_303, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -144,11 +144,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 25_859_000 picoseconds. - Weight::from_parts(23_283_254, 0) + // Minimum execution time: 25_217_000 picoseconds. + Weight::from_parts(21_904_236, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 4_855 - .saturating_add(Weight::from_parts(1_917_112, 0).saturating_mul(s.into())) + // Standard Error: 5_129 + .saturating_add(Weight::from_parts(2_160_535, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -161,11 +161,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `255 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 24_676_000 picoseconds. - Weight::from_parts(28_369_508, 0) + // Minimum execution time: 23_675_000 picoseconds. + Weight::from_parts(27_184_135, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_761 - .saturating_add(Weight::from_parts(1_091_809, 0).saturating_mul(s.into())) + // Standard Error: 4_101 + .saturating_add(Weight::from_parts(1_211_083, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -178,11 +178,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `281 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 27_351_000 picoseconds. - Weight::from_parts(25_570_864, 0) + // Minimum execution time: 26_840_000 picoseconds. + Weight::from_parts(24_464_029, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 4_788 - .saturating_add(Weight::from_parts(1_936_368, 0).saturating_mul(s.into())) + // Standard Error: 4_805 + .saturating_add(Weight::from_parts(2_194_904, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/development/src/weights/pallet_session.rs b/runtime/development/src/weights/pallet_session.rs index 8384b1066b..270db5fca0 100644 --- a/runtime/development/src/weights/pallet_session.rs +++ b/runtime/development/src/weights/pallet_session.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -40,8 +40,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `308` // Estimated: `3773` - // Minimum execution time: 27_611_000 picoseconds. - Weight::from_parts(28_573_000, 0) + // Minimum execution time: 26_599_000 picoseconds. + Weight::from_parts(27_121_000, 0) .saturating_add(Weight::from_parts(0, 3773)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -54,8 +54,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 18_644_000 picoseconds. - Weight::from_parts(18_915_000, 0) + // Minimum execution time: 17_763_000 picoseconds. + Weight::from_parts(18_334_000, 0) .saturating_add(Weight::from_parts(0, 3780)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtime/development/src/weights/pallet_timestamp.rs b/runtime/development/src/weights/pallet_timestamp.rs index 4fcf33d04a..df4b27dcae 100644 --- a/runtime/development/src/weights/pallet_timestamp.rs +++ b/runtime/development/src/weights/pallet_timestamp.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -40,8 +40,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `256` // Estimated: `1493` - // Minimum execution time: 13_194_000 picoseconds. - Weight::from_parts(13_576_000, 0) + // Minimum execution time: 12_534_000 picoseconds. + Weight::from_parts(12_884_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -50,8 +50,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `128` // Estimated: `0` - // Minimum execution time: 5_450_000 picoseconds. - Weight::from_parts(5_601_000, 0) + // Minimum execution time: 5_220_000 picoseconds. + Weight::from_parts(5_310_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtime/development/src/weights/pallet_token_mux.rs b/runtime/development/src/weights/pallet_token_mux.rs index ea00f23d80..cdfacd2ca9 100644 --- a/runtime/development/src/weights/pallet_token_mux.rs +++ b/runtime/development/src/weights/pallet_token_mux.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_token_mux` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -44,8 +44,8 @@ impl pallet_token_mux::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1357` // Estimated: `8802` - // Minimum execution time: 126_054_000 picoseconds. - Weight::from_parts(127_257_000, 0) + // Minimum execution time: 119_644_000 picoseconds. + Weight::from_parts(120_776_000, 0) .saturating_add(Weight::from_parts(0, 8802)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) @@ -62,8 +62,8 @@ impl pallet_token_mux::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1567` // Estimated: `8802` - // Minimum execution time: 111_337_000 picoseconds. - Weight::from_parts(113_000_000, 0) + // Minimum execution time: 105_257_000 picoseconds. + Weight::from_parts(106_230_000, 0) .saturating_add(Weight::from_parts(0, 8802)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) @@ -86,8 +86,8 @@ impl pallet_token_mux::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1993` // Estimated: `11406` - // Minimum execution time: 221_883_000 picoseconds. - Weight::from_parts(223_416_000, 0) + // Minimum execution time: 207_028_000 picoseconds. + Weight::from_parts(209_022_000, 0) .saturating_add(Weight::from_parts(0, 11406)) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(9)) diff --git a/runtime/development/src/weights/pallet_transfer_allowlist.rs b/runtime/development/src/weights/pallet_transfer_allowlist.rs index a5a9cc1816..218946cd5f 100644 --- a/runtime/development/src/weights/pallet_transfer_allowlist.rs +++ b/runtime/development/src/weights/pallet_transfer_allowlist.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_transfer_allowlist` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -46,8 +46,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `603` // Estimated: `3674` - // Minimum execution time: 93_193_000 picoseconds. - Weight::from_parts(94_386_000, 0) + // Minimum execution time: 85_090_000 picoseconds. + Weight::from_parts(85_961_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -66,8 +66,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `697` // Estimated: `3674` - // Minimum execution time: 96_410_000 picoseconds. - Weight::from_parts(97_892_000, 0) + // Minimum execution time: 87_604_000 picoseconds. + Weight::from_parts(89_237_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -78,8 +78,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `246` // Estimated: `3557` - // Minimum execution time: 19_677_000 picoseconds. - Weight::from_parts(20_949_000, 0) + // Minimum execution time: 19_227_000 picoseconds. + Weight::from_parts(19_547_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -90,8 +90,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `370` // Estimated: `3557` - // Minimum execution time: 22_773_000 picoseconds. - Weight::from_parts(23_183_000, 0) + // Minimum execution time: 21_681_000 picoseconds. + Weight::from_parts(22_151_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -102,8 +102,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `340` // Estimated: `3557` - // Minimum execution time: 23_344_000 picoseconds. - Weight::from_parts(23_984_000, 0) + // Minimum execution time: 21_551_000 picoseconds. + Weight::from_parts(21_971_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -114,8 +114,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `344` // Estimated: `3557` - // Minimum execution time: 23_052_000 picoseconds. - Weight::from_parts(23_764_000, 0) + // Minimum execution time: 21_591_000 picoseconds. + Weight::from_parts(22_161_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -126,8 +126,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `344` // Estimated: `3557` - // Minimum execution time: 22_842_000 picoseconds. - Weight::from_parts(23_453_000, 0) + // Minimum execution time: 21_440_000 picoseconds. + Weight::from_parts(21_971_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -138,8 +138,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `378` // Estimated: `3557` - // Minimum execution time: 24_004_000 picoseconds. - Weight::from_parts(24_325_000, 0) + // Minimum execution time: 22_642_000 picoseconds. + Weight::from_parts(23_174_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -152,8 +152,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `473` // Estimated: `3597` - // Minimum execution time: 34_945_000 picoseconds. - Weight::from_parts(35_747_000, 0) + // Minimum execution time: 32_411_000 picoseconds. + Weight::from_parts(33_603_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -166,8 +166,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `469` // Estimated: `3597` - // Minimum execution time: 35_065_000 picoseconds. - Weight::from_parts(35_907_000, 0) + // Minimum execution time: 32_952_000 picoseconds. + Weight::from_parts(33_864_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -186,8 +186,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `879` // Estimated: `3674` - // Minimum execution time: 86_090_000 picoseconds. - Weight::from_parts(87_112_000, 0) + // Minimum execution time: 79_720_000 picoseconds. + Weight::from_parts(81_352_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -206,8 +206,8 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `918` // Estimated: `3674` - // Minimum execution time: 85_229_000 picoseconds. - Weight::from_parts(86_992_000, 0) + // Minimum execution time: 79_259_000 picoseconds. + Weight::from_parts(80_852_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) diff --git a/runtime/development/src/weights/pallet_treasury.rs b/runtime/development/src/weights/pallet_treasury.rs index 6ec4abf4d3..568a17761e 100644 --- a/runtime/development/src/weights/pallet_treasury.rs +++ b/runtime/development/src/weights/pallet_treasury.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -36,8 +36,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 360_000 picoseconds. - Weight::from_parts(411_000, 0) + // Minimum execution time: 370_000 picoseconds. + Weight::from_parts(441_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Treasury ProposalCount (r:1 w:1) @@ -48,8 +48,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `1489` - // Minimum execution time: 40_435_000 picoseconds. - Weight::from_parts(41_277_000, 0) + // Minimum execution time: 38_322_000 picoseconds. + Weight::from_parts(38_943_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -62,8 +62,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `405` // Estimated: `6196` - // Minimum execution time: 64_039_000 picoseconds. - Weight::from_parts(65_121_000, 0) + // Minimum execution time: 60_043_000 picoseconds. + Weight::from_parts(60_774_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -77,11 +77,11 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `470 + p * (8 ±0)` // Estimated: `3573` - // Minimum execution time: 13_024_000 picoseconds. - Weight::from_parts(16_088_705, 0) + // Minimum execution time: 13_426_000 picoseconds. + Weight::from_parts(15_919_766, 0) .saturating_add(Weight::from_parts(0, 3573)) - // Standard Error: 1_164 - .saturating_add(Weight::from_parts(49_176, 0).saturating_mul(p.into())) + // Standard Error: 986 + .saturating_add(Weight::from_parts(53_350, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -91,8 +91,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `127` // Estimated: `1887` - // Minimum execution time: 10_189_000 picoseconds. - Weight::from_parts(10_479_000, 0) + // Minimum execution time: 10_179_000 picoseconds. + Weight::from_parts(10_440_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -110,11 +110,11 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `230 + p * (120 ±0)` // Estimated: `3593 + p * (2583 ±0)` - // Minimum execution time: 43_140_000 picoseconds. - Weight::from_parts(38_774_079, 0) + // Minimum execution time: 41_167_000 picoseconds. + Weight::from_parts(35_902_776, 0) .saturating_add(Weight::from_parts(0, 3593)) - // Standard Error: 7_681 - .saturating_add(Weight::from_parts(3_927_547, 0).saturating_mul(p.into())) + // Standard Error: 7_436 + .saturating_add(Weight::from_parts(3_813_591, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtime/development/src/weights/pallet_uniques.rs b/runtime/development/src/weights/pallet_uniques.rs index 1203bfcd28..60aa2c77ce 100644 --- a/runtime/development/src/weights/pallet_uniques.rs +++ b/runtime/development/src/weights/pallet_uniques.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_uniques` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -40,8 +40,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `282` // Estimated: `3647` - // Minimum execution time: 44_052_000 picoseconds. - Weight::from_parts(45_154_000, 0) + // Minimum execution time: 41_568_000 picoseconds. + Weight::from_parts(42_650_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -54,8 +54,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3647` - // Minimum execution time: 21_220_000 picoseconds. - Weight::from_parts(21_750_000, 0) + // Minimum execution time: 20_178_000 picoseconds. + Weight::from_parts(20_719_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -83,15 +83,15 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `544 + a * (346 ±0) + m * (69 ±0) + n * (88 ±0)` // Estimated: `3647 + a * (3080 ±0) + m * (2806 ±0) + n * (2613 ±0)` - // Minimum execution time: 2_991_530_000 picoseconds. - Weight::from_parts(3_007_038_000, 0) + // Minimum execution time: 2_994_634_000 picoseconds. + Weight::from_parts(3_046_591_000, 0) .saturating_add(Weight::from_parts(0, 3647)) - // Standard Error: 27_666 - .saturating_add(Weight::from_parts(10_095_742, 0).saturating_mul(n.into())) - // Standard Error: 27_666 - .saturating_add(Weight::from_parts(228_760, 0).saturating_mul(m.into())) - // Standard Error: 27_666 - .saturating_add(Weight::from_parts(472_746, 0).saturating_mul(a.into())) + // Standard Error: 29_715 + .saturating_add(Weight::from_parts(9_828_659, 0).saturating_mul(n.into())) + // Standard Error: 29_715 + .saturating_add(Weight::from_parts(140_176, 0).saturating_mul(m.into())) + // Standard Error: 29_715 + .saturating_add(Weight::from_parts(574_840, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into()))) @@ -116,8 +116,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `386` // Estimated: `3647` - // Minimum execution time: 54_742_000 picoseconds. - Weight::from_parts(56_194_000, 0) + // Minimum execution time: 51_677_000 picoseconds. + Weight::from_parts(52_789_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -134,8 +134,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `549` // Estimated: `3647` - // Minimum execution time: 56_695_000 picoseconds. - Weight::from_parts(57_717_000, 0) + // Minimum execution time: 53_360_000 picoseconds. + Weight::from_parts(54_733_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) @@ -152,8 +152,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `549` // Estimated: `3647` - // Minimum execution time: 39_754_000 picoseconds. - Weight::from_parts(40_666_000, 0) + // Minimum execution time: 38_362_000 picoseconds. + Weight::from_parts(39_454_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) @@ -167,11 +167,11 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `854 + i * (88 ±0)` // Estimated: `3647 + i * (2613 ±0)` - // Minimum execution time: 20_739_000 picoseconds. - Weight::from_parts(21_249_000, 0) + // Minimum execution time: 19_847_000 picoseconds. + Weight::from_parts(20_017_000, 0) .saturating_add(Weight::from_parts(0, 3647)) - // Standard Error: 13_877 - .saturating_add(Weight::from_parts(26_437_115, 0).saturating_mul(i.into())) + // Standard Error: 17_851 + .saturating_add(Weight::from_parts(24_502_247, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -186,8 +186,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `549` // Estimated: `3647` - // Minimum execution time: 26_530_000 picoseconds. - Weight::from_parts(26_900_000, 0) + // Minimum execution time: 25_357_000 picoseconds. + Weight::from_parts(26_129_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -200,8 +200,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `549` // Estimated: `3647` - // Minimum execution time: 25_949_000 picoseconds. - Weight::from_parts(26_800_000, 0) + // Minimum execution time: 25_237_000 picoseconds. + Weight::from_parts(25_919_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -212,8 +212,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `386` // Estimated: `3647` - // Minimum execution time: 19_015_000 picoseconds. - Weight::from_parts(19_436_000, 0) + // Minimum execution time: 18_294_000 picoseconds. + Weight::from_parts(18_946_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -224,8 +224,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `386` // Estimated: `3647` - // Minimum execution time: 18_866_000 picoseconds. - Weight::from_parts(19_397_000, 0) + // Minimum execution time: 18_464_000 picoseconds. + Weight::from_parts(18_945_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -240,8 +240,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `464` // Estimated: `3647` - // Minimum execution time: 30_707_000 picoseconds. - Weight::from_parts(31_789_000, 0) + // Minimum execution time: 29_846_000 picoseconds. + Weight::from_parts(30_377_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) @@ -252,8 +252,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `386` // Estimated: `3647` - // Minimum execution time: 19_286_000 picoseconds. - Weight::from_parts(19_777_000, 0) + // Minimum execution time: 18_705_000 picoseconds. + Weight::from_parts(19_086_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -266,8 +266,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `386` // Estimated: `3647` - // Minimum execution time: 23_964_000 picoseconds. - Weight::from_parts(24_686_000, 0) + // Minimum execution time: 23_423_000 picoseconds. + Weight::from_parts(23_874_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -282,8 +282,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `808` // Estimated: `4070` - // Minimum execution time: 62_256_000 picoseconds. - Weight::from_parts(63_568_000, 0) + // Minimum execution time: 57_478_000 picoseconds. + Weight::from_parts(58_800_000, 0) .saturating_add(Weight::from_parts(0, 4070)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -298,8 +298,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1440` // Estimated: `4070` - // Minimum execution time: 59_400_000 picoseconds. - Weight::from_parts(60_683_000, 0) + // Minimum execution time: 55_735_000 picoseconds. + Weight::from_parts(56_746_000, 0) .saturating_add(Weight::from_parts(0, 4070)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -312,8 +312,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `452` // Estimated: `3796` - // Minimum execution time: 45_905_000 picoseconds. - Weight::from_parts(46_968_000, 0) + // Minimum execution time: 42_850_000 picoseconds. + Weight::from_parts(43_713_000, 0) .saturating_add(Weight::from_parts(0, 3796)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -326,8 +326,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `808` // Estimated: `3796` - // Minimum execution time: 46_888_000 picoseconds. - Weight::from_parts(47_829_000, 0) + // Minimum execution time: 43_983_000 picoseconds. + Weight::from_parts(44_734_000, 0) .saturating_add(Weight::from_parts(0, 3796)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -340,8 +340,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `386` // Estimated: `3764` - // Minimum execution time: 47_157_000 picoseconds. - Weight::from_parts(48_089_000, 0) + // Minimum execution time: 44_613_000 picoseconds. + Weight::from_parts(45_415_000, 0) .saturating_add(Weight::from_parts(0, 3764)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -354,8 +354,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `709` // Estimated: `3764` - // Minimum execution time: 45_244_000 picoseconds. - Weight::from_parts(46_186_000, 0) + // Minimum execution time: 42_430_000 picoseconds. + Weight::from_parts(43_561_000, 0) .saturating_add(Weight::from_parts(0, 3764)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -368,8 +368,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `549` // Estimated: `3647` - // Minimum execution time: 27_431_000 picoseconds. - Weight::from_parts(27_962_000, 0) + // Minimum execution time: 26_480_000 picoseconds. + Weight::from_parts(26_881_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -382,8 +382,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `582` // Estimated: `3647` - // Minimum execution time: 26_850_000 picoseconds. - Weight::from_parts(27_652_000, 0) + // Minimum execution time: 26_219_000 picoseconds. + Weight::from_parts(26_991_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -394,8 +394,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3521` - // Minimum execution time: 21_590_000 picoseconds. - Weight::from_parts(22_131_000, 0) + // Minimum execution time: 20_528_000 picoseconds. + Weight::from_parts(21_240_000, 0) .saturating_add(Weight::from_parts(0, 3521)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -408,8 +408,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `386` // Estimated: `3647` - // Minimum execution time: 23_514_000 picoseconds. - Weight::from_parts(24_195_000, 0) + // Minimum execution time: 22_943_000 picoseconds. + Weight::from_parts(23_514_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -422,8 +422,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `376` // Estimated: `3603` - // Minimum execution time: 22_742_000 picoseconds. - Weight::from_parts(23_224_000, 0) + // Minimum execution time: 22_092_000 picoseconds. + Weight::from_parts(22_502_000, 0) .saturating_add(Weight::from_parts(0, 3603)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -440,8 +440,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `678` // Estimated: `3647` - // Minimum execution time: 56_295_000 picoseconds. - Weight::from_parts(57_858_000, 0) + // Minimum execution time: 54_151_000 picoseconds. + Weight::from_parts(54_973_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) diff --git a/runtime/development/src/weights/pallet_utility.rs b/runtime/development/src/weights/pallet_utility.rs index a175f92c4d..cecb4fa49a 100644 --- a/runtime/development/src/weights/pallet_utility.rs +++ b/runtime/development/src/weights/pallet_utility.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -37,18 +37,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_760_000 picoseconds. - Weight::from_parts(5_737_205, 0) + // Minimum execution time: 10_179_000 picoseconds. + Weight::from_parts(10_449_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_933 - .saturating_add(Weight::from_parts(8_838_906, 0).saturating_mul(c.into())) + // Standard Error: 5_057 + .saturating_add(Weight::from_parts(8_509_036, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_734_000 picoseconds. - Weight::from_parts(8_095_000, 0) + // Minimum execution time: 7_905_000 picoseconds. + Weight::from_parts(8_125_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -56,18 +56,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_770_000 picoseconds. - Weight::from_parts(4_869_025, 0) + // Minimum execution time: 10_309_000 picoseconds. + Weight::from_parts(26_318_204, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_324 - .saturating_add(Weight::from_parts(9_390_096, 0).saturating_mul(c.into())) + // Standard Error: 5_214 + .saturating_add(Weight::from_parts(8_861_852, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_287_000 picoseconds. - Weight::from_parts(14_798_000, 0) + // Minimum execution time: 13_876_000 picoseconds. + Weight::from_parts(14_467_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -75,10 +75,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_770_000 picoseconds. - Weight::from_parts(3_336_190, 0) + // Minimum execution time: 10_259_000 picoseconds. + Weight::from_parts(10_529_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_811 - .saturating_add(Weight::from_parts(8_912_138, 0).saturating_mul(c.into())) + // Standard Error: 3_695 + .saturating_add(Weight::from_parts(8_495_881, 0).saturating_mul(c.into())) } } diff --git a/runtime/development/src/weights/pallet_vesting.rs b/runtime/development/src/weights/pallet_vesting.rs index 307e619e44..0589faeddd 100644 --- a/runtime/development/src/weights/pallet_vesting.rs +++ b/runtime/development/src/weights/pallet_vesting.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -44,13 +44,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `305 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 47_439_000 picoseconds. - Weight::from_parts(47_454_367, 0) + // Minimum execution time: 45_906_000 picoseconds. + Weight::from_parts(45_306_801, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_055 - .saturating_add(Weight::from_parts(35_735, 0).saturating_mul(l.into())) - // Standard Error: 1_878 - .saturating_add(Weight::from_parts(80_439, 0).saturating_mul(s.into())) + // Standard Error: 921 + .saturating_add(Weight::from_parts(46_483, 0).saturating_mul(l.into())) + // Standard Error: 1_639 + .saturating_add(Weight::from_parts(83_544, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -66,13 +66,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `305 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 53_640_000 picoseconds. - Weight::from_parts(54_175_563, 0) + // Minimum execution time: 51_837_000 picoseconds. + Weight::from_parts(52_154_167, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_481 - .saturating_add(Weight::from_parts(27_759, 0).saturating_mul(l.into())) - // Standard Error: 2_636 - .saturating_add(Weight::from_parts(62_861, 0).saturating_mul(s.into())) + // Standard Error: 1_373 + .saturating_add(Weight::from_parts(23_651, 0).saturating_mul(l.into())) + // Standard Error: 2_444 + .saturating_add(Weight::from_parts(67_156, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -90,13 +90,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `408 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 49_563_000 picoseconds. - Weight::from_parts(49_479_775, 0) + // Minimum execution time: 47_980_000 picoseconds. + Weight::from_parts(47_314_080, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_025 - .saturating_add(Weight::from_parts(40_776, 0).saturating_mul(l.into())) - // Standard Error: 1_824 - .saturating_add(Weight::from_parts(84_855, 0).saturating_mul(s.into())) + // Standard Error: 970 + .saturating_add(Weight::from_parts(46_624, 0).saturating_mul(l.into())) + // Standard Error: 1_727 + .saturating_add(Weight::from_parts(91_088, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -114,13 +114,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `408 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 55_523_000 picoseconds. - Weight::from_parts(56_495_538, 0) + // Minimum execution time: 53_660_000 picoseconds. + Weight::from_parts(54_119_133, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_514 - .saturating_add(Weight::from_parts(20_890, 0).saturating_mul(l.into())) - // Standard Error: 2_694 - .saturating_add(Weight::from_parts(64_545, 0).saturating_mul(s.into())) + // Standard Error: 1_478 + .saturating_add(Weight::from_parts(27_585, 0).saturating_mul(l.into())) + // Standard Error: 2_631 + .saturating_add(Weight::from_parts(73_236, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -138,13 +138,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `512 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 109_534_000 picoseconds. - Weight::from_parts(110_486_158, 0) + // Minimum execution time: 103_073_000 picoseconds. + Weight::from_parts(104_737_511, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_669 - .saturating_add(Weight::from_parts(50_715, 0).saturating_mul(l.into())) - // Standard Error: 2_969 - .saturating_add(Weight::from_parts(107_087, 0).saturating_mul(s.into())) + // Standard Error: 1_698 + .saturating_add(Weight::from_parts(43_958, 0).saturating_mul(l.into())) + // Standard Error: 3_021 + .saturating_add(Weight::from_parts(88_455, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -162,13 +162,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `652 + l * (25 ±0) + s * (36 ±0)` // Estimated: `6196` - // Minimum execution time: 111_879_000 picoseconds. - Weight::from_parts(112_737_730, 0) + // Minimum execution time: 105_879_000 picoseconds. + Weight::from_parts(106_705_022, 0) .saturating_add(Weight::from_parts(0, 6196)) - // Standard Error: 1_635 - .saturating_add(Weight::from_parts(53_260, 0).saturating_mul(l.into())) - // Standard Error: 2_910 - .saturating_add(Weight::from_parts(102_399, 0).saturating_mul(s.into())) + // Standard Error: 2_206 + .saturating_add(Weight::from_parts(47_352, 0).saturating_mul(l.into())) + // Standard Error: 3_924 + .saturating_add(Weight::from_parts(108_241, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -186,13 +186,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `407 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 51_135_000 picoseconds. - Weight::from_parts(51_054_116, 0) + // Minimum execution time: 49_543_000 picoseconds. + Weight::from_parts(49_143_417, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_158 - .saturating_add(Weight::from_parts(37_473, 0).saturating_mul(l.into())) - // Standard Error: 2_139 - .saturating_add(Weight::from_parts(76_803, 0).saturating_mul(s.into())) + // Standard Error: 1_221 + .saturating_add(Weight::from_parts(40_309, 0).saturating_mul(l.into())) + // Standard Error: 2_255 + .saturating_add(Weight::from_parts(74_526, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -210,13 +210,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `407 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 57_697_000 picoseconds. - Weight::from_parts(57_305_701, 0) + // Minimum execution time: 55_093_000 picoseconds. + Weight::from_parts(54_734_655, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_273 - .saturating_add(Weight::from_parts(39_674, 0).saturating_mul(l.into())) - // Standard Error: 2_352 - .saturating_add(Weight::from_parts(83_114, 0).saturating_mul(s.into())) + // Standard Error: 1_073 + .saturating_add(Weight::from_parts(43_640, 0).saturating_mul(l.into())) + // Standard Error: 1_982 + .saturating_add(Weight::from_parts(88_713, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/development/src/weights/pallet_xcm.rs b/runtime/development/src/weights/pallet_xcm.rs index 75c13410ce..abed172801 100644 --- a/runtime/development/src/weights/pallet_xcm.rs +++ b/runtime/development/src/weights/pallet_xcm.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_xcm` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -46,8 +46,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `311` // Estimated: `3776` - // Minimum execution time: 41_888_000 picoseconds. - Weight::from_parts(42_830_000, 0) + // Minimum execution time: 40_075_000 picoseconds. + Weight::from_parts(40_816_000, 0) .saturating_add(Weight::from_parts(0, 3776)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) @@ -60,8 +60,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `351` // Estimated: `3816` - // Minimum execution time: 42_609_000 picoseconds. - Weight::from_parts(43_009_000, 0) + // Minimum execution time: 41_107_000 picoseconds. + Weight::from_parts(41_959_000, 0) .saturating_add(Weight::from_parts(0, 3816)) .saturating_add(T::DbWeight::get().reads(2)) } @@ -73,8 +73,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `351` // Estimated: `3816` - // Minimum execution time: 41_938_000 picoseconds. - Weight::from_parts(42_660_000, 0) + // Minimum execution time: 40_215_000 picoseconds. + Weight::from_parts(41_167_000, 0) .saturating_add(Weight::from_parts(0, 3816)) .saturating_add(T::DbWeight::get().reads(2)) } @@ -94,8 +94,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_188_000 picoseconds. - Weight::from_parts(15_669_000, 0) + // Minimum execution time: 13_796_000 picoseconds. + Weight::from_parts(14_317_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -105,8 +105,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_809_000 picoseconds. - Weight::from_parts(4_989_000, 0) + // Minimum execution time: 4_578_000 picoseconds. + Weight::from_parts(4_739_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -130,8 +130,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `311` // Estimated: `3776` - // Minimum execution time: 49_483_000 picoseconds. - Weight::from_parts(50_885_000, 0) + // Minimum execution time: 47_028_000 picoseconds. + Weight::from_parts(48_121_000, 0) .saturating_add(Weight::from_parts(0, 3776)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) @@ -154,8 +154,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `493` // Estimated: `3958` - // Minimum execution time: 49_823_000 picoseconds. - Weight::from_parts(50_655_000, 0) + // Minimum execution time: 47_359_000 picoseconds. + Weight::from_parts(48_000_000, 0) .saturating_add(Weight::from_parts(0, 3958)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) @@ -166,8 +166,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_919_000 picoseconds. - Weight::from_parts(5_190_000, 0) + // Minimum execution time: 4_629_000 picoseconds. + Weight::from_parts(4_799_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -177,8 +177,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `235` // Estimated: `11125` - // Minimum execution time: 25_116_000 picoseconds. - Weight::from_parts(25_598_000, 0) + // Minimum execution time: 24_065_000 picoseconds. + Weight::from_parts(24_686_000, 0) .saturating_add(Weight::from_parts(0, 11125)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -189,8 +189,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `239` // Estimated: `11129` - // Minimum execution time: 24_576_000 picoseconds. - Weight::from_parts(25_367_000, 0) + // Minimum execution time: 23_945_000 picoseconds. + Weight::from_parts(24_486_000, 0) .saturating_add(Weight::from_parts(0, 11129)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -201,8 +201,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `246` // Estimated: `13611` - // Minimum execution time: 26_029_000 picoseconds. - Weight::from_parts(26_780_000, 0) + // Minimum execution time: 25_658_000 picoseconds. + Weight::from_parts(26_199_000, 0) .saturating_add(Weight::from_parts(0, 13611)) .saturating_add(T::DbWeight::get().reads(5)) } @@ -222,8 +222,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `378` // Estimated: `6318` - // Minimum execution time: 46_306_000 picoseconds. - Weight::from_parts(47_929_000, 0) + // Minimum execution time: 43_642_000 picoseconds. + Weight::from_parts(44_773_000, 0) .saturating_add(Weight::from_parts(0, 6318)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(3)) @@ -234,8 +234,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `206` // Estimated: `8621` - // Minimum execution time: 14_677_000 picoseconds. - Weight::from_parts(15_098_000, 0) + // Minimum execution time: 13_896_000 picoseconds. + Weight::from_parts(14_437_000, 0) .saturating_add(Weight::from_parts(0, 8621)) .saturating_add(T::DbWeight::get().reads(3)) } @@ -245,8 +245,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `246` // Estimated: `11136` - // Minimum execution time: 25_748_000 picoseconds. - Weight::from_parts(26_159_000, 0) + // Minimum execution time: 24_736_000 picoseconds. + Weight::from_parts(25_347_000, 0) .saturating_add(Weight::from_parts(0, 11136)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -267,8 +267,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `454` // Estimated: `11344` - // Minimum execution time: 56_746_000 picoseconds. - Weight::from_parts(57_847_000, 0) + // Minimum execution time: 53_370_000 picoseconds. + Weight::from_parts(54_552_000, 0) .saturating_add(Weight::from_parts(0, 11344)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) diff --git a/runtime/integration-tests/src/generic/cases/rewards.rs b/runtime/integration-tests/src/generic/cases/rewards.rs new file mode 100644 index 0000000000..3b7ee83c83 --- /dev/null +++ b/runtime/integration-tests/src/generic/cases/rewards.rs @@ -0,0 +1,51 @@ +use cfg_primitives::CFG; +use cfg_traits::rewards::{AccountRewards, CurrencyGroupChange, DistributedRewards}; +use cfg_types::tokens::CurrencyId; +use frame_support::assert_ok; +use runtime_common::apis::{runtime_decl_for_rewards_api::RewardsApiV1, RewardDomain}; +use sp_runtime::traits::Get; + +use crate::{ + generic::{config::Runtime, env::Env, envs::runtime_env::RuntimeEnv, utils}, + utils::accounts::Keyring, +}; + +type BlockRewards = pallet_rewards::Instance1; + +const STAKER: Keyring = Keyring::Alice; + +fn block_rewards_api() { + RuntimeEnv::::default().parachain_state_mut(|| { + let group_id = 1u32; + let amount = 100 * CFG; + + utils::give_balance::(STAKER.id(), T::ExistentialDeposit::get() + amount); + + assert_ok!(pallet_rewards::Pallet::::attach_currency( + CurrencyId::Native, + group_id, + )); + + assert_ok!(pallet_rewards::Pallet::::deposit_stake( + CurrencyId::Native, + &STAKER.id(), + amount, + )); + + assert_ok!( + pallet_rewards::Pallet::::distribute_reward(200 * CFG, [group_id]) + ); + + assert_eq!( + T::Api::list_currencies(RewardDomain::Block, STAKER.id()), + vec![CurrencyId::Native] + ); + + assert_eq!( + T::Api::compute_reward(RewardDomain::Block, CurrencyId::Native, STAKER.id()), + Some(200 * CFG) + ) + }); +} + +crate::test_for_runtimes!(all, block_rewards_api); diff --git a/runtime/integration-tests/src/generic/config.rs b/runtime/integration-tests/src/generic/config.rs index 5627c4561f..ff98123c3b 100644 --- a/runtime/integration-tests/src/generic/config.rs +++ b/runtime/integration-tests/src/generic/config.rs @@ -2,7 +2,7 @@ use std::fmt::Debug; use cfg_primitives::{ AccountId, Address, AuraId, Balance, BlockNumber, CollectionId, CouncilCollective, Header, - Index, ItemId, LoanId, OrderId, PoolId, Signature, TrancheId, + IBalance, Index, ItemId, LoanId, OrderId, PoolId, Signature, TrancheId, }; use cfg_traits::Millis; use cfg_types::{ @@ -29,11 +29,13 @@ use runtime_common::{ fees::{DealWithFees, WeightToFee}, oracle::Feeder, remarks::Remark, + rewards::SingleCurrencyMovement, }; use sp_core::H256; use sp_runtime::{ scale_info::TypeInfo, traits::{AccountIdLookup, Block, Dispatchable, Get, Member}, + FixedI128, }; /// Kind of runtime to check in runtime time @@ -149,6 +151,17 @@ pub trait Runtime: + pallet_evm_chain_id::Config + pallet_remarks::Config + pallet_utility::Config + + pallet_rewards::Config< + pallet_rewards::Instance1, + GroupId = u32, + CurrencyId = CurrencyId, + RewardMechanism = pallet_rewards::mechanism::base::Mechanism< + Balance, + IBalance, + FixedI128, + SingleCurrencyMovement, + >, + > { /// Just the RuntimeCall type, but redefined with extra bounds. /// You can add `From` bounds in order to convert pallet calls to @@ -270,6 +283,11 @@ pub trait Runtime: > + apis::runtime_decl_for_account_conversion_api::AccountConversionApiV1< Self::Block, AccountId, + > + apis::runtime_decl_for_rewards_api::RewardsApiV1< + Self::Block, + AccountId, + Balance, + CurrencyId, >; type MaxTranchesExt: Codec + Get + Member + PartialOrd + TypeInfo; diff --git a/runtime/integration-tests/src/generic/mod.rs b/runtime/integration-tests/src/generic/mod.rs index fb0fe1c517..5e0b2a3cdd 100644 --- a/runtime/integration-tests/src/generic/mod.rs +++ b/runtime/integration-tests/src/generic/mod.rs @@ -22,6 +22,7 @@ mod cases { mod oracles; mod proxy; mod restricted_transfers; + mod rewards; } /// Generate tests for the specified runtimes or all runtimes. diff --git a/runtime/integration-tests/src/lib.rs b/runtime/integration-tests/src/lib.rs index d86123f6f0..a4d349415f 100644 --- a/runtime/integration-tests/src/lib.rs +++ b/runtime/integration-tests/src/lib.rs @@ -17,7 +17,6 @@ mod evm; mod generic; mod rewards; -mod runtime_apis; mod utils; /// Re-exports the correct runtimes that we run the integration tests with diff --git a/runtime/integration-tests/src/runtime_apis/mod.rs b/runtime/integration-tests/src/runtime_apis/mod.rs deleted file mode 100644 index 26e584e939..0000000000 --- a/runtime/integration-tests/src/runtime_apis/mod.rs +++ /dev/null @@ -1,204 +0,0 @@ -// Copyright 2021 Centrifuge Foundation (centrifuge.io). -// -// This file is part of the Centrifuge chain project. -// Centrifuge is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version (see http://www.gnu.org/licenses). -// Centrifuge is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -mod rewards; - -use std::sync::Arc; - -use cfg_primitives::{AuraId, CFG}; -use cumulus_primitives_parachain_inherent::ParachainInherentData; -use frame_support::traits::GenesisBuild; -use fudge::{ - digest::{DigestCreator, DigestProvider, FudgeAuraDigest}, - inherent::{FudgeInherentParaParachain, FudgeInherentTimestamp}, - primitives::ParaId, - state::StateProvider, - StandaloneBuilder, TWasmExecutor, -}; -use sc_client_api::{HeaderBackend, StorageProof}; -use sc_executor::WasmExecutor; -use sc_service::{TFullBackend, TFullClient}; -use sp_api::ProvideRuntimeApi as _; -use sp_consensus_slots::SlotDuration; -use sp_core::{ - sr25519, - sr25519::{Pair, Public}, - Pair as TraitPair, H256, -}; -use sp_inherents::{CreateInherentDataProviders, InherentData}; -use sp_runtime::{ - generic::BlockId, - traits::{BlakeTwo256, IdentifyAccount}, - BuildStorage, Storage, -}; -use tokio::runtime::Handle; - -use crate::{ - chain::{ - centrifuge, - centrifuge::{Runtime, PARA_ID}, - }, - utils::accounts::Keyring, -}; - -/// Start date used for timestamps in test-enviornments -/// Sat Jan 01 2022 00:00:00 GMT+0000 -pub const START_DATE: u64 = 1640995200u64; - -/// The type that CreatesInherentDataProviders for the para-chain. -/// As a new-type here as otherwise the TestEnv is badly -/// readable. -#[allow(unused)] -type Cidp = Box< - dyn CreateInherentDataProviders< - centrifuge::Block, - (), - InherentDataProviders = ( - FudgeInherentTimestamp, - sp_consensus_aura::inherents::InherentDataProvider, - FudgeInherentParaParachain, - ), - >, ->; - -/// The type creates digests for the chains. -#[allow(unused)] -type Dp = Box + Send + Sync>; - -type ApiRef<'a> = sp_api::ApiRef<'a, as sp_api::ProvideRuntimeApi>::Api>; - -fn create_builder( - handle: Handle, - genesis: Option, -) -> StandaloneBuilder { - let mut state = - StateProvider::, centrifuge::Block>::empty_default(Some( - centrifuge::WASM_BINARY.expect("Wasm is build. Qed."), - )) - .expect("ESSENTIAL: State provider can be created."); - state.insert_storage( - pallet_aura::GenesisConfig:: { - authorities: vec![AuraId::from(sr25519::Public([0u8; 32]))], - } - .build_storage() - .expect("ESSENTIAL: GenesisBuild must not fail at this stage."), - ); - - state.insert_storage( - pallet_balances::GenesisConfig:: { - balances: vec![(Keyring::Alice.to_account_id(), 10000 * CFG)], - } - .build_storage() - .expect("ESSENTIAL: GenesisBuild must not fail at this stage."), - ); - - if let Some(storage) = genesis { - state.insert_storage(storage); - } - - let mut init = fudge::initiator::default(handle); - init.with_genesis(Box::new(state)); - - let para_id = ParaId::from(centrifuge::PARA_ID); - let instance_id = FudgeInherentTimestamp::create_instance( - std::time::Duration::from_secs(12), - Some(std::time::Duration::from_millis(START_DATE)), - ) - .expect("ESSENTIAL: Instance ID can be created."); - - let cidp = Box::new(move |_parent: H256, ()| { - async move { - let timestamp = FudgeInherentTimestamp::get_instance(instance_id) - .expect("Instances is initialized"); - - let slot = - sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_slot_duration( - timestamp.current_time(), - SlotDuration::from_millis(std::time::Duration::from_secs(12).as_millis() as u64), - ); - // Dummy data for relay-inherent - let inherent = ParachainInherentData { - validation_data: Default::default(), - relay_chain_state: StorageProof::empty(), - downward_messages: vec![], - horizontal_messages: Default::default(), - }; - let relay_para_inherent = FudgeInherentParaParachain::new(inherent); - Ok((timestamp, slot, relay_para_inherent)) - } - }); - - let dp = |clone_client: Arc< - TFullClient, - >| { - Box::new( - move |parent: sp_runtime::generic::Header, inherents| { - let client = clone_client.clone(); - - async move { - let aura = FudgeAuraDigest::< - centrifuge::Block, - TFullClient, - >::new(&*client) - .expect("ESSENTIAL: Aura digest can be created."); - - let digest = aura.build_digest(parent, &inherents).await?; - Ok(digest) - } - }, - ) - }; - - StandaloneBuilder::<_, _, Cidp, Dp>::new(init, |client| (cidp, dp(client))) - .expect("ESSENTIAL: Standalone builder can be created.") -} - -pub struct ApiEnv { - builder: StandaloneBuilder, -} - -impl ApiEnv { - pub fn new(handle: Handle) -> Self { - Self { - builder: create_builder(handle, Some(Storage::default())), - } - } - - pub fn new_with_genesis(handle: Handle, genesis: Storage) -> Self { - crate::utils::logs::init_logs(); - - Self { - builder: create_builder(handle, Some(genesis)), - } - } - - pub fn with_api(&self, exec: F) -> &Self - where - F: FnOnce(ApiRef, BlockId), - { - let client = self.builder.client(); - let api = client.runtime_api(); - let best_hash = BlockId::hash(self.builder.client().info().best_hash); - - exec(api, best_hash); - - self - } - - pub fn startup(&mut self, start_up: F) -> &mut Self - where - F: FnOnce(), - { - self.builder.with_mut_state(start_up).unwrap(); - - self - } -} diff --git a/runtime/integration-tests/src/runtime_apis/rewards.rs b/runtime/integration-tests/src/runtime_apis/rewards.rs deleted file mode 100644 index 058fa2c647..0000000000 --- a/runtime/integration-tests/src/runtime_apis/rewards.rs +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright 2021 Centrifuge Foundation (centrifuge.io). -// -// This file is part of the Centrifuge chain project. -// Centrifuge is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version (see http://www.gnu.org/licenses). -// Centrifuge is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -use cfg_primitives::{AccountId, Balance, CFG}; -use cfg_traits::rewards::{AccountRewards, CurrencyGroupChange, DistributedRewards, GroupRewards}; -use cfg_types::tokens::CurrencyId; -use development_runtime::BlockId; -use frame_support::assert_ok; -use runtime_common::apis::{RewardDomain, RewardsApi}; -use sp_core::{sr25519, Pair}; -use sp_runtime::traits::IdentifyAccount; -use tokio::runtime::Handle; - -use super::ApiEnv; -use crate::utils::accounts::Keyring; - -// #[tokio::test] -// async fn liquidity_rewards_runtime_api_works() { -// rewards_runtime_api_works::(RewardDomain::Liquidity) -// .await; -// } - -#[tokio::test] -async fn block_rewards_runtime_api_works() { - rewards_runtime_api_works::(RewardDomain::Block).await; -} - -type GroupId = u32; - -async fn rewards_runtime_api_works(domain: RewardDomain) -where - Rewards: CurrencyGroupChange - + AccountRewards - + DistributedRewards - + GroupRewards, -{ - let staker = Keyring::Alice.to_account_id(); - let expected_reward = 200 * CFG; - ApiEnv::new(Handle::current()) - .startup(|| { - let currencies = vec![(CurrencyId::Native, 1u32)]; - let stake_accounts = vec![(staker.clone(), CurrencyId::Native, 100 * CFG)]; - let rewards = vec![(1, expected_reward)]; - - for (currency_id, group_id) in currencies { - ::attach_currency(currency_id, group_id) - .expect("Attaching currency should work"); - } - - for (account_id, currency_id, amount) in stake_accounts { - >::deposit_stake( - currency_id, - &account_id, - amount, - ) - .expect("Depositing stake should work"); - } - - for (group_id, amount) in &rewards { - ::distribute_reward(*amount, [*group_id]) - .expect("Distributing rewards should work"); - } - - if let RewardDomain::Liquidity = domain { - /// For the gap mechanism, used by liquidity rewards, - /// we need another distribution to allow the participant claim - /// rewards - for (group_id, amount) in &rewards { - let res = - ::distribute_reward(*amount, [*group_id]) - .expect("Distributing rewards should work"); - - res.iter().for_each(|item| { - item.expect("Rewards distribution error"); - }); - } - } - }) - .with_api(|api, latest| { - let hash = match latest { - BlockId::Hash(hash) => hash, - BlockId::Number(n) => todo!("nuno"), - }; - - let currencies = api - .list_currencies(hash.clone(), domain, staker.clone()) - .expect("There should be staked currencies"); - assert_eq!(currencies.clone().len(), 1); - - let currency_id = currencies[0]; - - let reward = api - .compute_reward(hash, domain, currency_id, staker) - .unwrap(); - assert_eq!(reward, Some(expected_reward)); - }); -}