diff --git a/.github/workflows/sanity-checks.yml b/.github/workflows/sanity-checks.yml index 9eea1f6e69..bc6f41776e 100644 --- a/.github/workflows/sanity-checks.yml +++ b/.github/workflows/sanity-checks.yml @@ -5,19 +5,21 @@ concurrency: group: 'tests-${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' cancel-in-progress: true permissions: - id-token: write - contents: read + id-token: write + contents: read jobs: test-n-lint: name: ${{ matrix.target }} runs-on: ubuntu-latest-8-cores strategy: matrix: - target: [test-general, test-integration, - lint-fmt, lint-clippy, cargo-build, docs-build, lint-taplo] + target: [ test-general, test-integration, + lint-fmt, lint-clippy, cargo-build, docs-build, lint-taplo ] steps: - name: Check out code uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b #4.1.4 + with: + submodules: 'recursive' - name: Prep build uses: ./.github/actions/prep-ubuntu @@ -27,6 +29,10 @@ jobs: GWIP: ${{ secrets.GWIP_SCCACHE }} GSA: ${{ secrets.GSA_SCCACHE }} + # Required for integration tests evm interaction + - name: Install Foundry + uses: foundry-rs/foundry-toolchain@v1 + - name: Runing cargo ${{ matrix.target }} run: ./ci/run-check.sh env: @@ -38,10 +44,12 @@ jobs: runs-on: ubuntu-latest #-4-cores strategy: matrix: - runtime: [altair, centrifuge] + runtime: [ altair, centrifuge ] steps: - name: Check out code uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b #4.1.4 + with: + submodules: 'recursive' - name: Prep build uses: ./.github/actions/prep-ubuntu @@ -50,6 +58,7 @@ jobs: GWIP: ${{ secrets.GWIP_SCCACHE }} GSA: ${{ secrets.GSA_SCCACHE }} + - name: Runing cargo ${{ matrix.target }} run: ./ci/run-check.sh env: diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000000..fa90d42509 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,4 @@ +[submodule "runtime/integration-tests/submodules/liquidity-pools"] + path = runtime/integration-tests/submodules/liquidity-pools + url = git@github.com:centrifuge/liquidity-pools.git + branch = centrifuge-chain/release-v1.0 diff --git a/Cargo.lock b/Cargo.lock index b24b43185f..0649571452 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -121,7 +121,7 @@ checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f" [[package]] name = "altair-runtime" -version = "0.10.35" +version = "0.11.0" dependencies = [ "axelar-gateway-precompile", "cfg-primitives", @@ -1360,9 +1360,9 @@ checksum = "fd6c0e7b807d60291f42f33f58480c0bfafe28ed08286446f45e463728cf9c1c" [[package]] name = "cc" -version = "1.0.98" +version = "1.0.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41c270e7540d725e65ac7f1b212ac8ce349719624d7bcff99f8e2e488e8cf03f" +checksum = "96c51067fd44124faa7f870b4b1c969379ad32b2ba805aa959430ceaa384f695" dependencies = [ "jobserver", "libc", @@ -1371,7 +1371,7 @@ dependencies = [ [[package]] name = "centrifuge-chain" -version = "0.10.39" +version = "0.11.0" dependencies = [ "altair-runtime", "async-trait", @@ -1464,7 +1464,7 @@ dependencies = [ [[package]] name = "centrifuge-runtime" -version = "0.10.29" +version = "0.11.0" dependencies = [ "axelar-gateway-precompile", "cfg-primitives", @@ -3093,7 +3093,7 @@ dependencies = [ [[package]] name = "development-runtime" -version = "0.10.46" +version = "0.11.0" dependencies = [ "axelar-gateway-precompile", "cfg-primitives", @@ -3504,18 +3504,18 @@ dependencies = [ [[package]] name = "enumflags2" -version = "0.7.9" +version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3278c9d5fb675e0a51dabcf4c0d355f692b064171535ba72361be1528a9d8e8d" +checksum = "d232db7f5956f3f14313dc2f87985c58bd2c695ce124c8cdd984e08e15ac133d" dependencies = [ "enumflags2_derive", ] [[package]] name = "enumflags2_derive" -version = "0.7.9" +version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c785274071b1b420972453b306eeca06acf4633829db4223b58a2a8c5953bc4" +checksum = "de0d48a183585823424a4ce1aa132d174a6a81bd540895822eb4c8373a8e49e8" dependencies = [ "proc-macro2", "quote", @@ -3576,7 +3576,10 @@ checksum = "7413c5f74cc903ea37386a8965a936cbeb334bd270862fdece542c1b2dcbc898" dependencies = [ "ethereum-types", "hex", + "once_cell", + "regex", "serde", + "serde_json", "sha3", "thiserror", "uint", @@ -11609,6 +11612,7 @@ dependencies = [ "cumulus-pallet-xcm", "cumulus-pallet-xcmp-queue", "cumulus-primitives-core", + "fp-evm", "frame-benchmarking", "frame-support", "frame-system", @@ -11723,6 +11727,7 @@ dependencies = [ "development-runtime", "ethabi", "ethereum", + "fp-evm", "fp-self-contained", "frame-support", "frame-system", @@ -11785,6 +11790,7 @@ dependencies = [ "pallet-sudo", "pallet-swaps", "pallet-timestamp", + "pallet-token-mux", "pallet-transaction-payment", "pallet-transfer-allowlist", "pallet-treasury", @@ -11808,6 +11814,7 @@ dependencies = [ "sc-executor", "sc-service", "serde", + "serde_json", "sp-api", "sp-block-builder", "sp-consensus-aura", diff --git a/Cargo.toml b/Cargo.toml index 03a3b0506a..72ca487ae2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -52,6 +52,7 @@ license = "LGPL-3.0" homepage = "https://centrifuge.io/" repository = "https://github.com/centrifuge/centrifuge-chain" documentation = "https://reference.centrifuge.io/centrifuge_chain/index.html" +version = "0.11.0" [workspace.dependencies] hex-literal = { version = "0.4.1" } diff --git a/libs/types/src/domain_address.rs b/libs/types/src/domain_address.rs index d04cb34ffa..dc450b683a 100644 --- a/libs/types/src/domain_address.rs +++ b/libs/types/src/domain_address.rs @@ -85,6 +85,16 @@ pub enum DomainAddress { EVM(EVMChainId, [u8; 20]), } +impl DomainAddress { + pub fn evm(chain_id: EVMChainId, address: [u8; 20]) -> Self { + Self::EVM(chain_id, address) + } + + pub fn centrifuge(address: [u8; 32]) -> Self { + Self::Centrifuge(address) + } +} + impl From for Domain { fn from(x: DomainAddress) -> Self { match x { @@ -100,7 +110,7 @@ impl DomainAddress { pub fn address(&self) -> [u8; 32] { match self.clone() { Self::Centrifuge(x) => x, - Self::EVM(_, x) => vec_to_fixed_array(x.to_vec()), + Self::EVM(_, x) => vec_to_fixed_array(x), } } diff --git a/libs/types/src/tokens.rs b/libs/types/src/tokens.rs index aefb80a73c..77c2737b2a 100644 --- a/libs/types/src/tokens.rs +++ b/libs/types/src/tokens.rs @@ -175,18 +175,18 @@ pub struct GeneralCurrencyIndex { _phantom: PhantomData, } -impl TryInto> for CurrencyId +impl TryFrom for GeneralCurrencyIndex where Index: From, Prefix: Get<[u8; 12]>, { type Error = DispatchError; - fn try_into(self) -> Result, Self::Error> { + fn try_from(value: CurrencyId) -> Result, Self::Error> { let mut bytes = [0u8; 16]; bytes[..12].copy_from_slice(&Prefix::get()); - let currency_bytes: [u8; 4] = match &self { + let currency_bytes: [u8; 4] = match &value { CurrencyId::ForeignAsset(id32) => Ok(id32.to_be_bytes()), _ => Err(DispatchError::Token(TokenError::Unsupported)), }?; diff --git a/libs/utils/src/lib.rs b/libs/utils/src/lib.rs index fc57032ca1..dd447833bd 100644 --- a/libs/utils/src/lib.rs +++ b/libs/utils/src/lib.rs @@ -19,10 +19,10 @@ use sp_std::{cmp::min, vec::Vec}; /// Build a fixed-size array using as many elements from `src` as possible /// without overflowing and ensuring that the array is 0 padded in the case /// where `src.len()` is smaller than S. -pub fn vec_to_fixed_array(src: Vec) -> [u8; S] { +pub fn vec_to_fixed_array(src: impl AsRef<[u8]>) -> [u8; S] { let mut dest = [0; S]; - let len = min(src.len(), S); - dest[..len].copy_from_slice(&src.as_slice()[..len]); + let len = min(src.as_ref().len(), S); + dest[..len].copy_from_slice(&src.as_ref()[..len]); dest } diff --git a/node/Cargo.toml b/node/Cargo.toml index 774011eaa1..4976195d90 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -6,10 +6,10 @@ is-it-maintained-open-issues = { repository = "centrifuge/centrifuge-chain" } [package] name = "centrifuge-chain" -version = "0.10.39" description = "Centrifuge chain implementation in Rust." build = "build.rs" default-run = "centrifuge-chain" +version.workspace = true authors.workspace = true edition.workspace = true license.workspace = true diff --git a/node/src/chain_spec.rs b/node/src/chain_spec.rs index dd7945d0ea..9a7f3a5776 100644 --- a/node/src/chain_spec.rs +++ b/node/src/chain_spec.rs @@ -22,8 +22,6 @@ // module level. #![allow(clippy::derive_partial_eq_without_eq)] -use std::collections::BTreeMap; - use altair_runtime::constants::currency::{AIR, MILLI_AIR}; use cfg_primitives::{ currency_decimals, parachains, AccountId, AuraId, Balance, BlockNumber, CFG, MILLI_CFG, @@ -36,11 +34,11 @@ use cfg_types::{ use cfg_utils::vec_to_fixed_array; use cumulus_primitives_core::ParaId; use hex_literal::hex; -use runtime_common::{account_conversion::AccountConverter, evm::precompile::H160Addresses}; +use runtime_common::account_conversion::AccountConverter; use sc_chain_spec::{ChainSpecExtension, ChainSpecGroup}; use sc_service::{ChainType, Properties}; use serde::{Deserialize, Serialize}; -use sp_core::{sr25519, Encode, Pair, Public, H160}; +use sp_core::{sr25519, Encode, Pair, Public}; use sp_runtime::{ traits::{IdentifyAccount, Verify}, FixedPointNumber, @@ -58,10 +56,7 @@ pub type CentrifugeChainSpec = pub type DevelopmentChainSpec = sc_service::GenericChainSpec; -use altair_runtime::AltairPrecompiles; -use centrifuge_runtime::CentrifugePrecompiles; use cfg_types::fixed_point::Rate; -use development_runtime::DevelopmentPrecompiles; /// Helper function to generate a crypto pair from seed pub fn get_from_seed(seed: &str) -> ::Public { @@ -357,7 +352,7 @@ fn centrifuge_genesis( "chainId": Into::::into(chain_id), }, "evm": { - "accounts": precompile_account_genesis::(), + "accounts": runtime_common::evm::precompile::utils::precompile_account_genesis::(), }, "polkadotXcm": { "safeXcmVersion": Some(SAFE_XCM_VERSION), @@ -451,7 +446,7 @@ fn altair_genesis( "chainId": Into::::into(chain_id), }, "evm": { - "accounts": precompile_account_genesis::(), + "accounts": runtime_common::evm::precompile::utils::precompile_account_genesis::(), }, "polkadotXcm": { "safeXcmVersion": Some(SAFE_XCM_VERSION), @@ -594,7 +589,7 @@ fn development_genesis( "chainId": Into::::into(chain_id), }, "evm": { - "accounts": precompile_account_genesis::(), + "accounts": runtime_common::evm::precompile::utils::precompile_account_genesis::(), }, "polkadotXcm": { "safeXcmVersion": Some(SAFE_XCM_VERSION), @@ -648,7 +643,7 @@ fn asset_registry_assets() -> Vec<(CurrencyId, Vec)> { Parachain(parachains::rococo::acala::ID), GeneralKey { length: parachains::rococo::acala::AUSD_KEY.to_vec().len() as u8, - data: vec_to_fixed_array(parachains::rococo::acala::AUSD_KEY.to_vec()), + data: vec_to_fixed_array(parachains::rococo::acala::AUSD_KEY), }, ], ))), @@ -724,20 +719,3 @@ fn asset_registry_assets() -> Vec<(CurrencyId, Vec)> { ), ] } - -fn precompile_account_genesis( -) -> BTreeMap { - PrecompileSet::h160_addresses() - .map(|addr| { - ( - addr, - fp_evm::GenesisAccount { - nonce: Default::default(), - balance: Default::default(), - storage: Default::default(), - code: runtime_common::evm::precompile::utils::REVERT_BYTECODE.to_vec(), - }, - ) - }) - .collect() -} diff --git a/pallets/ethereum-transaction/src/lib.rs b/pallets/ethereum-transaction/src/lib.rs index e97df5184e..e3e4622409 100644 --- a/pallets/ethereum-transaction/src/lib.rs +++ b/pallets/ethereum-transaction/src/lib.rs @@ -158,7 +158,7 @@ pub mod pallet { }), })?; - // NOTE: The Ethereuem side of things never returns a DispatchError + // NOTE: The Ethereum side of things never returns a DispatchError // if the execution failed. But we can check that manually by // querying the `Pending` storage of the pallet-ethereum. let pending = pallet_ethereum::Pending::::get(); diff --git a/pallets/investments/src/tests.rs b/pallets/investments/src/tests.rs index e0f2ca4dc6..771836b257 100644 --- a/pallets/investments/src/tests.rs +++ b/pallets/investments/src/tests.rs @@ -2510,7 +2510,8 @@ fn collecting_fully_works() { #[allow(non_snake_case)] let SINGLE_REDEEM_AMOUNT_C = 50 * CURRENCY; #[allow(non_snake_case)] - let TOTAL_REDEEM_AMOUNT = SINGLE_REDEEM_AMOUNT_A + SINGLE_REDEEM_AMOUNT_B + SINGLE_REDEEM_AMOUNT_C; + let TOTAL_REDEEM_AMOUNT = + SINGLE_REDEEM_AMOUNT_A + SINGLE_REDEEM_AMOUNT_B + SINGLE_REDEEM_AMOUNT_C; #[allow(non_snake_case)] let SINGLE_INVEST_AMOUNT_A = 50 * CURRENCY; #[allow(non_snake_case)] @@ -2518,7 +2519,8 @@ fn collecting_fully_works() { #[allow(non_snake_case)] let SINGLE_INVEST_AMOUNT_C = 50 * CURRENCY; #[allow(non_snake_case)] - let TOTAL_INVEST_AMOUNT = SINGLE_INVEST_AMOUNT_A + SINGLE_INVEST_AMOUNT_B + SINGLE_INVEST_AMOUNT_C; + let TOTAL_INVEST_AMOUNT = + SINGLE_INVEST_AMOUNT_A + SINGLE_INVEST_AMOUNT_B + SINGLE_INVEST_AMOUNT_C; #[allow(non_snake_case)] let FULL_FULFILL = FulfillmentWithPrice { of_amount: Perquintill::one(), diff --git a/pallets/liquidity-pools-gateway/axelar-gateway-precompile/src/lib.rs b/pallets/liquidity-pools-gateway/axelar-gateway-precompile/src/lib.rs index 7509aefa23..dcd1d3b134 100644 --- a/pallets/liquidity-pools-gateway/axelar-gateway-precompile/src/lib.rs +++ b/pallets/liquidity-pools-gateway/axelar-gateway-precompile/src/lib.rs @@ -57,6 +57,12 @@ pub struct SourceConverter { pub domain: Domain, } +impl SourceConverter { + pub fn new(domain: Domain) -> Self { + Self { domain } + } +} + impl SourceConverter { pub fn try_convert(&self, maybe_address: &[u8]) -> Option { match self.domain { diff --git a/pallets/liquidity-pools-gateway/routers/src/lib.rs b/pallets/liquidity-pools-gateway/routers/src/lib.rs index 7010571e18..4d8ed5f3cb 100644 --- a/pallets/liquidity-pools-gateway/routers/src/lib.rs +++ b/pallets/liquidity-pools-gateway/routers/src/lib.rs @@ -144,6 +144,20 @@ where pub _marker: PhantomData, } +impl EVMRouter +where + T: frame_system::Config + pallet_ethereum_transaction::Config + pallet_evm::Config, + OriginFor: + From + Into>>, +{ + pub fn new(evm_domain: EVMDomain) -> Self { + Self { + evm_domain, + _marker: Default::default(), + } + } +} + impl EVMRouter where T: frame_system::Config + pallet_ethereum_transaction::Config + pallet_evm::Config, diff --git a/pallets/liquidity-pools-gateway/routers/src/routers/axelar_evm.rs b/pallets/liquidity-pools-gateway/routers/src/routers/axelar_evm.rs index 865557b848..76af791461 100644 --- a/pallets/liquidity-pools-gateway/routers/src/routers/axelar_evm.rs +++ b/pallets/liquidity-pools-gateway/routers/src/routers/axelar_evm.rs @@ -57,6 +57,19 @@ where OriginFor: From + Into>>, { + pub fn new( + router: EVMRouter, + evm_chain: BoundedVec>, + liquidity_pools_contract_address: H160, + ) -> Self { + Self { + router, + evm_chain, + liquidity_pools_contract_address, + _marker: Default::default(), + } + } + /// Calls the init function on the EVM router. pub fn do_init(&self) -> DispatchResult { self.router.do_init() diff --git a/pallets/liquidity-pools/src/lib.rs b/pallets/liquidity-pools/src/lib.rs index 6235475f82..2d1a0dea54 100644 --- a/pallets/liquidity-pools/src/lib.rs +++ b/pallets/liquidity-pools/src/lib.rs @@ -411,8 +411,8 @@ pub mod pallet { let investment_id = Self::derive_invest_id(pool_id, tranche_id)?; let metadata = T::AssetRegistry::metadata(&investment_id.into()) .ok_or(Error::::TrancheMetadataNotFound)?; - let token_name = vec_to_fixed_array(metadata.name.into_inner()); - let token_symbol = vec_to_fixed_array(metadata.symbol.into_inner()); + let token_name = vec_to_fixed_array(metadata.name); + let token_symbol = vec_to_fixed_array(metadata.symbol); // Send the message to the domain T::OutboundQueue::submit( @@ -793,8 +793,8 @@ pub mod pallet { let investment_id = Self::derive_invest_id(pool_id, tranche_id)?; let metadata = T::AssetRegistry::metadata(&investment_id.into()) .ok_or(Error::::TrancheMetadataNotFound)?; - let token_name = vec_to_fixed_array(metadata.name.into_inner()); - let token_symbol = vec_to_fixed_array(metadata.symbol.into_inner()); + let token_name = vec_to_fixed_array(metadata.name); + let token_symbol = vec_to_fixed_array(metadata.symbol); T::OutboundQueue::submit( who, diff --git a/pallets/liquidity-pools/src/message.rs b/pallets/liquidity-pools/src/message.rs index 5accba09b3..d268876f02 100644 --- a/pallets/liquidity-pools/src/message.rs +++ b/pallets/liquidity-pools/src/message.rs @@ -1039,8 +1039,8 @@ mod tests { LiquidityPoolsMessage::AddTranche { pool_id: 1, tranche_id: default_tranche_id(), - token_name: vec_to_fixed_array("Some Name".to_string().into_bytes()), - token_symbol: vec_to_fixed_array("SYMBOL".to_string().into_bytes()), + token_name: vec_to_fixed_array(b"Some Name"), + token_symbol: vec_to_fixed_array( b"SYMBOL"), decimals: 15, restriction_set: 1, }, @@ -1081,7 +1081,7 @@ mod tests { LiquidityPoolsMessage::Transfer { currency: TOKEN_ID, sender: default_address_32(), - receiver: vec_to_fixed_array(default_address_20().to_vec()), + receiver: vec_to_fixed_array(default_address_20()), amount: AMOUNT, }, "070000000000000000000000000eb5ec7b45645645645645645645645645645645645645645645645645645645645645641231231231231231231231231231231231231231000000000000000000000000000000000052b7d2dcc80cd2e4000000" @@ -1093,7 +1093,7 @@ mod tests { test_encode_decode_identity( LiquidityPoolsMessage::Transfer { currency: TOKEN_ID, - sender: vec_to_fixed_array(default_address_20().to_vec()), + sender: vec_to_fixed_array(default_address_20()), receiver: default_address_32(), amount: AMOUNT, }, @@ -1124,7 +1124,7 @@ mod tests { LiquidityPoolsMessage::TransferTrancheTokens { pool_id: 1, tranche_id: default_tranche_id(), - sender: vec_to_fixed_array(default_address_20().to_vec()), + sender: vec_to_fixed_array(default_address_20()), domain: Domain::Centrifuge, receiver: default_address_32(), amount: AMOUNT, @@ -1247,7 +1247,7 @@ mod tests { LiquidityPoolsMessage::ExecutedDecreaseInvestOrder { pool_id: POOL_ID, tranche_id: default_tranche_id(), - investor: vec_to_fixed_array(default_address_20().to_vec()), + investor: vec_to_fixed_array(default_address_20()), currency: TOKEN_ID, currency_payout: AMOUNT / 2, remaining_invest_amount: AMOUNT / 4, @@ -1262,7 +1262,7 @@ mod tests { LiquidityPoolsMessage::ExecutedDecreaseRedeemOrder { pool_id: POOL_ID, tranche_id: default_tranche_id(), - investor: vec_to_fixed_array(default_address_20().to_vec()), + investor: vec_to_fixed_array(default_address_20()), currency: TOKEN_ID, tranche_tokens_payout: AMOUNT / 2, remaining_redeem_amount: AMOUNT / 4, @@ -1277,7 +1277,7 @@ mod tests { LiquidityPoolsMessage::ExecutedCollectInvest { pool_id: POOL_ID, tranche_id: default_tranche_id(), - investor: vec_to_fixed_array(default_address_20().to_vec()), + investor: vec_to_fixed_array(default_address_20()), currency: TOKEN_ID, currency_payout: AMOUNT, tranche_tokens_payout: AMOUNT / 2, @@ -1293,7 +1293,7 @@ mod tests { LiquidityPoolsMessage::ExecutedCollectRedeem { pool_id: POOL_ID, tranche_id: default_tranche_id(), - investor: vec_to_fixed_array(default_address_20().to_vec()), + investor: vec_to_fixed_array(default_address_20()), currency: TOKEN_ID, currency_payout: AMOUNT, tranche_tokens_payout: AMOUNT / 2, @@ -1329,8 +1329,8 @@ mod tests { LiquidityPoolsMessage::UpdateTrancheTokenMetadata { pool_id: 1, tranche_id: default_tranche_id(), - token_name: vec_to_fixed_array("Some Name".to_string().into_bytes()), - token_symbol: vec_to_fixed_array("SYMBOL".to_string().into_bytes()), + token_name: vec_to_fixed_array(b"Some Name"), + token_symbol: vec_to_fixed_array(b"SYMBOL"), }, "170000000000000001811acd5b3f17c06841c7e41e9e04cb1b536f6d65204e616d65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000053594d424f4c0000000000000000000000000000000000000000000000000000", ) diff --git a/pallets/pool-system/src/pool_types.rs b/pallets/pool-system/src/pool_types.rs index c648fedef1..d2a5a4551c 100644 --- a/pallets/pool-system/src/pool_types.rs +++ b/pallets/pool-system/src/pool_types.rs @@ -208,7 +208,8 @@ impl< TrancheId, PoolId, MaxTranches, - > where + > +where Balance: FixedPointOperand + BaseArithmetic + Unsigned + From + sp_arithmetic::MultiplyRational, CurrencyId: Copy, diff --git a/pallets/pool-system/src/tranches.rs b/pallets/pool-system/src/tranches.rs index 2cd337bf0b..afa0a5ebbf 100644 --- a/pallets/pool-system/src/tranches.rs +++ b/pallets/pool-system/src/tranches.rs @@ -2909,10 +2909,11 @@ pub mod test { mod rebalance { use super::*; - const TOTAL_ASSETS: Balance = DEBT_RES - + RESERVE_RES + DEBT_NONRES_1 - + RESERVE_NONRES_1 - + DEBT_NONRES_2 + RESERVE_NONRES_2; + const TOTAL_ASSETS: Balance = + DEBT_RES + + RESERVE_RES + DEBT_NONRES_1 + + RESERVE_NONRES_1 + + DEBT_NONRES_2 + RESERVE_NONRES_2; const RATIO_NONRES_1: Balance = DEBT_NONRES_1 + RESERVE_NONRES_1; const RATIO_NONRES_2: Balance = DEBT_NONRES_2 + RESERVE_NONRES_2; const DEFAULT_NAV: Balance = 1_234_567_890; diff --git a/pallets/swaps/src/lib.rs b/pallets/swaps/src/lib.rs index fbd52e27a2..e823048261 100644 --- a/pallets/swaps/src/lib.rs +++ b/pallets/swaps/src/lib.rs @@ -81,14 +81,14 @@ pub mod pallet { /// /// NOTE: The storage is killed when the swap order no longer exists #[pallet::storage] - pub(super) type OrderIdToSwapId = + pub type OrderIdToSwapId = StorageMap<_, Blake2_128Concat, T::OrderId, (T::AccountId, T::SwapId)>; /// Maps an `AccountId` and `SwapId` to its corresponding `OrderId` /// /// NOTE: The storage is killed when the swap order no longer exists #[pallet::storage] - pub(super) type SwapIdToOrderId = + pub type SwapIdToOrderId = StorageMap<_, Blake2_128Concat, (T::AccountId, T::SwapId), T::OrderId>; #[pallet::error] diff --git a/runtime/altair/Cargo.toml b/runtime/altair/Cargo.toml index 91a5c59e12..0f6ee23f09 100644 --- a/runtime/altair/Cargo.toml +++ b/runtime/altair/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "altair-runtime" -version = "0.10.35" build = "build.rs" +version.workspace = true authors.workspace = true edition.workspace = true license.workspace = true diff --git a/runtime/altair/src/lib.rs b/runtime/altair/src/lib.rs index 64106e2e71..64983606ee 100644 --- a/runtime/altair/src/lib.rs +++ b/runtime/altair/src/lib.rs @@ -78,8 +78,8 @@ use pallet_anchors::AnchorData; use pallet_collective::{EnsureMember, EnsureProportionMoreThan}; use pallet_ethereum::{Call::transact, PostLogContent}; use pallet_evm::{ - Account as EVMAccount, EnsureAddressRoot, EnsureAddressTruncated, FeeCalculator, - GasWeightMapping, Runner, + Account as EVMAccount, EnsureAddressNever, EnsureAddressRoot, FeeCalculator, GasWeightMapping, + Runner, }; use pallet_investments::OrderType; use pallet_liquidity_pools::hooks::{ @@ -103,7 +103,7 @@ use runtime_common::{ account_conversion::{AccountConverter, RuntimeAccountConverter}, asset_registry, evm::{ - precompile::Precompiles, BaseFeeThreshold, FindAuthorTruncated, GAS_LIMIT_POV_SIZE_RATIO, + self, BaseFeeThreshold, FindAuthorTruncated, GAS_LIMIT_POV_SIZE_RATIO, GAS_LIMIT_STORAGE_GROWTH_RATIO, WEIGHT_PER_GAS, }, fees::{DealWithFees, FeeToTreasury, WeightToFee}, @@ -163,7 +163,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("altair"), impl_name: create_runtime_str!("altair"), authoring_version: 1, - spec_version: 1035, + spec_version: 1100, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 2, @@ -1866,11 +1866,11 @@ impl pallet_transfer_allowlist::Config for Runtime { type WeightInfo = weights::pallet_transfer_allowlist::WeightInfo; } -pub type AltairPrecompiles = Precompiles; +pub type Precompiles = evm::precompile::Precompiles; parameter_types! { pub BlockGasLimit: U256 = U256::from(NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT.ref_time() / WEIGHT_PER_GAS); - pub PrecompilesValue: AltairPrecompiles = Precompiles::<_, _>::new(); + pub PrecompilesValue: Precompiles = Precompiles::new(); pub WeightPerGas: Weight = Weight::from_parts(WEIGHT_PER_GAS, 0); pub const TokenSymbol: &'static str = "AIR"; } @@ -1889,7 +1889,7 @@ impl pallet_evm::Config for Runtime { type GasWeightMapping = pallet_evm::FixedGasWeightMapping; type OnChargeTransaction = (); type OnCreate = (); - type PrecompilesType = AltairPrecompiles; + type PrecompilesType = Precompiles; type PrecompilesValue = PrecompilesValue; type Runner = pallet_evm::runner::stack::Runner; type RuntimeEvent = RuntimeEvent; @@ -1897,7 +1897,7 @@ impl pallet_evm::Config for Runtime { type Timestamp = Timestamp; type WeightInfo = (); type WeightPerGas = WeightPerGas; - type WithdrawOrigin = EnsureAddressTruncated; + type WithdrawOrigin = EnsureAddressNever; } impl pallet_evm_chain_id::Config for Runtime {} @@ -1967,7 +1967,7 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - migrations::UpgradeAltair1035, + migrations::UpgradeAltair1100, >; // 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 13fff00f13..300d5e24f9 100644 --- a/runtime/altair/src/migrations.rs +++ b/runtime/altair/src/migrations.rs @@ -17,7 +17,7 @@ const IDENTITY_MIGRATION_KEY_LIMIT: u64 = 1000; /// The migration set for Altair @ Kusama. /// It includes all the migrations that have to be applied on that chain. -pub type UpgradeAltair1035 = ( +pub type UpgradeAltair1100 = ( runtime_common::migrations::increase_storage_version::Migration, runtime_common::migrations::increase_storage_version::Migration, runtime_common::migrations::increase_storage_version::Migration, diff --git a/runtime/altair/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/altair/src/weights/cumulus_pallet_xcmp_queue.rs index 644b444fb3..d5b8e21dfe 100644 --- a/runtime/altair/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/altair/src/weights/cumulus_pallet_xcmp_queue.rs @@ -1,22 +1,21 @@ //! 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-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=cumulus_pallet_xcmp_queue // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/cumulus_pallet_xcmp_queue.rs @@ -32,40 +31,106 @@ use core::marker::PhantomData; /// Weight functions for `cumulus_pallet_xcmp_queue`. pub struct WeightInfo(PhantomData); impl cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_config_with_u32() -> Weight { // Proof Size summary in bytes: // Measured: `109` // Estimated: `1594` - // Minimum execution time: 9_007_000 picoseconds. - Weight::from_parts(9_237_000, 0) + // Minimum execution time: 6_182_000 picoseconds. + Weight::from_parts(6_412_000, 0) .saturating_add(Weight::from_parts(0, 1594)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn enqueue_xcmp_message() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `115` + // Estimated: `3517` + // Minimum execution time: 17_342_000 picoseconds. + Weight::from_parts(17_753_000, 0) + .saturating_add(Weight::from_parts(0, 3517)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } - + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn suspend_channel() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `109` + // Estimated: `1594` + // Minimum execution time: 3_506_000 picoseconds. + Weight::from_parts(3_737_000, 0) + .saturating_add(Weight::from_parts(0, 1594)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn resume_channel() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `144` + // Estimated: `1629` + // Minimum execution time: 4_809_000 picoseconds. + Weight::from_parts(5_009_000, 0) + .saturating_add(Weight::from_parts(0, 1629)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - fn take_first_concatenated_xcm() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 10_980_000 picoseconds. + Weight::from_parts(11_281_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn on_idle_good_msg() -> Weight { - Weight::from_parts(1, 1) + // Proof Size summary in bytes: + // Measured: `65744` + // Estimated: `69209` + // Minimum execution time: 128_890_000 picoseconds. + Weight::from_parts(130_303_000, 0) + .saturating_add(Weight::from_parts(0, 69209)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) } - - fn on_idle_large_msg() -> Weight { - Weight::from_parts(1, 1) + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + fn on_idle_large_msg() -> Weight { + // Proof Size summary in bytes: + // Measured: `65743` + // Estimated: `69208` + // Minimum execution time: 56_836_000 picoseconds. + Weight::from_parts(60_172_000, 0) + .saturating_add(Weight::from_parts(0, 69208)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/altair/src/weights/mod.rs b/runtime/altair/src/weights/mod.rs index 3c26b723b1..659c89486d 100644 --- a/runtime/altair/src/weights/mod.rs +++ b/runtime/altair/src/weights/mod.rs @@ -43,7 +43,6 @@ pub mod pallet_session; pub mod pallet_timestamp; pub mod pallet_token_mux; pub mod pallet_transfer_allowlist; -pub mod pallet_treasury; pub mod pallet_uniques; pub mod pallet_utility; pub mod pallet_vesting; diff --git a/runtime/altair/src/weights/pallet_anchors.rs b/runtime/altair/src/weights/pallet_anchors.rs index e74f9f63f7..dc0d021c73 100644 --- a/runtime/altair/src/weights/pallet_anchors.rs +++ b/runtime/altair/src/weights/pallet_anchors.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_anchors` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_anchors // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_anchors.rs @@ -32,482 +31,482 @@ use core::marker::PhantomData; /// Weight functions for `pallet_anchors`. pub struct WeightInfo(PhantomData); impl pallet_anchors::WeightInfo for WeightInfo { - /// Storage: Anchor AnchorEvictDates (r:1 w:0) - /// Proof: Anchor AnchorEvictDates (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - /// Storage: Anchor PreCommits (r:1 w:1) - /// Proof: Anchor PreCommits (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Fees FeeBalances (r:1 w:0) - /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Anchor::AnchorEvictDates` (r:1 w:0) + /// Proof: `Anchor::AnchorEvictDates` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Anchor::PreCommits` (r:1 w:1) + /// Proof: `Anchor::PreCommits` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Fees::FeeBalances` (r:1 w:0) + /// Proof: `Fees::FeeBalances` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn pre_commit() -> Weight { // Proof Size summary in bytes: - // Measured: `334` + // Measured: `301` // Estimated: `3581` - // Minimum execution time: 42_600_000 picoseconds. - Weight::from_parts(43_291_000, 0) + // Minimum execution time: 38_802_000 picoseconds. + Weight::from_parts(39_623_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Anchor AnchorEvictDates (r:1 w:1) - /// Proof: Anchor AnchorEvictDates (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - /// Storage: Anchor PreCommits (r:1 w:1) - /// Proof: Anchor PreCommits (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Fees FeeBalances (r:1 w:0) - /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Authorship Author (r:1 w:0) - /// Proof: Authorship Author (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: System Digest (r:1 w:0) - /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Anchor LatestAnchorIndex (r:1 w:1) - /// Proof: Anchor LatestAnchorIndex (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Anchor AnchorIndexes (r:0 w:1) - /// Proof: Anchor AnchorIndexes (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - /// Storage: unknown `0xdb4faa73ca6d2016e53c7156087c176b79b169c409b8a0063a07964f3187f9e9` (r:0 w:1) - /// Proof Skipped: unknown `0xdb4faa73ca6d2016e53c7156087c176b79b169c409b8a0063a07964f3187f9e9` (r:0 w:1) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Anchor::AnchorEvictDates` (r:1 w:1) + /// Proof: `Anchor::AnchorEvictDates` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Anchor::PreCommits` (r:1 w:1) + /// Proof: `Anchor::PreCommits` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Fees::FeeBalances` (r:1 w:0) + /// Proof: `Fees::FeeBalances` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Authorship::Author` (r:1 w:0) + /// Proof: `Authorship::Author` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `System::Digest` (r:1 w:0) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Anchor::LatestAnchorIndex` (r:1 w:1) + /// Proof: `Anchor::LatestAnchorIndex` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Anchor::AnchorIndexes` (r:0 w:1) + /// Proof: `Anchor::AnchorIndexes` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0xdb4faa73ca6d2016e53c7156087c176b79b169c409b8a0063a07964f3187f9e9` (r:0 w:1) + /// Proof: UNKNOWN KEY `0xdb4faa73ca6d2016e53c7156087c176b79b169c409b8a0063a07964f3187f9e9` (r:0 w:1) fn commit() -> Weight { // Proof Size summary in bytes: - // Measured: `668` + // Measured: `635` // Estimated: `3581` - // Minimum execution time: 74_199_000 picoseconds. - Weight::from_parts(74_830_000, 0) + // Minimum execution time: 65_622_000 picoseconds. + Weight::from_parts(66_775_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: Anchor PreCommits (r:100 w:100) - /// Proof: Anchor PreCommits (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Anchor::PreCommits` (r:100 w:100) + /// Proof: `Anchor::PreCommits` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn evict_pre_commits() -> Weight { // Proof Size summary in bytes: // Measured: `12450` // Estimated: `260090` - // Minimum execution time: 2_299_661_000 picoseconds. - Weight::from_parts(2_331_731_000, 0) + // Minimum execution time: 1_940_047_000 picoseconds. + Weight::from_parts(1_960_465_000, 0) .saturating_add(Weight::from_parts(0, 260090)) .saturating_add(T::DbWeight::get().reads(100)) .saturating_add(T::DbWeight::get().writes(100)) } - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Anchor LatestEvictedDate (r:1 w:1) - /// Proof: Anchor LatestEvictedDate (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Anchor EvictedAnchorRoots (r:100 w:100) - /// Proof: Anchor EvictedAnchorRoots (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72010000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72010000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72020000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72020000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72030000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72030000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72040000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72040000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72050000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72050000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72060000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72060000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72070000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72070000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72080000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72080000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72090000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72090000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720a0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720a0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720b0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720b0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720c0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720c0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720d0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720d0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720e0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720e0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720f0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720f0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72100000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72100000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72110000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72110000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72120000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72120000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72130000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72130000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72140000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72140000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72150000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72150000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72160000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72160000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72170000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72170000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72180000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72180000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72190000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72190000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721a0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721a0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721b0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721b0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721c0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721c0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721d0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721d0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721e0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721e0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721f0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721f0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72200000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72200000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72210000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72210000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72220000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72220000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72230000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72230000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72240000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72240000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72250000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72250000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72260000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72260000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72270000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72270000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72280000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72280000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72290000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72290000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722a0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722a0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722b0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722b0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722c0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722c0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722d0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722d0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722e0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722e0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722f0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722f0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72300000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72300000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72310000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72310000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72320000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72320000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72330000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72330000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72340000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72340000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72350000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72350000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72360000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72360000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72370000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72370000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72380000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72380000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72390000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72390000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723a0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723a0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723b0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723b0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723c0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723c0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723d0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723d0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723e0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723e0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723f0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723f0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72400000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72400000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72410000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72410000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72420000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72420000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72430000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72430000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72440000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72440000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72450000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72450000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72460000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72460000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72470000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72470000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72480000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72480000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72490000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72490000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724a0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724a0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724b0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724b0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724c0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724c0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724d0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724d0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724e0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724e0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724f0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724f0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72500000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72500000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72510000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72510000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72520000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72520000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72530000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72530000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72540000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72540000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72550000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72550000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72560000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72560000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72570000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72570000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72580000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72580000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72590000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72590000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725a0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725a0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725b0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725b0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725c0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725c0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725d0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725d0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725e0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725e0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725f0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725f0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72600000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72600000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72610000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72610000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72620000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72620000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72630000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72630000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72640000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72640000` (r:1 w:0) - /// Storage: Anchor LatestEvictedAnchorIndex (r:1 w:1) - /// Proof: Anchor LatestEvictedAnchorIndex (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Anchor LatestAnchorIndex (r:1 w:0) - /// Proof: Anchor LatestAnchorIndex (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Anchor AnchorIndexes (r:100 w:100) - /// Proof: Anchor AnchorIndexes (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - /// Storage: Anchor AnchorEvictDates (r:100 w:100) - /// Proof: Anchor AnchorEvictDates (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - /// Storage: unknown `0x01d5998dcaa249dfa2a455ae4c045d761623f268227068931dbabca3732aa41f` (r:1 w:1) - /// Proof Skipped: unknown `0x01d5998dcaa249dfa2a455ae4c045d761623f268227068931dbabca3732aa41f` (r:1 w:1) - /// Storage: unknown `0x04575ee0699f1fa86cccfdcf4285aa81b9bfa0f8837cf533346d722970f1a704` (r:1 w:1) - /// Proof Skipped: unknown `0x04575ee0699f1fa86cccfdcf4285aa81b9bfa0f8837cf533346d722970f1a704` (r:1 w:1) - /// Storage: unknown `0x0959721f200e92d5090cee3c2c4546c11f9bfd16ded1e70e6781d2402880f1f3` (r:1 w:1) - /// Proof Skipped: unknown `0x0959721f200e92d5090cee3c2c4546c11f9bfd16ded1e70e6781d2402880f1f3` (r:1 w:1) - /// Storage: unknown `0x0a958b15afac1ffb0c6e73c553bd8b4ba94ad2d0cc118dcd2a7bc8802e2e772a` (r:1 w:1) - /// Proof Skipped: unknown `0x0a958b15afac1ffb0c6e73c553bd8b4ba94ad2d0cc118dcd2a7bc8802e2e772a` (r:1 w:1) - /// Storage: unknown `0x0c4c531cd9dcf8573a6350d0ac9fb060d273156bdee4fdae0043b6fee5bda27c` (r:1 w:1) - /// Proof Skipped: unknown `0x0c4c531cd9dcf8573a6350d0ac9fb060d273156bdee4fdae0043b6fee5bda27c` (r:1 w:1) - /// Storage: unknown `0x0cd3f3ee9420f9c3b2e70862996e8d02e87d1f148632a36b8f72c9548b10b856` (r:1 w:1) - /// Proof Skipped: unknown `0x0cd3f3ee9420f9c3b2e70862996e8d02e87d1f148632a36b8f72c9548b10b856` (r:1 w:1) - /// Storage: unknown `0x10876da12e1227a2c04872ce311f768aaf3e21458e6ad1c04f044c97fe8e214e` (r:1 w:1) - /// Proof Skipped: unknown `0x10876da12e1227a2c04872ce311f768aaf3e21458e6ad1c04f044c97fe8e214e` (r:1 w:1) - /// Storage: unknown `0x10b360a66313de6ab2d43019c5fd7ea0db088efb3e1d4a24d89775e66e089cff` (r:1 w:1) - /// Proof Skipped: unknown `0x10b360a66313de6ab2d43019c5fd7ea0db088efb3e1d4a24d89775e66e089cff` (r:1 w:1) - /// Storage: unknown `0x16d33ce142442dfbe857e2c9e0648d026c6bb367d467d6922c2c1133aaa3d7b8` (r:1 w:1) - /// Proof Skipped: unknown `0x16d33ce142442dfbe857e2c9e0648d026c6bb367d467d6922c2c1133aaa3d7b8` (r:1 w:1) - /// Storage: unknown `0x16e133fb9e42d5a2a9a2e21b2e0efd735fccb527162a21cf520c3aecd84c89ed` (r:1 w:1) - /// Proof Skipped: unknown `0x16e133fb9e42d5a2a9a2e21b2e0efd735fccb527162a21cf520c3aecd84c89ed` (r:1 w:1) - /// Storage: unknown `0x16fcb5e799a48fa04deaaaa71c85bc8e9126bd4b5dbcb3a1f8068ab14bc1c26f` (r:1 w:1) - /// Proof Skipped: unknown `0x16fcb5e799a48fa04deaaaa71c85bc8e9126bd4b5dbcb3a1f8068ab14bc1c26f` (r:1 w:1) - /// Storage: unknown `0x1b3289127bc95ed117e77d479ccd3ac4477ef8d32df7265bbd42c75bf1945464` (r:1 w:1) - /// Proof Skipped: unknown `0x1b3289127bc95ed117e77d479ccd3ac4477ef8d32df7265bbd42c75bf1945464` (r:1 w:1) - /// Storage: unknown `0x1ecb14235f21b57f49e32ac4f35a1af6a71f96867f0bc61bc5905b8d437b6bde` (r:1 w:1) - /// Proof Skipped: unknown `0x1ecb14235f21b57f49e32ac4f35a1af6a71f96867f0bc61bc5905b8d437b6bde` (r:1 w:1) - /// Storage: unknown `0x1f8b0dafc67f9d378cf0596c5d49f220e5880b9c74ccaadac2206a35ec92715a` (r:1 w:1) - /// Proof Skipped: unknown `0x1f8b0dafc67f9d378cf0596c5d49f220e5880b9c74ccaadac2206a35ec92715a` (r:1 w:1) - /// Storage: unknown `0x24a8d9c362d9365f46f899adb37f6b61134dceaa80f96a9cda6b059a1301f380` (r:1 w:1) - /// Proof Skipped: unknown `0x24a8d9c362d9365f46f899adb37f6b61134dceaa80f96a9cda6b059a1301f380` (r:1 w:1) - /// Storage: unknown `0x2a00fca93dceceb635a80a95e8f785b189a4ce35f90a17acba5d1bcacf895a84` (r:1 w:1) - /// Proof Skipped: unknown `0x2a00fca93dceceb635a80a95e8f785b189a4ce35f90a17acba5d1bcacf895a84` (r:1 w:1) - /// Storage: unknown `0x2b318def38ef5f2f8db787e365834ece79fbde70c22cf7bd6c9326995fd4c07f` (r:1 w:1) - /// Proof Skipped: unknown `0x2b318def38ef5f2f8db787e365834ece79fbde70c22cf7bd6c9326995fd4c07f` (r:1 w:1) - /// Storage: unknown `0x2fbeff7b90831a847716e729a30f028899726193b4406a1c91fce4e97beb61b5` (r:1 w:1) - /// Proof Skipped: unknown `0x2fbeff7b90831a847716e729a30f028899726193b4406a1c91fce4e97beb61b5` (r:1 w:1) - /// Storage: unknown `0x30dc983a9ad263028d0e91a8a0cf703a2a7fd3834b1102f1ff3f8c8876a207bf` (r:1 w:1) - /// Proof Skipped: unknown `0x30dc983a9ad263028d0e91a8a0cf703a2a7fd3834b1102f1ff3f8c8876a207bf` (r:1 w:1) - /// Storage: unknown `0x3187d0cdac28db7ec343a07f0b2e44fc56986f0a9c2062d5fa60f99419707bea` (r:1 w:1) - /// Proof Skipped: unknown `0x3187d0cdac28db7ec343a07f0b2e44fc56986f0a9c2062d5fa60f99419707bea` (r:1 w:1) - /// Storage: unknown `0x3596cd6b45e209629c71765c804f324ed440f7a1cb2ff6cb542156fd5d213de2` (r:1 w:1) - /// Proof Skipped: unknown `0x3596cd6b45e209629c71765c804f324ed440f7a1cb2ff6cb542156fd5d213de2` (r:1 w:1) - /// Storage: unknown `0x3645890bd8ab0cc13921468d56eee7da40fbe28dc05bc30a64f05a2c03a1912e` (r:1 w:1) - /// Proof Skipped: unknown `0x3645890bd8ab0cc13921468d56eee7da40fbe28dc05bc30a64f05a2c03a1912e` (r:1 w:1) - /// Storage: unknown `0x384b604969634cf37d988e886b5267a51baeb797e09a1d1a0893e5be8fc553df` (r:1 w:1) - /// Proof Skipped: unknown `0x384b604969634cf37d988e886b5267a51baeb797e09a1d1a0893e5be8fc553df` (r:1 w:1) - /// Storage: unknown `0x3c056a888ea28c9294c91723916f5891141a824048335e32532e6605ce0457e0` (r:1 w:1) - /// Proof Skipped: unknown `0x3c056a888ea28c9294c91723916f5891141a824048335e32532e6605ce0457e0` (r:1 w:1) - /// Storage: unknown `0x3c5fd1d5c95885c6b44e0f3995886046d906821de1ed5ee95b51b17c42d3295b` (r:1 w:1) - /// Proof Skipped: unknown `0x3c5fd1d5c95885c6b44e0f3995886046d906821de1ed5ee95b51b17c42d3295b` (r:1 w:1) - /// Storage: unknown `0x3e74dfe3befcf6fa20eb902c2007ba7fd831619013aa99e016284597b896115b` (r:1 w:1) - /// Proof Skipped: unknown `0x3e74dfe3befcf6fa20eb902c2007ba7fd831619013aa99e016284597b896115b` (r:1 w:1) - /// Storage: unknown `0x42f1cff854d41b18ae379b012a1e712f036bcd839244d5c6324f12c28f6fd6e9` (r:1 w:1) - /// Proof Skipped: unknown `0x42f1cff854d41b18ae379b012a1e712f036bcd839244d5c6324f12c28f6fd6e9` (r:1 w:1) - /// Storage: unknown `0x457803d743c32f50866dbf7aabb339a1d8b6b759783b0627128f0cfd3d6c8775` (r:1 w:1) - /// Proof Skipped: unknown `0x457803d743c32f50866dbf7aabb339a1d8b6b759783b0627128f0cfd3d6c8775` (r:1 w:1) - /// Storage: unknown `0x4cb17fd2f1d1b2eff69f0ffa1a97ff13e7bf4f05a7a99dd06e503e7546b23906` (r:1 w:1) - /// Proof Skipped: unknown `0x4cb17fd2f1d1b2eff69f0ffa1a97ff13e7bf4f05a7a99dd06e503e7546b23906` (r:1 w:1) - /// Storage: unknown `0x58357c4f5a9881658ffc42faa5f48e2810169bf85c8c78011696a17b59728ef5` (r:1 w:1) - /// Proof Skipped: unknown `0x58357c4f5a9881658ffc42faa5f48e2810169bf85c8c78011696a17b59728ef5` (r:1 w:1) - /// Storage: unknown `0x5baa983aa91ad92c66e17d16e0757ec4a67ec2ce5b95f4d02ec22fba0e485da0` (r:1 w:1) - /// Proof Skipped: unknown `0x5baa983aa91ad92c66e17d16e0757ec4a67ec2ce5b95f4d02ec22fba0e485da0` (r:1 w:1) - /// Storage: unknown `0x5da83d0712f41714545470b781e0a43c65a0ac977327475baa98b5cd94938f17` (r:1 w:1) - /// Proof Skipped: unknown `0x5da83d0712f41714545470b781e0a43c65a0ac977327475baa98b5cd94938f17` (r:1 w:1) - /// Storage: unknown `0x6365aeecd6b54d3166f3df46d8c7b404711ca54b4284e8faf67eb014fa3685f8` (r:1 w:1) - /// Proof Skipped: unknown `0x6365aeecd6b54d3166f3df46d8c7b404711ca54b4284e8faf67eb014fa3685f8` (r:1 w:1) - /// Storage: unknown `0x683b74d821a8019cbfc9dbe47b50b0f377e0eef16dbc52f7f931ae713fd3f644` (r:1 w:1) - /// Proof Skipped: unknown `0x683b74d821a8019cbfc9dbe47b50b0f377e0eef16dbc52f7f931ae713fd3f644` (r:1 w:1) - /// Storage: unknown `0x6b02568ad8557dc3d66463abfd1d7f298a0b314fe4bf7d5be79b66768096ed90` (r:1 w:1) - /// Proof Skipped: unknown `0x6b02568ad8557dc3d66463abfd1d7f298a0b314fe4bf7d5be79b66768096ed90` (r:1 w:1) - /// Storage: unknown `0x6b05c068aecc171915a61cf59146e7f9a69b9bba39f4df50cecfeb454850b4c9` (r:1 w:1) - /// Proof Skipped: unknown `0x6b05c068aecc171915a61cf59146e7f9a69b9bba39f4df50cecfeb454850b4c9` (r:1 w:1) - /// Storage: unknown `0x6b5529ac614dcbd6113176256a4f5809eb667bddab2e22579306de0a1f83f287` (r:1 w:1) - /// Proof Skipped: unknown `0x6b5529ac614dcbd6113176256a4f5809eb667bddab2e22579306de0a1f83f287` (r:1 w:1) - /// Storage: unknown `0x6cd1381490331969f37f1e6575081f42f1bd8ae0cc79d70fc52ed178b5d75bd0` (r:1 w:1) - /// Proof Skipped: unknown `0x6cd1381490331969f37f1e6575081f42f1bd8ae0cc79d70fc52ed178b5d75bd0` (r:1 w:1) - /// Storage: unknown `0x6f5b021a9f57d7669ed7269e7d8785acf255f15785bf452a03a4decc184fd403` (r:1 w:1) - /// Proof Skipped: unknown `0x6f5b021a9f57d7669ed7269e7d8785acf255f15785bf452a03a4decc184fd403` (r:1 w:1) - /// Storage: unknown `0x764bac7888f79c071087d351a356a09cb2490cb6ea6d71f0cd391de89a885cd2` (r:1 w:1) - /// Proof Skipped: unknown `0x764bac7888f79c071087d351a356a09cb2490cb6ea6d71f0cd391de89a885cd2` (r:1 w:1) - /// Storage: unknown `0x7aedb653a5de5739b9d3594196693fd51653fcd59b442e0eb9f64265db188044` (r:1 w:1) - /// Proof Skipped: unknown `0x7aedb653a5de5739b9d3594196693fd51653fcd59b442e0eb9f64265db188044` (r:1 w:1) - /// Storage: unknown `0x7ca04bdeb932896fd908eb86d4136e9e2462575ebdf981001c1cd3ca6a2faaec` (r:1 w:1) - /// Proof Skipped: unknown `0x7ca04bdeb932896fd908eb86d4136e9e2462575ebdf981001c1cd3ca6a2faaec` (r:1 w:1) - /// Storage: unknown `0x7ceee738f5af899bd2f967a928019e4a0ecb8715509668dcc039badfe148b45e` (r:1 w:1) - /// Proof Skipped: unknown `0x7ceee738f5af899bd2f967a928019e4a0ecb8715509668dcc039badfe148b45e` (r:1 w:1) - /// Storage: unknown `0x7e700ce9c411e35485babec60c2b68f40c512bc8399c5cee0c1e4264e63f36d1` (r:1 w:1) - /// Proof Skipped: unknown `0x7e700ce9c411e35485babec60c2b68f40c512bc8399c5cee0c1e4264e63f36d1` (r:1 w:1) - /// Storage: unknown `0x80c020f2e70a170ee2f34af3daeda4c2097d14a35f5b1f2d23c2287e5e930f55` (r:1 w:1) - /// Proof Skipped: unknown `0x80c020f2e70a170ee2f34af3daeda4c2097d14a35f5b1f2d23c2287e5e930f55` (r:1 w:1) - /// Storage: unknown `0x8101d04cf92ee55f6c2a798c7b16da4cc8c511fd822b13093d0f53f5523718d0` (r:1 w:1) - /// Proof Skipped: unknown `0x8101d04cf92ee55f6c2a798c7b16da4cc8c511fd822b13093d0f53f5523718d0` (r:1 w:1) - /// Storage: unknown `0x85172de32d6b5871235d50648541b1bd007807512231f9b81f25cb5e20141820` (r:1 w:1) - /// Proof Skipped: unknown `0x85172de32d6b5871235d50648541b1bd007807512231f9b81f25cb5e20141820` (r:1 w:1) - /// Storage: unknown `0x85e9ccd05d28607dcce0dc5be4f34a7d56d3b83b6c63162b2787fc0e6decf2a7` (r:1 w:1) - /// Proof Skipped: unknown `0x85e9ccd05d28607dcce0dc5be4f34a7d56d3b83b6c63162b2787fc0e6decf2a7` (r:1 w:1) - /// Storage: unknown `0x87b3d065618080e576b534cf68b60d09c4cca0b71a8b6321337cc23be47e7329` (r:1 w:1) - /// Proof Skipped: unknown `0x87b3d065618080e576b534cf68b60d09c4cca0b71a8b6321337cc23be47e7329` (r:1 w:1) - /// Storage: unknown `0x892ec564231143cc6294a8750b924df2207d91ea3508501d2bd84bee7947b9d0` (r:1 w:1) - /// Proof Skipped: unknown `0x892ec564231143cc6294a8750b924df2207d91ea3508501d2bd84bee7947b9d0` (r:1 w:1) - /// Storage: unknown `0x8980988eacf42b40c4fc8aa995ae2e059a66c6935626c3e30f1d6842335368d0` (r:1 w:1) - /// Proof Skipped: unknown `0x8980988eacf42b40c4fc8aa995ae2e059a66c6935626c3e30f1d6842335368d0` (r:1 w:1) - /// Storage: unknown `0x8db2380506697daa88c7a72906d747535ffb12c0ca2a4a6443074bb0fdd8f256` (r:1 w:1) - /// Proof Skipped: unknown `0x8db2380506697daa88c7a72906d747535ffb12c0ca2a4a6443074bb0fdd8f256` (r:1 w:1) - /// Storage: unknown `0x8e098b9b896a97df275aba887f591c3076220e02adf682c98808e4ba53e6a773` (r:1 w:1) - /// Proof Skipped: unknown `0x8e098b9b896a97df275aba887f591c3076220e02adf682c98808e4ba53e6a773` (r:1 w:1) - /// Storage: unknown `0x8e590007efc113bc10a61c478d26803cdae5572d4c70547b3c9813b3ce396826` (r:1 w:1) - /// Proof Skipped: unknown `0x8e590007efc113bc10a61c478d26803cdae5572d4c70547b3c9813b3ce396826` (r:1 w:1) - /// Storage: unknown `0x96e31df89b1f00b96c993bd9de31e32e7e59c0a185cd0b31adc4e969746c8ea6` (r:1 w:1) - /// Proof Skipped: unknown `0x96e31df89b1f00b96c993bd9de31e32e7e59c0a185cd0b31adc4e969746c8ea6` (r:1 w:1) - /// Storage: unknown `0x9ae7305289647b636a8702b2316e5482f1a807fa398687068fb653527368f9bc` (r:1 w:1) - /// Proof Skipped: unknown `0x9ae7305289647b636a8702b2316e5482f1a807fa398687068fb653527368f9bc` (r:1 w:1) - /// Storage: unknown `0x9b9660b6fc1992a09573eaa9110c4a08d40c1f439304a47b9776645bc278fc75` (r:1 w:1) - /// Proof Skipped: unknown `0x9b9660b6fc1992a09573eaa9110c4a08d40c1f439304a47b9776645bc278fc75` (r:1 w:1) - /// Storage: unknown `0xa04f2ef3bb509dfec9d7a97c4778ab2e477af9c5cbda3a1c6e57514314a3f9a5` (r:1 w:1) - /// Proof Skipped: unknown `0xa04f2ef3bb509dfec9d7a97c4778ab2e477af9c5cbda3a1c6e57514314a3f9a5` (r:1 w:1) - /// Storage: unknown `0xa16d64c1e08b47144c2c8e37872486cf440dda823e2ea05f480fedfe83060f17` (r:1 w:1) - /// Proof Skipped: unknown `0xa16d64c1e08b47144c2c8e37872486cf440dda823e2ea05f480fedfe83060f17` (r:1 w:1) - /// Storage: unknown `0xa4ad0a32c2781a59ea8a6d58e26fa7dc0b2a08f8c4c938661f5f3ccd8f8eb8ce` (r:1 w:1) - /// Proof Skipped: unknown `0xa4ad0a32c2781a59ea8a6d58e26fa7dc0b2a08f8c4c938661f5f3ccd8f8eb8ce` (r:1 w:1) - /// Storage: unknown `0xab9797fb6926376ee3b6be73e5501e0a3af18d0bc6dfca0d3b5f498602016956` (r:1 w:1) - /// Proof Skipped: unknown `0xab9797fb6926376ee3b6be73e5501e0a3af18d0bc6dfca0d3b5f498602016956` (r:1 w:1) - /// Storage: unknown `0xac4d9f6628449fe129d24b384441fdb445962d2d6bca7603fea0c20f3d04351c` (r:1 w:1) - /// Proof Skipped: unknown `0xac4d9f6628449fe129d24b384441fdb445962d2d6bca7603fea0c20f3d04351c` (r:1 w:1) - /// Storage: unknown `0xafecb421bedaa0f8bd89ef18897b77ce61738af42f8a66e3257a079a3d04bef1` (r:1 w:1) - /// Proof Skipped: unknown `0xafecb421bedaa0f8bd89ef18897b77ce61738af42f8a66e3257a079a3d04bef1` (r:1 w:1) - /// Storage: unknown `0xb292dc48cc1057cce335f1d84f295271a2b16aee7018f1bd444febd77f7e5cbb` (r:1 w:1) - /// Proof Skipped: unknown `0xb292dc48cc1057cce335f1d84f295271a2b16aee7018f1bd444febd77f7e5cbb` (r:1 w:1) - /// Storage: unknown `0xb48b9d9955158dbd87abb433511a5968c21cf78f8085088407e24d6ee26f7f56` (r:1 w:1) - /// Proof Skipped: unknown `0xb48b9d9955158dbd87abb433511a5968c21cf78f8085088407e24d6ee26f7f56` (r:1 w:1) - /// Storage: unknown `0xb5a7df612d6fb3bc16c1716414897ba5928835d883003371f02106d5a92abd78` (r:1 w:1) - /// Proof Skipped: unknown `0xb5a7df612d6fb3bc16c1716414897ba5928835d883003371f02106d5a92abd78` (r:1 w:1) - /// Storage: unknown `0xb684abf2ee5018a16a8dbef6633bcb94a07a2cdf4a173e4fec130da86e8ab987` (r:1 w:1) - /// Proof Skipped: unknown `0xb684abf2ee5018a16a8dbef6633bcb94a07a2cdf4a173e4fec130da86e8ab987` (r:1 w:1) - /// Storage: unknown `0xb86c8391d2a3eb28b9e3b603cf6929849d50e439e0bbc79781b2555f9cbaa013` (r:1 w:1) - /// Proof Skipped: unknown `0xb86c8391d2a3eb28b9e3b603cf6929849d50e439e0bbc79781b2555f9cbaa013` (r:1 w:1) - /// Storage: unknown `0xba070ba6cf5f2489f98b6841d238eee4fc403d3065b57f9e3e38ca540971024d` (r:1 w:1) - /// Proof Skipped: unknown `0xba070ba6cf5f2489f98b6841d238eee4fc403d3065b57f9e3e38ca540971024d` (r:1 w:1) - /// Storage: unknown `0xbcb96e5fc092d3ac258a81b5390671817730859598470874ef02f998518bbf58` (r:1 w:1) - /// Proof Skipped: unknown `0xbcb96e5fc092d3ac258a81b5390671817730859598470874ef02f998518bbf58` (r:1 w:1) - /// Storage: unknown `0xc008db6f6d721d80fab2eab8b6dda4f19bd5def30aa7db86dadd6eb799c2f5ad` (r:1 w:1) - /// Proof Skipped: unknown `0xc008db6f6d721d80fab2eab8b6dda4f19bd5def30aa7db86dadd6eb799c2f5ad` (r:1 w:1) - /// Storage: unknown `0xc054c4045e44e28cef1884c0aa86d0049b76eaff493a6d694394df7b0cee8136` (r:1 w:1) - /// Proof Skipped: unknown `0xc054c4045e44e28cef1884c0aa86d0049b76eaff493a6d694394df7b0cee8136` (r:1 w:1) - /// Storage: unknown `0xc315216d50f4dd95914d6d102976dc09ec4474da5c314a15f09972ded6e71ddb` (r:1 w:1) - /// Proof Skipped: unknown `0xc315216d50f4dd95914d6d102976dc09ec4474da5c314a15f09972ded6e71ddb` (r:1 w:1) - /// Storage: unknown `0xc4a2c3fa3cc7ed1611651510eb6e225abab30676f0fad28c115482c7dd61f8e0` (r:1 w:1) - /// Proof Skipped: unknown `0xc4a2c3fa3cc7ed1611651510eb6e225abab30676f0fad28c115482c7dd61f8e0` (r:1 w:1) - /// Storage: unknown `0xc6cc01d59d3c86a1c12a167e149d784295fcd13862e4afb0a39a8459e6e25561` (r:1 w:1) - /// Proof Skipped: unknown `0xc6cc01d59d3c86a1c12a167e149d784295fcd13862e4afb0a39a8459e6e25561` (r:1 w:1) - /// Storage: unknown `0xc712d8fa08dd521e5f901ca6d36134807c5ec0510e3b52e8ae5a15f7c13d2ebd` (r:1 w:1) - /// Proof Skipped: unknown `0xc712d8fa08dd521e5f901ca6d36134807c5ec0510e3b52e8ae5a15f7c13d2ebd` (r:1 w:1) - /// Storage: unknown `0xc7e2bc91ff1b307f6995683b76f1904ccdada3cf8f00528c08d4f65911c4888a` (r:1 w:1) - /// Proof Skipped: unknown `0xc7e2bc91ff1b307f6995683b76f1904ccdada3cf8f00528c08d4f65911c4888a` (r:1 w:1) - /// Storage: unknown `0xccbca45304d59a1167eaf9b459e09cffce3d90c087ee9edf8e7e2dc40349373b` (r:1 w:1) - /// Proof Skipped: unknown `0xccbca45304d59a1167eaf9b459e09cffce3d90c087ee9edf8e7e2dc40349373b` (r:1 w:1) - /// Storage: unknown `0xccc17a821dda11e5239ea8dbedee5bd6622fc8dd63ee229fc3bd2dead22e8ae2` (r:1 w:1) - /// Proof Skipped: unknown `0xccc17a821dda11e5239ea8dbedee5bd6622fc8dd63ee229fc3bd2dead22e8ae2` (r:1 w:1) - /// Storage: unknown `0xccee04c4c0534d4245892ed24d7814cd14a41aeed7e94591354315f5b74d89f5` (r:1 w:1) - /// Proof Skipped: unknown `0xccee04c4c0534d4245892ed24d7814cd14a41aeed7e94591354315f5b74d89f5` (r:1 w:1) - /// Storage: unknown `0xcf67e9890d936f6bd205710c9a5cedc653d88fba3c74b7a2b9fe8ce7fce0bd0c` (r:1 w:1) - /// Proof Skipped: unknown `0xcf67e9890d936f6bd205710c9a5cedc653d88fba3c74b7a2b9fe8ce7fce0bd0c` (r:1 w:1) - /// Storage: unknown `0xcfdb7c67ada01beee8308b04c3f32e4c078603d0c84c0e28e605a8ea56dcc362` (r:1 w:1) - /// Proof Skipped: unknown `0xcfdb7c67ada01beee8308b04c3f32e4c078603d0c84c0e28e605a8ea56dcc362` (r:1 w:1) - /// Storage: unknown `0xd0d54b0c405fea6ff90809070bfd270c88e9a26ad83138eeb077d8f9602670bc` (r:1 w:1) - /// Proof Skipped: unknown `0xd0d54b0c405fea6ff90809070bfd270c88e9a26ad83138eeb077d8f9602670bc` (r:1 w:1) - /// Storage: unknown `0xd1d4eefa482f2ece90773426cd76c1da272ef0e72c1172a4a71b84c1f5f6c7c7` (r:1 w:1) - /// Proof Skipped: unknown `0xd1d4eefa482f2ece90773426cd76c1da272ef0e72c1172a4a71b84c1f5f6c7c7` (r:1 w:1) - /// Storage: unknown `0xd282fcd4ae056e61acbc8950a306910569f227182c41e5b88159aed160ba2a58` (r:1 w:1) - /// Proof Skipped: unknown `0xd282fcd4ae056e61acbc8950a306910569f227182c41e5b88159aed160ba2a58` (r:1 w:1) - /// Storage: unknown `0xd37f5ea81d5d617ed7490c928e4f3a1eba6f234787ba84f31e204e8733cd039f` (r:1 w:1) - /// Proof Skipped: unknown `0xd37f5ea81d5d617ed7490c928e4f3a1eba6f234787ba84f31e204e8733cd039f` (r:1 w:1) - /// Storage: unknown `0xd6780cc86f71e3b9d0f0f6977d180e26166b517ee3ee227701f9f36cccae3171` (r:1 w:1) - /// Proof Skipped: unknown `0xd6780cc86f71e3b9d0f0f6977d180e26166b517ee3ee227701f9f36cccae3171` (r:1 w:1) - /// Storage: unknown `0xd79237f18c61e22111652b0e9b809fbe8ca41552b3a927877a294a732b338f63` (r:1 w:1) - /// Proof Skipped: unknown `0xd79237f18c61e22111652b0e9b809fbe8ca41552b3a927877a294a732b338f63` (r:1 w:1) - /// Storage: unknown `0xd8825b3a03921d36a1543c344d9b3cacce95765f29c735cf3ed72dc9c37ff81b` (r:1 w:1) - /// Proof Skipped: unknown `0xd8825b3a03921d36a1543c344d9b3cacce95765f29c735cf3ed72dc9c37ff81b` (r:1 w:1) - /// Storage: unknown `0xdd012b8629cc16d3ad36b73df7dd7d38e8c11ac479b99dedffb10b5007c8049a` (r:1 w:1) - /// Proof Skipped: unknown `0xdd012b8629cc16d3ad36b73df7dd7d38e8c11ac479b99dedffb10b5007c8049a` (r:1 w:1) - /// Storage: unknown `0xdec56d85d6fffd793180a2ce033397f67fb3b9b7ac3e2b0ef6be2f15e7de435f` (r:1 w:1) - /// Proof Skipped: unknown `0xdec56d85d6fffd793180a2ce033397f67fb3b9b7ac3e2b0ef6be2f15e7de435f` (r:1 w:1) - /// Storage: unknown `0xe1f270fea944a3a9db5550d742e3acb3dd449cafb73dce65c1705d0752c1343b` (r:1 w:1) - /// Proof Skipped: unknown `0xe1f270fea944a3a9db5550d742e3acb3dd449cafb73dce65c1705d0752c1343b` (r:1 w:1) - /// Storage: unknown `0xe4002351550f1b106219729b86aa4776fb907737c9cd7e957c5ce80062a8ff8a` (r:1 w:1) - /// Proof Skipped: unknown `0xe4002351550f1b106219729b86aa4776fb907737c9cd7e957c5ce80062a8ff8a` (r:1 w:1) - /// Storage: unknown `0xe45f26671be0fb4144ed09c40b9493c4584affb2c1d1fe6cb067aa2df802027e` (r:1 w:1) - /// Proof Skipped: unknown `0xe45f26671be0fb4144ed09c40b9493c4584affb2c1d1fe6cb067aa2df802027e` (r:1 w:1) - /// Storage: unknown `0xe6b4a4991b976360dacf2c942d16326dd53584aca6ed1ae4e78f668d7b1163c1` (r:1 w:1) - /// Proof Skipped: unknown `0xe6b4a4991b976360dacf2c942d16326dd53584aca6ed1ae4e78f668d7b1163c1` (r:1 w:1) - /// Storage: unknown `0xe8150db238f56576dcf5e1b98f3915361092aa174b16e6cda3e78c28b6444dc8` (r:1 w:1) - /// Proof Skipped: unknown `0xe8150db238f56576dcf5e1b98f3915361092aa174b16e6cda3e78c28b6444dc8` (r:1 w:1) - /// Storage: unknown `0xebc5f1d9670cdeb0655d79e95c9602ec1d85ad989ce78194dfd1a31e9fb4994c` (r:1 w:1) - /// Proof Skipped: unknown `0xebc5f1d9670cdeb0655d79e95c9602ec1d85ad989ce78194dfd1a31e9fb4994c` (r:1 w:1) - /// Storage: unknown `0xed0df01311d268fc75f0da4859b6508e1c445e713847efbc18528d731316cf48` (r:1 w:1) - /// Proof Skipped: unknown `0xed0df01311d268fc75f0da4859b6508e1c445e713847efbc18528d731316cf48` (r:1 w:1) - /// Storage: unknown `0xee60c64e1e32117f948ee71d391f978e8ac98c2bd869322fc25164502e3f7a9b` (r:1 w:1) - /// Proof Skipped: unknown `0xee60c64e1e32117f948ee71d391f978e8ac98c2bd869322fc25164502e3f7a9b` (r:1 w:1) - /// Storage: unknown `0xf7e4b8a5415405a940e730546df85583c8c23956d99a3be18e09eebf3639d312` (r:1 w:1) - /// Proof Skipped: unknown `0xf7e4b8a5415405a940e730546df85583c8c23956d99a3be18e09eebf3639d312` (r:1 w:1) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Anchor::LatestEvictedDate` (r:1 w:1) + /// Proof: `Anchor::LatestEvictedDate` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Anchor::EvictedAnchorRoots` (r:100 w:100) + /// Proof: `Anchor::EvictedAnchorRoots` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72010000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72010000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72020000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72020000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72030000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72030000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72040000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72040000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72050000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72050000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72060000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72060000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72070000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72070000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72080000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72080000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72090000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72090000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720a0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720a0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720b0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720b0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720c0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720c0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720d0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720d0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720e0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720e0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720f0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720f0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72100000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72100000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72110000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72110000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72120000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72120000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72130000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72130000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72140000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72140000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72150000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72150000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72160000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72160000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72170000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72170000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72180000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72180000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72190000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72190000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721a0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721a0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721b0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721b0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721c0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721c0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721d0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721d0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721e0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721e0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721f0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721f0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72200000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72200000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72210000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72210000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72220000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72220000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72230000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72230000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72240000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72240000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72250000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72250000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72260000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72260000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72270000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72270000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72280000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72280000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72290000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72290000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722a0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722a0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722b0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722b0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722c0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722c0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722d0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722d0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722e0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722e0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722f0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722f0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72300000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72300000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72310000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72310000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72320000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72320000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72330000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72330000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72340000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72340000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72350000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72350000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72360000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72360000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72370000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72370000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72380000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72380000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72390000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72390000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723a0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723a0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723b0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723b0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723c0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723c0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723d0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723d0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723e0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723e0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723f0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723f0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72400000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72400000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72410000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72410000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72420000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72420000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72430000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72430000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72440000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72440000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72450000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72450000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72460000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72460000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72470000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72470000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72480000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72480000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72490000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72490000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724a0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724a0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724b0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724b0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724c0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724c0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724d0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724d0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724e0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724e0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724f0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724f0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72500000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72500000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72510000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72510000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72520000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72520000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72530000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72530000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72540000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72540000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72550000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72550000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72560000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72560000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72570000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72570000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72580000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72580000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72590000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72590000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725a0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725a0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725b0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725b0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725c0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725c0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725d0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725d0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725e0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725e0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725f0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725f0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72600000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72600000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72610000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72610000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72620000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72620000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72630000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72630000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72640000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72640000` (r:1 w:0) + /// Storage: `Anchor::LatestEvictedAnchorIndex` (r:1 w:1) + /// Proof: `Anchor::LatestEvictedAnchorIndex` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Anchor::LatestAnchorIndex` (r:1 w:0) + /// Proof: `Anchor::LatestAnchorIndex` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Anchor::AnchorIndexes` (r:100 w:100) + /// Proof: `Anchor::AnchorIndexes` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Anchor::AnchorEvictDates` (r:100 w:100) + /// Proof: `Anchor::AnchorEvictDates` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0x01d5998dcaa249dfa2a455ae4c045d761623f268227068931dbabca3732aa41f` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x01d5998dcaa249dfa2a455ae4c045d761623f268227068931dbabca3732aa41f` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x04575ee0699f1fa86cccfdcf4285aa81b9bfa0f8837cf533346d722970f1a704` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x04575ee0699f1fa86cccfdcf4285aa81b9bfa0f8837cf533346d722970f1a704` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x0959721f200e92d5090cee3c2c4546c11f9bfd16ded1e70e6781d2402880f1f3` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x0959721f200e92d5090cee3c2c4546c11f9bfd16ded1e70e6781d2402880f1f3` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x0a958b15afac1ffb0c6e73c553bd8b4ba94ad2d0cc118dcd2a7bc8802e2e772a` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x0a958b15afac1ffb0c6e73c553bd8b4ba94ad2d0cc118dcd2a7bc8802e2e772a` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x0c4c531cd9dcf8573a6350d0ac9fb060d273156bdee4fdae0043b6fee5bda27c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x0c4c531cd9dcf8573a6350d0ac9fb060d273156bdee4fdae0043b6fee5bda27c` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x0cd3f3ee9420f9c3b2e70862996e8d02e87d1f148632a36b8f72c9548b10b856` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x0cd3f3ee9420f9c3b2e70862996e8d02e87d1f148632a36b8f72c9548b10b856` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x10876da12e1227a2c04872ce311f768aaf3e21458e6ad1c04f044c97fe8e214e` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x10876da12e1227a2c04872ce311f768aaf3e21458e6ad1c04f044c97fe8e214e` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x10b360a66313de6ab2d43019c5fd7ea0db088efb3e1d4a24d89775e66e089cff` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x10b360a66313de6ab2d43019c5fd7ea0db088efb3e1d4a24d89775e66e089cff` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x16d33ce142442dfbe857e2c9e0648d026c6bb367d467d6922c2c1133aaa3d7b8` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x16d33ce142442dfbe857e2c9e0648d026c6bb367d467d6922c2c1133aaa3d7b8` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x16e133fb9e42d5a2a9a2e21b2e0efd735fccb527162a21cf520c3aecd84c89ed` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x16e133fb9e42d5a2a9a2e21b2e0efd735fccb527162a21cf520c3aecd84c89ed` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x16fcb5e799a48fa04deaaaa71c85bc8e9126bd4b5dbcb3a1f8068ab14bc1c26f` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x16fcb5e799a48fa04deaaaa71c85bc8e9126bd4b5dbcb3a1f8068ab14bc1c26f` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x1b3289127bc95ed117e77d479ccd3ac4477ef8d32df7265bbd42c75bf1945464` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x1b3289127bc95ed117e77d479ccd3ac4477ef8d32df7265bbd42c75bf1945464` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x1ecb14235f21b57f49e32ac4f35a1af6a71f96867f0bc61bc5905b8d437b6bde` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x1ecb14235f21b57f49e32ac4f35a1af6a71f96867f0bc61bc5905b8d437b6bde` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x1f8b0dafc67f9d378cf0596c5d49f220e5880b9c74ccaadac2206a35ec92715a` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x1f8b0dafc67f9d378cf0596c5d49f220e5880b9c74ccaadac2206a35ec92715a` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x24a8d9c362d9365f46f899adb37f6b61134dceaa80f96a9cda6b059a1301f380` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x24a8d9c362d9365f46f899adb37f6b61134dceaa80f96a9cda6b059a1301f380` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x2a00fca93dceceb635a80a95e8f785b189a4ce35f90a17acba5d1bcacf895a84` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x2a00fca93dceceb635a80a95e8f785b189a4ce35f90a17acba5d1bcacf895a84` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x2b318def38ef5f2f8db787e365834ece79fbde70c22cf7bd6c9326995fd4c07f` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x2b318def38ef5f2f8db787e365834ece79fbde70c22cf7bd6c9326995fd4c07f` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x2fbeff7b90831a847716e729a30f028899726193b4406a1c91fce4e97beb61b5` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x2fbeff7b90831a847716e729a30f028899726193b4406a1c91fce4e97beb61b5` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x30dc983a9ad263028d0e91a8a0cf703a2a7fd3834b1102f1ff3f8c8876a207bf` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x30dc983a9ad263028d0e91a8a0cf703a2a7fd3834b1102f1ff3f8c8876a207bf` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x3187d0cdac28db7ec343a07f0b2e44fc56986f0a9c2062d5fa60f99419707bea` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x3187d0cdac28db7ec343a07f0b2e44fc56986f0a9c2062d5fa60f99419707bea` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x3596cd6b45e209629c71765c804f324ed440f7a1cb2ff6cb542156fd5d213de2` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x3596cd6b45e209629c71765c804f324ed440f7a1cb2ff6cb542156fd5d213de2` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x3645890bd8ab0cc13921468d56eee7da40fbe28dc05bc30a64f05a2c03a1912e` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x3645890bd8ab0cc13921468d56eee7da40fbe28dc05bc30a64f05a2c03a1912e` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x384b604969634cf37d988e886b5267a51baeb797e09a1d1a0893e5be8fc553df` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x384b604969634cf37d988e886b5267a51baeb797e09a1d1a0893e5be8fc553df` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x3c056a888ea28c9294c91723916f5891141a824048335e32532e6605ce0457e0` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x3c056a888ea28c9294c91723916f5891141a824048335e32532e6605ce0457e0` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x3c5fd1d5c95885c6b44e0f3995886046d906821de1ed5ee95b51b17c42d3295b` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x3c5fd1d5c95885c6b44e0f3995886046d906821de1ed5ee95b51b17c42d3295b` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x3e74dfe3befcf6fa20eb902c2007ba7fd831619013aa99e016284597b896115b` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x3e74dfe3befcf6fa20eb902c2007ba7fd831619013aa99e016284597b896115b` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x42f1cff854d41b18ae379b012a1e712f036bcd839244d5c6324f12c28f6fd6e9` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x42f1cff854d41b18ae379b012a1e712f036bcd839244d5c6324f12c28f6fd6e9` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x457803d743c32f50866dbf7aabb339a1d8b6b759783b0627128f0cfd3d6c8775` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x457803d743c32f50866dbf7aabb339a1d8b6b759783b0627128f0cfd3d6c8775` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x4cb17fd2f1d1b2eff69f0ffa1a97ff13e7bf4f05a7a99dd06e503e7546b23906` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x4cb17fd2f1d1b2eff69f0ffa1a97ff13e7bf4f05a7a99dd06e503e7546b23906` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x58357c4f5a9881658ffc42faa5f48e2810169bf85c8c78011696a17b59728ef5` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x58357c4f5a9881658ffc42faa5f48e2810169bf85c8c78011696a17b59728ef5` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x5baa983aa91ad92c66e17d16e0757ec4a67ec2ce5b95f4d02ec22fba0e485da0` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x5baa983aa91ad92c66e17d16e0757ec4a67ec2ce5b95f4d02ec22fba0e485da0` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x5da83d0712f41714545470b781e0a43c65a0ac977327475baa98b5cd94938f17` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x5da83d0712f41714545470b781e0a43c65a0ac977327475baa98b5cd94938f17` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x6365aeecd6b54d3166f3df46d8c7b404711ca54b4284e8faf67eb014fa3685f8` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x6365aeecd6b54d3166f3df46d8c7b404711ca54b4284e8faf67eb014fa3685f8` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x683b74d821a8019cbfc9dbe47b50b0f377e0eef16dbc52f7f931ae713fd3f644` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x683b74d821a8019cbfc9dbe47b50b0f377e0eef16dbc52f7f931ae713fd3f644` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x6b02568ad8557dc3d66463abfd1d7f298a0b314fe4bf7d5be79b66768096ed90` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x6b02568ad8557dc3d66463abfd1d7f298a0b314fe4bf7d5be79b66768096ed90` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x6b05c068aecc171915a61cf59146e7f9a69b9bba39f4df50cecfeb454850b4c9` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x6b05c068aecc171915a61cf59146e7f9a69b9bba39f4df50cecfeb454850b4c9` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x6b5529ac614dcbd6113176256a4f5809eb667bddab2e22579306de0a1f83f287` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x6b5529ac614dcbd6113176256a4f5809eb667bddab2e22579306de0a1f83f287` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x6cd1381490331969f37f1e6575081f42f1bd8ae0cc79d70fc52ed178b5d75bd0` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x6cd1381490331969f37f1e6575081f42f1bd8ae0cc79d70fc52ed178b5d75bd0` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x6f5b021a9f57d7669ed7269e7d8785acf255f15785bf452a03a4decc184fd403` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x6f5b021a9f57d7669ed7269e7d8785acf255f15785bf452a03a4decc184fd403` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x764bac7888f79c071087d351a356a09cb2490cb6ea6d71f0cd391de89a885cd2` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x764bac7888f79c071087d351a356a09cb2490cb6ea6d71f0cd391de89a885cd2` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x7aedb653a5de5739b9d3594196693fd51653fcd59b442e0eb9f64265db188044` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7aedb653a5de5739b9d3594196693fd51653fcd59b442e0eb9f64265db188044` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x7ca04bdeb932896fd908eb86d4136e9e2462575ebdf981001c1cd3ca6a2faaec` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7ca04bdeb932896fd908eb86d4136e9e2462575ebdf981001c1cd3ca6a2faaec` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x7ceee738f5af899bd2f967a928019e4a0ecb8715509668dcc039badfe148b45e` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7ceee738f5af899bd2f967a928019e4a0ecb8715509668dcc039badfe148b45e` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x7e700ce9c411e35485babec60c2b68f40c512bc8399c5cee0c1e4264e63f36d1` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7e700ce9c411e35485babec60c2b68f40c512bc8399c5cee0c1e4264e63f36d1` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x80c020f2e70a170ee2f34af3daeda4c2097d14a35f5b1f2d23c2287e5e930f55` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x80c020f2e70a170ee2f34af3daeda4c2097d14a35f5b1f2d23c2287e5e930f55` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x8101d04cf92ee55f6c2a798c7b16da4cc8c511fd822b13093d0f53f5523718d0` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x8101d04cf92ee55f6c2a798c7b16da4cc8c511fd822b13093d0f53f5523718d0` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x85172de32d6b5871235d50648541b1bd007807512231f9b81f25cb5e20141820` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x85172de32d6b5871235d50648541b1bd007807512231f9b81f25cb5e20141820` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x85e9ccd05d28607dcce0dc5be4f34a7d56d3b83b6c63162b2787fc0e6decf2a7` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x85e9ccd05d28607dcce0dc5be4f34a7d56d3b83b6c63162b2787fc0e6decf2a7` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x87b3d065618080e576b534cf68b60d09c4cca0b71a8b6321337cc23be47e7329` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x87b3d065618080e576b534cf68b60d09c4cca0b71a8b6321337cc23be47e7329` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x892ec564231143cc6294a8750b924df2207d91ea3508501d2bd84bee7947b9d0` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x892ec564231143cc6294a8750b924df2207d91ea3508501d2bd84bee7947b9d0` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x8980988eacf42b40c4fc8aa995ae2e059a66c6935626c3e30f1d6842335368d0` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x8980988eacf42b40c4fc8aa995ae2e059a66c6935626c3e30f1d6842335368d0` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x8db2380506697daa88c7a72906d747535ffb12c0ca2a4a6443074bb0fdd8f256` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x8db2380506697daa88c7a72906d747535ffb12c0ca2a4a6443074bb0fdd8f256` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x8e098b9b896a97df275aba887f591c3076220e02adf682c98808e4ba53e6a773` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x8e098b9b896a97df275aba887f591c3076220e02adf682c98808e4ba53e6a773` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x8e590007efc113bc10a61c478d26803cdae5572d4c70547b3c9813b3ce396826` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x8e590007efc113bc10a61c478d26803cdae5572d4c70547b3c9813b3ce396826` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x96e31df89b1f00b96c993bd9de31e32e7e59c0a185cd0b31adc4e969746c8ea6` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x96e31df89b1f00b96c993bd9de31e32e7e59c0a185cd0b31adc4e969746c8ea6` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x9ae7305289647b636a8702b2316e5482f1a807fa398687068fb653527368f9bc` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x9ae7305289647b636a8702b2316e5482f1a807fa398687068fb653527368f9bc` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x9b9660b6fc1992a09573eaa9110c4a08d40c1f439304a47b9776645bc278fc75` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x9b9660b6fc1992a09573eaa9110c4a08d40c1f439304a47b9776645bc278fc75` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xa04f2ef3bb509dfec9d7a97c4778ab2e477af9c5cbda3a1c6e57514314a3f9a5` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xa04f2ef3bb509dfec9d7a97c4778ab2e477af9c5cbda3a1c6e57514314a3f9a5` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xa16d64c1e08b47144c2c8e37872486cf440dda823e2ea05f480fedfe83060f17` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xa16d64c1e08b47144c2c8e37872486cf440dda823e2ea05f480fedfe83060f17` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xa4ad0a32c2781a59ea8a6d58e26fa7dc0b2a08f8c4c938661f5f3ccd8f8eb8ce` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xa4ad0a32c2781a59ea8a6d58e26fa7dc0b2a08f8c4c938661f5f3ccd8f8eb8ce` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xab9797fb6926376ee3b6be73e5501e0a3af18d0bc6dfca0d3b5f498602016956` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xab9797fb6926376ee3b6be73e5501e0a3af18d0bc6dfca0d3b5f498602016956` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xac4d9f6628449fe129d24b384441fdb445962d2d6bca7603fea0c20f3d04351c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xac4d9f6628449fe129d24b384441fdb445962d2d6bca7603fea0c20f3d04351c` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xafecb421bedaa0f8bd89ef18897b77ce61738af42f8a66e3257a079a3d04bef1` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xafecb421bedaa0f8bd89ef18897b77ce61738af42f8a66e3257a079a3d04bef1` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xb292dc48cc1057cce335f1d84f295271a2b16aee7018f1bd444febd77f7e5cbb` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xb292dc48cc1057cce335f1d84f295271a2b16aee7018f1bd444febd77f7e5cbb` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xb48b9d9955158dbd87abb433511a5968c21cf78f8085088407e24d6ee26f7f56` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xb48b9d9955158dbd87abb433511a5968c21cf78f8085088407e24d6ee26f7f56` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xb5a7df612d6fb3bc16c1716414897ba5928835d883003371f02106d5a92abd78` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xb5a7df612d6fb3bc16c1716414897ba5928835d883003371f02106d5a92abd78` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xb684abf2ee5018a16a8dbef6633bcb94a07a2cdf4a173e4fec130da86e8ab987` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xb684abf2ee5018a16a8dbef6633bcb94a07a2cdf4a173e4fec130da86e8ab987` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xb86c8391d2a3eb28b9e3b603cf6929849d50e439e0bbc79781b2555f9cbaa013` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xb86c8391d2a3eb28b9e3b603cf6929849d50e439e0bbc79781b2555f9cbaa013` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xba070ba6cf5f2489f98b6841d238eee4fc403d3065b57f9e3e38ca540971024d` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xba070ba6cf5f2489f98b6841d238eee4fc403d3065b57f9e3e38ca540971024d` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xbcb96e5fc092d3ac258a81b5390671817730859598470874ef02f998518bbf58` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xbcb96e5fc092d3ac258a81b5390671817730859598470874ef02f998518bbf58` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xc008db6f6d721d80fab2eab8b6dda4f19bd5def30aa7db86dadd6eb799c2f5ad` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xc008db6f6d721d80fab2eab8b6dda4f19bd5def30aa7db86dadd6eb799c2f5ad` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xc054c4045e44e28cef1884c0aa86d0049b76eaff493a6d694394df7b0cee8136` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xc054c4045e44e28cef1884c0aa86d0049b76eaff493a6d694394df7b0cee8136` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xc315216d50f4dd95914d6d102976dc09ec4474da5c314a15f09972ded6e71ddb` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xc315216d50f4dd95914d6d102976dc09ec4474da5c314a15f09972ded6e71ddb` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xc4a2c3fa3cc7ed1611651510eb6e225abab30676f0fad28c115482c7dd61f8e0` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xc4a2c3fa3cc7ed1611651510eb6e225abab30676f0fad28c115482c7dd61f8e0` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xc6cc01d59d3c86a1c12a167e149d784295fcd13862e4afb0a39a8459e6e25561` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xc6cc01d59d3c86a1c12a167e149d784295fcd13862e4afb0a39a8459e6e25561` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xc712d8fa08dd521e5f901ca6d36134807c5ec0510e3b52e8ae5a15f7c13d2ebd` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xc712d8fa08dd521e5f901ca6d36134807c5ec0510e3b52e8ae5a15f7c13d2ebd` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xc7e2bc91ff1b307f6995683b76f1904ccdada3cf8f00528c08d4f65911c4888a` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xc7e2bc91ff1b307f6995683b76f1904ccdada3cf8f00528c08d4f65911c4888a` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xccbca45304d59a1167eaf9b459e09cffce3d90c087ee9edf8e7e2dc40349373b` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xccbca45304d59a1167eaf9b459e09cffce3d90c087ee9edf8e7e2dc40349373b` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xccc17a821dda11e5239ea8dbedee5bd6622fc8dd63ee229fc3bd2dead22e8ae2` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xccc17a821dda11e5239ea8dbedee5bd6622fc8dd63ee229fc3bd2dead22e8ae2` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xccee04c4c0534d4245892ed24d7814cd14a41aeed7e94591354315f5b74d89f5` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xccee04c4c0534d4245892ed24d7814cd14a41aeed7e94591354315f5b74d89f5` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xcf67e9890d936f6bd205710c9a5cedc653d88fba3c74b7a2b9fe8ce7fce0bd0c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xcf67e9890d936f6bd205710c9a5cedc653d88fba3c74b7a2b9fe8ce7fce0bd0c` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xcfdb7c67ada01beee8308b04c3f32e4c078603d0c84c0e28e605a8ea56dcc362` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xcfdb7c67ada01beee8308b04c3f32e4c078603d0c84c0e28e605a8ea56dcc362` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xd0d54b0c405fea6ff90809070bfd270c88e9a26ad83138eeb077d8f9602670bc` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xd0d54b0c405fea6ff90809070bfd270c88e9a26ad83138eeb077d8f9602670bc` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xd1d4eefa482f2ece90773426cd76c1da272ef0e72c1172a4a71b84c1f5f6c7c7` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xd1d4eefa482f2ece90773426cd76c1da272ef0e72c1172a4a71b84c1f5f6c7c7` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xd282fcd4ae056e61acbc8950a306910569f227182c41e5b88159aed160ba2a58` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xd282fcd4ae056e61acbc8950a306910569f227182c41e5b88159aed160ba2a58` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xd37f5ea81d5d617ed7490c928e4f3a1eba6f234787ba84f31e204e8733cd039f` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xd37f5ea81d5d617ed7490c928e4f3a1eba6f234787ba84f31e204e8733cd039f` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xd6780cc86f71e3b9d0f0f6977d180e26166b517ee3ee227701f9f36cccae3171` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xd6780cc86f71e3b9d0f0f6977d180e26166b517ee3ee227701f9f36cccae3171` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xd79237f18c61e22111652b0e9b809fbe8ca41552b3a927877a294a732b338f63` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xd79237f18c61e22111652b0e9b809fbe8ca41552b3a927877a294a732b338f63` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xd8825b3a03921d36a1543c344d9b3cacce95765f29c735cf3ed72dc9c37ff81b` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xd8825b3a03921d36a1543c344d9b3cacce95765f29c735cf3ed72dc9c37ff81b` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xdd012b8629cc16d3ad36b73df7dd7d38e8c11ac479b99dedffb10b5007c8049a` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xdd012b8629cc16d3ad36b73df7dd7d38e8c11ac479b99dedffb10b5007c8049a` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xdec56d85d6fffd793180a2ce033397f67fb3b9b7ac3e2b0ef6be2f15e7de435f` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xdec56d85d6fffd793180a2ce033397f67fb3b9b7ac3e2b0ef6be2f15e7de435f` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xe1f270fea944a3a9db5550d742e3acb3dd449cafb73dce65c1705d0752c1343b` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xe1f270fea944a3a9db5550d742e3acb3dd449cafb73dce65c1705d0752c1343b` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xe4002351550f1b106219729b86aa4776fb907737c9cd7e957c5ce80062a8ff8a` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xe4002351550f1b106219729b86aa4776fb907737c9cd7e957c5ce80062a8ff8a` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xe45f26671be0fb4144ed09c40b9493c4584affb2c1d1fe6cb067aa2df802027e` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xe45f26671be0fb4144ed09c40b9493c4584affb2c1d1fe6cb067aa2df802027e` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xe6b4a4991b976360dacf2c942d16326dd53584aca6ed1ae4e78f668d7b1163c1` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xe6b4a4991b976360dacf2c942d16326dd53584aca6ed1ae4e78f668d7b1163c1` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xe8150db238f56576dcf5e1b98f3915361092aa174b16e6cda3e78c28b6444dc8` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xe8150db238f56576dcf5e1b98f3915361092aa174b16e6cda3e78c28b6444dc8` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xebc5f1d9670cdeb0655d79e95c9602ec1d85ad989ce78194dfd1a31e9fb4994c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xebc5f1d9670cdeb0655d79e95c9602ec1d85ad989ce78194dfd1a31e9fb4994c` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xed0df01311d268fc75f0da4859b6508e1c445e713847efbc18528d731316cf48` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xed0df01311d268fc75f0da4859b6508e1c445e713847efbc18528d731316cf48` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xee60c64e1e32117f948ee71d391f978e8ac98c2bd869322fc25164502e3f7a9b` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xee60c64e1e32117f948ee71d391f978e8ac98c2bd869322fc25164502e3f7a9b` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xf7e4b8a5415405a940e730546df85583c8c23956d99a3be18e09eebf3639d312` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xf7e4b8a5415405a940e730546df85583c8c23956d99a3be18e09eebf3639d312` (r:1 w:1) fn evict_anchors() -> Weight { // Proof Size summary in bytes: - // Measured: `18324` + // Measured: `18325` // Estimated: `254990` - // Minimum execution time: 2_049_781_000 picoseconds. - Weight::from_parts(2_069_889_000, 0) + // Minimum execution time: 1_993_527_000 picoseconds. + Weight::from_parts(2_031_267_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 e039260aad..0e35da7120 100644 --- a/runtime/altair/src/weights/pallet_balances.rs +++ b/runtime/altair/src/weights/pallet_balances.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_balances` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_balances // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_balances.rs @@ -32,108 +31,112 @@ use core::marker::PhantomData; /// Weight functions for `pallet_balances`. pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_allow_death() -> Weight { // Proof Size summary in bytes: // Measured: `52` // Estimated: `3593` - // Minimum execution time: 92_233_000 picoseconds. - Weight::from_parts(93_315_000, 0) + // Minimum execution time: 71_153_000 picoseconds. + Weight::from_parts(73_037_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: // Measured: `52` // Estimated: `3593` - // Minimum execution time: 69_450_000 picoseconds. - Weight::from_parts(70_522_000, 0) + // Minimum execution time: 57_367_000 picoseconds. + Weight::from_parts(58_438_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_set_balance_creating() -> Weight { // Proof Size summary in bytes: // Measured: `245` // Estimated: `3593` - // Minimum execution time: 26_109_000 picoseconds. - Weight::from_parts(26_460_000, 0) + // Minimum execution time: 21_480_000 picoseconds. + Weight::from_parts(21_921_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_set_balance_killing() -> Weight { // Proof Size summary in bytes: // Measured: `245` // Estimated: `3593` - // Minimum execution time: 38_171_000 picoseconds. - Weight::from_parts(39_053_000, 0) + // Minimum execution time: 28_934_000 picoseconds. + Weight::from_parts(29_585_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `192` // Estimated: `6196` - // Minimum execution time: 95_259_000 picoseconds. - Weight::from_parts(97_092_000, 0) + // Minimum execution time: 75_050_000 picoseconds. + Weight::from_parts(76_904_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_all() -> Weight { // Proof Size summary in bytes: // Measured: `52` // Estimated: `3593` - // Minimum execution time: 87_033_000 picoseconds. - Weight::from_parts(87_745_000, 0) + // Minimum execution time: 72_455_000 picoseconds. + Weight::from_parts(73_347_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_unreserve() -> Weight { // Proof Size summary in bytes: // Measured: `245` // Estimated: `3593` - // Minimum execution time: 30_808_000 picoseconds. - Weight::from_parts(31_258_000, 0) + // Minimum execution time: 26_259_000 picoseconds. + Weight::from_parts(26_920_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:999 w:999) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:999 w:999) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `u` is `[1, 1000]`. fn upgrade_accounts(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `176 + u * (136 ±0)` + // Measured: `143 + u * (136 ±0)` // Estimated: `990 + u * (2603 ±0)` - // Minimum execution time: 28_694_000 picoseconds. - Weight::from_parts(29_165_000, 0) + // Minimum execution time: 24_366_000 picoseconds. + Weight::from_parts(24_646_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 12_713 - .saturating_add(Weight::from_parts(22_707_946, 0).saturating_mul(u.into())) + // Standard Error: 13_626 + .saturating_add(Weight::from_parts(20_193_487, 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())) } - - fn force_adjust_total_issuance() -> Weight { - Weight::zero() - } + fn force_adjust_total_issuance() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 9_007_000 picoseconds. + Weight::from_parts(9_367_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } } diff --git a/runtime/altair/src/weights/pallet_block_rewards.rs b/runtime/altair/src/weights/pallet_block_rewards.rs index 2fcc0b7167..a584d2c034 100644 --- a/runtime/altair/src/weights/pallet_block_rewards.rs +++ b/runtime/altair/src/weights/pallet_block_rewards.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_block_rewards` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_block_rewards // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_block_rewards.rs @@ -32,44 +31,44 @@ use core::marker::PhantomData; /// Weight functions for `pallet_block_rewards`. pub struct WeightInfo(PhantomData); impl pallet_block_rewards::WeightInfo for WeightInfo { - /// Storage: BlockRewardsBase Currency (r:1 w:0) - /// Proof: BlockRewardsBase Currency (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: BlockRewardsBase Group (r:1 w:0) - /// Proof: BlockRewardsBase Group (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - /// Storage: BlockRewardsBase StakeAccount (r:1 w:1) - /// Proof: BlockRewardsBase StakeAccount (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `BlockRewardsBase::Currency` (r:1 w:0) + /// Proof: `BlockRewardsBase::Currency` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `BlockRewardsBase::Group` (r:1 w:0) + /// Proof: `BlockRewardsBase::Group` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `BlockRewardsBase::StakeAccount` (r:1 w:1) + /// Proof: `BlockRewardsBase::StakeAccount` (`max_values`: None, `max_size`: Some(123), added: 2598, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn claim_reward() -> Weight { // Proof Size summary in bytes: - // Measured: `583` + // Measured: `516` // Estimated: `6196` - // Minimum execution time: 92_032_000 picoseconds. - Weight::from_parts(93_797_000, 0) + // Minimum execution time: 80_059_000 picoseconds. + Weight::from_parts(81_492_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: BlockRewards NextSessionChanges (r:1 w:1) - /// Proof: BlockRewards NextSessionChanges (max_values: Some(1), max_size: Some(2097), added: 2592, mode: MaxEncodedLen) + /// Storage: `BlockRewards::NextSessionChanges` (r:1 w:1) + /// Proof: `BlockRewards::NextSessionChanges` (`max_values`: Some(1), `max_size`: Some(2097), added: 2592, mode: `MaxEncodedLen`) fn set_collator_reward_per_session() -> Weight { // Proof Size summary in bytes: // Measured: `41` // Estimated: `3582` - // Minimum execution time: 8_967_000 picoseconds. - Weight::from_parts(9_287_000, 0) + // Minimum execution time: 6_251_000 picoseconds. + Weight::from_parts(6_622_000, 0) .saturating_add(Weight::from_parts(0, 3582)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BlockRewards NextSessionChanges (r:1 w:1) - /// Proof: BlockRewards NextSessionChanges (max_values: Some(1), max_size: Some(2097), added: 2592, mode: MaxEncodedLen) + /// Storage: `BlockRewards::NextSessionChanges` (r:1 w:1) + /// Proof: `BlockRewards::NextSessionChanges` (`max_values`: Some(1), `max_size`: Some(2097), added: 2592, mode: `MaxEncodedLen`) fn set_annual_treasury_inflation_rate() -> Weight { // Proof Size summary in bytes: // Measured: `41` // Estimated: `3582` - // Minimum execution time: 8_957_000 picoseconds. - Weight::from_parts(9_308_000, 0) + // Minimum execution time: 6_422_000 picoseconds. + Weight::from_parts(6_592_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 3205da0862..9c92aea622 100644 --- a/runtime/altair/src/weights/pallet_collator_allowlist.rs +++ b/runtime/altair/src/weights/pallet_collator_allowlist.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_collator_allowlist` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_collator_allowlist // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_collator_allowlist.rs @@ -32,28 +31,28 @@ use core::marker::PhantomData; /// Weight functions for `pallet_collator_allowlist`. pub struct WeightInfo(PhantomData); impl pallet_collator_allowlist::WeightInfo for WeightInfo { - /// Storage: Session NextKeys (r:1 w:0) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: CollatorAllowlist Allowlist (r:1 w:1) - /// Proof: CollatorAllowlist Allowlist (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) + /// Storage: `Session::NextKeys` (r:1 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorAllowlist::Allowlist` (r:1 w:1) + /// Proof: `CollatorAllowlist::Allowlist` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) fn add() -> Weight { // Proof Size summary in bytes: - // Measured: `524` - // Estimated: `3989` - // Minimum execution time: 26_499_000 picoseconds. - Weight::from_parts(27_461_000, 0) - .saturating_add(Weight::from_parts(0, 3989)) + // Measured: `452` + // Estimated: `3917` + // Minimum execution time: 20_398_000 picoseconds. + Weight::from_parts(21_200_000, 0) + .saturating_add(Weight::from_parts(0, 3917)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: CollatorAllowlist Allowlist (r:1 w:1) - /// Proof: CollatorAllowlist Allowlist (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) + /// Storage: `CollatorAllowlist::Allowlist` (r:1 w:1) + /// Proof: `CollatorAllowlist::Allowlist` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) fn remove() -> Weight { // Proof Size summary in bytes: // Measured: `232` // Estimated: `3497` - // Minimum execution time: 19_957_000 picoseconds. - Weight::from_parts(20_668_000, 0) + // Minimum execution time: 14_517_000 picoseconds. + Weight::from_parts(15_068_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 b0638a6c71..94ab9f6452 100644 --- a/runtime/altair/src/weights/pallet_collator_selection.rs +++ b/runtime/altair/src/weights/pallet_collator_selection.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_collator_selection` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_collator_selection // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_collator_selection.rs @@ -32,155 +31,239 @@ use core::marker::PhantomData; /// Weight functions for `pallet_collator_selection`. pub struct WeightInfo(PhantomData); impl pallet_collator_selection::WeightInfo for WeightInfo { - /// Storage: CollatorAllowlist Allowlist (r:100 w:0) - /// Proof: CollatorAllowlist Allowlist (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) - /// Storage: Session NextKeys (r:100 w:0) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: CollatorSelection Invulnerables (r:0 w:1) - /// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) + /// Storage: `CollatorAllowlist::Allowlist` (r:100 w:0) + /// Proof: `CollatorAllowlist::Allowlist` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) + /// Storage: `Session::NextKeys` (r:100 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::Invulnerables` (r:0 w:1) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// The range of component `b` is `[1, 100]`. fn set_invulnerables(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `466 + b * (112 ±0)` - // Estimated: `1453 + b * (2588 ±0)` - // Minimum execution time: 25_368_000 picoseconds. - Weight::from_parts(22_752_174, 0) - .saturating_add(Weight::from_parts(0, 1453)) - // Standard Error: 6_025 - .saturating_add(Weight::from_parts(6_117_029, 0).saturating_mul(b.into())) + // Measured: `393 + b * (112 ±0)` + // Estimated: `1382 + b * (2588 ±0)` + // Minimum execution time: 21_761_000 picoseconds. + Weight::from_parts(19_713_118, 0) + .saturating_add(Weight::from_parts(0, 1382)) + // Standard Error: 8_605 + .saturating_add(Weight::from_parts(6_198_845, 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())) } - /// Storage: CollatorSelection DesiredCandidates (r:0 w:1) - /// Proof: CollatorSelection DesiredCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: `CollatorAllowlist::Allowlist` (r:1 w:0) + /// Proof: `CollatorAllowlist::Allowlist` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) + /// Storage: `Session::NextKeys` (r:1 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:1) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::CandidateList` (r:1 w:1) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `b` is `[1, 99]`. + /// The range of component `c` is `[1, 19]`. + fn add_invulnerable(b: u32, c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `1273 + b * (37 ±0) + c * (48 ±0)` + // Estimated: `4693 + b * (37 ±0) + c * (53 ±0)` + // Minimum execution time: 60_674_000 picoseconds. + Weight::from_parts(59_889_490, 0) + .saturating_add(Weight::from_parts(0, 4693)) + // Standard Error: 2_332 + .saturating_add(Weight::from_parts(121_551, 0).saturating_mul(b.into())) + // Standard Error: 12_306 + .saturating_add(Weight::from_parts(106_035, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 37).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 53).saturating_mul(c.into())) + } + /// Storage: `CollatorSelection::CandidateList` (r:1 w:0) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:1) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// The range of component `b` is `[6, 100]`. + fn remove_invulnerable(b: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `285 + b * (32 ±0)` + // Estimated: `4687` + // Minimum execution time: 15_729_000 picoseconds. + Weight::from_parts(16_493_057, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 866 + .saturating_add(Weight::from_parts(59_214, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `CollatorSelection::DesiredCandidates` (r:0 w:1) + /// Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn set_desired_candidates() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_079_000 picoseconds. - Weight::from_parts(15_380_000, 0) + // Minimum execution time: 6_793_000 picoseconds. + Weight::from_parts(7_183_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: CollatorSelection CandidacyBond (r:0 w:1) - /// Proof: CollatorSelection CandidacyBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - fn set_candidacy_bond(_: u32, _: u32) -> Weight { + /// Storage: `CollatorSelection::CandidacyBond` (r:1 w:1) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::CandidateList` (r:1 w:1) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:20 w:20) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:20) + /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// The range of component `c` is `[0, 20]`. + /// The range of component `k` is `[0, 20]`. + fn set_candidacy_bond(c: u32, k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 11_181_000 picoseconds. - Weight::from_parts(11_612_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Measured: `0 + c * (201 ±0) + k * (152 ±0)` + // Estimated: `3593 + c * (848 ±30) + k * (848 ±30)` + // Minimum execution time: 12_914_000 picoseconds. + Weight::from_parts(13_335_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) + // Standard Error: 227_323 + .saturating_add(Weight::from_parts(7_651_358, 0).saturating_mul(c.into())) + // Standard Error: 227_323 + .saturating_add(Weight::from_parts(7_425_473, 0).saturating_mul(k.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(c.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) + .saturating_add(Weight::from_parts(0, 848).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 848).saturating_mul(k.into())) + } + /// Storage: `CollatorSelection::CandidacyBond` (r:1 w:0) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::CandidateList` (r:1 w:1) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// The range of component `c` is `[5, 20]`. + fn update_bond(c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `529 + c * (48 ±0)` + // Estimated: `2446` + // Minimum execution time: 34_805_000 picoseconds. + Weight::from_parts(35_818_201, 0) + .saturating_add(Weight::from_parts(0, 2446)) + // Standard Error: 6_216 + .saturating_add(Weight::from_parts(92_092, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: CollatorSelection Candidates (r:1 w:1) - /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(961), added: 1456, mode: MaxEncodedLen) - /// Storage: CollatorSelection DesiredCandidates (r:1 w:0) - /// Proof: CollatorSelection DesiredCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: CollatorSelection Invulnerables (r:1 w:0) - /// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: CollatorAllowlist Allowlist (r:1 w:0) - /// Proof: CollatorAllowlist Allowlist (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) - /// Storage: Session NextKeys (r:1 w:0) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: CollatorSelection CandidacyBond (r:1 w:0) - /// Proof: CollatorSelection CandidacyBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) - /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) + /// Storage: `CollatorSelection::CandidateList` (r:1 w:1) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `CollatorAllowlist::Allowlist` (r:1 w:0) + /// Proof: `CollatorAllowlist::Allowlist` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) + /// Storage: `Session::NextKeys` (r:1 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::CandidacyBond` (r:1 w:0) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// 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 `[1, 19]`. fn register_as_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1035 + c * (59 ±0)` - // Estimated: `4687 + c * (60 ±0)` - // Minimum execution time: 68_369_000 picoseconds. - Weight::from_parts(70_064_119, 0) + // Measured: `892 + c * (61 ±0)` + // Estimated: `4687 + c * (62 ±0)` + // Minimum execution time: 54_151_000 picoseconds. + Weight::from_parts(55_736_070, 0) .saturating_add(Weight::from_parts(0, 4687)) - // Standard Error: 4_016 - .saturating_add(Weight::from_parts(250_510, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(6)) + // Standard Error: 5_085 + .saturating_add(Weight::from_parts(278_216, 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, 60).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 62).saturating_mul(c.into())) + } + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::CandidacyBond` (r:1 w:0) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `CollatorAllowlist::Allowlist` (r:1 w:0) + /// Proof: `CollatorAllowlist::Allowlist` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) + /// Storage: `Session::NextKeys` (r:1 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::CandidateList` (r:1 w:1) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:2) + /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// The range of component `c` is `[5, 20]`. + fn take_candidate_slot(c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `984 + c * (62 ±0)` + // Estimated: `4687 + c * (62 ±0)` + // Minimum execution time: 76_863_000 picoseconds. + Weight::from_parts(77_750_668, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 5_997 + .saturating_add(Weight::from_parts(257_579, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(Weight::from_parts(0, 62).saturating_mul(c.into())) } - /// Storage: CollatorSelection Candidates (r:1 w:1) - /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(961), added: 1456, mode: MaxEncodedLen) - /// 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]`. + /// Storage: `CollatorSelection::CandidateList` (r:1 w:1) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// 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 `[5, 20]`. fn leave_intent(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `549 + c * (44 ±0)` - // Estimated: `2446` - // 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)) + // Measured: `476 + c * (48 ±0)` + // Estimated: `4687` + // Minimum execution time: 40_495_000 picoseconds. + Weight::from_parts(41_308_584, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 3_724 + .saturating_add(Weight::from_parts(110_837, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: System BlockWeight (r:1 w:1) - /// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) - /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) - /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1) + /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) fn note_author() -> Weight { // Proof Size summary in bytes: // Measured: `192` // Estimated: `6196` - // Minimum execution time: 74_981_000 picoseconds. - Weight::from_parts(76_313_000, 0) + // Minimum execution time: 59_922_000 picoseconds. + Weight::from_parts(61_765_000, 0) .saturating_add(Weight::from_parts(0, 6196)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: CollatorSelection Candidates (r:1 w:0) - /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(961), added: 1456, mode: MaxEncodedLen) - /// Storage: CollatorSelection LastAuthoredBlock (r:20 w:0) - /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: CollatorSelection Invulnerables (r:1 w:0) - /// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: System BlockWeight (r:1 w:1) - /// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) - /// Storage: System Account (r:15 w:15) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `CollatorSelection::CandidateList` (r:1 w:0) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::LastAuthoredBlock` (r:20 w:0) + /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::DesiredCandidates` (r:1 w:0) + /// Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:16 w:16) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `c` is `[1, 20]`. 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 ±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: 471_127 - .saturating_add(Weight::from_parts(18_642_610, 0).saturating_mul(c.into())) + // Measured: `416 + c * (98 ±0) + r * (154 ±0)` + // Estimated: `16266974136295046 + c * (2519 ±0) + r * (2393 ±14)` + // Minimum execution time: 25_748_000 picoseconds. + Weight::from_parts(26_199_000, 0) + .saturating_add(Weight::from_parts(0, 16266974136295046)) + // Standard Error: 360_665 + .saturating_add(Weight::from_parts(16_710_136, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2519).saturating_mul(c.into())) - .saturating_add(Weight::from_parts(0, 2259).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2393).saturating_mul(r.into())) } - - fn add_invulnerable(_: u32, _: u32) -> Weight { - // Pending to generate - Weight::default() - } - - fn remove_invulnerable(_: u32) -> Weight { - // Pending to generate - Weight::default() - } - - fn update_bond(_: u32) -> Weight { - // Pending to generate - Weight::default() - } - - fn take_candidate_slot(_: u32) -> Weight { - // Pending to generate - Weight::default() - } } diff --git a/runtime/altair/src/weights/pallet_collective.rs b/runtime/altair/src/weights/pallet_collective.rs index 999824cebf..50f68bd6ca 100644 --- a/runtime/altair/src/weights/pallet_collective.rs +++ b/runtime/altair/src/weights/pallet_collective.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_collective` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_collective // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_collective.rs @@ -32,28 +31,28 @@ use core::marker::PhantomData; /// Weight functions for `pallet_collective`. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { - /// Storage: Council Members (r:1 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:100 w:100) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:100 w:100) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[0, 100]`. /// The range of component `n` is `[0, 100]`. /// The range of component `p` is `[0, 100]`. 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 ±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: 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())) + // Estimated: `15728 + m * (1967 ±23) + p * (4332 ±23)` + // Minimum execution time: 20_168_000 picoseconds. + Weight::from_parts(20_378_000, 0) + .saturating_add(Weight::from_parts(0, 15728)) + // Standard Error: 67_745 + .saturating_add(Weight::from_parts(4_991_723, 0).saturating_mul(m.into())) + // Standard Error: 67_745 + .saturating_add(Weight::from_parts(9_516_473, 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)) @@ -61,225 +60,225 @@ impl pallet_collective::WeightInfo for WeightInfo { .saturating_add(Weight::from_parts(0, 1967).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 4332).saturating_mul(p.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `103 + m * (32 ±0)` - // Estimated: `1589 + m * (32 ±0)` - // Minimum execution time: 24_135_000 picoseconds. - Weight::from_parts(22_966_882, 0) - .saturating_add(Weight::from_parts(0, 1589)) - // 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())) + // Measured: `69 + m * (32 ±0)` + // Estimated: `1555 + m * (32 ±0)` + // Minimum execution time: 17_863_000 picoseconds. + Weight::from_parts(16_825_917, 0) + .saturating_add(Weight::from_parts(0, 1555)) + // Standard Error: 47 + .saturating_add(Weight::from_parts(1_631, 0).saturating_mul(b.into())) + // Standard Error: 484 + .saturating_add(Weight::from_parts(19_800, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:0) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:0) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `103 + m * (32 ±0)` - // Estimated: `3569 + m * (32 ±0)` - // Minimum execution time: 28_223_000 picoseconds. - Weight::from_parts(26_956_940, 0) - .saturating_add(Weight::from_parts(0, 3569)) - // 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())) + // Measured: `69 + m * (32 ±0)` + // Estimated: `3535 + m * (32 ±0)` + // Minimum execution time: 22_021_000 picoseconds. + Weight::from_parts(20_559_271, 0) + .saturating_add(Weight::from_parts(0, 3535)) + // Standard Error: 58 + .saturating_add(Weight::from_parts(2_310, 0).saturating_mul(b.into())) + // Standard Error: 598 + .saturating_add(Weight::from_parts(34_169, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalCount (r:1 w:1) - /// Proof Skipped: Council ProposalCount (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:0 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalCount` (r:1 w:1) + /// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:0 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // 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_949_000 picoseconds. - Weight::from_parts(36_552_537, 0) - .saturating_add(Weight::from_parts(0, 3785)) - // 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())) + // Measured: `359 + m * (32 ±0) + p * (36 ±0)` + // Estimated: `3751 + m * (33 ±0) + p * (36 ±0)` + // Minimum execution time: 28_624_000 picoseconds. + Weight::from_parts(28_370_286, 0) + .saturating_add(Weight::from_parts(0, 3751)) + // Standard Error: 111 + .saturating_add(Weight::from_parts(3_203, 0).saturating_mul(b.into())) + // Standard Error: 1_163 + .saturating_add(Weight::from_parts(24_185, 0).saturating_mul(m.into())) + // Standard Error: 1_148 + .saturating_add(Weight::from_parts(264_716, 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())) .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `842 + m * (64 ±0)` - // Estimated: `4306 + m * (64 ±0)` - // Minimum execution time: 31_420_000 picoseconds. - Weight::from_parts(31_931_080, 0) - .saturating_add(Weight::from_parts(0, 4306)) - // Standard Error: 746 - .saturating_add(Weight::from_parts(47_123, 0).saturating_mul(m.into())) + // Measured: `808 + m * (64 ±0)` + // Estimated: `4272 + m * (64 ±0)` + // Minimum execution time: 25_808_000 picoseconds. + Weight::from_parts(26_813_711, 0) + .saturating_add(Weight::from_parts(0, 4272)) + // Standard Error: 1_518 + .saturating_add(Weight::from_parts(46_212, 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())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // 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_307_000 picoseconds. - Weight::from_parts(39_986_377, 0) - .saturating_add(Weight::from_parts(0, 3876)) - // 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())) + // Measured: `397 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `3842 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 31_148_000 picoseconds. + Weight::from_parts(31_291_102, 0) + .saturating_add(Weight::from_parts(0, 3842)) + // Standard Error: 1_331 + .saturating_add(Weight::from_parts(26_407, 0).saturating_mul(m.into())) + // Standard Error: 1_297 + .saturating_add(Weight::from_parts(258_062, 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())) .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // 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: 59_182_000 picoseconds. - Weight::from_parts(58_407_416, 0) - .saturating_add(Weight::from_parts(0, 4050)) - // 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())) + // Measured: `699 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `4016 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 44_864_000 picoseconds. + Weight::from_parts(43_464_920, 0) + .saturating_add(Weight::from_parts(0, 4016)) + // Standard Error: 226 + .saturating_add(Weight::from_parts(3_120, 0).saturating_mul(b.into())) + // Standard Error: 2_391 + .saturating_add(Weight::from_parts(42_023, 0).saturating_mul(m.into())) + // Standard Error: 2_331 + .saturating_add(Weight::from_parts(311_089, 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())) .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:0) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:0) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // 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_323_000 picoseconds. - Weight::from_parts(43_743_185, 0) - .saturating_add(Weight::from_parts(0, 3896)) - // 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())) + // Measured: `417 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `3862 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 33_622_000 picoseconds. + Weight::from_parts(32_647_996, 0) + .saturating_add(Weight::from_parts(0, 3862)) + // Standard Error: 1_662 + .saturating_add(Weight::from_parts(35_027, 0).saturating_mul(m.into())) + // Standard Error: 1_620 + .saturating_add(Weight::from_parts(264_644, 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())) .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:0) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:0) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // 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_588_000 picoseconds. - Weight::from_parts(62_848_298, 0) - .saturating_add(Weight::from_parts(0, 4070)) - // 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())) + // Measured: `719 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `4036 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 47_879_000 picoseconds. + Weight::from_parts(53_428_347, 0) + .saturating_add(Weight::from_parts(0, 4036)) + // Standard Error: 228 + .saturating_add(Weight::from_parts(573, 0).saturating_mul(b.into())) + // Standard Error: 2_414 + .saturating_add(Weight::from_parts(3_988, 0).saturating_mul(m.into())) + // Standard Error: 2_353 + .saturating_add(Weight::from_parts(286_186, 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())) .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:0 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:0 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `260 + p * (32 ±0)` - // Estimated: `1745 + p * (32 ±0)` - // Minimum execution time: 23_224_000 picoseconds. - Weight::from_parts(24_703_918, 0) - .saturating_add(Weight::from_parts(0, 1745)) - // Standard Error: 693 - .saturating_add(Weight::from_parts(216_290, 0).saturating_mul(p.into())) + // Measured: `226 + p * (32 ±0)` + // Estimated: `1711 + p * (32 ±0)` + // Minimum execution time: 17_001_000 picoseconds. + Weight::from_parts(18_171_314, 0) + .saturating_add(Weight::from_parts(0, 1711)) + // Standard Error: 730 + .saturating_add(Weight::from_parts(246_569, 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_democracy.rs b/runtime/altair/src/weights/pallet_democracy.rs index 0c9b0cfed3..cbbb2de756 100644 --- a/runtime/altair/src/weights/pallet_democracy.rs +++ b/runtime/altair/src/weights/pallet_democracy.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_democracy` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_democracy // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_democracy.rs @@ -32,477 +31,483 @@ use core::marker::PhantomData; /// Weight functions for `pallet_democracy`. pub struct WeightInfo(PhantomData); impl pallet_democracy::WeightInfo for WeightInfo { - /// Storage: Democracy PublicPropCount (r:1 w:1) - /// Proof: Democracy PublicPropCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:0) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:0 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicPropCount` (r:1 w:1) + /// Proof: `Democracy::PublicPropCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:0) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:0 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) fn propose() -> Weight { // Proof Size summary in bytes: // Measured: `4768` // Estimated: `18187` - // Minimum execution time: 59_613_000 picoseconds. - Weight::from_parts(60_644_000, 0) + // Minimum execution time: 50_003_000 picoseconds. + Weight::from_parts(50_915_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) fn second() -> Weight { // Proof Size summary in bytes: // Measured: `3523` // Estimated: `6695` - // Minimum execution time: 52_940_000 picoseconds. - Weight::from_parts(54_773_000, 0) + // Minimum execution time: 46_507_000 picoseconds. + Weight::from_parts(47_719_000, 0) .saturating_add(Weight::from_parts(0, 6695)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) fn vote_new() -> Weight { // Proof Size summary in bytes: // Measured: `3400` // Estimated: `7260` - // Minimum execution time: 66_846_000 picoseconds. - Weight::from_parts(67_848_000, 0) + // Minimum execution time: 65_672_000 picoseconds. + Weight::from_parts(67_986_000, 0) .saturating_add(Weight::from_parts(0, 7260)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) fn vote_existing() -> Weight { // Proof Size summary in bytes: // Measured: `3422` // Estimated: `7260` - // Minimum execution time: 73_378_000 picoseconds. - Weight::from_parts(75_562_000, 0) + // Minimum execution time: 69_098_000 picoseconds. + Weight::from_parts(70_421_000, 0) .saturating_add(Weight::from_parts(0, 7260)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy Cancellations (r:1 w:1) - /// Proof: Democracy Cancellations (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Cancellations` (r:1 w:1) + /// Proof: `Democracy::Cancellations` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn emergency_cancel() -> Weight { // Proof Size summary in bytes: // Measured: `333` // Estimated: `3666` - // Minimum execution time: 39_905_000 picoseconds. - Weight::from_parts(40_647_000, 0) + // Minimum execution time: 31_018_000 picoseconds. + Weight::from_parts(32_010_000, 0) .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:3 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:0 w:1) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:3 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:0 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) fn blacklist() -> Weight { // Proof Size summary in bytes: // Measured: `6249` // Estimated: `18187` - // Minimum execution time: 149_401_000 picoseconds. - Weight::from_parts(151_185_000, 0) + // Minimum execution time: 128_279_000 picoseconds. + Weight::from_parts(130_614_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:0) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:0) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) fn external_propose() -> Weight { // Proof Size summary in bytes: // Measured: `3383` // Estimated: `6703` - // Minimum execution time: 18_706_000 picoseconds. - Weight::from_parts(19_257_000, 0) + // Minimum execution time: 15_999_000 picoseconds. + Weight::from_parts(16_401_000, 0) .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:0 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) fn external_propose_majority() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_970_000 picoseconds. - Weight::from_parts(5_330_000, 0) + // Minimum execution time: 3_937_000 picoseconds. + Weight::from_parts(4_227_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:0 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) fn external_propose_default() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_889_000 picoseconds. - Weight::from_parts(5_170_000, 0) + // Minimum execution time: 3_937_000 picoseconds. + Weight::from_parts(4_148_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:1) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:2) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:0 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:1) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:2) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn fast_track() -> Weight { // Proof Size summary in bytes: // Measured: `253` // Estimated: `3518` - // Minimum execution time: 40_937_000 picoseconds. - Weight::from_parts(41_769_000, 0) + // Minimum execution time: 29_224_000 picoseconds. + Weight::from_parts(30_336_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:1) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn veto_external() -> Weight { // Proof Size summary in bytes: // Measured: `3486` // Estimated: `6703` - // Minimum execution time: 43_001_000 picoseconds. - Weight::from_parts(44_283_000, 0) + // Minimum execution time: 33_212_000 picoseconds. + Weight::from_parts(34_173_000, 0) .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn cancel_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `6160` // Estimated: `18187` - // Minimum execution time: 123_593_000 picoseconds. - Weight::from_parts(125_377_000, 0) + // Minimum execution time: 105_847_000 picoseconds. + Weight::from_parts(107_550_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:0 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn cancel_referendum() -> Weight { // Proof Size summary in bytes: // Measured: `238` // Estimated: `3518` - // Minimum execution time: 29_746_000 picoseconds. - Weight::from_parts(30_097_000, 0) + // Minimum execution time: 21_220_000 picoseconds. + Weight::from_parts(21_871_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Democracy LowestUnbaked (r:1 w:1) - /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:0) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 10_349_000 picoseconds. - Weight::from_parts(13_544_734, 0) + // Minimum execution time: 7_624_000 picoseconds. + Weight::from_parts(10_627_540, 0) .saturating_add(Weight::from_parts(0, 1489)) - // Standard Error: 5_038 - .saturating_add(Weight::from_parts(4_087_987, 0).saturating_mul(r.into())) + // Standard Error: 6_189 + .saturating_add(Weight::from_parts(4_137_589, 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)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy LowestUnbaked (r:1 w:1) - /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:0) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy LastTabledWasExternal (r:1 w:0) - /// Proof: Democracy LastTabledWasExternal (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::LastTabledWasExternal` (r:1 w:0) + /// Proof: `Democracy::LastTabledWasExternal` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` // Estimated: `18187 + r * (2676 ±0)` - // Minimum execution time: 15_469_000 picoseconds. - Weight::from_parts(18_869_189, 0) + // Minimum execution time: 10_830_000 picoseconds. + Weight::from_parts(12_799_589, 0) .saturating_add(Weight::from_parts(0, 18187)) - // Standard Error: 5_080 - .saturating_add(Weight::from_parts(4_088_151, 0).saturating_mul(r.into())) + // Standard Error: 8_117 + .saturating_add(Weight::from_parts(4_184_722, 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)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy VotingOf (r:3 w:3) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:99) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:3 w:3) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `764 + r * (108 ±0)` // Estimated: `19800 + r * (2676 ±0)` - // Minimum execution time: 56_647_000 picoseconds. - Weight::from_parts(62_741_892, 0) + // Minimum execution time: 51_987_000 picoseconds. + Weight::from_parts(57_291_600, 0) .saturating_add(Weight::from_parts(0, 19800)) - // Standard Error: 6_476 - .saturating_add(Weight::from_parts(5_189_037, 0).saturating_mul(r.into())) + // Standard Error: 10_138 + .saturating_add(Weight::from_parts(5_342_781, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy VotingOf (r:2 w:2) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:99) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:2 w:2) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `460 + r * (108 ±0)` // Estimated: `13530 + r * (2676 ±0)` - // Minimum execution time: 28_634_000 picoseconds. - Weight::from_parts(29_357_960, 0) + // Minimum execution time: 24_004_000 picoseconds. + Weight::from_parts(23_636_622, 0) .saturating_add(Weight::from_parts(0, 13530)) - // Standard Error: 6_380 - .saturating_add(Weight::from_parts(5_129_915, 0).saturating_mul(r.into())) + // Standard Error: 8_379 + .saturating_add(Weight::from_parts(5_370_192, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy PublicProps (r:0 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:0 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) fn clear_public_proposals() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_959_000 picoseconds. - Weight::from_parts(5_220_000, 0) + // Minimum execution time: 4_308_000 picoseconds. + Weight::from_parts(4_558_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `492` // Estimated: `7260` - // Minimum execution time: 33_984_000 picoseconds. - Weight::from_parts(52_092_292, 0) + // Minimum execution time: 31_148_000 picoseconds. + Weight::from_parts(44_370_848, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 4_027 - .saturating_add(Weight::from_parts(70_359, 0).saturating_mul(r.into())) + // Standard Error: 2_974 + .saturating_add(Weight::from_parts(66_137, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `493 + r * (22 ±0)` // Estimated: `7260` - // Minimum execution time: 47_519_000 picoseconds. - Weight::from_parts(49_870_769, 0) + // Minimum execution time: 41_848_000 picoseconds. + Weight::from_parts(43_390_472, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_122 - .saturating_add(Weight::from_parts(85_346, 0).saturating_mul(r.into())) + // Standard Error: 1_049 + .saturating_add(Weight::from_parts(97_162, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `695 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 21_260_000 picoseconds. - Weight::from_parts(23_945_514, 0) + // Minimum execution time: 21_039_000 picoseconds. + Weight::from_parts(24_175_612, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_027 - .saturating_add(Weight::from_parts(92_014, 0).saturating_mul(r.into())) + // Standard Error: 1_344 + .saturating_add(Weight::from_parts(94_940, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `695 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 21_190_000 picoseconds. - Weight::from_parts(24_157_354, 0) + // Minimum execution time: 20_879_000 picoseconds. + Weight::from_parts(24_094_323, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_086 - .saturating_add(Weight::from_parts(92_539, 0).saturating_mul(r.into())) + // Standard Error: 1_350 + .saturating_add(Weight::from_parts(98_655, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `357` // Estimated: `3556` - // Minimum execution time: 27_100_000 picoseconds. - Weight::from_parts(27_642_000, 0) + // Minimum execution time: 23_814_000 picoseconds. + Weight::from_parts(24_615_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `253` // Estimated: `3518` - // Minimum execution time: 24_206_000 picoseconds. - Weight::from_parts(24_637_000, 0) + // Minimum execution time: 19_196_000 picoseconds. + Weight::from_parts(19_997_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `4889` // Estimated: `18187` - // Minimum execution time: 54_913_000 picoseconds. - Weight::from_parts(56_827_000, 0) + // Minimum execution time: 53_660_000 picoseconds. + Weight::from_parts(55_965_000, 0) .saturating_add(Weight::from_parts(0, 18187)) - .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `4789` // Estimated: `18187` - // Minimum execution time: 51_206_000 picoseconds. - Weight::from_parts(53_050_000, 0) + // Minimum execution time: 47_659_000 picoseconds. + Weight::from_parts(48_671_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 21_741_000 picoseconds. - Weight::from_parts(22_272_000, 0) + // Minimum execution time: 19_897_000 picoseconds. + Weight::from_parts(20_518_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `269` // Estimated: `3666` - // Minimum execution time: 27_020_000 picoseconds. - Weight::from_parts(27_521_000, 0) + // Minimum execution time: 23_383_000 picoseconds. + Weight::from_parts(23_965_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 8e6ba1a923..b4be03bdb2 100644 --- a/runtime/altair/src/weights/pallet_elections_phragmen.rs +++ b/runtime/altair/src/weights/pallet_elections_phragmen.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_elections_phragmen` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_elections_phragmen // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_elections_phragmen.rs @@ -32,170 +31,170 @@ use core::marker::PhantomData; /// Weight functions for `pallet_elections_phragmen`. pub struct WeightInfo(PhantomData); impl pallet_elections_phragmen::WeightInfo for WeightInfo { - /// Storage: Elections Candidates (r:1 w:0) - /// Proof Skipped: Elections Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections Members (r:1 w:0) - /// Proof Skipped: Elections Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections RunnersUp (r:1 w:0) - /// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections Voting (r:1 w:1) - /// Proof Skipped: Elections Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Elections::Candidates` (r:1 w:0) + /// Proof: `Elections::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Members` (r:1 w:0) + /// Proof: `Elections::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::RunnersUp` (r:1 w:0) + /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Voting` (r:1 w:1) + /// Proof: `Elections::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) /// The range of component `v` is `[1, 5]`. fn vote_equal(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `397 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 45_766_000 picoseconds. - Weight::from_parts(47_049_779, 0) + // Minimum execution time: 39_624_000 picoseconds. + Weight::from_parts(40_998_021, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 9_976 - .saturating_add(Weight::from_parts(152_113, 0).saturating_mul(v.into())) + // Standard Error: 9_894 + .saturating_add(Weight::from_parts(165_213, 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())) } - /// Storage: Elections Candidates (r:1 w:0) - /// Proof Skipped: Elections Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections Members (r:1 w:0) - /// Proof Skipped: Elections Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections RunnersUp (r:1 w:0) - /// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections Voting (r:1 w:1) - /// Proof Skipped: Elections Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Elections::Candidates` (r:1 w:0) + /// Proof: `Elections::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Members` (r:1 w:0) + /// Proof: `Elections::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::RunnersUp` (r:1 w:0) + /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Voting` (r:1 w:1) + /// Proof: `Elections::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) /// The range of component `v` is `[2, 5]`. fn vote_more(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `366 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 65_413_000 picoseconds. - Weight::from_parts(66_686_953, 0) + // Minimum execution time: 54_722_000 picoseconds. + Weight::from_parts(56_247_947, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 17_172 - .saturating_add(Weight::from_parts(141_651, 0).saturating_mul(v.into())) + // Standard Error: 16_357 + .saturating_add(Weight::from_parts(168_341, 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())) } - /// Storage: Elections Candidates (r:1 w:0) - /// Proof Skipped: Elections Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections Members (r:1 w:0) - /// Proof Skipped: Elections Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections RunnersUp (r:1 w:0) - /// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections Voting (r:1 w:1) - /// Proof Skipped: Elections Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Elections::Candidates` (r:1 w:0) + /// Proof: `Elections::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Members` (r:1 w:0) + /// Proof: `Elections::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::RunnersUp` (r:1 w:0) + /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Voting` (r:1 w:1) + /// Proof: `Elections::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) /// The range of component `v` is `[2, 5]`. fn vote_less(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `398 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 65_173_000 picoseconds. - Weight::from_parts(66_348_928, 0) + // Minimum execution time: 54_872_000 picoseconds. + Weight::from_parts(56_262_886, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 17_934 - .saturating_add(Weight::from_parts(232_091, 0).saturating_mul(v.into())) + // Standard Error: 19_358 + .saturating_add(Weight::from_parts(327_852, 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())) } - /// Storage: Elections Voting (r:1 w:1) - /// Proof Skipped: Elections Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Elections::Voting` (r:1 w:1) + /// Proof: `Elections::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) fn remove_voter() -> Weight { // Proof Size summary in bytes: // Measured: `568` // Estimated: `4764` - // Minimum execution time: 68_740_000 picoseconds. - Weight::from_parts(70_252_000, 0) + // Minimum execution time: 56_185_000 picoseconds. + Weight::from_parts(57_116_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Elections Candidates (r:1 w:1) - /// Proof Skipped: Elections Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections Members (r:1 w:0) - /// Proof Skipped: Elections Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections RunnersUp (r:1 w:0) - /// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Elections::Candidates` (r:1 w:1) + /// Proof: `Elections::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Members` (r:1 w:0) + /// Proof: `Elections::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::RunnersUp` (r:1 w:0) + /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 20]`. fn submit_candidacy(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1475 + c * (48 ±0)` // Estimated: `2960 + c * (48 ±0)` - // Minimum execution time: 49_002_000 picoseconds. - Weight::from_parts(50_158_093, 0) + // Minimum execution time: 39_964_000 picoseconds. + Weight::from_parts(41_511_145, 0) .saturating_add(Weight::from_parts(0, 2960)) - // Standard Error: 2_741 - .saturating_add(Weight::from_parts(98_664, 0).saturating_mul(c.into())) + // Standard Error: 2_918 + .saturating_add(Weight::from_parts(60_761, 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())) } - /// Storage: Elections Candidates (r:1 w:1) - /// Proof Skipped: Elections Candidates (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Elections::Candidates` (r:1 w:1) + /// Proof: `Elections::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 20]`. fn renounce_candidacy_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `318 + c * (48 ±0)` // Estimated: `1803 + c * (48 ±0)` - // Minimum execution time: 45_425_000 picoseconds. - Weight::from_parts(46_408_689, 0) + // Minimum execution time: 35_145_000 picoseconds. + Weight::from_parts(36_520_172, 0) .saturating_add(Weight::from_parts(0, 1803)) - // Standard Error: 2_628 - .saturating_add(Weight::from_parts(73_603, 0).saturating_mul(c.into())) + // Standard Error: 3_288 + .saturating_add(Weight::from_parts(58_174, 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())) } - /// Storage: Elections Members (r:1 w:1) - /// Proof Skipped: Elections Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections RunnersUp (r:1 w:1) - /// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Elections::Members` (r:1 w:1) + /// Proof: `Elections::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::RunnersUp` (r:1 w:1) + /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn renounce_candidacy_members() -> Weight { // Proof Size summary in bytes: - // Measured: `1655` - // Estimated: `3140` - // Minimum execution time: 62_568_000 picoseconds. - Weight::from_parts(63_770_000, 0) - .saturating_add(Weight::from_parts(0, 3140)) + // Measured: `1621` + // Estimated: `3106` + // Minimum execution time: 51_015_000 picoseconds. + Weight::from_parts(52_037_000, 0) + .saturating_add(Weight::from_parts(0, 3106)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: Elections RunnersUp (r:1 w:1) - /// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Elections::RunnersUp` (r:1 w:1) + /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn renounce_candidacy_runners_up() -> Weight { // Proof Size summary in bytes: // Measured: `1023` // Estimated: `2508` - // Minimum execution time: 45_546_000 picoseconds. - Weight::from_parts(46_267_000, 0) + // Minimum execution time: 35_436_000 picoseconds. + Weight::from_parts(36_829_000, 0) .saturating_add(Weight::from_parts(0, 2508)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Benchmark Override (r:0 w:0) - /// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_member_without_replacement() -> Weight { // Proof Size summary in bytes: // Measured: `0` @@ -204,93 +203,95 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn Weight::from_parts(500_000_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: Elections Members (r:1 w:1) - /// Proof Skipped: Elections Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Elections RunnersUp (r:1 w:1) - /// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Elections::Members` (r:1 w:1) + /// Proof: `Elections::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Elections::RunnersUp` (r:1 w:1) + /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn remove_member_with_replacement() -> Weight { // Proof Size summary in bytes: - // Measured: `1758` + // Measured: `1724` // Estimated: `6196` - // Minimum execution time: 95_860_000 picoseconds. - Weight::from_parts(97_203_000, 0) + // Minimum execution time: 69_800_000 picoseconds. + Weight::from_parts(71_453_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } - /// Storage: Elections Voting (r:101 w:100) - /// Proof Skipped: Elections Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Elections Members (r:1 w:0) - /// Proof Skipped: Elections Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections RunnersUp (r:1 w:0) - /// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections Candidates (r:1 w:0) - /// Proof Skipped: Elections Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Balances Locks (r:100 w:100) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:100 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) - /// Storage: System Account (r:100 w:100) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Elections::Voting` (r:51 w:50) + /// Proof: `Elections::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Members` (r:1 w:0) + /// Proof: `Elections::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::RunnersUp` (r:1 w:0) + /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Candidates` (r:1 w:0) + /// Proof: `Elections::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:50 w:50) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:50 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:50 w:50) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `v` is `[50, 100]`. /// The range of component `d` is `[0, 50]`. fn clean_defunct_voters(v: u32, d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1226 + v * (457 ±0)` - // Estimated: `4528 + d * (1 ±0) + v * (3774 ±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: 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()))) - .saturating_add(Weight::from_parts(0, 1).saturating_mul(d.into())) - .saturating_add(Weight::from_parts(0, 3774).saturating_mul(v.into())) + // Measured: `0 + d * (494 ±0) + v * (62 ±0)` + // Estimated: `8032 + d * (3774 ±0) + v * (27 ±0)` + // Minimum execution time: 5_730_000 picoseconds. + Weight::from_parts(1_574_067, 0) + .saturating_add(Weight::from_parts(0, 8032)) + // Standard Error: 27_444 + .saturating_add(Weight::from_parts(422_637, 0).saturating_mul(v.into())) + // Standard Error: 27_444 + .saturating_add(Weight::from_parts(55_295_420, 0).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(d.into()))) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(d.into()))) + .saturating_add(Weight::from_parts(0, 3774).saturating_mul(d.into())) + .saturating_add(Weight::from_parts(0, 27).saturating_mul(v.into())) } - /// Storage: Elections Candidates (r:1 w:1) - /// Proof Skipped: Elections Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections Members (r:1 w:1) - /// Proof Skipped: Elections Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections RunnersUp (r:1 w:1) - /// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections Voting (r:101 w:0) - /// Proof Skipped: Elections Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:3 w:3) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Elections ElectionRounds (r:1 w:1) - /// Proof Skipped: Elections ElectionRounds (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Elections::Candidates` (r:1 w:1) + /// Proof: `Elections::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Members` (r:1 w:1) + /// Proof: `Elections::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::RunnersUp` (r:1 w:1) + /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Voting` (r:101 w:0) + /// Proof: `Elections::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:3 w:3) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Elections::ElectionRounds` (r:1 w:1) + /// Proof: `Elections::ElectionRounds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 20]`. /// The range of component `v` is `[1, 100]`. /// The range of component `e` is `[100, 500]`. 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 ±35) + e * (19 ±0) + v * (2526 ±2)` - // Minimum execution time: 326_914_000 picoseconds. - Weight::from_parts(328_347_000, 0) - .saturating_add(Weight::from_parts(0, 9351)) - // 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())) + // Estimated: `9323 + c * (154 ±35) + e * (19 ±0) + v * (2526 ±2)` + // Minimum execution time: 290_281_000 picoseconds. + Weight::from_parts(292_836_000, 0) + .saturating_add(Weight::from_parts(0, 9323)) + // Standard Error: 772_015 + .saturating_add(Weight::from_parts(1_683_502, 0).saturating_mul(c.into())) + // Standard Error: 153_574 + .saturating_add(Weight::from_parts(8_339_715, 0).saturating_mul(v.into())) + // Standard Error: 33_351 + .saturating_add(Weight::from_parts(245_281, 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 3819b181ed..b60e5d1caf 100644 --- a/runtime/altair/src/weights/pallet_fees.rs +++ b/runtime/altair/src/weights/pallet_fees.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_fees` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_fees // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_fees.rs @@ -32,14 +31,14 @@ use core::marker::PhantomData; /// Weight functions for `pallet_fees`. pub struct WeightInfo(PhantomData); impl pallet_fees::WeightInfo for WeightInfo { - /// Storage: Fees FeeBalances (r:0 w:1) - /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Fees::FeeBalances` (r:0 w:1) + /// Proof: `Fees::FeeBalances` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn set_fee() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_884_000 picoseconds. - Weight::from_parts(13_476_000, 0) + // Minimum execution time: 9_097_000 picoseconds. + Weight::from_parts(9_538_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 9c57f67b3b..918096d6eb 100644 --- a/runtime/altair/src/weights/pallet_identity.rs +++ b/runtime/altair/src/weights/pallet_identity.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_identity` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_identity // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_identity.rs @@ -32,266 +31,389 @@ use core::marker::PhantomData; /// Weight functions for `pallet_identity`. pub struct WeightInfo(PhantomData); impl pallet_identity::WeightInfo for WeightInfo { - /// Storage: Identity Registrars (r:1 w:1) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn add_registrar(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `31 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 17_984_000 picoseconds. - Weight::from_parts(19_196_076, 0) + // Minimum execution time: 11_071_000 picoseconds. + Weight::from_parts(11_956_420, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 2_244 - .saturating_add(Weight::from_parts(93_804, 0).saturating_mul(r.into())) + // Standard Error: 2_013 + .saturating_add(Weight::from_parts(113_475, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[0, 100]`. - fn set_identity(_: u32) -> Weight { - Weight::default() + fn set_identity(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `6977 + r * (5 ±0)` + // Estimated: `11037` + // Minimum execution time: 185_687_000 picoseconds. + Weight::from_parts(190_458_359, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 9_985 + .saturating_add(Weight::from_parts(118_924, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:100 w:100) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:100 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 100]`. fn set_subs_new(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `100` - // Estimated: `11003 + s * (2589 ±0)` - // Minimum execution time: 13_385_000 picoseconds. - Weight::from_parts(35_012_175, 0) - .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 5_579 - .saturating_add(Weight::from_parts(5_033_322, 0).saturating_mul(s.into())) + // Estimated: `11037 + s * (2589 ±0)` + // Minimum execution time: 13_476_000 picoseconds. + Weight::from_parts(31_626_105, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 5_424 + .saturating_add(Weight::from_parts(5_141_499, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) .saturating_add(Weight::from_parts(0, 2589).saturating_mul(s.into())) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:0 w:100) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:0 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 100]`. fn set_subs_old(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `193 + p * (32 ±0)` - // Estimated: `11003` - // Minimum execution time: 13_555_000 picoseconds. - Weight::from_parts(34_449_259, 0) - .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 4_793 - .saturating_add(Weight::from_parts(2_021_801, 0).saturating_mul(p.into())) + // Estimated: `11037` + // Minimum execution time: 13_575_000 picoseconds. + Weight::from_parts(30_421_544, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 4_675 + .saturating_add(Weight::from_parts(2_072_423, 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()))) } - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:0 w:100) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:0 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// 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 clear_identity(_: u32, _: u32) -> Weight { - Weight::default() + fn clear_identity(r: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `7069 + r * (5 ±0) + s * (32 ±0)` + // Estimated: `11037` + // Minimum execution time: 81_903_000 picoseconds. + Weight::from_parts(83_404_495, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 13_949 + .saturating_add(Weight::from_parts(100_282, 0).saturating_mul(r.into())) + // Standard Error: 2_721 + .saturating_add(Weight::from_parts(2_046_604, 0).saturating_mul(s.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()))) } - /// Storage: Identity Registrars (r:1 w:0) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:0) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[0, 100]`. - fn request_judgement(_: u32) -> Weight { - Weight::default() + fn request_judgement(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `6967 + r * (57 ±0)` + // Estimated: `11037` + // Minimum execution time: 121_377_000 picoseconds. + Weight::from_parts(124_676_842, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 6_660 + .saturating_add(Weight::from_parts(92_087, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[0, 100]`. - fn cancel_request(_: u32) -> Weight { - Weight::default() + fn cancel_request(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `6998` + // Estimated: `11037` + // Minimum execution time: 118_111_000 picoseconds. + Weight::from_parts(121_516_033, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 6_943 + .saturating_add(Weight::from_parts(53_399, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity Registrars (r:1 w:1) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn set_fee(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `88 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 10_800_000 picoseconds. - Weight::from_parts(11_560_340, 0) + // Minimum execution time: 8_255_000 picoseconds. + Weight::from_parts(8_828_967, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_436 - .saturating_add(Weight::from_parts(65_728, 0).saturating_mul(r.into())) + // Standard Error: 1_075 + .saturating_add(Weight::from_parts(74_131, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity Registrars (r:1 w:1) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn set_account_id(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `88 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 10_149_000 picoseconds. - Weight::from_parts(10_749_756, 0) + // Minimum execution time: 8_475_000 picoseconds. + Weight::from_parts(8_900_103, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_211 - .saturating_add(Weight::from_parts(73_627, 0).saturating_mul(r.into())) + // Standard Error: 950 + .saturating_add(Weight::from_parts(73_969, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity Registrars (r:1 w:1) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn set_fields(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `88 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 9_828_000 picoseconds. - Weight::from_parts(10_486_472, 0) + // Minimum execution time: 8_286_000 picoseconds. + Weight::from_parts(8_679_161, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_079 - .saturating_add(Weight::from_parts(56_775, 0).saturating_mul(r.into())) + // Standard Error: 1_203 + .saturating_add(Weight::from_parts(73_566, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity Registrars (r:1 w:0) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:0) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. - /// The range of component `x` is `[0, 100]`. - fn provide_judgement(_: u32) -> Weight { - Weight::default() + fn provide_judgement(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `7045 + r * (57 ±0)` + // Estimated: `11037` + // Minimum execution time: 157_844_000 picoseconds. + Weight::from_parts(163_504_852, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 8_336 + .saturating_add(Weight::from_parts(111_210, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:0 w:100) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:0 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// 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(_: u32, _: u32) -> Weight { - Weight::default() + fn kill_identity(r: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `7396 + r * (15 ±0) + s * (32 ±0)` + // Estimated: `11037` + // Minimum execution time: 103_394_000 picoseconds. + Weight::from_parts(103_065_236, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 14_066 + .saturating_add(Weight::from_parts(192_397, 0).saturating_mul(r.into())) + // Standard Error: 2_744 + .saturating_add(Weight::from_parts(2_071_673, 0).saturating_mul(s.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()))) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:1 w:1) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 99]`. fn add_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `474 + s * (36 ±0)` - // Estimated: `11003` - // Minimum execution time: 44_634_000 picoseconds. - Weight::from_parts(49_922_675, 0) - .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 1_300 - .saturating_add(Weight::from_parts(66_943, 0).saturating_mul(s.into())) + // Estimated: `11037` + // Minimum execution time: 38_401_000 picoseconds. + Weight::from_parts(43_707_969, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 1_715 + .saturating_add(Weight::from_parts(54_583, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:1 w:1) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 100]`. fn rename_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `590 + s * (3 ±0)` - // Estimated: `11003` - // Minimum execution time: 18_374_000 picoseconds. - Weight::from_parts(20_536_491, 0) - .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 565 - .saturating_add(Weight::from_parts(18_611, 0).saturating_mul(s.into())) + // Estimated: `11037` + // Minimum execution time: 18_194_000 picoseconds. + Weight::from_parts(20_768_301, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 635 + .saturating_add(Weight::from_parts(23_190, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:1 w:1) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 100]`. fn remove_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `637 + s * (35 ±0)` - // Estimated: `11003` - // Minimum execution time: 48_681_000 picoseconds. - Weight::from_parts(51_302_602, 0) - .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 890 - .saturating_add(Weight::from_parts(56_097, 0).saturating_mul(s.into())) + // Estimated: `11037` + // Minimum execution time: 40_616_000 picoseconds. + Weight::from_parts(44_077_435, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 1_047 + .saturating_add(Weight::from_parts(56_654, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Identity SuperOf (r:1 w:1) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 99]`. fn quit_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `770 + s * (37 ±0)` // Estimated: `6723` - // Minimum execution time: 35_296_000 picoseconds. - Weight::from_parts(37_766_079, 0) + // Minimum execution time: 30_647_000 picoseconds. + Weight::from_parts(33_495_929, 0) .saturating_add(Weight::from_parts(0, 6723)) - // Standard Error: 809 - .saturating_add(Weight::from_parts(61_292, 0).saturating_mul(s.into())) + // Standard Error: 864 + .saturating_add(Weight::from_parts(63_359, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - - fn add_username_authority() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn remove_username_authority() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn set_username_for() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn accept_username() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn remove_expired_approval() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn set_primary_username() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn remove_dangling_username() -> cumulus_primitives_core::Weight { - Weight::default() - } + /// Storage: `Identity::UsernameAuthorities` (r:0 w:1) + /// Proof: `Identity::UsernameAuthorities` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + fn add_username_authority() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 9_598_000 picoseconds. + Weight::from_parts(10_038_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Identity::UsernameAuthorities` (r:1 w:1) + /// Proof: `Identity::UsernameAuthorities` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + fn remove_username_authority() -> Weight { + // Proof Size summary in bytes: + // Measured: `79` + // Estimated: `3517` + // Minimum execution time: 12_603_000 picoseconds. + Weight::from_parts(13_135_000, 0) + .saturating_add(Weight::from_parts(0, 3517)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Identity::UsernameAuthorities` (r:1 w:1) + /// Proof: `Identity::UsernameAuthorities` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Identity::AccountOfUsername` (r:1 w:1) + /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `Identity::PendingUsernames` (r:1 w:0) + /// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + fn set_username_for() -> Weight { + // Proof Size summary in bytes: + // Measured: `79` + // Estimated: `11037` + // Minimum execution time: 82_033_000 picoseconds. + Weight::from_parts(83_586_000, 0) + .saturating_add(Weight::from_parts(0, 11037)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `Identity::PendingUsernames` (r:1 w:1) + /// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `Identity::AccountOfUsername` (r:0 w:1) + /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + fn accept_username() -> Weight { + // Proof Size summary in bytes: + // Measured: `114` + // Estimated: `11037` + // Minimum execution time: 29_906_000 picoseconds. + Weight::from_parts(30_357_000, 0) + .saturating_add(Weight::from_parts(0, 11037)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `Identity::PendingUsernames` (r:1 w:1) + /// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + fn remove_expired_approval() -> Weight { + // Proof Size summary in bytes: + // Measured: `114` + // Estimated: `3550` + // Minimum execution time: 21_831_000 picoseconds. + Weight::from_parts(31_329_000, 0) + .saturating_add(Weight::from_parts(0, 3550)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Identity::AccountOfUsername` (r:1 w:0) + /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + fn set_primary_username() -> Weight { + // Proof Size summary in bytes: + // Measured: `256` + // Estimated: `11037` + // Minimum execution time: 23_885_000 picoseconds. + Weight::from_parts(24_787_000, 0) + .saturating_add(Weight::from_parts(0, 11037)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Identity::AccountOfUsername` (r:1 w:1) + /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + fn remove_dangling_username() -> Weight { + // Proof Size summary in bytes: + // Measured: `97` + // Estimated: `11037` + // Minimum execution time: 16_560_000 picoseconds. + Weight::from_parts(16_931_000, 0) + .saturating_add(Weight::from_parts(0, 11037)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } } diff --git a/runtime/altair/src/weights/pallet_interest_accrual.rs b/runtime/altair/src/weights/pallet_interest_accrual.rs index 26f0b0b783..b63ab0ff63 100644 --- a/runtime/altair/src/weights/pallet_interest_accrual.rs +++ b/runtime/altair/src/weights/pallet_interest_accrual.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_interest_accrual` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_interest_accrual // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_interest_accrual.rs @@ -37,10 +36,10 @@ impl pallet_interest_accrual::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 692_000 picoseconds. - Weight::from_parts(224_143, 0) + // Minimum execution time: 841_000 picoseconds. + Weight::from_parts(235_636, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 235 - .saturating_add(Weight::from_parts(587_336, 0).saturating_mul(n.into())) + // Standard Error: 604 + .saturating_add(Weight::from_parts(723_257, 0).saturating_mul(n.into())) } } diff --git a/runtime/altair/src/weights/pallet_investments.rs b/runtime/altair/src/weights/pallet_investments.rs index 7697fbc707..aaa0942aeb 100644 --- a/runtime/altair/src/weights/pallet_investments.rs +++ b/runtime/altair/src/weights/pallet_investments.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_investments` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_investments // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_investments.rs @@ -32,115 +31,115 @@ use core::marker::PhantomData; /// Weight functions for `pallet_investments`. pub struct WeightInfo(PhantomData); impl pallet_investments::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: Permissions Permission (r:1 w:0) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: Investments ActiveInvestOrders (r:1 w:1) - /// Proof: Investments ActiveInvestOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InvestOrders (r:1 w:1) - /// Proof: Investments InvestOrders (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - /// Storage: Investments InvestOrderId (r:1 w:0) - /// Proof: Investments InvestOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:2 w:2) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:0) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `Investments::ActiveInvestOrders` (r:1 w:1) + /// Proof: `Investments::ActiveInvestOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InvestOrders` (r:1 w:1) + /// Proof: `Investments::InvestOrders` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Investments::InvestOrderId` (r:1 w:0) + /// Proof: `Investments::InvestOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:2 w:2) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) fn update_invest_order() -> Weight { // Proof Size summary in bytes: - // Measured: `2122` + // Measured: `2024` // Estimated: `6198` - // Minimum execution time: 102_202_000 picoseconds. - Weight::from_parts(103_535_000, 0) + // Minimum execution time: 93_043_000 picoseconds. + Weight::from_parts(94_196_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Permissions Permission (r:1 w:0) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: Investments ActiveRedeemOrders (r:1 w:1) - /// Proof: Investments ActiveRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments RedeemOrders (r:1 w:1) - /// Proof: Investments RedeemOrders (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - /// Storage: Investments RedeemOrderId (r:1 w:0) - /// Proof: Investments RedeemOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:2 w:2) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:0) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `Investments::ActiveRedeemOrders` (r:1 w:1) + /// Proof: `Investments::ActiveRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::RedeemOrders` (r:1 w:1) + /// Proof: `Investments::RedeemOrders` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Investments::RedeemOrderId` (r:1 w:0) + /// Proof: `Investments::RedeemOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:2 w:2) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) fn update_redeem_order() -> Weight { // Proof Size summary in bytes: - // Measured: `2018` + // Measured: `1948` // Estimated: `6198` - // Minimum execution time: 101_270_000 picoseconds. - Weight::from_parts(102_953_000, 0) + // Minimum execution time: 93_844_000 picoseconds. + Weight::from_parts(95_328_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: Investments InvestOrders (r:1 w:1) - /// Proof: Investments InvestOrders (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - /// Storage: Investments InvestOrderId (r:1 w:0) - /// Proof: Investments InvestOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Investments ClearedInvestOrders (r:10 w:0) - /// Proof: Investments ClearedInvestOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:2 w:2) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ForeignInvestments ForeignInvestmentInfo (r:1 w:1) - /// Proof: ForeignInvestments ForeignInvestmentInfo (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) + /// Storage: `PoolSystem::Pool` (r:1 w:0) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `Investments::InvestOrders` (r:1 w:1) + /// Proof: `Investments::InvestOrders` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Investments::InvestOrderId` (r:1 w:0) + /// Proof: `Investments::InvestOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Investments::ClearedInvestOrders` (r:10 w:0) + /// Proof: `Investments::ClearedInvestOrders` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:2 w:2) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignInvestments::ForeignInvestmentInfo` (r:1 w:1) + /// Proof: `ForeignInvestments::ForeignInvestmentInfo` (`max_values`: None, `max_size`: Some(161), added: 2636, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 10]`. fn collect_investments(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2392 + n * (44 ±0)` + // Measured: `2322 + n * (44 ±0)` // Estimated: `6198 + n * (2555 ±0)` - // Minimum execution time: 113_794_000 picoseconds. - Weight::from_parts(109_408_854, 0) + // Minimum execution time: 103_173_000 picoseconds. + Weight::from_parts(98_299_805, 0) .saturating_add(Weight::from_parts(0, 6198)) - // Standard Error: 27_755 - .saturating_add(Weight::from_parts(5_251_523, 0).saturating_mul(n.into())) + // Standard Error: 29_380 + .saturating_add(Weight::from_parts(5_646_049, 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)) .saturating_add(Weight::from_parts(0, 2555).saturating_mul(n.into())) } - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: Investments RedeemOrders (r:1 w:1) - /// Proof: Investments RedeemOrders (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - /// Storage: Investments RedeemOrderId (r:1 w:0) - /// Proof: Investments RedeemOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Investments ClearedRedeemOrders (r:10 w:0) - /// Proof: Investments ClearedRedeemOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:2 w:2) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ForeignInvestments ForeignRedemptionInfo (r:1 w:1) - /// Proof: ForeignInvestments ForeignRedemptionInfo (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) + /// Storage: `PoolSystem::Pool` (r:1 w:0) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `Investments::RedeemOrders` (r:1 w:1) + /// Proof: `Investments::RedeemOrders` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Investments::RedeemOrderId` (r:1 w:0) + /// Proof: `Investments::RedeemOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Investments::ClearedRedeemOrders` (r:10 w:0) + /// Proof: `Investments::ClearedRedeemOrders` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:2 w:2) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignInvestments::ForeignRedemptionInfo` (r:1 w:1) + /// Proof: `ForeignInvestments::ForeignRedemptionInfo` (`max_values`: None, `max_size`: Some(161), added: 2636, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 10]`. fn collect_redemptions(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2429 + n * (44 ±0)` + // Measured: `2331 + n * (44 ±0)` // Estimated: `6198 + n * (2555 ±0)` - // Minimum execution time: 111_810_000 picoseconds. - Weight::from_parts(107_373_697, 0) + // Minimum execution time: 99_706_000 picoseconds. + Weight::from_parts(94_699_603, 0) .saturating_add(Weight::from_parts(0, 6198)) - // Standard Error: 21_896 - .saturating_add(Weight::from_parts(5_295_761, 0).saturating_mul(n.into())) + // Standard Error: 27_256 + .saturating_add(Weight::from_parts(5_533_296, 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 fecb66d1d2..8c0a7985d4 100644 --- a/runtime/altair/src/weights/pallet_keystore.rs +++ b/runtime/altair/src/weights/pallet_keystore.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_keystore` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_keystore // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_keystore.rs @@ -32,54 +31,54 @@ use core::marker::PhantomData; /// Weight functions for `pallet_keystore`. pub struct WeightInfo(PhantomData); impl pallet_keystore::WeightInfo for WeightInfo { - /// Storage: Keystore KeyDeposit (r:1 w:0) - /// Proof: Keystore KeyDeposit (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Keystore Keys (r:10 w:10) - /// Proof: Keystore Keys (max_values: None, max_size: Some(120), added: 2595, mode: MaxEncodedLen) - /// Storage: Keystore LastKeyByPurpose (r:0 w:1) - /// Proof: Keystore LastKeyByPurpose (max_values: None, max_size: Some(97), added: 2572, mode: MaxEncodedLen) + /// Storage: `Keystore::KeyDeposit` (r:1 w:0) + /// Proof: `Keystore::KeyDeposit` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Keystore::Keys` (r:10 w:10) + /// Proof: `Keystore::Keys` (`max_values`: None, `max_size`: Some(120), added: 2595, mode: `MaxEncodedLen`) + /// Storage: `Keystore::LastKeyByPurpose` (r:0 w:1) + /// Proof: `Keystore::LastKeyByPurpose` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 10]`. fn add_keys(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `250` + // Measured: `216` // Estimated: `3593 + n * (2595 ±0)` - // Minimum execution time: 46_918_000 picoseconds. - Weight::from_parts(19_221_192, 0) + // Minimum execution time: 38_191_000 picoseconds. + Weight::from_parts(16_275_427, 0) .saturating_add(Weight::from_parts(0, 3593)) - // Standard Error: 17_991 - .saturating_add(Weight::from_parts(29_077_517, 0).saturating_mul(n.into())) + // Standard Error: 11_880 + .saturating_add(Weight::from_parts(23_377_597, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 2595).saturating_mul(n.into())) } - /// Storage: Keystore Keys (r:10 w:10) - /// Proof: Keystore Keys (max_values: None, max_size: Some(120), added: 2595, mode: MaxEncodedLen) + /// Storage: `Keystore::Keys` (r:10 w:10) + /// Proof: `Keystore::Keys` (`max_values`: None, `max_size`: Some(120), added: 2595, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 10]`. fn revoke_keys(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `148 + n * (75 ±0)` + // Measured: `114 + n * (75 ±0)` // Estimated: `990 + n * (2595 ±0)` - // Minimum execution time: 22_933_000 picoseconds. - Weight::from_parts(10_256_118, 0) + // Minimum execution time: 17_442_000 picoseconds. + Weight::from_parts(8_682_939, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 12_762 - .saturating_add(Weight::from_parts(13_843_760, 0).saturating_mul(n.into())) + // Standard Error: 17_995 + .saturating_add(Weight::from_parts(10_026_691, 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())) } - /// Storage: Keystore KeyDeposit (r:0 w:1) - /// Proof: Keystore KeyDeposit (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: `Keystore::KeyDeposit` (r:0 w:1) + /// Proof: `Keystore::KeyDeposit` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn set_deposit() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_953_000 picoseconds. - Weight::from_parts(12_383_000, 0) + // Minimum execution time: 6_922_000 picoseconds. + Weight::from_parts(7_294_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 a0a8a8dd0e..71719e57f5 100644 --- a/runtime/altair/src/weights/pallet_liquidity_rewards.rs +++ b/runtime/altair/src/weights/pallet_liquidity_rewards.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_liquidity_rewards` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_liquidity_rewards // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_liquidity_rewards.rs @@ -32,126 +31,126 @@ use core::marker::PhantomData; /// Weight functions for `pallet_liquidity_rewards`. pub struct WeightInfo(PhantomData); impl pallet_liquidity_rewards::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: LiquidityRewards EndOfEpoch (r:1 w:0) - /// Proof: LiquidityRewards EndOfEpoch (max_values: Some(1), max_size: Some(8), added: 503, 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: `LiquidityRewards::EndOfEpoch` (r:1 w:0) + /// Proof: `LiquidityRewards::EndOfEpoch` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// 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 { // Proof Size summary in bytes: - // Measured: `295` + // Measured: `262` // Estimated: `1493` - // Minimum execution time: 9_157_000 picoseconds. - Weight::from_parts(9_685_142, 0) + // Minimum execution time: 6_522_000 picoseconds. + Weight::from_parts(6_634_447, 0) .saturating_add(Weight::from_parts(0, 1493)) - // 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())) + // Standard Error: 484 + .saturating_add(Weight::from_parts(4_525, 0).saturating_mul(x.into())) + // Standard Error: 198 + .saturating_add(Weight::from_parts(1_798, 0).saturating_mul(y.into())) + // Standard Error: 198 + .saturating_add(Weight::from_parts(10_365, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) } - /// Storage: LiquidityRewardsBase Currency (r:1 w:1) - /// Proof: LiquidityRewardsBase Currency (max_values: None, max_size: Some(863), added: 3338, mode: MaxEncodedLen) - /// Storage: LiquidityRewardsBase Group (r:1 w:1) - /// Proof: LiquidityRewardsBase Group (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) - /// Storage: LiquidityRewardsBase StakeAccount (r:1 w:1) - /// Proof: LiquidityRewardsBase StakeAccount (max_values: None, max_size: Some(143), added: 2618, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:1 w:0) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `LiquidityRewardsBase::Currency` (r:1 w:1) + /// Proof: `LiquidityRewardsBase::Currency` (`max_values`: None, `max_size`: Some(863), added: 3338, mode: `MaxEncodedLen`) + /// Storage: `LiquidityRewardsBase::Group` (r:1 w:1) + /// Proof: `LiquidityRewardsBase::Group` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) + /// Storage: `LiquidityRewardsBase::StakeAccount` (r:1 w:1) + /// Proof: `LiquidityRewardsBase::StakeAccount` (`max_values`: None, `max_size`: Some(143), added: 2618, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:1 w:0) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) fn stake() -> Weight { // Proof Size summary in bytes: - // Measured: `539` - // Estimated: `4328` - // Minimum execution time: 41_418_000 picoseconds. - Weight::from_parts(42_219_000, 0) - .saturating_add(Weight::from_parts(0, 4328)) + // Measured: `467` + // Estimated: `4407` + // Minimum execution time: 36_007_000 picoseconds. + Weight::from_parts(36_889_000, 0) + .saturating_add(Weight::from_parts(0, 4407)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: LiquidityRewardsBase Currency (r:1 w:1) - /// Proof: LiquidityRewardsBase Currency (max_values: None, max_size: Some(863), added: 3338, mode: MaxEncodedLen) - /// Storage: LiquidityRewardsBase Group (r:1 w:1) - /// Proof: LiquidityRewardsBase Group (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) - /// Storage: LiquidityRewardsBase StakeAccount (r:1 w:1) - /// Proof: LiquidityRewardsBase StakeAccount (max_values: None, max_size: Some(143), added: 2618, mode: MaxEncodedLen) + /// Storage: `LiquidityRewardsBase::Currency` (r:1 w:1) + /// Proof: `LiquidityRewardsBase::Currency` (`max_values`: None, `max_size`: Some(863), added: 3338, mode: `MaxEncodedLen`) + /// Storage: `LiquidityRewardsBase::Group` (r:1 w:1) + /// Proof: `LiquidityRewardsBase::Group` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) + /// Storage: `LiquidityRewardsBase::StakeAccount` (r:1 w:1) + /// Proof: `LiquidityRewardsBase::StakeAccount` (`max_values`: None, `max_size`: Some(143), added: 2618, mode: `MaxEncodedLen`) fn unstake() -> Weight { // Proof Size summary in bytes: // Measured: `176` // Estimated: `4328` - // Minimum execution time: 28_353_000 picoseconds. - Weight::from_parts(29_225_000, 0) + // Minimum execution time: 24_044_000 picoseconds. + Weight::from_parts(24_495_000, 0) .saturating_add(Weight::from_parts(0, 4328)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: LiquidityRewardsBase Currency (r:1 w:0) - /// Proof: LiquidityRewardsBase Currency (max_values: None, max_size: Some(863), added: 3338, mode: MaxEncodedLen) - /// Storage: LiquidityRewardsBase Group (r:1 w:0) - /// Proof: LiquidityRewardsBase Group (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) - /// Storage: LiquidityRewardsBase StakeAccount (r:1 w:1) - /// Proof: LiquidityRewardsBase StakeAccount (max_values: None, max_size: Some(143), added: 2618, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `LiquidityRewardsBase::Currency` (r:1 w:0) + /// Proof: `LiquidityRewardsBase::Currency` (`max_values`: None, `max_size`: Some(863), added: 3338, mode: `MaxEncodedLen`) + /// Storage: `LiquidityRewardsBase::Group` (r:1 w:0) + /// Proof: `LiquidityRewardsBase::Group` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) + /// Storage: `LiquidityRewardsBase::StakeAccount` (r:1 w:1) + /// Proof: `LiquidityRewardsBase::StakeAccount` (`max_values`: None, `max_size`: Some(143), added: 2618, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn claim_reward() -> Weight { // Proof Size summary in bytes: // Measured: `449` // Estimated: `4328` - // Minimum execution time: 59_472_000 picoseconds. - Weight::from_parts(60_865_000, 0) + // Minimum execution time: 51_085_000 picoseconds. + Weight::from_parts(52_357_000, 0) .saturating_add(Weight::from_parts(0, 4328)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: LiquidityRewards NextEpochChanges (r:1 w:1) - /// Proof: LiquidityRewards NextEpochChanges (max_values: Some(1), max_size: Some(2078), added: 2573, mode: MaxEncodedLen) + /// Storage: `LiquidityRewards::NextEpochChanges` (r:1 w:1) + /// Proof: `LiquidityRewards::NextEpochChanges` (`max_values`: Some(1), `max_size`: Some(2078), added: 2573, mode: `MaxEncodedLen`) fn set_distributed_reward() -> Weight { // Proof Size summary in bytes: - // Measured: `142` + // Measured: `109` // Estimated: `3563` - // Minimum execution time: 8_967_000 picoseconds. - Weight::from_parts(9_377_000, 0) + // Minimum execution time: 6_372_000 picoseconds. + Weight::from_parts(6_602_000, 0) .saturating_add(Weight::from_parts(0, 3563)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: LiquidityRewards NextEpochChanges (r:1 w:1) - /// Proof: LiquidityRewards NextEpochChanges (max_values: Some(1), max_size: Some(2078), added: 2573, mode: MaxEncodedLen) + /// Storage: `LiquidityRewards::NextEpochChanges` (r:1 w:1) + /// Proof: `LiquidityRewards::NextEpochChanges` (`max_values`: Some(1), `max_size`: Some(2078), added: 2573, mode: `MaxEncodedLen`) fn set_epoch_duration() -> Weight { // Proof Size summary in bytes: - // Measured: `142` + // Measured: `109` // Estimated: `3563` - // Minimum execution time: 8_836_000 picoseconds. - Weight::from_parts(9_278_000, 0) + // Minimum execution time: 6_372_000 picoseconds. + Weight::from_parts(6_702_000, 0) .saturating_add(Weight::from_parts(0, 3563)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: LiquidityRewards NextEpochChanges (r:1 w:1) - /// Proof: LiquidityRewards NextEpochChanges (max_values: Some(1), max_size: Some(2078), added: 2573, mode: MaxEncodedLen) + /// Storage: `LiquidityRewards::NextEpochChanges` (r:1 w:1) + /// Proof: `LiquidityRewards::NextEpochChanges` (`max_values`: Some(1), `max_size`: Some(2078), added: 2573, mode: `MaxEncodedLen`) fn set_group_weight() -> Weight { // Proof Size summary in bytes: - // Measured: `142` + // Measured: `109` // Estimated: `3563` - // Minimum execution time: 9_458_000 picoseconds. - Weight::from_parts(9_608_000, 0) + // Minimum execution time: 6_672_000 picoseconds. + Weight::from_parts(7_033_000, 0) .saturating_add(Weight::from_parts(0, 3563)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: LiquidityRewards NextEpochChanges (r:1 w:1) - /// Proof: LiquidityRewards NextEpochChanges (max_values: Some(1), max_size: Some(2078), added: 2573, mode: MaxEncodedLen) + /// Storage: `LiquidityRewards::NextEpochChanges` (r:1 w:1) + /// Proof: `LiquidityRewards::NextEpochChanges` (`max_values`: Some(1), `max_size`: Some(2078), added: 2573, mode: `MaxEncodedLen`) fn set_currency_group() -> Weight { // Proof Size summary in bytes: - // Measured: `142` + // Measured: `109` // Estimated: `3563` - // Minimum execution time: 9_348_000 picoseconds. - Weight::from_parts(9_628_000, 0) + // Minimum execution time: 6_852_000 picoseconds. + Weight::from_parts(7_123_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 3dab649919..3d22a648d9 100644 --- a/runtime/altair/src/weights/pallet_loans.rs +++ b/runtime/altair/src/weights/pallet_loans.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_loans` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_loans // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_loans.rs @@ -32,370 +31,368 @@ use core::marker::PhantomData; /// Weight functions for `pallet_loans`. pub struct WeightInfo(PhantomData); impl pallet_loans::WeightInfo for WeightInfo { - /// Storage: Permissions Permission (r:1 w:0) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: Uniques Asset (r:1 w:1) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, 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: Uniques Class (r:1 w:0) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Loans LastLoanId (r:1 w:1) - /// Proof: Loans LastLoanId (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) - /// Storage: Loans CreatedLoan (r:0 w:1) - /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, mode: MaxEncodedLen) - /// Storage: Uniques Account (r:0 w:2) - /// Proof: Uniques Account (max_values: None, max_size: Some(104), added: 2579, mode: MaxEncodedLen) - /// Storage: Uniques ItemPriceOf (r:0 w:1) - /// Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:0) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, 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: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Loans::LastLoanId` (r:1 w:1) + /// Proof: `Loans::LastLoanId` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) + /// Storage: `Loans::CreatedLoan` (r:0 w:1) + /// Proof: `Loans::CreatedLoan` (`max_values`: None, `max_size`: Some(245), added: 2720, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:2) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`) fn create() -> Weight { // Proof Size summary in bytes: // Measured: `1195` // Estimated: `4278` - // Minimum execution time: 83_587_000 picoseconds. - Weight::from_parts(85_240_000, 0) + // Minimum execution time: 75_201_000 picoseconds. + Weight::from_parts(78_006_000, 0) .saturating_add(Weight::from_parts(0, 4278)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } - /// Storage: Loans CreatedLoan (r:1 w:1) - /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, 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) - /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(10802), added: 11297, mode: MaxEncodedLen) - /// 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(24050), added: 26525, mode: MaxEncodedLen) - /// Storage: Loans ActiveLoans (r:1 w:1) - /// 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) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Loans::CreatedLoan` (r:1 w:1) + /// Proof: `Loans::CreatedLoan` (`max_values`: None, `max_size`: Some(245), added: 2720, 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) + /// Proof: `InterestAccrual::Rates` (`max_values`: Some(1), `max_size`: Some(10802), added: 11297, mode: `MaxEncodedLen`) + /// 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(24050), added: 26525, mode: `MaxEncodedLen`) + /// Storage: `Loans::ActiveLoans` (r:1 w:1) + /// Proof: `Loans::ActiveLoans` (`max_values`: None, `max_size`: Some(373026), added: 375501, 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) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 9]`. fn borrow(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `13046 + n * (340 ±0)` - // 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())) + // Measured: `12846 + n * (340 ±0)` + // Estimated: `376491` + // Minimum execution time: 186_288_000 picoseconds. + Weight::from_parts(190_716_513, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 19_435 + .saturating_add(Weight::from_parts(587_402, 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(24050), added: 26525, mode: MaxEncodedLen) - /// Storage: Loans ActiveLoans (r:1 w:1) - /// 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) - /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(10802), added: 11297, mode: MaxEncodedLen) - /// Storage: InterestAccrual LastUpdated (r:1 w:0) - /// Proof: InterestAccrual LastUpdated (max_values: Some(1), max_size: Some(8), added: 503, 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) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Loans::PortfolioValuation` (r:1 w:1) + /// 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(373026), added: 375501, 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) + /// Proof: `InterestAccrual::Rates` (`max_values`: Some(1), `max_size`: Some(10802), added: 11297, mode: `MaxEncodedLen`) + /// Storage: `InterestAccrual::LastUpdated` (r:1 w:0) + /// Proof: `InterestAccrual::LastUpdated` (`max_values`: Some(1), `max_size`: Some(8), added: 503, 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) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 9]`. fn repay(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `13199 + n * (340 ±0)` - // 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())) + // Measured: `13032 + n * (340 ±0)` + // Estimated: `376491` + // Minimum execution time: 165_729_000 picoseconds. + Weight::from_parts(167_843_939, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 22_614 + .saturating_add(Weight::from_parts(691_747, 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(24050), added: 26525, mode: MaxEncodedLen) - /// Storage: Loans ActiveLoans (r:1 w:1) - /// 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) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, 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: 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(24050), added: 26525, mode: `MaxEncodedLen`) + /// Storage: `Loans::ActiveLoans` (r:1 w:1) + /// Proof: `Loans::ActiveLoans` (`max_values`: None, `max_size`: Some(373026), added: 375501, 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) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, 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: `InterestAccrual::LastUpdated` (r:1 w:0) + /// Proof: `InterestAccrual::LastUpdated` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 9]`. fn write_off(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `15906 + n * (340 ±0)` - // 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())) + // Measured: `15833 + n * (340 ±0)` + // Estimated: `376491` + // Minimum execution time: 196_697_000 picoseconds. + Weight::from_parts(200_116_785, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 22_793 + .saturating_add(Weight::from_parts(426_786, 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(24050), added: 26525, mode: MaxEncodedLen) - /// Storage: Loans ActiveLoans (r:1 w:1) - /// 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) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, 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: InterestAccrual LastUpdated (r:1 w:0) - /// Proof: InterestAccrual LastUpdated (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// 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(24050), added: 26525, mode: `MaxEncodedLen`) + /// Storage: `Loans::ActiveLoans` (r:1 w:1) + /// Proof: `Loans::ActiveLoans` (`max_values`: None, `max_size`: Some(373026), added: 375501, 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) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, 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: `InterestAccrual::LastUpdated` (r:1 w:0) + /// Proof: `InterestAccrual::LastUpdated` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 9]`. fn admin_write_off(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `16157 + n * (340 ±0)` - // 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())) + // Measured: `16084 + n * (340 ±0)` + // Estimated: `376491` + // Minimum execution time: 232_884_000 picoseconds. + Weight::from_parts(236_836_129, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 23_620 + .saturating_add(Weight::from_parts(527_055, 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(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(5184), added: 7659, mode: MaxEncodedLen) + /// 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(373026), added: 375501, 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(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: `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())) + // Estimated: `376491` + // Minimum execution time: 40_355_000 picoseconds. + Weight::from_parts(40_780_970, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 5_395 + .saturating_add(Weight::from_parts(448_479, 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(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(24050), added: 26525, mode: MaxEncodedLen) - /// Storage: Loans ActiveLoans (r:1 w:1) - /// 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) - /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(10802), added: 11297, mode: MaxEncodedLen) - /// Storage: InterestAccrual LastUpdated (r:1 w:0) - /// Proof: InterestAccrual LastUpdated (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: `PoolSystem::NotedChange` (r:1 w:1) + /// 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(24050), added: 26525, mode: `MaxEncodedLen`) + /// Storage: `Loans::ActiveLoans` (r:1 w:1) + /// Proof: `Loans::ActiveLoans` (`max_values`: None, `max_size`: Some(373026), added: 375501, 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) + /// Proof: `InterestAccrual::Rates` (`max_values`: Some(1), `max_size`: Some(10802), added: 11297, mode: `MaxEncodedLen`) + /// Storage: `InterestAccrual::LastUpdated` (r:1 w:0) + /// Proof: `InterestAccrual::LastUpdated` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 9]`. fn apply_loan_mutation(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `12242 + n * (340 ±0)` - // 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())) + // Measured: `12169 + n * (340 ±0)` + // Estimated: `376491` + // Minimum execution time: 106_780_000 picoseconds. + Weight::from_parts(108_199_468, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 17_211 + .saturating_add(Weight::from_parts(729_848, 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(372026), added: 374501, mode: MaxEncodedLen) - /// Storage: Loans PortfolioValuation (r:1 w:1) - /// 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) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques Asset (r:1 w:1) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: Loans ClosedLoan (r:0 w:1) - /// Proof: Loans ClosedLoan (max_values: None, max_size: Some(280), added: 2755, mode: MaxEncodedLen) - /// Storage: Uniques Account (r:0 w:2) - /// Proof: Uniques Account (max_values: None, max_size: Some(104), added: 2579, mode: MaxEncodedLen) - /// Storage: Uniques ItemPriceOf (r:0 w:1) - /// Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen) + /// Storage: `Loans::CreatedLoan` (r:1 w:0) + /// Proof: `Loans::CreatedLoan` (`max_values`: None, `max_size`: Some(245), added: 2720, mode: `MaxEncodedLen`) + /// Storage: `Loans::ActiveLoans` (r:1 w:1) + /// Proof: `Loans::ActiveLoans` (`max_values`: None, `max_size`: Some(373026), added: 375501, mode: `MaxEncodedLen`) + /// Storage: `Loans::PortfolioValuation` (r:1 w:1) + /// 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) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Storage: `Loans::ClosedLoan` (r:0 w:1) + /// Proof: `Loans::ClosedLoan` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:2) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 9]`. fn close(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `12102 + n * (373 ±0)` - // 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())) + // Measured: `12029 + n * (373 ±0)` + // Estimated: `376491` + // Minimum execution time: 92_222_000 picoseconds. + Weight::from_parts(93_656_922, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 13_832 + .saturating_add(Weight::from_parts(650_957, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(8)) } - /// Storage: Permissions Permission (r:1 w:0) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, 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(5184), added: 7659, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:0) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, 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(5184), added: 7659, mode: `MaxEncodedLen`) fn propose_write_off_policy() -> Weight { // Proof Size summary in bytes: // Measured: `478` // Estimated: `4278` - // Minimum execution time: 106_640_000 picoseconds. - Weight::from_parts(108_834_000, 0) + // Minimum execution time: 103_723_000 picoseconds. + Weight::from_parts(105_928_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(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) - /// Proof: Loans WriteOffPolicy (max_values: None, max_size: Some(5126), added: 7601, mode: MaxEncodedLen) + /// Storage: `PoolSystem::NotedChange` (r:1 w:1) + /// 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) + /// Proof: `Loans::WriteOffPolicy` (`max_values`: None, `max_size`: Some(5126), added: 7601, mode: `MaxEncodedLen`) fn apply_write_off_policy() -> Weight { // Proof Size summary in bytes: // Measured: `4854` // Estimated: `8649` - // Minimum execution time: 117_761_000 picoseconds. - Weight::from_parts(119_634_000, 0) + // Minimum execution time: 137_526_000 picoseconds. + Weight::from_parts(140_211_000, 0) .saturating_add(Weight::from_parts(0, 8649)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// 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(7542), added: 10017, mode: MaxEncodedLen) - /// Storage: OraclePriceCollection CollectionInfo (r:1 w:0) - /// 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) - /// 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(24050), added: 26525, mode: MaxEncodedLen) + /// Storage: `PoolSystem::Pool` (r:1 w:0) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// 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(7542), added: 10017, mode: `MaxEncodedLen`) + /// Storage: `OraclePriceCollection::CollectionInfo` (r:1 w:0) + /// 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(373026), added: 375501, 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(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: `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())) + // Measured: `11718 + n * (353 ±0)` + // Estimated: `376491` + // Minimum execution time: 98_765_000 picoseconds. + Weight::from_parts(69_862_207, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 26_661 + .saturating_add(Weight::from_parts(31_411_063, 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(24050), added: 26525, 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) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: InterestAccrual Rates (r:1 w:0) - /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(10802), added: 11297, mode: MaxEncodedLen) - /// Storage: InterestAccrual LastUpdated (r:1 w:0) - /// Proof: InterestAccrual LastUpdated (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// 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(5184), added: 7659, mode: MaxEncodedLen) + /// Storage: `Loans::PortfolioValuation` (r:1 w:0) + /// 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(373026), added: 375501, 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) + /// Proof: `InterestAccrual::Rates` (`max_values`: Some(1), `max_size`: Some(10802), added: 11297, mode: `MaxEncodedLen`) + /// Storage: `InterestAccrual::LastUpdated` (r:1 w:0) + /// Proof: `InterestAccrual::LastUpdated` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Loans::CreatedLoan` (r:1 w:0) + /// Proof: `Loans::CreatedLoan` (`max_values`: None, `max_size`: Some(245), added: 2720, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::NotedChange` (r:0 w:1) + /// 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: `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())) + // Measured: `11836 + n * (340 ±0)` + // Estimated: `376491` + // Minimum execution time: 211_504_000 picoseconds. + Weight::from_parts(216_578_752, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 34_460 + .saturating_add(Weight::from_parts(821_413, 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(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(24050), added: 26525, mode: MaxEncodedLen) - /// Storage: Loans ActiveLoans (r:1 w:1) - /// 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) - /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(10802), added: 11297, mode: MaxEncodedLen) - /// Storage: InterestAccrual LastUpdated (r:1 w:0) - /// Proof: InterestAccrual LastUpdated (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Loans CreatedLoan (r:1 w:1) - /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, mode: MaxEncodedLen) + /// Storage: `PoolSystem::NotedChange` (r:1 w:1) + /// 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(24050), added: 26525, mode: `MaxEncodedLen`) + /// Storage: `Loans::ActiveLoans` (r:1 w:1) + /// Proof: `Loans::ActiveLoans` (`max_values`: None, `max_size`: Some(373026), added: 375501, 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) + /// Proof: `InterestAccrual::Rates` (`max_values`: Some(1), `max_size`: Some(10802), added: 11297, mode: `MaxEncodedLen`) + /// Storage: `InterestAccrual::LastUpdated` (r:1 w:0) + /// Proof: `InterestAccrual::LastUpdated` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Loans::CreatedLoan` (r:1 w:1) + /// Proof: `Loans::CreatedLoan` (`max_values`: None, `max_size`: Some(245), added: 2720, mode: `MaxEncodedLen`) /// The range of component `n` is `[2, 8]`. fn apply_transfer_debt(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `12570 + n * (340 ±0)` - // 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())) + // Measured: `12497 + n * (340 ±0)` + // Estimated: `376491` + // Minimum execution time: 222_114_000 picoseconds. + Weight::from_parts(225_316_304, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 34_163 + .saturating_add(Weight::from_parts(948_074, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: Loans CreatedLoan (r:1 w:1) - /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, 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) - /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(10802), added: 11297, mode: MaxEncodedLen) - /// 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(24050), added: 26525, mode: MaxEncodedLen) - /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) + /// Storage: `Loans::CreatedLoan` (r:1 w:1) + /// Proof: `Loans::CreatedLoan` (`max_values`: None, `max_size`: Some(245), added: 2720, 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) + /// Proof: `InterestAccrual::Rates` (`max_values`: Some(1), `max_size`: Some(10802), added: 11297, mode: `MaxEncodedLen`) + /// 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(24050), added: 26525, mode: `MaxEncodedLen`) + /// Storage: `Loans::ActiveLoans` (r:1 w:1) + /// Proof: `Loans::ActiveLoans` (`max_values`: None, `max_size`: Some(373026), added: 375501, 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: `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())) + // Measured: `11496 + n * (340 ±0)` + // Estimated: `376491` + // Minimum execution time: 128_950_000 picoseconds. + Weight::from_parts(131_986_528, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 15_405 + .saturating_add(Weight::from_parts(538_412, 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 eef580e362..2b14f64052 100644 --- a/runtime/altair/src/weights/pallet_multisig.rs +++ b/runtime/altair/src/weights/pallet_multisig.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_multisig` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_multisig // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_multisig.rs @@ -37,110 +36,110 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 16_460_000 picoseconds. - Weight::from_parts(17_330_672, 0) + // Minimum execution time: 15_920_000 picoseconds. + Weight::from_parts(16_791_683, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3 - .saturating_add(Weight::from_parts(558, 0).saturating_mul(z.into())) + // Standard Error: 5 + .saturating_add(Weight::from_parts(494, 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) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_create(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `334 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 58_439_000 picoseconds. - Weight::from_parts(52_997_207, 0) + // Minimum execution time: 50_905_000 picoseconds. + Weight::from_parts(43_938_808, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 787 - .saturating_add(Weight::from_parts(75_612, 0).saturating_mul(s.into())) + // Standard Error: 750 + .saturating_add(Weight::from_parts(90_272, 0).saturating_mul(s.into())) // Standard Error: 7 - .saturating_add(Weight::from_parts(1_512, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(1_537, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[3, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_approve(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `6811` - // Minimum execution time: 35_397_000 picoseconds. - Weight::from_parts(29_031_825, 0) + // Minimum execution time: 31_800_000 picoseconds. + Weight::from_parts(24_763_259, 0) .saturating_add(Weight::from_parts(0, 6811)) - // 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())) + // Standard Error: 637 + .saturating_add(Weight::from_parts(84_167, 0).saturating_mul(s.into())) + // Standard Error: 6 + .saturating_add(Weight::from_parts(1_526, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_complete(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `456 + s * (33 ±0)` // Estimated: `6811` - // Minimum execution time: 66_395_000 picoseconds. - Weight::from_parts(55_902_022, 0) + // Minimum execution time: 58_639_000 picoseconds. + Weight::from_parts(47_679_049, 0) .saturating_add(Weight::from_parts(0, 6811)) - // 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())) + // Standard Error: 1_118 + .saturating_add(Weight::from_parts(126_990, 0).saturating_mul(s.into())) + // Standard Error: 10 + .saturating_add(Weight::from_parts(1_605, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `334 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 48_711_000 picoseconds. - Weight::from_parts(49_779_996, 0) + // Minimum execution time: 40_445_000 picoseconds. + Weight::from_parts(41_735_038, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 761 - .saturating_add(Weight::from_parts(79_890, 0).saturating_mul(s.into())) + // Standard Error: 1_330 + .saturating_add(Weight::from_parts(95_912, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `6811` - // Minimum execution time: 26_310_000 picoseconds. - Weight::from_parts(26_950_692, 0) + // Minimum execution time: 21_761_000 picoseconds. + Weight::from_parts(22_759_304, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 624 - .saturating_add(Weight::from_parts(75_150, 0).saturating_mul(s.into())) + // Standard Error: 690 + .saturating_add(Weight::from_parts(84_536, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `520 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 48_782_000 picoseconds. - Weight::from_parts(49_680_127, 0) + // Minimum execution time: 41_448_000 picoseconds. + Weight::from_parts(42_609_737, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 673 - .saturating_add(Weight::from_parts(79_663, 0).saturating_mul(s.into())) + // Standard Error: 774 + .saturating_add(Weight::from_parts(89_590, 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 f71935825b..8c3d26fe19 100644 --- a/runtime/altair/src/weights/pallet_oracle_collection.rs +++ b/runtime/altair/src/weights/pallet_oracle_collection.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_oracle_collection` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_oracle_collection // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_oracle_collection.rs @@ -32,73 +31,73 @@ use core::marker::PhantomData; /// Weight functions for `pallet_oracle_collection`. pub struct WeightInfo(PhantomData); impl pallet_oracle_collection::WeightInfo for WeightInfo { - /// Storage: Permissions Permission (r:1 w:0) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, 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(5184), added: 7659, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, 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(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: 29_555_000 picoseconds. - Weight::from_parts(29_106_737, 0) + // Minimum execution time: 24_847_000 picoseconds. + Weight::from_parts(25_081_180, 0) .saturating_add(Weight::from_parts(0, 3693)) - // Standard Error: 8_606 - .saturating_add(Weight::from_parts(1_527_386, 0).saturating_mul(n.into())) + // Standard Error: 7_291 + .saturating_add(Weight::from_parts(604_140, 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(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(7542), added: 10017, mode: MaxEncodedLen) - /// Storage: OraclePriceCollection CollectionInfo (r:0 w:1) - /// Proof: OraclePriceCollection CollectionInfo (max_values: None, max_size: Some(3058), added: 5533, mode: MaxEncodedLen) + /// Storage: `PoolSystem::NotedChange` (r:1 w:1) + /// 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(7542), added: 10017, mode: `MaxEncodedLen`) + /// Storage: `OraclePriceCollection::CollectionInfo` (r:0 w:1) + /// 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: `657 + n * (34 ±0)` // Estimated: `8649` - // Minimum execution time: 35_506_000 picoseconds. - Weight::from_parts(35_372_352, 0) + // Minimum execution time: 35_075_000 picoseconds. + Weight::from_parts(35_750_191, 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())) + // Standard Error: 8_835 + .saturating_add(Weight::from_parts(609_574, 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: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(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(7542), added: 10017, 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: `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(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: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `OraclePriceCollection::Collection` (r:0 w:1) + /// 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 * (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) + // Minimum execution time: 131_405_000 picoseconds. + Weight::from_parts(132_817_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())) + // Standard Error: 15_695_531 + .saturating_add(Weight::from_parts(487_953_152, 0).saturating_mul(n.into())) + // Standard Error: 777_416 + .saturating_add(Weight::from_parts(31_272_607, 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()))) diff --git a/runtime/altair/src/weights/pallet_oracle_feed.rs b/runtime/altair/src/weights/pallet_oracle_feed.rs index c2bb3f04d2..9844f6cd53 100644 --- a/runtime/altair/src/weights/pallet_oracle_feed.rs +++ b/runtime/altair/src/weights/pallet_oracle_feed.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_oracle_feed` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_oracle_feed // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_oracle_feed.rs @@ -32,32 +31,32 @@ use core::marker::PhantomData; /// Weight functions for `pallet_oracle_feed`. pub struct WeightInfo(PhantomData); impl pallet_oracle_feed::WeightInfo for WeightInfo { - /// Storage: OraclePriceFeed FedValues (r:1 w:1) - /// Proof: OraclePriceFeed FedValues (max_values: None, max_size: Some(711), added: 3186, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, 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: `OraclePriceFeed::FedValues` (r:1 w:1) + /// Proof: `OraclePriceFeed::FedValues` (`max_values`: None, `max_size`: Some(711), added: 3186, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn feed_with_fee() -> Weight { // Proof Size summary in bytes: // Measured: `354` // Estimated: `4176` - // Minimum execution time: 68_549_000 picoseconds. - Weight::from_parts(70_262_000, 0) + // Minimum execution time: 50_514_000 picoseconds. + Weight::from_parts(51_516_000, 0) .saturating_add(Weight::from_parts(0, 4176)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: OraclePriceFeed FedValues (r:1 w:1) - /// Proof: OraclePriceFeed FedValues (max_values: None, max_size: Some(711), added: 3186, 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: `OraclePriceFeed::FedValues` (r:1 w:1) + /// Proof: `OraclePriceFeed::FedValues` (`max_values`: None, `max_size`: Some(711), added: 3186, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn feed_without_fee() -> Weight { // Proof Size summary in bytes: // Measured: `380` // Estimated: `4176` - // Minimum execution time: 23_885_000 picoseconds. - Weight::from_parts(24_597_000, 0) + // Minimum execution time: 19_046_000 picoseconds. + Weight::from_parts(19_857_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 576731ae8c..93946824e1 100644 --- a/runtime/altair/src/weights/pallet_order_book.rs +++ b/runtime/altair/src/weights/pallet_order_book.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_order_book` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_order_book // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_order_book.rs @@ -32,94 +31,94 @@ use core::marker::PhantomData; /// Weight functions for `pallet_order_book`. pub struct WeightInfo(PhantomData); impl pallet_order_book::WeightInfo for WeightInfo { - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrderBook OrderIdNonceStore (r:1 w:1) - /// Proof: OrderBook OrderIdNonceStore (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:1 w:1) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrderBook Orders (r:0 w:1) - /// Proof: OrderBook Orders (max_values: None, max_size: Some(171), added: 2646, mode: MaxEncodedLen) - /// Storage: OrderBook UserOrders (r:0 w:1) - /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `OrderBook::OrderIdNonceStore` (r:1 w:1) + /// Proof: `OrderBook::OrderIdNonceStore` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:1 w:1) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrderBook::Orders` (r:0 w:1) + /// Proof: `OrderBook::Orders` (`max_values`: None, `max_size`: Some(171), added: 2646, mode: `MaxEncodedLen`) + /// Storage: `OrderBook::UserOrders` (r:0 w:1) + /// Proof: `OrderBook::UserOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) fn place_order() -> Weight { // Proof Size summary in bytes: - // Measured: `709` - // Estimated: `4174` - // Minimum execution time: 55_925_000 picoseconds. - Weight::from_parts(56_907_000, 0) - .saturating_add(Weight::from_parts(0, 4174)) + // Measured: `659` + // Estimated: `4407` + // Minimum execution time: 45_015_000 picoseconds. + Weight::from_parts(45_785_000, 0) + .saturating_add(Weight::from_parts(0, 4407)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: OrderBook Orders (r:1 w:1) - /// Proof: OrderBook Orders (max_values: None, max_size: Some(171), added: 2646, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrmlTokens Accounts (r:1 w:1) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) + /// Storage: `OrderBook::Orders` (r:1 w:1) + /// Proof: `OrderBook::Orders` (`max_values`: None, `max_size`: Some(171), added: 2646, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:1 w:1) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) fn update_order() -> Weight { // Proof Size summary in bytes: - // Measured: `913` - // Estimated: `4378` - // Minimum execution time: 51_047_000 picoseconds. - Weight::from_parts(51_417_000, 0) - .saturating_add(Weight::from_parts(0, 4378)) + // Measured: `863` + // Estimated: `4407` + // Minimum execution time: 43_541_000 picoseconds. + Weight::from_parts(44_272_000, 0) + .saturating_add(Weight::from_parts(0, 4407)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: OrderBook Orders (r:1 w:1) - /// Proof: OrderBook Orders (max_values: None, max_size: Some(171), added: 2646, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:1 w:1) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrderBook UserOrders (r:0 w:1) - /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) + /// Storage: `OrderBook::Orders` (r:1 w:1) + /// Proof: `OrderBook::Orders` (`max_values`: None, `max_size`: Some(171), added: 2646, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:1 w:1) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `OrderBook::UserOrders` (r:0 w:1) + /// Proof: `OrderBook::UserOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) fn cancel_order() -> Weight { // Proof Size summary in bytes: - // Measured: `913` - // Estimated: `4378` - // Minimum execution time: 53_310_000 picoseconds. - Weight::from_parts(54_232_000, 0) - .saturating_add(Weight::from_parts(0, 4378)) + // Measured: `863` + // Estimated: `4407` + // Minimum execution time: 47_188_000 picoseconds. + Weight::from_parts(48_060_000, 0) + .saturating_add(Weight::from_parts(0, 4407)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: OrderBook Orders (r:1 w:1) - /// Proof: OrderBook Orders (max_values: None, max_size: Some(171), added: 2646, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrderBook MarketFeederId (r:1 w:0) - /// Proof: OrderBook MarketFeederId (max_values: Some(1), max_size: Some(604), added: 1099, mode: MaxEncodedLen) - /// Storage: OraclePriceFeed FedValues (r:1 w:0) - /// Proof: OraclePriceFeed FedValues (max_values: None, max_size: Some(711), added: 3186, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:4 w:4) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Swaps OrderIdToSwapId (r:1 w:0) - /// Proof: Swaps OrderIdToSwapId (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen) - /// Storage: OrderBook UserOrders (r:0 w:1) - /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) + /// Storage: `OrderBook::Orders` (r:1 w:1) + /// Proof: `OrderBook::Orders` (`max_values`: None, `max_size`: Some(171), added: 2646, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:2 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `OrderBook::MarketFeederId` (r:1 w:0) + /// Proof: `OrderBook::MarketFeederId` (`max_values`: Some(1), `max_size`: Some(604), added: 1099, mode: `MaxEncodedLen`) + /// Storage: `OraclePriceFeed::FedValues` (r:1 w:0) + /// Proof: `OraclePriceFeed::FedValues` (`max_values`: None, `max_size`: Some(711), added: 3186, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:4 w:4) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Swaps::OrderIdToSwapId` (r:1 w:0) + /// Proof: `Swaps::OrderIdToSwapId` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `OrderBook::UserOrders` (r:0 w:1) + /// Proof: `OrderBook::UserOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) fn fill_order() -> Weight { // Proof Size summary in bytes: - // Measured: `1665` + // Measured: `1562` // Estimated: `11406` - // Minimum execution time: 172_604_000 picoseconds. - Weight::from_parts(175_290_000, 0) + // Minimum execution time: 145_291_000 picoseconds. + Weight::from_parts(147_665_000, 0) .saturating_add(Weight::from_parts(0, 11406)) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(8)) } - /// Storage: OrderBook MarketFeederId (r:0 w:1) - /// Proof: OrderBook MarketFeederId (max_values: Some(1), max_size: Some(604), added: 1099, mode: MaxEncodedLen) + /// Storage: `OrderBook::MarketFeederId` (r:0 w:1) + /// Proof: `OrderBook::MarketFeederId` (`max_values`: Some(1), `max_size`: Some(604), added: 1099, mode: `MaxEncodedLen`) fn set_market_feeder() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_405_000 picoseconds. - Weight::from_parts(13_706_000, 0) + // Minimum execution time: 7_654_000 picoseconds. + Weight::from_parts(7_945_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 b7270da4a7..261db5044c 100644 --- a/runtime/altair/src/weights/pallet_permissions.rs +++ b/runtime/altair/src/weights/pallet_permissions.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_permissions` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_permissions // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_permissions.rs @@ -32,82 +31,82 @@ use core::marker::PhantomData; /// Weight functions for `pallet_permissions`. pub struct WeightInfo(PhantomData); impl pallet_permissions::WeightInfo for WeightInfo { - /// Storage: Permissions PermissionCount (r:1 w:1) - /// Proof: Permissions PermissionCount (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - /// Storage: Permissions Permission (r:1 w:1) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Storage: `Permissions::PermissionCount` (r:1 w:1) + /// Proof: `Permissions::PermissionCount` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `Permissions::Permission` (r:1 w:1) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) fn add_as_admin() -> Weight { // Proof Size summary in bytes: // Measured: `3` // Estimated: `3693` - // Minimum execution time: 21_561_000 picoseconds. - Weight::from_parts(22_312_000, 0) + // Minimum execution time: 17_362_000 picoseconds. + Weight::from_parts(17_893_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Permissions Permission (r:2 w:1) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: Permissions PermissionCount (r:1 w:1) - /// Proof: Permissions PermissionCount (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:2 w:1) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `Permissions::PermissionCount` (r:1 w:1) + /// Proof: `Permissions::PermissionCount` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) fn add_as_editor() -> Weight { // Proof Size summary in bytes: // Measured: `162` // Estimated: `6396` - // Minimum execution time: 29_095_000 picoseconds. - Weight::from_parts(29_876_000, 0) + // Minimum execution time: 24_696_000 picoseconds. + Weight::from_parts(25_117_000, 0) .saturating_add(Weight::from_parts(0, 6396)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Permissions PermissionCount (r:1 w:1) - /// Proof: Permissions PermissionCount (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - /// Storage: Permissions Permission (r:1 w:1) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Storage: `Permissions::PermissionCount` (r:1 w:1) + /// Proof: `Permissions::PermissionCount` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `Permissions::Permission` (r:1 w:1) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) fn remove_as_admin() -> Weight { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3693` - // Minimum execution time: 25_067_000 picoseconds. - Weight::from_parts(25_979_000, 0) + // Minimum execution time: 20_288_000 picoseconds. + Weight::from_parts(20_960_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Permissions Permission (r:2 w:1) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: Permissions PermissionCount (r:1 w:1) - /// Proof: Permissions PermissionCount (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:2 w:1) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `Permissions::PermissionCount` (r:1 w:1) + /// Proof: `Permissions::PermissionCount` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) fn remove_as_editor() -> Weight { // Proof Size summary in bytes: // Measured: `256` // Estimated: `6396` - // Minimum execution time: 31_639_000 picoseconds. - Weight::from_parts(32_441_000, 0) + // Minimum execution time: 26_650_000 picoseconds. + Weight::from_parts(27_863_000, 0) .saturating_add(Weight::from_parts(0, 6396)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Permissions Permission (r:1 w:1) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:1) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) fn purge() -> Weight { // Proof Size summary in bytes: // Measured: `146` // Estimated: `3693` - // Minimum execution time: 21_851_000 picoseconds. - Weight::from_parts(22_432_000, 0) + // Minimum execution time: 17_252_000 picoseconds. + Weight::from_parts(17_583_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Permissions Permission (r:1 w:1) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:1) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) fn admin_purge() -> Weight { // Proof Size summary in bytes: // Measured: `146` // Estimated: `3693` - // Minimum execution time: 22_372_000 picoseconds. - Weight::from_parts(22_683_000, 0) + // Minimum execution time: 17_503_000 picoseconds. + Weight::from_parts(17_994_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 3d60170c98..11e923805f 100644 --- a/runtime/altair/src/weights/pallet_pool_fees.rs +++ b/runtime/altair/src/weights/pallet_pool_fees.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_pool_fees` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_pool_fees // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_pool_fees.rs @@ -32,122 +31,122 @@ use core::marker::PhantomData; /// Weight functions for `pallet_pool_fees`. pub struct WeightInfo(PhantomData); 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: Permissions Permission (r:1 w:0) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: PoolFees LastFeeId (r:1 w:1) - /// Proof: PoolFees LastFeeId (max_values: Some(1), max_size: Some(8), added: 503, 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(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: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::LastFeeId` (r:1 w:1) + /// Proof: `PoolFees::LastFeeId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, 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(5184), added: 7659, mode: `MaxEncodedLen`) fn propose_new_fee() -> Weight { // Proof Size summary in bytes: // Measured: `548` // Estimated: `4278` - // Minimum execution time: 43_652_000 picoseconds. - Weight::from_parts(44_444_000, 0) + // Minimum execution time: 35_326_000 picoseconds. + Weight::from_parts(36_288_000, 0) .saturating_add(Weight::from_parts(0, 4278)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } - /// 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(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) - /// Proof: PoolFees FeeIds (max_values: None, max_size: Some(843), added: 3318, mode: MaxEncodedLen) - /// Storage: PoolFees ActiveFees (r:1 w:1) - /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) + /// 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(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) + /// Proof: `PoolFees::FeeIds` (`max_values`: None, `max_size`: Some(843), added: 3318, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::ActiveFees` (r:1 w:1) + /// Proof: `PoolFees::ActiveFees` (`max_values`: None, `max_size`: Some(14043), added: 16518, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 99]`. fn apply_new_fee(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1362 + n * (137 ±0)` // Estimated: `17508` - // Minimum execution time: 55_645_000 picoseconds. - Weight::from_parts(56_508_588, 0) + // Minimum execution time: 57_377_000 picoseconds. + Weight::from_parts(58_210_849, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 2_096 - .saturating_add(Weight::from_parts(277_336, 0).saturating_mul(n.into())) + // Standard Error: 2_014 + .saturating_add(Weight::from_parts(279_465, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: PoolFees FeeIdsToPoolBucket (r:1 w:1) - /// Proof: PoolFees FeeIdsToPoolBucket (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) - /// Storage: PoolFees ActiveFees (r:1 w:1) - /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) - /// Storage: PoolFees FeeIds (r:1 w:1) - /// Proof: PoolFees FeeIds (max_values: None, max_size: Some(843), added: 3318, 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::ActiveFees` (r:1 w:1) + /// Proof: `PoolFees::ActiveFees` (`max_values`: None, `max_size`: Some(14043), added: 16518, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::FeeIds` (r:1 w:1) + /// Proof: `PoolFees::FeeIds` (`max_values`: None, `max_size`: Some(843), added: 3318, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 100]`. fn remove_fee(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `676 + n * (136 ±0)` // Estimated: `17508` - // Minimum execution time: 37_951_000 picoseconds. - Weight::from_parts(38_599_094, 0) + // Minimum execution time: 34_505_000 picoseconds. + Weight::from_parts(35_151_831, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 3_366 - .saturating_add(Weight::from_parts(412_182, 0).saturating_mul(n.into())) + // Standard Error: 4_044 + .saturating_add(Weight::from_parts(428_154, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: PoolFees FeeIdsToPoolBucket (r:1 w:0) - /// Proof: PoolFees FeeIdsToPoolBucket (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) - /// Storage: PoolFees ActiveFees (r:1 w:1) - /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) + /// Storage: `PoolFees::FeeIdsToPoolBucket` (r:1 w:0) + /// Proof: `PoolFees::FeeIdsToPoolBucket` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::ActiveFees` (r:1 w:1) + /// Proof: `PoolFees::ActiveFees` (`max_values`: None, `max_size`: Some(14043), added: 16518, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 99]`. fn charge_fee(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `762 + n * (129 ±0)` // Estimated: `17508` - // Minimum execution time: 27_703_000 picoseconds. - Weight::from_parts(27_482_913, 0) + // Minimum execution time: 24_004_000 picoseconds. + Weight::from_parts(24_168_211, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 2_076 - .saturating_add(Weight::from_parts(256_479, 0).saturating_mul(n.into())) + // Standard Error: 2_074 + .saturating_add(Weight::from_parts(258_865, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: PoolFees FeeIdsToPoolBucket (r:1 w:0) - /// Proof: PoolFees FeeIdsToPoolBucket (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) - /// Storage: PoolFees ActiveFees (r:1 w:1) - /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) + /// Storage: `PoolFees::FeeIdsToPoolBucket` (r:1 w:0) + /// Proof: `PoolFees::FeeIdsToPoolBucket` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::ActiveFees` (r:1 w:1) + /// Proof: `PoolFees::ActiveFees` (`max_values`: None, `max_size`: Some(14043), added: 16518, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 99]`. fn uncharge_fee(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `762 + n * (129 ±0)` // Estimated: `17508` - // Minimum execution time: 27_111_000 picoseconds. - Weight::from_parts(26_637_232, 0) + // Minimum execution time: 23_454_000 picoseconds. + Weight::from_parts(23_197_809, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 2_224 - .saturating_add(Weight::from_parts(260_103, 0).saturating_mul(n.into())) + // Standard Error: 2_199 + .saturating_add(Weight::from_parts(259_697, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: PoolFees PortfolioValuation (r:1 w:1) - /// Proof: PoolFees PortfolioValuation (max_values: None, max_size: Some(4850), added: 7325, 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: PoolFees AssetsUnderManagement (r:1 w:0) - /// Proof: PoolFees AssetsUnderManagement (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) - /// Storage: PoolFees ActiveFees (r:1 w:1) - /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) + /// Storage: `PoolSystem::Pool` (r:1 w:0) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::PortfolioValuation` (r:1 w:1) + /// Proof: `PoolFees::PortfolioValuation` (`max_values`: None, `max_size`: Some(4850), added: 7325, 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: `PoolFees::AssetsUnderManagement` (r:1 w:0) + /// Proof: `PoolFees::AssetsUnderManagement` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::ActiveFees` (r:1 w:1) + /// Proof: `PoolFees::ActiveFees` (`max_values`: None, `max_size`: Some(14043), added: 16518, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 100]`. fn update_portfolio_valuation(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `570 + n * (124 ±0)` // Estimated: `17508` - // Minimum execution time: 50_234_000 picoseconds. - Weight::from_parts(42_753_052, 0) + // Minimum execution time: 41_287_000 picoseconds. + Weight::from_parts(38_210_123, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 5_307 - .saturating_add(Weight::from_parts(6_476_364, 0).saturating_mul(n.into())) + // Standard Error: 3_690 + .saturating_add(Weight::from_parts(3_052_827, 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 023a470d48..0757cd64d7 100644 --- a/runtime/altair/src/weights/pallet_pool_registry.rs +++ b/runtime/altair/src/weights/pallet_pool_registry.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_pool_registry` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_pool_registry // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_pool_registry.rs @@ -32,169 +31,169 @@ use core::marker::PhantomData; /// Weight functions for `pallet_pool_registry`. pub struct WeightInfo(PhantomData); impl pallet_pool_registry::WeightInfo for WeightInfo { - /// Storage: PoolRegistry Pools (r:1 w:1) - /// Proof: PoolRegistry Pools (max_values: None, max_size: Some(25), added: 2500, mode: MaxEncodedLen) - /// Storage: PoolSystem Pool (r:1 w:1) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:6 w:5) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: PoolSystem AccountDeposit (r:1 w:1) - /// Proof: PoolSystem AccountDeposit (max_values: None, max_size: Some(64), added: 2539, 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: PoolFees LastFeeId (r:1 w:1) - /// Proof: PoolFees LastFeeId (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: PoolFees FeeIdsToPoolBucket (r:100 w:100) - /// Proof: PoolFees FeeIdsToPoolBucket (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) - /// Storage: PoolFees FeeIds (r:1 w:1) - /// Proof: PoolFees FeeIds (max_values: None, max_size: Some(843), added: 3318, mode: MaxEncodedLen) - /// Storage: PoolFees ActiveFees (r:1 w:1) - /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) - /// Storage: Permissions PermissionCount (r:1 w:1) - /// Proof: Permissions PermissionCount (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - /// Storage: Permissions Permission (r:1 w:1) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: Loans WriteOffPolicy (r:0 w:1) - /// Proof: Loans WriteOffPolicy (max_values: None, max_size: Some(5126), added: 7601, mode: MaxEncodedLen) - /// Storage: PoolSystem PoolDeposit (r:0 w:1) - /// Proof: PoolSystem PoolDeposit (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) + /// Storage: `PoolRegistry::Pools` (r:1 w:1) + /// Proof: `PoolRegistry::Pools` (`max_values`: None, `max_size`: Some(25), added: 2500, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:1) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:6 w:5) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::AccountDeposit` (r:1 w:1) + /// Proof: `PoolSystem::AccountDeposit` (`max_values`: None, `max_size`: Some(64), added: 2539, 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: `PoolFees::LastFeeId` (r:1 w:1) + /// Proof: `PoolFees::LastFeeId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::FeeIdsToPoolBucket` (r:100 w:100) + /// Proof: `PoolFees::FeeIdsToPoolBucket` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::FeeIds` (r:1 w:1) + /// Proof: `PoolFees::FeeIds` (`max_values`: None, `max_size`: Some(843), added: 3318, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::ActiveFees` (r:1 w:1) + /// Proof: `PoolFees::ActiveFees` (`max_values`: None, `max_size`: Some(14043), added: 16518, mode: `MaxEncodedLen`) + /// Storage: `Permissions::PermissionCount` (r:1 w:1) + /// Proof: `Permissions::PermissionCount` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `Permissions::Permission` (r:1 w:1) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `Loans::WriteOffPolicy` (r:0 w:1) + /// Proof: `Loans::WriteOffPolicy` (`max_values`: None, `max_size`: Some(5126), added: 7601, mode: `MaxEncodedLen`) + /// Storage: `PoolRegistry::PoolMetadata` (r:0 w:1) + /// Proof: `PoolRegistry::PoolMetadata` (`max_values`: None, `max_size`: Some(71), added: 2546, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::PoolDeposit` (r:0 w:1) + /// Proof: `PoolSystem::PoolDeposit` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 5]`. /// The range of component `m` is `[0, 100]`. fn register(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `441` - // Estimated: `17508 + m * (2508 ±0) + n * (2475 ±0)` - // Minimum execution time: 232_456_000 picoseconds. - Weight::from_parts(104_353_702, 0) + // Measured: `422` + // Estimated: `17508 + m * (2508 ±0) + n * (3417 ±0)` + // Minimum execution time: 186_748_000 picoseconds. + Weight::from_parts(123_689_120, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 82_581 - .saturating_add(Weight::from_parts(28_423_981, 0).saturating_mul(m.into())) + // Standard Error: 81_503 + .saturating_add(Weight::from_parts(24_132_712, 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()))) - .saturating_add(T::DbWeight::get().writes(10)) + .saturating_add(T::DbWeight::get().writes(11)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(m.into()))) .saturating_add(Weight::from_parts(0, 2508).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 2475).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 3417).saturating_mul(n.into())) } - /// Storage: Permissions Permission (r:1 w:0) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: PoolSystem EpochExecution (r:1 w:0) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, 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: 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) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::EpochExecution` (r:1 w:0) + /// Proof: `PoolSystem::EpochExecution` (`max_values`: None, `max_size`: Some(754), added: 3229, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:0) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, 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: `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(1504), added: 3979, 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: `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) + // Minimum execution time: 58_940_000 picoseconds. + Weight::from_parts(50_984_763, 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())) + // Standard Error: 38_828 + .saturating_add(Weight::from_parts(2_943_073, 0).saturating_mul(n.into())) + // Standard Error: 1_771 + .saturating_add(Weight::from_parts(217_699, 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())) } - /// Storage: Permissions Permission (r:1 w:0) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: PoolSystem EpochExecution (r:1 w:0) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) - /// Storage: PoolSystem Pool (r:1 w:1) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, 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: Investments ActiveRedeemOrders (r:5 w:0) - /// 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) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::EpochExecution` (r:1 w:0) + /// Proof: `PoolSystem::EpochExecution` (`max_values`: None, `max_size`: Some(754), added: 3229, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:1) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, 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: `Investments::ActiveRedeemOrders` (r:5 w:0) + /// Proof: `Investments::ActiveRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:5 w:1) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, 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(1504), added: 3979, 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: `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) + // Measured: `927 + m * (124 ±0) + n * (200 ±0)` + // Estimated: `17508 + n * (3417 ±0)` + // Minimum execution time: 101_439_000 picoseconds. + Weight::from_parts(70_893_079, 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()))) + // Standard Error: 47_685 + .saturating_add(Weight::from_parts(10_729_260, 0).saturating_mul(n.into())) + // Standard Error: 2_176 + .saturating_add(Weight::from_parts(229_716, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().reads((2_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())) + .saturating_add(Weight::from_parts(0, 3417).saturating_mul(n.into())) } - /// Storage: PoolSystem Pool (r:1 w:1) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: PoolSystem EpochExecution (r:1 w:0) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) - /// Storage: PoolSystem ScheduledUpdate (r:1 w:1) - /// Proof: PoolSystem ScheduledUpdate (max_values: None, max_size: Some(1019), added: 3494, 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: Investments ActiveRedeemOrders (r:5 w:0) - /// 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::Pool` (r:1 w:1) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::EpochExecution` (r:1 w:0) + /// Proof: `PoolSystem::EpochExecution` (`max_values`: None, `max_size`: Some(754), added: 3229, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::ScheduledUpdate` (r:1 w:1) + /// Proof: `PoolSystem::ScheduledUpdate` (`max_values`: None, `max_size`: Some(1504), added: 3979, 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: `Investments::ActiveRedeemOrders` (r:5 w:0) + /// Proof: `Investments::ActiveRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:5 w:1) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// 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: `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) + // Measured: `915 + m * (124 ±0) + n * (227 ±0)` + // Estimated: `17508 + n * (3417 ±0)` + // Minimum execution time: 94_327_000 picoseconds. + Weight::from_parts(61_924_136, 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()))) + // Standard Error: 60_907 + .saturating_add(Weight::from_parts(11_430_089, 0).saturating_mul(n.into())) + // Standard Error: 2_779 + .saturating_add(Weight::from_parts(226_144, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().reads((2_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())) + .saturating_add(Weight::from_parts(0, 3417).saturating_mul(n.into())) } - /// Storage: Permissions Permission (r:1 w:0) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: PoolRegistry PoolMetadata (r:0 w:1) - /// Proof: PoolRegistry PoolMetadata (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolRegistry::PoolMetadata` (r:0 w:1) + /// Proof: `PoolRegistry::PoolMetadata` (`max_values`: None, `max_size`: Some(71), added: 2546, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 46]`. /// The range of component `m` is `[0, 100]`. fn set_metadata(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `146` // Estimated: `3693` - // Minimum execution time: 23_554_000 picoseconds. - Weight::from_parts(24_240_005, 0) + // Minimum execution time: 19_066_000 picoseconds. + Weight::from_parts(19_700_503, 0) .saturating_add(Weight::from_parts(0, 3693)) - // 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())) + // Standard Error: 1_506 + .saturating_add(Weight::from_parts(7_088, 0).saturating_mul(n.into())) + // Standard Error: 700 + .saturating_add(Weight::from_parts(30_038, 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 6002e8dd0b..37686587b5 100644 --- a/runtime/altair/src/weights/pallet_pool_system.rs +++ b/runtime/altair/src/weights/pallet_pool_system.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_pool_system` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_pool_system // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_pool_system.rs @@ -32,253 +31,259 @@ use core::marker::PhantomData; /// Weight functions for `pallet_pool_system`. pub struct WeightInfo(PhantomData); impl pallet_pool_system::WeightInfo for WeightInfo { - /// Storage: Permissions Permission (r:1 w:0) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: PoolSystem Pool (r:1 w:1) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:1) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) /// The range of component `m` is `[0, 100]`. fn set_max_reserve(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `592` + // Measured: `554` // Estimated: `4278` - // Minimum execution time: 29_416_000 picoseconds. - Weight::from_parts(30_938_668, 0) + // Minimum execution time: 24_425_000 picoseconds. + Weight::from_parts(25_132_176, 0) .saturating_add(Weight::from_parts(0, 4278)) - // Standard Error: 459 - .saturating_add(Weight::from_parts(28_705, 0).saturating_mul(m.into())) + // Standard Error: 539 + .saturating_add(Weight::from_parts(31_636, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: PoolSystem Pool (r:1 w:1) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: PoolSystem EpochExecution (r:1 w:0) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, 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:1 w:0) - /// 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) - /// Proof: PoolFees AssetsUnderManagement (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) - /// Storage: PoolFees ActiveFees (r:1 w:1) - /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) - /// Storage: OrmlTokens TotalIssuance (r:5 w:0) - /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: Investments ActiveInvestOrders (r:5 w:5) - /// Proof: Investments ActiveInvestOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InProcessingInvestOrders (r:5 w:5) - /// Proof: Investments InProcessingInvestOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InvestOrderId (r:5 w:5) - /// Proof: Investments InvestOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Investments ActiveRedeemOrders (r:5 w:5) - /// Proof: Investments ActiveRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InProcessingRedeemOrders (r:5 w:5) - /// Proof: Investments InProcessingRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments RedeemOrderId (r:5 w:5) - /// Proof: Investments RedeemOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:5 w:0) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: Investments ClearedInvestOrders (r:0 w:5) - /// Proof: Investments ClearedInvestOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) - /// Storage: Investments ClearedRedeemOrders (r:0 w:5) - /// Proof: Investments ClearedRedeemOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:1) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::EpochExecution` (r:1 w:0) + /// Proof: `PoolSystem::EpochExecution` (`max_values`: None, `max_size`: Some(754), added: 3229, 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:1 w:0) + /// 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) + /// Proof: `PoolFees::AssetsUnderManagement` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::ActiveFees` (r:1 w:1) + /// Proof: `PoolFees::ActiveFees` (`max_values`: None, `max_size`: Some(14043), added: 16518, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::TotalIssuance` (r:5 w:0) + /// Proof: `OrmlTokens::TotalIssuance` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Investments::ActiveInvestOrders` (r:5 w:5) + /// Proof: `Investments::ActiveInvestOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InProcessingInvestOrders` (r:5 w:5) + /// Proof: `Investments::InProcessingInvestOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InvestOrderId` (r:5 w:5) + /// Proof: `Investments::InvestOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Investments::ActiveRedeemOrders` (r:5 w:5) + /// Proof: `Investments::ActiveRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InProcessingRedeemOrders` (r:5 w:5) + /// Proof: `Investments::InProcessingRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::RedeemOrderId` (r:5 w:5) + /// Proof: `Investments::RedeemOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:5 w:0) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `Investments::ClearedInvestOrders` (r:0 w:5) + /// Proof: `Investments::ClearedInvestOrders` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `Investments::ClearedRedeemOrders` (r:0 w:5) + /// Proof: `Investments::ClearedRedeemOrders` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 5]`. /// The range of component `m` is `[1, 100]`. fn close_epoch_no_orders(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1014 + m * (124 ±0) + n * (133 ±0)` + // Measured: `1150 + m * (124 ±0) + n * (133 ±0)` // Estimated: `27515 + n * (2604 ±0)` - // Minimum execution time: 513_134_000 picoseconds. - Weight::from_parts(88_468_897, 0) + // Minimum execution time: 442_405_000 picoseconds. + Weight::from_parts(84_600_408, 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)) + // Standard Error: 136_918 + .saturating_add(Weight::from_parts(71_704_522, 0).saturating_mul(n.into())) + // Standard Error: 6_323 + .saturating_add(Weight::from_parts(3_447_067, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((8_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((8_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 2604).saturating_mul(n.into())) } - /// Storage: PoolSystem Pool (r:1 w:1) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: PoolSystem EpochExecution (r:1 w:1) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, 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:1 w:0) - /// 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) - /// Proof: PoolFees AssetsUnderManagement (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) - /// Storage: PoolFees ActiveFees (r:1 w:1) - /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) - /// Storage: OrmlTokens TotalIssuance (r:5 w:0) - /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: Investments ActiveInvestOrders (r:5 w:5) - /// Proof: Investments ActiveInvestOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InProcessingInvestOrders (r:5 w:5) - /// Proof: Investments InProcessingInvestOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InvestOrderId (r:5 w:5) - /// Proof: Investments InvestOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Investments ActiveRedeemOrders (r:5 w:5) - /// Proof: Investments ActiveRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InProcessingRedeemOrders (r:5 w:5) - /// Proof: Investments InProcessingRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments RedeemOrderId (r:5 w:5) - /// Proof: Investments RedeemOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:1) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::EpochExecution` (r:1 w:1) + /// Proof: `PoolSystem::EpochExecution` (`max_values`: None, `max_size`: Some(754), added: 3229, 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:1 w:0) + /// 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) + /// Proof: `PoolFees::AssetsUnderManagement` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::ActiveFees` (r:1 w:1) + /// Proof: `PoolFees::ActiveFees` (`max_values`: None, `max_size`: Some(14043), added: 16518, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::TotalIssuance` (r:5 w:0) + /// Proof: `OrmlTokens::TotalIssuance` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Investments::ActiveInvestOrders` (r:5 w:5) + /// Proof: `Investments::ActiveInvestOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InProcessingInvestOrders` (r:5 w:5) + /// Proof: `Investments::InProcessingInvestOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InvestOrderId` (r:5 w:5) + /// Proof: `Investments::InvestOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Investments::ActiveRedeemOrders` (r:5 w:5) + /// Proof: `Investments::ActiveRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InProcessingRedeemOrders` (r:5 w:5) + /// Proof: `Investments::InProcessingRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::RedeemOrderId` (r:5 w:5) + /// Proof: `Investments::RedeemOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 5]`. /// The range of component `m` is `[0, 100]`. fn close_epoch_no_execution(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1178 + m * (124 ±0) + n * (133 ±0)` + // Measured: `1362 + m * (124 ±0) + n * (133 ±0)` // Estimated: `27515 + n * (2531 ±0)` - // Minimum execution time: 257_853_000 picoseconds. - Weight::from_parts(89_178_439, 0) + // Minimum execution time: 227_845_000 picoseconds. + Weight::from_parts(97_065_667, 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)) + // Standard Error: 103_500 + .saturating_add(Weight::from_parts(27_629_142, 0).saturating_mul(n.into())) + // Standard Error: 4_723 + .saturating_add(Weight::from_parts(3_198_067, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 2531).saturating_mul(n.into())) } - /// Storage: PoolSystem Pool (r:1 w:1) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: PoolSystem EpochExecution (r:1 w:0) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, 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:1 w:0) - /// 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) - /// Proof: PoolFees AssetsUnderManagement (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) - /// Storage: PoolFees ActiveFees (r:1 w:1) - /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) - /// Storage: OrmlTokens TotalIssuance (r:5 w:1) - /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: Investments ActiveInvestOrders (r:5 w:5) - /// Proof: Investments ActiveInvestOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InProcessingInvestOrders (r:5 w:5) - /// Proof: Investments InProcessingInvestOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InvestOrderId (r:5 w:5) - /// Proof: Investments InvestOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Investments ActiveRedeemOrders (r:5 w:5) - /// Proof: Investments ActiveRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InProcessingRedeemOrders (r:5 w:5) - /// Proof: Investments InProcessingRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments RedeemOrderId (r:5 w:5) - /// Proof: Investments RedeemOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:7 w:3) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Investments ClearedInvestOrders (r:0 w:5) - /// Proof: Investments ClearedInvestOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) - /// Storage: Investments ClearedRedeemOrders (r:0 w:5) - /// Proof: Investments ClearedRedeemOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:1) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::EpochExecution` (r:1 w:0) + /// Proof: `PoolSystem::EpochExecution` (`max_values`: None, `max_size`: Some(754), added: 3229, 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:1 w:0) + /// 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) + /// Proof: `PoolFees::AssetsUnderManagement` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::ActiveFees` (r:1 w:1) + /// Proof: `PoolFees::ActiveFees` (`max_values`: None, `max_size`: Some(14043), added: 16518, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::TotalIssuance` (r:5 w:1) + /// Proof: `OrmlTokens::TotalIssuance` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Investments::ActiveInvestOrders` (r:5 w:5) + /// Proof: `Investments::ActiveInvestOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InProcessingInvestOrders` (r:5 w:5) + /// Proof: `Investments::InProcessingInvestOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InvestOrderId` (r:5 w:5) + /// Proof: `Investments::InvestOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Investments::ActiveRedeemOrders` (r:5 w:5) + /// Proof: `Investments::ActiveRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InProcessingRedeemOrders` (r:5 w:5) + /// Proof: `Investments::InProcessingRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::RedeemOrderId` (r:5 w:5) + /// Proof: `Investments::RedeemOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:7 w:3) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:2 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Investments::ClearedInvestOrders` (r:0 w:5) + /// Proof: `Investments::ClearedInvestOrders` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `Investments::ClearedRedeemOrders` (r:0 w:5) + /// Proof: `Investments::ClearedRedeemOrders` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 5]`. /// The range of component `m` is `[0, 100]`. fn close_epoch_execute(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1989 + m * (124 ±0) + n * (167 ±0)` - // Estimated: `27515 + m * (124 ±0) + n * (2604 ±0)` - // Minimum execution time: 630_764_000 picoseconds. - Weight::from_parts(208_124_486, 0) + // Measured: `2054 + m * (124 ±0) + n * (167 ±0)` + // Estimated: `27515 + n * (2604 ±0)` + // Minimum execution time: 537_503_000 picoseconds. + Weight::from_parts(180_573_847, 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)) + // Standard Error: 169_949 + .saturating_add(Weight::from_parts(74_071_744, 0).saturating_mul(n.into())) + // Standard Error: 7_755 + .saturating_add(Weight::from_parts(3_460_352, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().reads((8_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(10)) .saturating_add(T::DbWeight::get().writes((8_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 124).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 2604).saturating_mul(n.into())) } - /// Storage: PoolSystem EpochExecution (r:1 w:1) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, 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::EpochExecution` (r:1 w:1) + /// Proof: `PoolSystem::EpochExecution` (`max_values`: None, `max_size`: Some(754), added: 3229, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:0) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// 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 submit_solution(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `788 + m * (124 ±0) + n * (249 ±0)` // Estimated: `17508` - // Minimum execution time: 43_101_000 picoseconds. - Weight::from_parts(37_259_107, 0) + // Minimum execution time: 39_894_000 picoseconds. + Weight::from_parts(33_385_816, 0) .saturating_add(Weight::from_parts(0, 17508)) - // 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())) + // Standard Error: 36_096 + .saturating_add(Weight::from_parts(1_602_761, 0).saturating_mul(n.into())) + // Standard Error: 1_647 + .saturating_add(Weight::from_parts(207_846, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: PoolSystem EpochExecution (r:1 w:1) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) - /// Storage: PoolSystem Pool (r:1 w:1) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: PoolFees ActiveFees (r:1 w:1) - /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) - /// Storage: Investments InProcessingInvestOrders (r:5 w:5) - /// Proof: Investments InProcessingInvestOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:7 w:3) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: OrmlTokens TotalIssuance (r:1 w:1) - /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: Investments InvestOrderId (r:5 w:0) - /// Proof: Investments InvestOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Investments ActiveInvestOrders (r:5 w:5) - /// Proof: Investments ActiveInvestOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InProcessingRedeemOrders (r:5 w:5) - /// Proof: Investments InProcessingRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments RedeemOrderId (r:5 w:0) - /// Proof: Investments RedeemOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Investments ActiveRedeemOrders (r:5 w:5) - /// Proof: Investments ActiveRedeemOrders (max_values: None, max_size: Some(56), added: 2531, 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: Investments ClearedInvestOrders (r:0 w:5) - /// Proof: Investments ClearedInvestOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) - /// Storage: Investments ClearedRedeemOrders (r:0 w:5) - /// Proof: Investments ClearedRedeemOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::EpochExecution` (r:1 w:1) + /// Proof: `PoolSystem::EpochExecution` (`max_values`: None, `max_size`: Some(754), added: 3229, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:1) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::ActiveFees` (r:1 w:1) + /// Proof: `PoolFees::ActiveFees` (`max_values`: None, `max_size`: Some(14043), added: 16518, mode: `MaxEncodedLen`) + /// Storage: `Investments::InProcessingInvestOrders` (r:5 w:5) + /// Proof: `Investments::InProcessingInvestOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:7 w:3) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:2 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::TotalIssuance` (r:1 w:1) + /// Proof: `OrmlTokens::TotalIssuance` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Investments::InvestOrderId` (r:5 w:0) + /// Proof: `Investments::InvestOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Investments::ActiveInvestOrders` (r:5 w:5) + /// Proof: `Investments::ActiveInvestOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InProcessingRedeemOrders` (r:5 w:5) + /// Proof: `Investments::InProcessingRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::RedeemOrderId` (r:5 w:0) + /// Proof: `Investments::RedeemOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Investments::ActiveRedeemOrders` (r:5 w:5) + /// Proof: `Investments::ActiveRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, 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: `Investments::ClearedInvestOrders` (r:0 w:5) + /// Proof: `Investments::ClearedInvestOrders` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `Investments::ClearedRedeemOrders` (r:0 w:5) + /// Proof: `Investments::ClearedRedeemOrders` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 5]`. /// The range of component `m` is `[0, 100]`. fn execute_epoch(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1944 + m * (124 ±0) + n * (633 ±0)` - // Estimated: `17508 + m * (124 ±0) + n * (2604 ±0)` - // Minimum execution time: 259_918_000 picoseconds. - Weight::from_parts(163_308_268, 0) + // Measured: `2009 + m * (124 ±0) + n * (633 ±0)` + // Estimated: `17508 + n * (2604 ±0)` + // Minimum execution time: 240_970_000 picoseconds. + Weight::from_parts(149_766_811, 0) .saturating_add(Weight::from_parts(0, 17508)) - // 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)) + // Standard Error: 115_506 + .saturating_add(Weight::from_parts(56_480_792, 0).saturating_mul(n.into())) + // Standard Error: 5_271 + .saturating_add(Weight::from_parts(391_702, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(9)) .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 124).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 2604).saturating_mul(n.into())) } } diff --git a/runtime/altair/src/weights/pallet_preimage.rs b/runtime/altair/src/weights/pallet_preimage.rs index b7dcdcc9f9..450b9b8cd5 100644 --- a/runtime/altair/src/weights/pallet_preimage.rs +++ b/runtime/altair/src/weights/pallet_preimage.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_preimage` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_preimage // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_preimage.rs @@ -32,173 +31,219 @@ use core::marker::PhantomData; /// Weight functions for `pallet_preimage`. pub struct WeightInfo(PhantomData); impl pallet_preimage::WeightInfo for WeightInfo { - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `178` - // Estimated: `3556` - // 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_063, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `76` + // Estimated: `3568` + // Minimum execution time: 68_257_000 picoseconds. + Weight::from_parts(42_838_135, 0) + .saturating_add(Weight::from_parts(0, 3568)) + // Standard Error: 7 + .saturating_add(Weight::from_parts(2_650, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 24_646_000 picoseconds. - Weight::from_parts(25_731_125, 0) + // Minimum execution time: 22_061_000 picoseconds. + Weight::from_parts(1_292_114, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 10 - .saturating_add(Weight::from_parts(2_720, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Standard Error: 7 + .saturating_add(Weight::from_parts(2_711, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 23_644_000 picoseconds. - Weight::from_parts(49_338_396, 0) + // Minimum execution time: 20_799_000 picoseconds. + Weight::from_parts(8_852_912, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 7 - .saturating_add(Weight::from_parts(2_689, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Standard Error: 8 + .saturating_add(Weight::from_parts(2_671, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `324` - // Estimated: `3556` - // 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)) + // Measured: `277` + // Estimated: `3568` + // Minimum execution time: 73_818_000 picoseconds. + Weight::from_parts(78_236_000, 0) + .saturating_add(Weight::from_parts(0, 3568)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 27_592_000 picoseconds. - Weight::from_parts(28_163_000, 0) + // Minimum execution time: 31_880_000 picoseconds. + Weight::from_parts(34_274_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `222` // Estimated: `3556` - // Minimum execution time: 24_175_000 picoseconds. - Weight::from_parts(24_857_000, 0) + // Minimum execution time: 31_730_000 picoseconds. + Weight::from_parts(33_522_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 14_027_000 picoseconds. - Weight::from_parts(14_617_000, 0) + // Minimum execution time: 21_340_000 picoseconds. + Weight::from_parts(25_457_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3556` - // Minimum execution time: 21_300_000 picoseconds. - Weight::from_parts(22_111_000, 0) + // Minimum execution time: 18_805_000 picoseconds. + Weight::from_parts(19_897_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_requested_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 12_653_000 picoseconds. - Weight::from_parts(12_995_000, 0) + // Minimum execution time: 13_856_000 picoseconds. + Weight::from_parts(14_287_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unrequest_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 25_539_000 picoseconds. - Weight::from_parts(26_329_000, 0) + // Minimum execution time: 32_280_000 picoseconds. + Weight::from_parts(35_397_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn unrequest_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 12_534_000 picoseconds. - Weight::from_parts(12_915_000, 0) + // Minimum execution time: 13_666_000 picoseconds. + Weight::from_parts(14_677_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn unrequest_multi_referenced_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 12_163_000 picoseconds. - Weight::from_parts(12_714_000, 0) + // Minimum execution time: 13_565_000 picoseconds. + Weight::from_parts(14_467_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - - fn ensure_updated(_: u32) -> cumulus_primitives_core::Weight { - Weight::default() - } + /// Storage: `Preimage::StatusFor` (r:1023 w:1023) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1023 w:1023) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1023 w:1023) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:0 w:1023) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// The range of component `n` is `[1, 1024]`. + fn ensure_updated(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `404 + n * (227 ±0)` + // Estimated: `990 + n * (2603 ±0)` + // Minimum execution time: 77_264_000 picoseconds. + Weight::from_parts(78_006_000, 0) + .saturating_add(Weight::from_parts(0, 990)) + // Standard Error: 59_312 + .saturating_add(Weight::from_parts(75_852_773, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_parts(0, 2603).saturating_mul(n.into())) + } } diff --git a/runtime/altair/src/weights/pallet_proxy.rs b/runtime/altair/src/weights/pallet_proxy.rs index 6605cd4af7..a50f427608 100644 --- a/runtime/altair/src/weights/pallet_proxy.rs +++ b/runtime/altair/src/weights/pallet_proxy.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_proxy` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_proxy // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_proxy.rs @@ -32,172 +31,174 @@ use core::marker::PhantomData; /// Weight functions for `pallet_proxy`. pub struct WeightInfo(PhantomData); impl pallet_proxy::WeightInfo for WeightInfo { - /// Storage: Proxy Proxies (r:1 w:0) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:0) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. fn proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 22_682_000 picoseconds. - Weight::from_parts(23_626_656, 0) + // Minimum execution time: 18_755_000 picoseconds. + Weight::from_parts(19_430_116, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_195 - .saturating_add(Weight::from_parts(43_622, 0).saturating_mul(p.into())) + // Standard Error: 1_535 + .saturating_add(Weight::from_parts(57_787, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } - /// Storage: Proxy Proxies (r:1 w:0) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:0) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `620 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 54_021_000 picoseconds. - Weight::from_parts(54_133_706, 0) + // Minimum execution time: 47_058_000 picoseconds. + Weight::from_parts(46_388_893, 0) .saturating_add(Weight::from_parts(0, 5698)) - // 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())) + // Standard Error: 3_568 + .saturating_add(Weight::from_parts(284_927, 0).saturating_mul(a.into())) + // Standard Error: 3_687 + .saturating_add(Weight::from_parts(60_485, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn remove_announcement(a: u32, _p: u32, ) -> Weight { + fn remove_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `535 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 34_495_000 picoseconds. - Weight::from_parts(35_308_038, 0) + // Minimum execution time: 31_589_000 picoseconds. + Weight::from_parts(32_405_583, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 1_920 - .saturating_add(Weight::from_parts(225_401, 0).saturating_mul(a.into())) + // Standard Error: 2_190 + .saturating_add(Weight::from_parts(259_616, 0).saturating_mul(a.into())) + // Standard Error: 2_263 + .saturating_add(Weight::from_parts(3_862, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn reject_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `535 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 34_585_000 picoseconds. - Weight::from_parts(35_391_113, 0) + // Minimum execution time: 32_060_000 picoseconds. + Weight::from_parts(32_893_728, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 1_909 - .saturating_add(Weight::from_parts(224_163, 0).saturating_mul(a.into())) + // Standard Error: 2_346 + .saturating_add(Weight::from_parts(247_852, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Proxies (r:1 w:0) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:0) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn announce(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `552 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 48_201_000 picoseconds. - Weight::from_parts(48_084_637, 0) + // Minimum execution time: 42_179_000 picoseconds. + Weight::from_parts(41_591_157, 0) .saturating_add(Weight::from_parts(0, 5698)) - // 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())) + // Standard Error: 2_820 + .saturating_add(Weight::from_parts(260_852, 0).saturating_mul(a.into())) + // Standard Error: 2_914 + .saturating_add(Weight::from_parts(44_647, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Proxies (r:1 w:1) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:1) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. fn add_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 37_080_000 picoseconds. - Weight::from_parts(37_982_672, 0) + // Minimum execution time: 30_417_000 picoseconds. + Weight::from_parts(31_448_011, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_243 - .saturating_add(Weight::from_parts(38_662, 0).saturating_mul(p.into())) + // Standard Error: 1_871 + .saturating_add(Weight::from_parts(47_052, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Proxy Proxies (r:1 w:1) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:1) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. fn remove_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 36_899_000 picoseconds. - Weight::from_parts(38_243_962, 0) + // Minimum execution time: 30_346_000 picoseconds. + Weight::from_parts(31_845_009, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 2_414 - .saturating_add(Weight::from_parts(32_643, 0).saturating_mul(p.into())) + // Standard Error: 2_729 + .saturating_add(Weight::from_parts(46_592, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Proxy Proxies (r:1 w:1) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:1) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. fn remove_proxies(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 32_241_000 picoseconds. - Weight::from_parts(33_245_118, 0) + // Minimum execution time: 29_625_000 picoseconds. + Weight::from_parts(30_774_855, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_355 - .saturating_add(Weight::from_parts(38_915, 0).saturating_mul(p.into())) + // Standard Error: 1_392 + .saturating_add(Weight::from_parts(36_394, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Proxy Proxies (r:1 w:1) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:1) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. fn create_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `305` // Estimated: `4706` - // Minimum execution time: 39_765_000 picoseconds. - Weight::from_parts(40_958_812, 0) + // Minimum execution time: 33_042_000 picoseconds. + Weight::from_parts(34_089_300, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_551 - .saturating_add(Weight::from_parts(13_834, 0).saturating_mul(p.into())) + // Standard Error: 1_653 + .saturating_add(Weight::from_parts(18_548, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Proxy Proxies (r:1 w:1) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:1) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 30]`. fn kill_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `330 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 33_612_000 picoseconds. - Weight::from_parts(34_704_279, 0) + // Minimum execution time: 30_888_000 picoseconds. + Weight::from_parts(31_957_207, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_497 - .saturating_add(Weight::from_parts(41_081, 0).saturating_mul(p.into())) + // Standard Error: 1_557 + .saturating_add(Weight::from_parts(35_258, 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 6d922f8847..5f8df1887a 100644 --- a/runtime/altair/src/weights/pallet_remarks.rs +++ b/runtime/altair/src/weights/pallet_remarks.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_remarks` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_remarks // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_remarks.rs @@ -37,10 +36,10 @@ impl pallet_remarks::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 17_924_000 picoseconds. - Weight::from_parts(18_247_001, 0) + // Minimum execution time: 12_684_000 picoseconds. + Weight::from_parts(13_030_137, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_713 - .saturating_add(Weight::from_parts(116_940, 0).saturating_mul(n.into())) + // Standard Error: 2_965 + .saturating_add(Weight::from_parts(131_231, 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 dfb1f88157..a0e6595257 100644 --- a/runtime/altair/src/weights/pallet_restricted_tokens.rs +++ b/runtime/altair/src/weights/pallet_restricted_tokens.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_restricted_tokens` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_restricted_tokens // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_restricted_tokens.rs @@ -32,157 +31,157 @@ use core::marker::PhantomData; /// Weight functions for `pallet_restricted_tokens`. pub struct WeightInfo(PhantomData); impl pallet_restricted_tokens::WeightInfo for WeightInfo { - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:2 w:0) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_native() -> Weight { // Proof Size summary in bytes: // Measured: `505` // Estimated: `6124` - // Minimum execution time: 101_651_000 picoseconds. - Weight::from_parts(103_054_000, 0) + // Minimum execution time: 82_103_000 picoseconds. + Weight::from_parts(83_786_000, 0) .saturating_add(Weight::from_parts(0, 6124)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:2 w:2) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:2 w:0) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:2 w:2) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_other() -> Weight { // Proof Size summary in bytes: - // Measured: `923` + // Measured: `856` // Estimated: `6198` - // Minimum execution time: 78_086_000 picoseconds. - Weight::from_parts(79_820_000, 0) + // Minimum execution time: 65_603_000 picoseconds. + Weight::from_parts(67_325_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:2 w:0) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive_native() -> Weight { // Proof Size summary in bytes: // Measured: `505` // Estimated: `6124` - // Minimum execution time: 87_805_000 picoseconds. - Weight::from_parts(88_787_000, 0) + // Minimum execution time: 71_984_000 picoseconds. + Weight::from_parts(73_547_000, 0) .saturating_add(Weight::from_parts(0, 6124)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:2 w:2) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:2 w:0) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:2 w:2) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive_other() -> Weight { // Proof Size summary in bytes: - // Measured: `820` + // Measured: `753` // Estimated: `6198` - // Minimum execution time: 73_608_000 picoseconds. - Weight::from_parts(74_510_000, 0) + // Minimum execution time: 58_399_000 picoseconds. + Weight::from_parts(59_791_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:2 w:0) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_all_native() -> Weight { // Proof Size summary in bytes: // Measured: `505` // Estimated: `6124` - // Minimum execution time: 105_829_000 picoseconds. - Weight::from_parts(106_991_000, 0) + // Minimum execution time: 86_071_000 picoseconds. + Weight::from_parts(87_543_000, 0) .saturating_add(Weight::from_parts(0, 6124)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: OrmlTokens Accounts (r:2 w:2) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `OrmlTokens::Accounts` (r:2 w:2) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:2 w:0) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_all_other() -> Weight { // Proof Size summary in bytes: - // Measured: `923` + // Measured: `856` // Estimated: `6198` - // Minimum execution time: 82_786_000 picoseconds. - Weight::from_parts(83_808_000, 0) + // Minimum execution time: 70_261_000 picoseconds. + Weight::from_parts(71_664_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_transfer_native() -> Weight { // Proof Size summary in bytes: // Measured: `259` // Estimated: `3593` - // Minimum execution time: 92_494_000 picoseconds. - Weight::from_parts(93_696_000, 0) + // Minimum execution time: 72_936_000 picoseconds. + Weight::from_parts(74_128_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: OrmlTokens Accounts (r:2 w:2) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `OrmlTokens::Accounts` (r:2 w:2) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_transfer_other() -> Weight { // Proof Size summary in bytes: - // Measured: `677` + // Measured: `610` // Estimated: `6198` - // Minimum execution time: 68_739_000 picoseconds. - Weight::from_parts(70_422_000, 0) + // Minimum execution time: 54_031_000 picoseconds. + Weight::from_parts(55_103_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Balances Holds (r:1 w:1) - /// Proof: Balances Holds (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn set_balance_native() -> Weight { // Proof Size summary in bytes: - // Measured: `298` - // Estimated: `3674` - // Minimum execution time: 183_716_000 picoseconds. - Weight::from_parts(185_028_000, 0) - .saturating_add(Weight::from_parts(0, 3674)) + // Measured: `300` + // Estimated: `3593` + // Minimum execution time: 160_088_000 picoseconds. + Weight::from_parts(162_652_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: OrmlTokens Accounts (r:1 w:1) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrmlTokens TotalIssuance (r:1 w:1) - /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `OrmlTokens::Accounts` (r:1 w:1) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::TotalIssuance` (r:1 w:1) + /// Proof: `OrmlTokens::TotalIssuance` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn set_balance_other() -> Weight { // Proof Size summary in bytes: - // Measured: `467` - // Estimated: `3932` - // Minimum execution time: 108_784_000 picoseconds. - Weight::from_parts(110_137_000, 0) - .saturating_add(Weight::from_parts(0, 3932)) + // Measured: `400` + // Estimated: `4407` + // Minimum execution time: 91_290_000 picoseconds. + Weight::from_parts(92_642_000, 0) + .saturating_add(Weight::from_parts(0, 4407)) .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 969755b5b1..9569e14905 100644 --- a/runtime/altair/src/weights/pallet_scheduler.rs +++ b/runtime/altair/src/weights/pallet_scheduler.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_scheduler` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_scheduler // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_scheduler.rs @@ -32,30 +31,30 @@ use core::marker::PhantomData; /// Weight functions for `pallet_scheduler`. pub struct WeightInfo(PhantomData); impl pallet_scheduler::WeightInfo for WeightInfo { - /// Storage: Scheduler IncompleteSince (r:1 w:1) - /// Proof: Scheduler IncompleteSince (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: `Scheduler::IncompleteSince` (r:1 w:1) + /// Proof: `Scheduler::IncompleteSince` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn service_agendas_base() -> Weight { // Proof Size summary in bytes: // Measured: `31` // Estimated: `1489` - // Minimum execution time: 6_042_000 picoseconds. - Weight::from_parts(6_432_000, 0) + // Minimum execution time: 3_907_000 picoseconds. + Weight::from_parts(4_047_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 6_022_000 picoseconds. - Weight::from_parts(8_519_098, 0) + // Minimum execution time: 5_891_000 picoseconds. + Weight::from_parts(8_788_365, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_359 - .saturating_add(Weight::from_parts(1_209_012, 0).saturating_mul(s.into())) + // Standard Error: 3_879 + .saturating_add(Weight::from_parts(692_278, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -63,36 +62,38 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_936_000 picoseconds. - Weight::from_parts(9_368_000, 0) + // Minimum execution time: 5_239_000 picoseconds. + Weight::from_parts(5_400_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: Preimage PreimageFor (r:1 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: Measured) - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::PreimageFor` (r:1 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `Measured`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `213 + s * (1 ±0)` // Estimated: `3678 + s * (1 ±0)` - // Minimum execution time: 31_059_000 picoseconds. - Weight::from_parts(31_409_000, 0) + // Minimum execution time: 27_902_000 picoseconds. + Weight::from_parts(28_433_000, 0) .saturating_add(Weight::from_parts(0, 3678)) - // Standard Error: 11 - .saturating_add(Weight::from_parts(1_400, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Standard Error: 9 + .saturating_add(Weight::from_parts(1_103, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) } - /// Storage: Scheduler Lookup (r:0 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn service_task_named() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_521_000 picoseconds. - Weight::from_parts(11_872_000, 0) + // Minimum execution time: 8_055_000 picoseconds. + Weight::from_parts(8_385_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -100,89 +101,89 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_987_000 picoseconds. - Weight::from_parts(9_247_000, 0) + // Minimum execution time: 5_260_000 picoseconds. + Weight::from_parts(5_511_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_438_000 picoseconds. - Weight::from_parts(4_679_000, 0) + // Minimum execution time: 4_248_000 picoseconds. + Weight::from_parts(4_489_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_419_000 picoseconds. - Weight::from_parts(4_599_000, 0) + // Minimum execution time: 4_228_000 picoseconds. + Weight::from_parts(4_368_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 20_709_000 picoseconds. - Weight::from_parts(23_734_264, 0) + // Minimum execution time: 16_220_000 picoseconds. + Weight::from_parts(19_357_790, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_968 - .saturating_add(Weight::from_parts(1_190_970, 0).saturating_mul(s.into())) + // Standard Error: 3_878 + .saturating_add(Weight::from_parts(683_717, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) - /// Storage: Scheduler Lookup (r:0 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 27_201_000 picoseconds. - Weight::from_parts(23_886_573, 0) + // Minimum execution time: 22_242_000 picoseconds. + Weight::from_parts(20_460_753, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 4_738 - .saturating_add(Weight::from_parts(2_182_054, 0).saturating_mul(s.into())) + // Standard Error: 5_201 + .saturating_add(Weight::from_parts(1_089_906, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `255 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 25_618_000 picoseconds. - Weight::from_parts(29_927_463, 0) + // Minimum execution time: 22_021_000 picoseconds. + Weight::from_parts(26_377_210, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 4_185 - .saturating_add(Weight::from_parts(1_213_999, 0).saturating_mul(s.into())) + // Standard Error: 4_774 + .saturating_add(Weight::from_parts(721_327, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `281 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 28_533_000 picoseconds. - Weight::from_parts(26_799_743, 0) + // Minimum execution time: 24_976_000 picoseconds. + Weight::from_parts(23_854_027, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 5_540 - .saturating_add(Weight::from_parts(2_186_022, 0).saturating_mul(s.into())) + // Standard Error: 5_583 + .saturating_add(Weight::from_parts(1_153_301, 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 863e86a0b0..77c2046c37 100644 --- a/runtime/altair/src/weights/pallet_session.rs +++ b/runtime/altair/src/weights/pallet_session.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_session` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_session // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_session.rs @@ -32,31 +31,31 @@ use core::marker::PhantomData; /// Weight functions for `pallet_session`. pub struct WeightInfo(PhantomData); impl pallet_session::WeightInfo for WeightInfo { - /// Storage: Session NextKeys (r:1 w:1) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: Session KeyOwner (r:1 w:1) - /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) + /// Storage: `Session::NextKeys` (r:1 w:1) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Session::KeyOwner` (r:1 w:1) + /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_keys() -> Weight { // Proof Size summary in bytes: - // Measured: `369` - // Estimated: `3834` - // Minimum execution time: 27_882_000 picoseconds. - Weight::from_parts(28_924_000, 0) - .saturating_add(Weight::from_parts(0, 3834)) + // Measured: `308` + // Estimated: `3773` + // Minimum execution time: 28_333_000 picoseconds. + Weight::from_parts(29_194_000, 0) + .saturating_add(Weight::from_parts(0, 3773)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Session NextKeys (r:1 w:1) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: Session KeyOwner (r:0 w:1) - /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) + /// Storage: `Session::NextKeys` (r:1 w:1) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Session::KeyOwner` (r:0 w:1) + /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn purge_keys() -> Weight { // Proof Size summary in bytes: - // Measured: `386` - // Estimated: `3851` - // Minimum execution time: 19_066_000 picoseconds. - Weight::from_parts(19_717_000, 0) - .saturating_add(Weight::from_parts(0, 3851)) + // Measured: `315` + // Estimated: `3780` + // Minimum execution time: 18_845_000 picoseconds. + Weight::from_parts(19_196_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/altair/src/weights/pallet_timestamp.rs b/runtime/altair/src/weights/pallet_timestamp.rs index be2a6d6ea1..bc775bf539 100644 --- a/runtime/altair/src/weights/pallet_timestamp.rs +++ b/runtime/altair/src/weights/pallet_timestamp.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_timestamp` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_timestamp // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_timestamp.rs @@ -32,16 +31,16 @@ use core::marker::PhantomData; /// Weight functions for `pallet_timestamp`. pub struct WeightInfo(PhantomData); impl pallet_timestamp::WeightInfo for WeightInfo { - /// Storage: Timestamp Now (r:1 w:1) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Aura CurrentSlot (r:1 w:0) - /// Proof: Aura CurrentSlot (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: `Timestamp::Now` (r:1 w:1) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Aura::CurrentSlot` (r:1 w:0) + /// Proof: `Aura::CurrentSlot` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn set() -> Weight { // Proof Size summary in bytes: // Measured: `223` // Estimated: `1493` - // Minimum execution time: 14_137_000 picoseconds. - Weight::from_parts(14_678_000, 0) + // Minimum execution time: 10_319_000 picoseconds. + Weight::from_parts(10_740_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 +49,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `128` // Estimated: `0` - // Minimum execution time: 6_201_000 picoseconds. - Weight::from_parts(6_452_000, 0) + // Minimum execution time: 4_658_000 picoseconds. + Weight::from_parts(4_849_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 2b7acfcff1..bf87cce8d4 100644 --- a/runtime/altair/src/weights/pallet_token_mux.rs +++ b/runtime/altair/src/weights/pallet_token_mux.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_token_mux` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_token_mux // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_token_mux.rs @@ -32,62 +31,62 @@ use core::marker::PhantomData; /// Weight functions for `pallet_token_mux`. pub struct WeightInfo(PhantomData); impl pallet_token_mux::WeightInfo for WeightInfo { - /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrmlTokens Accounts (r:3 w:3) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: OrmlTokens TotalIssuance (r:1 w:1) - /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `OrmlAssetRegistry::Metadata` (r:2 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:3 w:3) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::TotalIssuance` (r:1 w:1) + /// Proof: `OrmlTokens::TotalIssuance` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `803` + // Measured: `690` // Estimated: `8802` - // Minimum execution time: 123_462_000 picoseconds. - Weight::from_parts(125_617_000, 0) + // Minimum execution time: 99_465_000 picoseconds. + Weight::from_parts(100_737_000, 0) .saturating_add(Weight::from_parts(0, 8802)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) } - /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrmlTokens Accounts (r:3 w:3) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlTokens TotalIssuance (r:1 w:1) - /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `OrmlAssetRegistry::Metadata` (r:2 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:3 w:3) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::TotalIssuance` (r:1 w:1) + /// Proof: `OrmlTokens::TotalIssuance` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn burn() -> Weight { // Proof Size summary in bytes: - // Measured: `1093` + // Measured: `980` // Estimated: `8802` - // Minimum execution time: 110_277_000 picoseconds. - Weight::from_parts(111_640_000, 0) + // Minimum execution time: 94_045_000 picoseconds. + Weight::from_parts(95_177_000, 0) .saturating_add(Weight::from_parts(0, 8802)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: OrderBook Orders (r:1 w:1) - /// Proof: OrderBook Orders (max_values: None, max_size: Some(171), added: 2646, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrmlTokens Accounts (r:4 w:4) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlTokens TotalIssuance (r:1 w:1) - /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Swaps OrderIdToSwapId (r:1 w:0) - /// Proof: Swaps OrderIdToSwapId (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen) - /// Storage: OrderBook UserOrders (r:0 w:1) - /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) + /// Storage: `OrderBook::Orders` (r:1 w:1) + /// Proof: `OrderBook::Orders` (`max_values`: None, `max_size`: Some(171), added: 2646, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:2 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:4 w:4) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::TotalIssuance` (r:1 w:1) + /// Proof: `OrmlTokens::TotalIssuance` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Swaps::OrderIdToSwapId` (r:1 w:0) + /// Proof: `Swaps::OrderIdToSwapId` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `OrderBook::UserOrders` (r:0 w:1) + /// Proof: `OrderBook::UserOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) fn match_swap() -> Weight { // Proof Size summary in bytes: - // Measured: `1373` + // Measured: `1260` // Estimated: `11406` - // Minimum execution time: 219_272_000 picoseconds. - Weight::from_parts(221_907_000, 0) + // Minimum execution time: 179_224_000 picoseconds. + Weight::from_parts(180_897_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 ae7900e8b7..9dff9f647b 100644 --- a/runtime/altair/src/weights/pallet_transfer_allowlist.rs +++ b/runtime/altair/src/weights/pallet_transfer_allowlist.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_transfer_allowlist` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_transfer_allowlist // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_transfer_allowlist.rs @@ -32,183 +31,183 @@ use core::marker::PhantomData; /// Weight functions for `pallet_transfer_allowlist`. pub struct WeightInfo(PhantomData); impl pallet_transfer_allowlist::WeightInfo for WeightInfo { - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) - /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - /// Storage: Fees FeeBalances (r:1 w:0) - /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Holds (r:1 w:1) - /// Proof: Balances Holds (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `TransferAllowList::AccountCurrencyTransferAllowance` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferAllowance` (`max_values`: None, `max_size`: Some(701), added: 3176, mode: `MaxEncodedLen`) + /// Storage: `Fees::FeeBalances` (r:1 w:0) + /// Proof: `Fees::FeeBalances` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`) fn add_transfer_allowance_no_existing_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `603` - // Estimated: `3674` - // Minimum execution time: 94_919_000 picoseconds. - Weight::from_parts(97_413_000, 0) - .saturating_add(Weight::from_parts(0, 3674)) + // Measured: `570` + // Estimated: `4166` + // Minimum execution time: 90_779_000 picoseconds. + Weight::from_parts(92_353_000, 0) + .saturating_add(Weight::from_parts(0, 4166)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) - /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - /// Storage: Fees FeeBalances (r:1 w:0) - /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Holds (r:1 w:1) - /// Proof: Balances Holds (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `TransferAllowList::AccountCurrencyTransferAllowance` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferAllowance` (`max_values`: None, `max_size`: Some(701), added: 3176, mode: `MaxEncodedLen`) + /// Storage: `Fees::FeeBalances` (r:1 w:0) + /// Proof: `Fees::FeeBalances` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`) fn add_transfer_allowance_existing_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `697` - // Estimated: `3674` - // Minimum execution time: 98_375_000 picoseconds. - Weight::from_parts(99_767_000, 0) - .saturating_add(Weight::from_parts(0, 3674)) + // Measured: `664` + // Estimated: `4166` + // Minimum execution time: 93_394_000 picoseconds. + Weight::from_parts(94_747_000, 0) + .saturating_add(Weight::from_parts(0, 4166)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) fn add_allowance_delay_no_existing_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `246` // Estimated: `3557` - // Minimum execution time: 21_611_000 picoseconds. - Weight::from_parts(22_282_000, 0) + // Minimum execution time: 16_892_000 picoseconds. + Weight::from_parts(17_412_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) fn add_allowance_delay_existing_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `370` // Estimated: `3557` - // Minimum execution time: 23_976_000 picoseconds. - Weight::from_parts(24_757_000, 0) + // Minimum execution time: 19_506_000 picoseconds. + Weight::from_parts(20_118_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) fn toggle_allowance_delay_once_future_modifiable() -> Weight { // Proof Size summary in bytes: // Measured: `340` // Estimated: `3557` - // Minimum execution time: 23_815_000 picoseconds. - Weight::from_parts(24_646_000, 0) + // Minimum execution time: 19_165_000 picoseconds. + Weight::from_parts(19_747_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) fn update_allowance_delay() -> Weight { // Proof Size summary in bytes: // Measured: `344` // Estimated: `3557` - // Minimum execution time: 24_136_000 picoseconds. - Weight::from_parts(24_727_000, 0) + // Minimum execution time: 19_026_000 picoseconds. + Weight::from_parts(19_747_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) fn purge_allowance_delay_no_remaining_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `344` // Estimated: `3557` - // Minimum execution time: 23_675_000 picoseconds. - Weight::from_parts(24_356_000, 0) + // Minimum execution time: 18_935_000 picoseconds. + Weight::from_parts(19_727_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) fn purge_allowance_delay_remaining_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `378` // Estimated: `3557` - // Minimum execution time: 24_927_000 picoseconds. - Weight::from_parts(25_689_000, 0) + // Minimum execution time: 20_017_000 picoseconds. + Weight::from_parts(20_478_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) - /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:0) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `TransferAllowList::AccountCurrencyTransferAllowance` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferAllowance` (`max_values`: None, `max_size`: Some(701), added: 3176, mode: `MaxEncodedLen`) fn remove_transfer_allowance_delay_present() -> Weight { // Proof Size summary in bytes: // Measured: `473` - // Estimated: `3597` - // Minimum execution time: 36_348_000 picoseconds. - Weight::from_parts(37_160_000, 0) - .saturating_add(Weight::from_parts(0, 3597)) + // Estimated: `4166` + // Minimum execution time: 32_290_000 picoseconds. + Weight::from_parts(33_162_000, 0) + .saturating_add(Weight::from_parts(0, 4166)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) - /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:0) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `TransferAllowList::AccountCurrencyTransferAllowance` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferAllowance` (`max_values`: None, `max_size`: Some(701), added: 3176, mode: `MaxEncodedLen`) fn remove_transfer_allowance_no_delay() -> Weight { // Proof Size summary in bytes: // Measured: `469` - // Estimated: `3597` - // Minimum execution time: 35_887_000 picoseconds. - Weight::from_parts(37_120_000, 0) - .saturating_add(Weight::from_parts(0, 3597)) + // Estimated: `4166` + // Minimum execution time: 31_939_000 picoseconds. + Weight::from_parts(33_051_000, 0) + .saturating_add(Weight::from_parts(0, 4166)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - /// Storage: Fees FeeBalances (r:1 w:0) - /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Holds (r:1 w:1) - /// Proof: Balances Holds (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferAllowance` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferAllowance` (`max_values`: None, `max_size`: Some(701), added: 3176, mode: `MaxEncodedLen`) + /// Storage: `Fees::FeeBalances` (r:1 w:0) + /// Proof: `Fees::FeeBalances` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) fn purge_transfer_allowance_no_remaining_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `879` - // Estimated: `3674` - // Minimum execution time: 86_853_000 picoseconds. - Weight::from_parts(88_557_000, 0) - .saturating_add(Weight::from_parts(0, 3674)) + // Measured: `848` + // Estimated: `4166` + // Minimum execution time: 83_335_000 picoseconds. + Weight::from_parts(85_199_000, 0) + .saturating_add(Weight::from_parts(0, 4166)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - /// Storage: Fees FeeBalances (r:1 w:0) - /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Holds (r:1 w:1) - /// Proof: Balances Holds (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferAllowance` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferAllowance` (`max_values`: None, `max_size`: Some(701), added: 3176, mode: `MaxEncodedLen`) + /// Storage: `Fees::FeeBalances` (r:1 w:0) + /// Proof: `Fees::FeeBalances` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) fn purge_transfer_allowance_remaining_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `918` - // Estimated: `3674` - // Minimum execution time: 86_543_000 picoseconds. - Weight::from_parts(87_945_000, 0) - .saturating_add(Weight::from_parts(0, 3674)) + // Measured: `887` + // Estimated: `4166` + // Minimum execution time: 85_369_000 picoseconds. + Weight::from_parts(87_333_000, 0) + .saturating_add(Weight::from_parts(0, 4166)) .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 deleted file mode 100644 index 4e3fe41b9f..0000000000 --- a/runtime/altair/src/weights/pallet_treasury.rs +++ /dev/null @@ -1,139 +0,0 @@ - -//! Autogenerated weights for `pallet_treasury` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! 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 - -// Executed Command: -// target/release/centrifuge-chain -// benchmark -// pallet -// --chain=altair-dev -// --steps=50 -// --repeat=20 -// --pallet=pallet_treasury -// --extrinsic=* -// --execution=wasm -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=/tmp/runtime/altair/src/weights/pallet_treasury.rs - -#![cfg_attr(rustfmt, rustfmt_skip)] -#![allow(unused_parens)] -#![allow(unused_imports)] -#![allow(missing_docs)] - -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; - -/// Weight functions for `pallet_treasury`. -pub struct WeightInfo(PhantomData); -impl pallet_treasury::WeightInfo for WeightInfo { - fn spend() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `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) - /// Proof: Treasury ProposalCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Treasury Proposals (r:0 w:1) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - fn propose_spend() -> Weight { - // Proof Size summary in bytes: - // Measured: `144` - // Estimated: `1489` - // 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)) - } - /// Storage: Treasury Proposals (r:1 w:1) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn reject_proposal() -> Weight { - // Proof Size summary in bytes: - // Measured: `405` - // Estimated: `6196` - // 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)) - } - /// Storage: Treasury Proposals (r:1 w:0) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) - /// The range of component `p` is `[0, 99]`. - fn approve_proposal(p: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `470 + p * (8 ±0)` - // Estimated: `3573` - // Minimum execution time: 14_477_000 picoseconds. - Weight::from_parts(17_712_520, 0) - .saturating_add(Weight::from_parts(0, 3573)) - // 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)) - } - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) - fn remove_approval() -> Weight { - // Proof Size summary in bytes: - // Measured: `127` - // Estimated: `1887` - // 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)) - } - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Treasury Deactivated (r:1 w:1) - /// Proof: Treasury Deactivated (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) - /// Storage: Treasury Proposals (r:100 w:0) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - /// The range of component `p` is `[0, 100]`. - fn on_initialize_proposals(p: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `230 + p * (120 ±0)` - // Estimated: `3593 + p * (2583 ±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_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)) - .saturating_add(Weight::from_parts(0, 2583).saturating_mul(p.into())) - } - - fn spend_local() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn payout() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn check_status() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn void_spend() -> cumulus_primitives_core::Weight { - Weight::default() - } -} diff --git a/runtime/altair/src/weights/pallet_uniques.rs b/runtime/altair/src/weights/pallet_uniques.rs index c0eca9bbc2..63ae494240 100644 --- a/runtime/altair/src/weights/pallet_uniques.rs +++ b/runtime/altair/src/weights/pallet_uniques.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_uniques` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_uniques // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_uniques.rs @@ -32,50 +31,50 @@ use core::marker::PhantomData; /// Weight functions for `pallet_uniques`. pub struct WeightInfo(PhantomData); impl pallet_uniques::WeightInfo for WeightInfo { - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques ClassAccount (r:0 w:1) - /// Proof: Uniques ClassAccount (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassAccount` (r:0 w:1) + /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) fn create() -> Weight { // Proof Size summary in bytes: // Measured: `249` // Estimated: `3647` - // Minimum execution time: 44_776_000 picoseconds. - Weight::from_parts(45_828_000, 0) + // Minimum execution time: 37_299_000 picoseconds. + Weight::from_parts(37_831_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques ClassAccount (r:0 w:1) - /// Proof: Uniques ClassAccount (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassAccount` (r:0 w:1) + /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) fn force_create() -> Weight { // Proof Size summary in bytes: // Measured: `109` // Estimated: `3647` - // Minimum execution time: 22_153_000 picoseconds. - Weight::from_parts(22_584_000, 0) + // Minimum execution time: 17_021_000 picoseconds. + Weight::from_parts(17_473_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques Asset (r:1001 w:1000) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: Uniques InstanceMetadataOf (r:1000 w:1000) - /// Proof: Uniques InstanceMetadataOf (max_values: None, max_size: Some(331), added: 2806, mode: MaxEncodedLen) - /// Storage: Uniques Attribute (r:1000 w:1000) - /// Proof: Uniques Attribute (max_values: None, max_size: Some(605), added: 3080, mode: MaxEncodedLen) - /// Storage: Uniques ClassAccount (r:0 w:1) - /// Proof: Uniques ClassAccount (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) - /// Storage: Uniques ClassMetadataOf (r:0 w:1) - /// Proof: Uniques ClassMetadataOf (max_values: None, max_size: Some(299), added: 2774, mode: MaxEncodedLen) - /// Storage: Uniques Account (r:0 w:1000) - /// Proof: Uniques Account (max_values: None, max_size: Some(104), added: 2579, mode: MaxEncodedLen) - /// Storage: Uniques CollectionMaxSupply (r:0 w:1) - /// Proof: Uniques CollectionMaxSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1001 w:1000) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Storage: `Uniques::InstanceMetadataOf` (r:1000 w:1000) + /// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(331), added: 2806, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Attribute` (r:1000 w:1000) + /// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(605), added: 3080, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassAccount` (r:0 w:1) + /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassMetadataOf` (r:0 w:1) + /// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(299), added: 2774, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1000) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) + /// Storage: `Uniques::CollectionMaxSupply` (r:0 w:1) + /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 1000]`. /// The range of component `m` is `[0, 1000]`. /// The range of component `a` is `[0, 1000]`. @@ -83,15 +82,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: 2_978_805_000 picoseconds. - Weight::from_parts(3_003_231_000, 0) + // Minimum execution time: 3_035_940_000 picoseconds. + Weight::from_parts(3_069_041_000, 0) .saturating_add(Weight::from_parts(0, 3647)) - // 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())) + // Standard Error: 30_223 + .saturating_add(Weight::from_parts(10_725_405, 0).saturating_mul(n.into())) + // Standard Error: 30_223 + .saturating_add(Weight::from_parts(231_413, 0).saturating_mul(m.into())) + // Standard Error: 30_223 + .saturating_add(Weight::from_parts(479_242, 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()))) @@ -104,344 +103,346 @@ impl pallet_uniques::WeightInfo for WeightInfo { .saturating_add(Weight::from_parts(0, 2806).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 2613).saturating_mul(n.into())) } - /// Storage: Uniques Asset (r:1 w:1) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques CollectionMaxSupply (r:1 w:0) - /// Proof: Uniques CollectionMaxSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - /// Storage: Uniques Account (r:0 w:1) - /// Proof: Uniques Account (max_values: None, max_size: Some(104), added: 2579, mode: MaxEncodedLen) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0) + /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) fn mint() -> Weight { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 53_821_000 picoseconds. - Weight::from_parts(54_693_000, 0) + // Minimum execution time: 48_310_000 picoseconds. + Weight::from_parts(49_152_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques Asset (r:1 w:1) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: Uniques Account (r:0 w:1) - /// Proof: Uniques Account (max_values: None, max_size: Some(104), added: 2579, mode: MaxEncodedLen) - /// Storage: Uniques ItemPriceOf (r:0 w:1) - /// Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`) fn burn() -> Weight { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3647` - // Minimum execution time: 55_504_000 picoseconds. - Weight::from_parts(56_667_000, 0) + // Minimum execution time: 49_873_000 picoseconds. + Weight::from_parts(50_805_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: Uniques Class (r:1 w:0) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques Asset (r:1 w:1) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: Uniques Account (r:0 w:2) - /// Proof: Uniques Account (max_values: None, max_size: Some(104), added: 2579, mode: MaxEncodedLen) - /// Storage: Uniques ItemPriceOf (r:0 w:1) - /// Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:2) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`) fn transfer() -> Weight { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3647` - // Minimum execution time: 39_504_000 picoseconds. - Weight::from_parts(40_527_000, 0) + // Minimum execution time: 37_269_000 picoseconds. + Weight::from_parts(38_552_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques Asset (r:5000 w:5000) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:5000 w:5000) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) /// The range of component `i` is `[0, 5000]`. fn redeposit(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `821 + i * (88 ±0)` // Estimated: `3647 + i * (2613 ±0)` - // Minimum execution time: 20_408_000 picoseconds. - Weight::from_parts(20_869_000, 0) + // Minimum execution time: 16_661_000 picoseconds. + Weight::from_parts(16_901_000, 0) .saturating_add(Weight::from_parts(0, 3647)) - // Standard Error: 13_352 - .saturating_add(Weight::from_parts(25_703_685, 0).saturating_mul(i.into())) + // Standard Error: 18_938 + .saturating_add(Weight::from_parts(23_578_151, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) .saturating_add(Weight::from_parts(0, 2613).saturating_mul(i.into())) } - /// Storage: Uniques Asset (r:1 w:1) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: Uniques Class (r:1 w:0) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) fn freeze() -> Weight { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3647` - // Minimum execution time: 26_270_000 picoseconds. - Weight::from_parts(27_101_000, 0) + // Minimum execution time: 23_103_000 picoseconds. + Weight::from_parts(23_775_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques Asset (r:1 w:1) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: Uniques Class (r:1 w:0) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) fn thaw() -> Weight { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3647` - // Minimum execution time: 26_350_000 picoseconds. - Weight::from_parts(26_710_000, 0) + // Minimum execution time: 22_411_000 picoseconds. + Weight::from_parts(23_394_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) fn freeze_collection() -> Weight { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 19_026_000 picoseconds. - Weight::from_parts(19_356_000, 0) + // Minimum execution time: 14_928_000 picoseconds. + Weight::from_parts(15_729_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) fn thaw_collection() -> Weight { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 18_985_000 picoseconds. - Weight::from_parts(19_347_000, 0) + // Minimum execution time: 14_858_000 picoseconds. + Weight::from_parts(15_389_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques OwnershipAcceptance (r:1 w:1) - /// Proof: Uniques OwnershipAcceptance (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques ClassAccount (r:0 w:2) - /// Proof: Uniques ClassAccount (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) + /// Storage: `Uniques::OwnershipAcceptance` (r:1 w:1) + /// Proof: `Uniques::OwnershipAcceptance` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassAccount` (r:0 w:2) + /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) fn transfer_ownership() -> Weight { // Proof Size summary in bytes: - // Measured: `431` + // Measured: `638` // Estimated: `3647` - // Minimum execution time: 30_698_000 picoseconds. - Weight::from_parts(31_238_000, 0) + // Minimum execution time: 33_292_000 picoseconds. + Weight::from_parts(34_203_000, 0) .saturating_add(Weight::from_parts(0, 3647)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) fn set_team() -> Weight { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 18_876_000 picoseconds. - Weight::from_parts(19_547_000, 0) + // Minimum execution time: 15_649_000 picoseconds. + Weight::from_parts(16_050_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques ClassAccount (r:0 w:1) - /// Proof: Uniques ClassAccount (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassAccount` (r:0 w:1) + /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) fn force_item_status() -> Weight { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 23_694_000 picoseconds. - Weight::from_parts(24_676_000, 0) + // Minimum execution time: 20_388_000 picoseconds. + Weight::from_parts(21_020_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques InstanceMetadataOf (r:1 w:0) - /// Proof: Uniques InstanceMetadataOf (max_values: None, max_size: Some(331), added: 2806, mode: MaxEncodedLen) - /// Storage: Uniques Attribute (r:1 w:1) - /// Proof: Uniques Attribute (max_values: None, max_size: Some(605), added: 3080, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::InstanceMetadataOf` (r:1 w:0) + /// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(331), added: 2806, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Attribute` (r:1 w:1) + /// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(605), added: 3080, mode: `MaxEncodedLen`) fn set_attribute() -> Weight { // Proof Size summary in bytes: // Measured: `775` // Estimated: `4070` - // Minimum execution time: 60_734_000 picoseconds. - Weight::from_parts(62_007_000, 0) + // Minimum execution time: 54_431_000 picoseconds. + Weight::from_parts(56_225_000, 0) .saturating_add(Weight::from_parts(0, 4070)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques InstanceMetadataOf (r:1 w:0) - /// Proof: Uniques InstanceMetadataOf (max_values: None, max_size: Some(331), added: 2806, mode: MaxEncodedLen) - /// Storage: Uniques Attribute (r:1 w:1) - /// Proof: Uniques Attribute (max_values: None, max_size: Some(605), added: 3080, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::InstanceMetadataOf` (r:1 w:0) + /// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(331), added: 2806, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Attribute` (r:1 w:1) + /// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(605), added: 3080, mode: `MaxEncodedLen`) fn clear_attribute() -> Weight { // Proof Size summary in bytes: // Measured: `1407` // Estimated: `4070` - // Minimum execution time: 58_620_000 picoseconds. - Weight::from_parts(59_472_000, 0) + // Minimum execution time: 51_737_000 picoseconds. + Weight::from_parts(52_798_000, 0) .saturating_add(Weight::from_parts(0, 4070)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques InstanceMetadataOf (r:1 w:1) - /// Proof: Uniques InstanceMetadataOf (max_values: None, max_size: Some(331), added: 2806, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::InstanceMetadataOf` (r:1 w:1) + /// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(331), added: 2806, mode: `MaxEncodedLen`) fn set_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `419` // Estimated: `3796` - // Minimum execution time: 45_145_000 picoseconds. - Weight::from_parts(45_506_000, 0) + // Minimum execution time: 38_541_000 picoseconds. + Weight::from_parts(39_434_000, 0) .saturating_add(Weight::from_parts(0, 3796)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques InstanceMetadataOf (r:1 w:1) - /// Proof: Uniques InstanceMetadataOf (max_values: None, max_size: Some(331), added: 2806, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::InstanceMetadataOf` (r:1 w:1) + /// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(331), added: 2806, mode: `MaxEncodedLen`) fn clear_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `775` // Estimated: `3796` - // Minimum execution time: 46_036_000 picoseconds. - Weight::from_parts(46_818_000, 0) + // Minimum execution time: 39_344_000 picoseconds. + Weight::from_parts(40_275_000, 0) .saturating_add(Weight::from_parts(0, 3796)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques ClassMetadataOf (r:1 w:1) - /// Proof: Uniques ClassMetadataOf (max_values: None, max_size: Some(299), added: 2774, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassMetadataOf` (r:1 w:1) + /// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(299), added: 2774, mode: `MaxEncodedLen`) fn set_collection_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3764` - // Minimum execution time: 46_197_000 picoseconds. - Weight::from_parts(47_068_000, 0) + // Minimum execution time: 39_293_000 picoseconds. + Weight::from_parts(40_556_000, 0) .saturating_add(Weight::from_parts(0, 3764)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Uniques Class (r:1 w:0) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques ClassMetadataOf (r:1 w:1) - /// Proof: Uniques ClassMetadataOf (max_values: None, max_size: Some(299), added: 2774, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassMetadataOf` (r:1 w:1) + /// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(299), added: 2774, mode: `MaxEncodedLen`) fn clear_collection_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `676` // Estimated: `3764` - // Minimum execution time: 45_054_000 picoseconds. - Weight::from_parts(45_596_000, 0) + // Minimum execution time: 37_540_000 picoseconds. + Weight::from_parts(38_792_000, 0) .saturating_add(Weight::from_parts(0, 3764)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques Class (r:1 w:0) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques Asset (r:1 w:1) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) fn approve_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3647` - // Minimum execution time: 27_001_000 picoseconds. - Weight::from_parts(28_002_000, 0) + // Minimum execution time: 23_434_000 picoseconds. + Weight::from_parts(24_205_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques Class (r:1 w:0) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques Asset (r:1 w:1) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) fn cancel_approval() -> Weight { // Proof Size summary in bytes: // Measured: `549` // Estimated: `3647` - // Minimum execution time: 27_181_000 picoseconds. - Weight::from_parts(27_752_000, 0) + // Minimum execution time: 23_454_000 picoseconds. + Weight::from_parts(24_165_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques OwnershipAcceptance (r:1 w:1) - /// Proof: Uniques OwnershipAcceptance (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) + /// Storage: `Uniques::OwnershipAcceptance` (r:1 w:1) + /// Proof: `Uniques::OwnershipAcceptance` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) fn set_accept_ownership() -> Weight { // Proof Size summary in bytes: // Measured: `109` // Estimated: `3521` - // Minimum execution time: 21_670_000 picoseconds. - Weight::from_parts(22_212_000, 0) + // Minimum execution time: 17_242_000 picoseconds. + Weight::from_parts(17_934_000, 0) .saturating_add(Weight::from_parts(0, 3521)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques CollectionMaxSupply (r:1 w:1) - /// Proof: Uniques CollectionMaxSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - /// Storage: Uniques Class (r:1 w:0) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) + /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:1) + /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) fn set_collection_max_supply() -> Weight { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 23_455_000 picoseconds. - Weight::from_parts(23_904_000, 0) + // Minimum execution time: 19_977_000 picoseconds. + Weight::from_parts(20_589_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques Asset (r:1 w:0) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: Uniques ItemPriceOf (r:0 w:1) - /// Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen) + /// Storage: `Uniques::Asset` (r:1 w:0) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`) fn set_price() -> Weight { // Proof Size summary in bytes: // Measured: `343` // Estimated: `3603` - // Minimum execution time: 22_512_000 picoseconds. - Weight::from_parts(23_083_000, 0) + // Minimum execution time: 18_775_000 picoseconds. + Weight::from_parts(19_837_000, 0) .saturating_add(Weight::from_parts(0, 3603)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques Asset (r:1 w:1) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: Uniques ItemPriceOf (r:1 w:1) - /// Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen) - /// Storage: Uniques Class (r:1 w:0) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques Account (r:0 w:2) - /// Proof: Uniques Account (max_values: None, max_size: Some(104), added: 2579, mode: MaxEncodedLen) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:1 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:2) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) fn buy_item() -> Weight { // Proof Size summary in bytes: // Measured: `645` // Estimated: `3647` - // Minimum execution time: 55_594_000 picoseconds. - Weight::from_parts(57_207_000, 0) + // Minimum execution time: 48_250_000 picoseconds. + Weight::from_parts(49_041_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 cb0861463d..48e987f8ff 100644 --- a/runtime/altair/src/weights/pallet_utility.rs +++ b/runtime/altair/src/weights/pallet_utility.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_utility` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_utility // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_utility.rs @@ -37,18 +36,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_061_000 picoseconds. - Weight::from_parts(4_150_025, 0) + // Minimum execution time: 6_693_000 picoseconds. + Weight::from_parts(8_850_353, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_208 - .saturating_add(Weight::from_parts(9_008_495, 0).saturating_mul(c.into())) + // Standard Error: 2_175 + .saturating_add(Weight::from_parts(4_783_853, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_825_000 picoseconds. - Weight::from_parts(8_025_000, 0) + // Minimum execution time: 6_872_000 picoseconds. + Weight::from_parts(7_153_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -56,18 +55,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_091_000 picoseconds. - Weight::from_parts(12_679_657, 0) + // Minimum execution time: 6_863_000 picoseconds. + Weight::from_parts(3_927_476, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_868 - .saturating_add(Weight::from_parts(9_478_944, 0).saturating_mul(c.into())) + // Standard Error: 2_107 + .saturating_add(Weight::from_parts(5_189_459, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_788_000 picoseconds. - Weight::from_parts(15_219_000, 0) + // Minimum execution time: 9_808_000 picoseconds. + Weight::from_parts(10_208_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -75,10 +74,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(11_012_665, 0) + // Minimum execution time: 6_863_000 picoseconds. + Weight::from_parts(2_458_096, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_910 - .saturating_add(Weight::from_parts(8_988_703, 0).saturating_mul(c.into())) + // Standard Error: 2_815 + .saturating_add(Weight::from_parts(4_821_094, 0).saturating_mul(c.into())) } } diff --git a/runtime/altair/src/weights/pallet_vesting.rs b/runtime/altair/src/weights/pallet_vesting.rs index 17e791c7eb..14c181e605 100644 --- a/runtime/altair/src/weights/pallet_vesting.rs +++ b/runtime/altair/src/weights/pallet_vesting.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_vesting` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_vesting // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_vesting.rs @@ -32,196 +31,216 @@ use core::marker::PhantomData; /// Weight functions for `pallet_vesting`. pub struct WeightInfo(PhantomData); impl pallet_vesting::WeightInfo for WeightInfo { - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `272 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 48_030_000 picoseconds. - Weight::from_parts(47_379_481, 0) + // Minimum execution time: 40_916_000 picoseconds. + Weight::from_parts(40_159_949, 0) .saturating_add(Weight::from_parts(0, 4764)) - // 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())) + // Standard Error: 891 + .saturating_add(Weight::from_parts(46_450, 0).saturating_mul(l.into())) + // Standard Error: 1_586 + .saturating_add(Weight::from_parts(88_303, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `272 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 54_312_000 picoseconds. - Weight::from_parts(54_619_434, 0) + // Minimum execution time: 43_591_000 picoseconds. + Weight::from_parts(43_386_692, 0) .saturating_add(Weight::from_parts(0, 4764)) - // 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())) + // Standard Error: 1_408 + .saturating_add(Weight::from_parts(36_252, 0).saturating_mul(l.into())) + // Standard Error: 2_506 + .saturating_add(Weight::from_parts(82_425, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_other_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `375 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 51_346_000 picoseconds. - Weight::from_parts(50_861_695, 0) + // Minimum execution time: 43_401_000 picoseconds. + Weight::from_parts(42_617_940, 0) .saturating_add(Weight::from_parts(0, 4764)) - // 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())) + // Standard Error: 1_041 + .saturating_add(Weight::from_parts(39_343, 0).saturating_mul(l.into())) + // Standard Error: 1_853 + .saturating_add(Weight::from_parts(86_848, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `375 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 57_980_000 picoseconds. - Weight::from_parts(57_868_431, 0) + // Minimum execution time: 45_726_000 picoseconds. + Weight::from_parts(45_191_847, 0) .saturating_add(Weight::from_parts(0, 4764)) - // 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())) + // Standard Error: 1_167 + .saturating_add(Weight::from_parts(38_935, 0).saturating_mul(l.into())) + // Standard Error: 2_077 + .saturating_add(Weight::from_parts(86_610, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. fn vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `479 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 110_938_000 picoseconds. - Weight::from_parts(111_856_166, 0) + // Minimum execution time: 93_083_000 picoseconds. + Weight::from_parts(94_135_389, 0) .saturating_add(Weight::from_parts(0, 4764)) - // 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())) + // Standard Error: 1_774 + .saturating_add(Weight::from_parts(55_860, 0).saturating_mul(l.into())) + // Standard Error: 3_157 + .saturating_add(Weight::from_parts(112_150, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. fn force_vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `619 + l * (25 ±0) + s * (36 ±0)` // Estimated: `6196` - // Minimum execution time: 113_523_000 picoseconds. - Weight::from_parts(114_143_178, 0) + // Minimum execution time: 95_709_000 picoseconds. + Weight::from_parts(96_999_648, 0) .saturating_add(Weight::from_parts(0, 6196)) - // 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())) + // Standard Error: 1_703 + .saturating_add(Weight::from_parts(44_988, 0).saturating_mul(l.into())) + // Standard Error: 3_031 + .saturating_add(Weight::from_parts(103_085, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[2, 28]`. fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `374 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 52_168_000 picoseconds. - Weight::from_parts(51_592_891, 0) + // Minimum execution time: 43_281_000 picoseconds. + Weight::from_parts(42_871_130, 0) .saturating_add(Weight::from_parts(0, 4764)) - // 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())) + // Standard Error: 1_047 + .saturating_add(Weight::from_parts(49_416, 0).saturating_mul(l.into())) + // Standard Error: 1_934 + .saturating_add(Weight::from_parts(97_804, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[2, 28]`. fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `374 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 59_351_000 picoseconds. - Weight::from_parts(58_852_699, 0) + // Minimum execution time: 46_547_000 picoseconds. + Weight::from_parts(46_278_694, 0) .saturating_add(Weight::from_parts(0, 4764)) - // 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())) + // Standard Error: 1_245 + .saturating_add(Weight::from_parts(41_721, 0).saturating_mul(l.into())) + // Standard Error: 2_301 + .saturating_add(Weight::from_parts(93_028, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `l` is `[0, 49]`. + /// The range of component `s` is `[2, 28]`. + fn force_remove_vesting_schedule(l: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `479 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `4764` + // Minimum execution time: 49_332_000 picoseconds. + Weight::from_parts(48_562_292, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 1_024 + .saturating_add(Weight::from_parts(45_825, 0).saturating_mul(l.into())) + // Standard Error: 1_892 + .saturating_add(Weight::from_parts(96_634, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - - fn force_remove_vesting_schedule(_: u32, _: u32) -> cumulus_primitives_core::Weight { - Weight::default() - } } diff --git a/runtime/altair/src/weights/pallet_xcm.rs b/runtime/altair/src/weights/pallet_xcm.rs index b2a78e5853..ccfc230c08 100644 --- a/runtime/altair/src/weights/pallet_xcm.rs +++ b/runtime/altair/src/weights/pallet_xcm.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_xcm` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("altair-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=altair-dev +// --chain=altair-local // --steps=50 // --repeat=20 // --pallet=pallet_xcm // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/altair/src/weights/pallet_xcm.rs @@ -32,54 +31,48 @@ use core::marker::PhantomData; /// Weight functions for `pallet_xcm`. pub struct WeightInfo(PhantomData); impl pallet_xcm::WeightInfo for WeightInfo { - /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem HostConfiguration (r:1 w:0) - /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn send() -> Weight { // Proof Size summary in bytes: - // Measured: `278` - // Estimated: `3743` - // 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)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: ParachainInfo ParachainId (r:1 w:0) - /// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry LocationToAssetId (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry LocationToAssetId (max_values: None, max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn teleport_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `203` - // Estimated: `3668` - // 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)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: ParachainInfo ParachainId (r:1 w:0) - /// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry LocationToAssetId (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry LocationToAssetId (max_values: None, max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn reserve_transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `203` - // Estimated: `3668` - // 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)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: Benchmark Override (r:0 w:0) - /// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn transfer_assets() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn execute() -> Weight { // Proof Size summary in bytes: // Measured: `0` @@ -88,201 +81,156 @@ impl pallet_xcm::WeightInfo for WeightInfo { Weight::from_parts(18_446_744_073_709_551_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: PolkadotXcm SupportedVersion (r:0 w:1) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_xcm_version() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_978_000 picoseconds. - Weight::from_parts(15_379_000, 0) + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) .saturating_add(Weight::from_parts(0, 0)) - .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: PolkadotXcm SafeXcmVersion (r:0 w:1) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) fn force_default_xcm_version() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_588_000 picoseconds. - Weight::from_parts(4_799_000, 0) + // Minimum execution time: 3_596_000 picoseconds. + Weight::from_parts(3_797_000, 0) .saturating_add(Weight::from_parts(0, 0)) - .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: PolkadotXcm VersionNotifiers (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm QueryCounter (r:1 w:1) - /// Proof Skipped: PolkadotXcm QueryCounter (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem HostConfiguration (r:1 w:0) - /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm Queries (r:0 w:1) - /// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_subscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `278` - // Estimated: `3743` - // 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)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: PolkadotXcm VersionNotifiers (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem HostConfiguration (r:1 w:0) - /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm Queries (r:0 w:1) - /// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_unsubscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `460` - // Estimated: `3925` - // 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)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: PolkadotXcm XcmExecutionSuspended (r:0 w:1) - /// Proof Skipped: PolkadotXcm XcmExecutionSuspended (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1) + /// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn force_suspension() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_639_000 picoseconds. - Weight::from_parts(4_829_000, 0) + // Minimum execution time: 3_677_000 picoseconds. + Weight::from_parts(3_837_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: PolkadotXcm SupportedVersion (r:4 w:2) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::SupportedVersion` (r:5 w:2) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_supported_version() -> Weight { // Proof Size summary in bytes: - // Measured: `235` - // Estimated: `11125` - // 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)) + // Measured: `22` + // Estimated: `13387` + // Minimum execution time: 26_610_000 picoseconds. + Weight::from_parts(27_351_000, 0) + .saturating_add(Weight::from_parts(0, 13387)) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: PolkadotXcm VersionNotifiers (r:4 w:2) - /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::VersionNotifiers` (r:5 w:2) + /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notifiers() -> Weight { // Proof Size summary in bytes: - // Measured: `239` - // Estimated: `11129` - // 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)) + // Measured: `26` + // Estimated: `13391` + // Minimum execution time: 25_558_000 picoseconds. + Weight::from_parts(25_839_000, 0) + .saturating_add(Weight::from_parts(0, 13391)) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: PolkadotXcm VersionNotifyTargets (r:5 w:0) - /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn already_notified_target() -> Weight { // Proof Size summary in bytes: - // Measured: `246` - // Estimated: `13611` - // 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)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 25_000_000 picoseconds. + Weight::from_parts(25_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: PolkadotXcm VersionNotifyTargets (r:2 w:1) - /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem HostConfiguration (r:1 w:0) - /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn notify_current_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `345` - // Estimated: `6285` - // 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)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 325_000_000 picoseconds. + Weight::from_parts(325_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: PolkadotXcm VersionNotifyTargets (r:3 w:0) - /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:4 w:0) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn notify_target_migration_fail() -> Weight { // Proof Size summary in bytes: - // Measured: `206` - // Estimated: `8621` - // 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)) + // Measured: `69` + // Estimated: `10959` + // Minimum execution time: 20_008_000 picoseconds. + Weight::from_parts(20_309_000, 0) + .saturating_add(Weight::from_parts(0, 10959)) + .saturating_add(T::DbWeight::get().reads(4)) } - /// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2) - /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:2) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notify_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `246` - // Estimated: `11136` - // 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)) + // Measured: `33` + // Estimated: `13398` + // Minimum execution time: 25_939_000 picoseconds. + Weight::from_parts(26_489_000, 0) + .saturating_add(Weight::from_parts(0, 13398)) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2) - /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem HostConfiguration (r:1 w:0) - /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_and_notify_old_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `421` - // Estimated: `11311` - // 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)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 325_000_000 picoseconds. + Weight::from_parts(325_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) + /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::Queries` (r:0 w:1) + /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn new_query() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `1485` + // Minimum execution time: 3_546_000 picoseconds. + Weight::from_parts(3_817_000, 0) + .saturating_add(Weight::from_parts(0, 1485)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `PolkadotXcm::Queries` (r:1 w:1) + /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn take_response() -> Weight { + // Proof Size summary in bytes: + // Measured: `7576` + // Estimated: `11041` + // Minimum execution time: 42_499_000 picoseconds. + Weight::from_parts(43_902_000, 0) + .saturating_add(Weight::from_parts(0, 11041)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - - fn transfer_assets() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn new_query() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn take_response() -> cumulus_primitives_core::Weight { - Weight::default() - } } diff --git a/runtime/centrifuge/Cargo.toml b/runtime/centrifuge/Cargo.toml index 8d0e1c27f4..c1f0321c59 100644 --- a/runtime/centrifuge/Cargo.toml +++ b/runtime/centrifuge/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "centrifuge-runtime" -version = "0.10.29" build = "build.rs" +version.workspace = true authors.workspace = true edition.workspace = true license.workspace = true diff --git a/runtime/centrifuge/src/lib.rs b/runtime/centrifuge/src/lib.rs index cfa35b617c..0d9855ff58 100644 --- a/runtime/centrifuge/src/lib.rs +++ b/runtime/centrifuge/src/lib.rs @@ -79,8 +79,8 @@ use pallet_anchors::AnchorData; use pallet_collective::{EnsureMember, EnsureProportionAtLeast, EnsureProportionMoreThan}; use pallet_ethereum::{Call::transact, PostLogContent, Transaction as EthTransaction}; use pallet_evm::{ - Account as EVMAccount, EnsureAddressRoot, EnsureAddressTruncated, FeeCalculator, - GasWeightMapping, Runner, + Account as EVMAccount, EnsureAddressNever, EnsureAddressRoot, FeeCalculator, GasWeightMapping, + Runner, }; use pallet_investments::OrderType; use pallet_liquidity_pools::hooks::{ @@ -106,7 +106,7 @@ use runtime_common::{ account_conversion::{AccountConverter, RuntimeAccountConverter}, asset_registry, evm::{ - precompile::Precompiles, BaseFeeThreshold, FindAuthorTruncated, GAS_LIMIT_POV_SIZE_RATIO, + self, BaseFeeThreshold, FindAuthorTruncated, GAS_LIMIT_POV_SIZE_RATIO, GAS_LIMIT_STORAGE_GROWTH_RATIO, WEIGHT_PER_GAS, }, fees::{DealWithFees, FeeToTreasury, WeightToFee}, @@ -165,7 +165,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("centrifuge"), impl_name: create_runtime_str!("centrifuge"), authoring_version: 1, - spec_version: 1029, + spec_version: 1100, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 2, @@ -1980,11 +1980,11 @@ impl pallet_remarks::Config for Runtime { type WeightInfo = weights::pallet_remarks::WeightInfo; } -pub type CentrifugePrecompiles = Precompiles; +pub type Precompiles = evm::precompile::Precompiles; parameter_types! { pub BlockGasLimit: U256 = U256::from(NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT.ref_time() / WEIGHT_PER_GAS); - pub PrecompilesValue: CentrifugePrecompiles = Precompiles::<_, _>::new(); + pub PrecompilesValue: Precompiles = Precompiles::new(); pub WeightPerGas: Weight = Weight::from_parts(WEIGHT_PER_GAS, 0); pub const TokenSymbol: &'static str = "CFG"; } @@ -2003,7 +2003,7 @@ impl pallet_evm::Config for Runtime { type GasWeightMapping = pallet_evm::FixedGasWeightMapping; type OnChargeTransaction = (); type OnCreate = (); - type PrecompilesType = CentrifugePrecompiles; + type PrecompilesType = Precompiles; type PrecompilesValue = PrecompilesValue; type Runner = pallet_evm::runner::stack::Runner; type RuntimeEvent = RuntimeEvent; @@ -2011,7 +2011,7 @@ impl pallet_evm::Config for Runtime { type Timestamp = Timestamp; type WeightInfo = (); type WeightPerGas = WeightPerGas; - type WithdrawOrigin = EnsureAddressTruncated; + type WithdrawOrigin = EnsureAddressNever; } impl pallet_evm_chain_id::Config for Runtime {} @@ -2080,7 +2080,7 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - migrations::UpgradeCentrifuge1029, + migrations::UpgradeCentrifuge1100, >; // 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 1b3af54bcd..05d48c3d2a 100644 --- a/runtime/centrifuge/src/migrations.rs +++ b/runtime/centrifuge/src/migrations.rs @@ -21,7 +21,7 @@ const IDENTITY_MIGRATION_KEY_LIMIT: u64 = 1000; parameter_types! { // Address used by Anemoy to withdraw in AssetHub - // 4dTeMxuPJCK7zQGhFcgCivSJqBs9Wo2SuMSQeYCCuVJ9xrE2 --> 5Fc9NzKzJZwZvgjQBmSKtvZmJ5oP6B49DFC5dXZhTETjrSzo + // 4dTeMxuPJCK7zQGhFcgCivSJqBs9Wo2SuMSQeYCCuVJ9xrE2 --> 5CSfibAR9HHEwKpXbdsDHguAmLgKS6yKat2joTLA75DZ152L pub AccountMap: Vec<(AccountId, AccountId)> = vec![ ( AccountId::new(hex_literal::hex!("5dbb2cec05b6bda775f7945827b887b0e7b5245eae8b4ef266c60820c9377185")), @@ -32,7 +32,7 @@ parameter_types! { /// The migration set for Centrifuge @ Polkadot. /// It includes all the migrations that have to be applied on that chain. -pub type UpgradeCentrifuge1029 = ( +pub type UpgradeCentrifuge1100 = ( runtime_common::migrations::increase_storage_version::Migration, runtime_common::migrations::increase_storage_version::Migration, pallet_collator_selection::migration::v1::MigrateToV1, diff --git a/runtime/centrifuge/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/centrifuge/src/weights/cumulus_pallet_xcmp_queue.rs index fc48e1b1f4..1b2f3baa35 100644 --- a/runtime/centrifuge/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/centrifuge/src/weights/cumulus_pallet_xcmp_queue.rs @@ -1,22 +1,21 @@ //! 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-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=cumulus_pallet_xcmp_queue // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/cumulus_pallet_xcmp_queue.rs @@ -32,40 +31,106 @@ use core::marker::PhantomData; /// Weight functions for `cumulus_pallet_xcmp_queue`. pub struct WeightInfo(PhantomData); impl cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_config_with_u32() -> Weight { // Proof Size summary in bytes: // Measured: `109` // Estimated: `1594` - // Minimum execution time: 8_697_000 picoseconds. - Weight::from_parts(9_047_000, 0) + // Minimum execution time: 6_322_000 picoseconds. + Weight::from_parts(6_612_000, 0) .saturating_add(Weight::from_parts(0, 1594)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn enqueue_xcmp_message() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `115` + // Estimated: `3517` + // Minimum execution time: 17_583_000 picoseconds. + Weight::from_parts(18_214_000, 0) + .saturating_add(Weight::from_parts(0, 3517)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } - + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn suspend_channel() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `109` + // Estimated: `1594` + // Minimum execution time: 3_627_000 picoseconds. + Weight::from_parts(3_857_000, 0) + .saturating_add(Weight::from_parts(0, 1594)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn resume_channel() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `144` + // Estimated: `1629` + // Minimum execution time: 4_809_000 picoseconds. + Weight::from_parts(5_019_000, 0) + .saturating_add(Weight::from_parts(0, 1629)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - fn take_first_concatenated_xcm() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 11_432_000 picoseconds. + Weight::from_parts(11_742_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn on_idle_good_msg() -> Weight { - Weight::from_parts(1, 1) + // Proof Size summary in bytes: + // Measured: `65744` + // Estimated: `69209` + // Minimum execution time: 132_207_000 picoseconds. + Weight::from_parts(136_435_000, 0) + .saturating_add(Weight::from_parts(0, 69209)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) } - - fn on_idle_large_msg() -> Weight { - Weight::from_parts(1, 1) + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + fn on_idle_large_msg() -> Weight { + // Proof Size summary in bytes: + // Measured: `65743` + // Estimated: `69208` + // Minimum execution time: 63_539_000 picoseconds. + Weight::from_parts(64_109_000, 0) + .saturating_add(Weight::from_parts(0, 69208)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/centrifuge/src/weights/mod.rs b/runtime/centrifuge/src/weights/mod.rs index 3c26b723b1..659c89486d 100644 --- a/runtime/centrifuge/src/weights/mod.rs +++ b/runtime/centrifuge/src/weights/mod.rs @@ -43,7 +43,6 @@ pub mod pallet_session; pub mod pallet_timestamp; pub mod pallet_token_mux; pub mod pallet_transfer_allowlist; -pub mod pallet_treasury; pub mod pallet_uniques; pub mod pallet_utility; pub mod pallet_vesting; diff --git a/runtime/centrifuge/src/weights/pallet_anchors.rs b/runtime/centrifuge/src/weights/pallet_anchors.rs index b4a2ffbf92..1ff8ae7cc7 100644 --- a/runtime/centrifuge/src/weights/pallet_anchors.rs +++ b/runtime/centrifuge/src/weights/pallet_anchors.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_anchors` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_anchors // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_anchors.rs @@ -32,482 +31,482 @@ use core::marker::PhantomData; /// Weight functions for `pallet_anchors`. pub struct WeightInfo(PhantomData); impl pallet_anchors::WeightInfo for WeightInfo { - /// Storage: Anchor AnchorEvictDates (r:1 w:0) - /// Proof: Anchor AnchorEvictDates (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - /// Storage: Anchor PreCommits (r:1 w:1) - /// Proof: Anchor PreCommits (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Fees FeeBalances (r:1 w:0) - /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Anchor::AnchorEvictDates` (r:1 w:0) + /// Proof: `Anchor::AnchorEvictDates` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Anchor::PreCommits` (r:1 w:1) + /// Proof: `Anchor::PreCommits` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Fees::FeeBalances` (r:1 w:0) + /// Proof: `Fees::FeeBalances` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn pre_commit() -> Weight { // Proof Size summary in bytes: - // Measured: `334` + // Measured: `301` // Estimated: `3581` - // Minimum execution time: 40_876_000 picoseconds. - Weight::from_parts(41_417_000, 0) + // Minimum execution time: 38_893_000 picoseconds. + Weight::from_parts(39_884_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Anchor AnchorEvictDates (r:1 w:1) - /// Proof: Anchor AnchorEvictDates (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - /// Storage: Anchor PreCommits (r:1 w:1) - /// Proof: Anchor PreCommits (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Fees FeeBalances (r:1 w:0) - /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Authorship Author (r:1 w:0) - /// Proof: Authorship Author (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: System Digest (r:1 w:0) - /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Anchor LatestAnchorIndex (r:1 w:1) - /// Proof: Anchor LatestAnchorIndex (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Anchor AnchorIndexes (r:0 w:1) - /// Proof: Anchor AnchorIndexes (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - /// Storage: unknown `0xdb4faa73ca6d2016e53c7156087c176b79b169c409b8a0063a07964f3187f9e9` (r:0 w:1) - /// Proof Skipped: unknown `0xdb4faa73ca6d2016e53c7156087c176b79b169c409b8a0063a07964f3187f9e9` (r:0 w:1) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Anchor::AnchorEvictDates` (r:1 w:1) + /// Proof: `Anchor::AnchorEvictDates` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Anchor::PreCommits` (r:1 w:1) + /// Proof: `Anchor::PreCommits` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Fees::FeeBalances` (r:1 w:0) + /// Proof: `Fees::FeeBalances` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Authorship::Author` (r:1 w:0) + /// Proof: `Authorship::Author` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `System::Digest` (r:1 w:0) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Anchor::LatestAnchorIndex` (r:1 w:1) + /// Proof: `Anchor::LatestAnchorIndex` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Anchor::AnchorIndexes` (r:0 w:1) + /// Proof: `Anchor::AnchorIndexes` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0xdb4faa73ca6d2016e53c7156087c176b79b169c409b8a0063a07964f3187f9e9` (r:0 w:1) + /// Proof: UNKNOWN KEY `0xdb4faa73ca6d2016e53c7156087c176b79b169c409b8a0063a07964f3187f9e9` (r:0 w:1) fn commit() -> Weight { // Proof Size summary in bytes: - // Measured: `668` + // Measured: `635` // Estimated: `3581` - // Minimum execution time: 71_232_000 picoseconds. - Weight::from_parts(72_526_000, 0) + // Minimum execution time: 65_643_000 picoseconds. + Weight::from_parts(66_685_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: Anchor PreCommits (r:100 w:100) - /// Proof: Anchor PreCommits (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Anchor::PreCommits` (r:100 w:100) + /// Proof: `Anchor::PreCommits` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn evict_pre_commits() -> Weight { // Proof Size summary in bytes: // Measured: `12450` // Estimated: `260090` - // Minimum execution time: 2_213_019_000 picoseconds. - Weight::from_parts(2_232_476_000, 0) + // Minimum execution time: 1_948_840_000 picoseconds. + Weight::from_parts(1_974_327_000, 0) .saturating_add(Weight::from_parts(0, 260090)) .saturating_add(T::DbWeight::get().reads(100)) .saturating_add(T::DbWeight::get().writes(100)) } - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Anchor LatestEvictedDate (r:1 w:1) - /// Proof: Anchor LatestEvictedDate (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Anchor EvictedAnchorRoots (r:100 w:100) - /// Proof: Anchor EvictedAnchorRoots (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72010000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72010000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72020000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72020000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72030000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72030000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72040000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72040000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72050000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72050000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72060000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72060000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72070000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72070000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72080000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72080000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72090000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72090000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720a0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720a0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720b0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720b0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720c0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720c0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720d0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720d0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720e0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720e0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720f0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720f0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72100000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72100000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72110000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72110000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72120000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72120000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72130000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72130000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72140000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72140000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72150000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72150000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72160000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72160000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72170000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72170000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72180000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72180000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72190000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72190000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721a0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721a0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721b0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721b0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721c0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721c0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721d0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721d0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721e0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721e0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721f0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721f0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72200000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72200000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72210000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72210000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72220000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72220000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72230000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72230000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72240000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72240000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72250000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72250000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72260000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72260000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72270000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72270000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72280000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72280000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72290000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72290000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722a0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722a0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722b0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722b0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722c0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722c0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722d0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722d0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722e0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722e0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722f0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722f0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72300000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72300000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72310000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72310000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72320000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72320000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72330000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72330000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72340000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72340000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72350000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72350000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72360000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72360000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72370000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72370000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72380000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72380000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72390000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72390000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723a0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723a0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723b0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723b0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723c0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723c0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723d0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723d0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723e0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723e0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723f0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723f0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72400000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72400000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72410000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72410000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72420000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72420000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72430000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72430000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72440000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72440000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72450000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72450000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72460000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72460000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72470000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72470000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72480000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72480000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72490000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72490000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724a0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724a0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724b0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724b0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724c0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724c0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724d0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724d0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724e0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724e0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724f0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724f0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72500000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72500000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72510000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72510000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72520000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72520000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72530000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72530000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72540000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72540000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72550000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72550000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72560000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72560000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72570000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72570000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72580000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72580000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72590000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72590000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725a0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725a0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725b0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725b0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725c0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725c0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725d0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725d0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725e0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725e0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725f0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725f0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72600000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72600000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72610000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72610000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72620000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72620000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72630000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72630000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72640000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72640000` (r:1 w:0) - /// Storage: Anchor LatestEvictedAnchorIndex (r:1 w:1) - /// Proof: Anchor LatestEvictedAnchorIndex (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Anchor LatestAnchorIndex (r:1 w:0) - /// Proof: Anchor LatestAnchorIndex (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Anchor AnchorIndexes (r:100 w:100) - /// Proof: Anchor AnchorIndexes (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - /// Storage: Anchor AnchorEvictDates (r:100 w:100) - /// Proof: Anchor AnchorEvictDates (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - /// Storage: unknown `0x01d5998dcaa249dfa2a455ae4c045d761623f268227068931dbabca3732aa41f` (r:1 w:1) - /// Proof Skipped: unknown `0x01d5998dcaa249dfa2a455ae4c045d761623f268227068931dbabca3732aa41f` (r:1 w:1) - /// Storage: unknown `0x04575ee0699f1fa86cccfdcf4285aa81b9bfa0f8837cf533346d722970f1a704` (r:1 w:1) - /// Proof Skipped: unknown `0x04575ee0699f1fa86cccfdcf4285aa81b9bfa0f8837cf533346d722970f1a704` (r:1 w:1) - /// Storage: unknown `0x0959721f200e92d5090cee3c2c4546c11f9bfd16ded1e70e6781d2402880f1f3` (r:1 w:1) - /// Proof Skipped: unknown `0x0959721f200e92d5090cee3c2c4546c11f9bfd16ded1e70e6781d2402880f1f3` (r:1 w:1) - /// Storage: unknown `0x0a958b15afac1ffb0c6e73c553bd8b4ba94ad2d0cc118dcd2a7bc8802e2e772a` (r:1 w:1) - /// Proof Skipped: unknown `0x0a958b15afac1ffb0c6e73c553bd8b4ba94ad2d0cc118dcd2a7bc8802e2e772a` (r:1 w:1) - /// Storage: unknown `0x0c4c531cd9dcf8573a6350d0ac9fb060d273156bdee4fdae0043b6fee5bda27c` (r:1 w:1) - /// Proof Skipped: unknown `0x0c4c531cd9dcf8573a6350d0ac9fb060d273156bdee4fdae0043b6fee5bda27c` (r:1 w:1) - /// Storage: unknown `0x0cd3f3ee9420f9c3b2e70862996e8d02e87d1f148632a36b8f72c9548b10b856` (r:1 w:1) - /// Proof Skipped: unknown `0x0cd3f3ee9420f9c3b2e70862996e8d02e87d1f148632a36b8f72c9548b10b856` (r:1 w:1) - /// Storage: unknown `0x10876da12e1227a2c04872ce311f768aaf3e21458e6ad1c04f044c97fe8e214e` (r:1 w:1) - /// Proof Skipped: unknown `0x10876da12e1227a2c04872ce311f768aaf3e21458e6ad1c04f044c97fe8e214e` (r:1 w:1) - /// Storage: unknown `0x10b360a66313de6ab2d43019c5fd7ea0db088efb3e1d4a24d89775e66e089cff` (r:1 w:1) - /// Proof Skipped: unknown `0x10b360a66313de6ab2d43019c5fd7ea0db088efb3e1d4a24d89775e66e089cff` (r:1 w:1) - /// Storage: unknown `0x16d33ce142442dfbe857e2c9e0648d026c6bb367d467d6922c2c1133aaa3d7b8` (r:1 w:1) - /// Proof Skipped: unknown `0x16d33ce142442dfbe857e2c9e0648d026c6bb367d467d6922c2c1133aaa3d7b8` (r:1 w:1) - /// Storage: unknown `0x16e133fb9e42d5a2a9a2e21b2e0efd735fccb527162a21cf520c3aecd84c89ed` (r:1 w:1) - /// Proof Skipped: unknown `0x16e133fb9e42d5a2a9a2e21b2e0efd735fccb527162a21cf520c3aecd84c89ed` (r:1 w:1) - /// Storage: unknown `0x16fcb5e799a48fa04deaaaa71c85bc8e9126bd4b5dbcb3a1f8068ab14bc1c26f` (r:1 w:1) - /// Proof Skipped: unknown `0x16fcb5e799a48fa04deaaaa71c85bc8e9126bd4b5dbcb3a1f8068ab14bc1c26f` (r:1 w:1) - /// Storage: unknown `0x1b3289127bc95ed117e77d479ccd3ac4477ef8d32df7265bbd42c75bf1945464` (r:1 w:1) - /// Proof Skipped: unknown `0x1b3289127bc95ed117e77d479ccd3ac4477ef8d32df7265bbd42c75bf1945464` (r:1 w:1) - /// Storage: unknown `0x1ecb14235f21b57f49e32ac4f35a1af6a71f96867f0bc61bc5905b8d437b6bde` (r:1 w:1) - /// Proof Skipped: unknown `0x1ecb14235f21b57f49e32ac4f35a1af6a71f96867f0bc61bc5905b8d437b6bde` (r:1 w:1) - /// Storage: unknown `0x1f8b0dafc67f9d378cf0596c5d49f220e5880b9c74ccaadac2206a35ec92715a` (r:1 w:1) - /// Proof Skipped: unknown `0x1f8b0dafc67f9d378cf0596c5d49f220e5880b9c74ccaadac2206a35ec92715a` (r:1 w:1) - /// Storage: unknown `0x24a8d9c362d9365f46f899adb37f6b61134dceaa80f96a9cda6b059a1301f380` (r:1 w:1) - /// Proof Skipped: unknown `0x24a8d9c362d9365f46f899adb37f6b61134dceaa80f96a9cda6b059a1301f380` (r:1 w:1) - /// Storage: unknown `0x2a00fca93dceceb635a80a95e8f785b189a4ce35f90a17acba5d1bcacf895a84` (r:1 w:1) - /// Proof Skipped: unknown `0x2a00fca93dceceb635a80a95e8f785b189a4ce35f90a17acba5d1bcacf895a84` (r:1 w:1) - /// Storage: unknown `0x2b318def38ef5f2f8db787e365834ece79fbde70c22cf7bd6c9326995fd4c07f` (r:1 w:1) - /// Proof Skipped: unknown `0x2b318def38ef5f2f8db787e365834ece79fbde70c22cf7bd6c9326995fd4c07f` (r:1 w:1) - /// Storage: unknown `0x2fbeff7b90831a847716e729a30f028899726193b4406a1c91fce4e97beb61b5` (r:1 w:1) - /// Proof Skipped: unknown `0x2fbeff7b90831a847716e729a30f028899726193b4406a1c91fce4e97beb61b5` (r:1 w:1) - /// Storage: unknown `0x30dc983a9ad263028d0e91a8a0cf703a2a7fd3834b1102f1ff3f8c8876a207bf` (r:1 w:1) - /// Proof Skipped: unknown `0x30dc983a9ad263028d0e91a8a0cf703a2a7fd3834b1102f1ff3f8c8876a207bf` (r:1 w:1) - /// Storage: unknown `0x3187d0cdac28db7ec343a07f0b2e44fc56986f0a9c2062d5fa60f99419707bea` (r:1 w:1) - /// Proof Skipped: unknown `0x3187d0cdac28db7ec343a07f0b2e44fc56986f0a9c2062d5fa60f99419707bea` (r:1 w:1) - /// Storage: unknown `0x3596cd6b45e209629c71765c804f324ed440f7a1cb2ff6cb542156fd5d213de2` (r:1 w:1) - /// Proof Skipped: unknown `0x3596cd6b45e209629c71765c804f324ed440f7a1cb2ff6cb542156fd5d213de2` (r:1 w:1) - /// Storage: unknown `0x3645890bd8ab0cc13921468d56eee7da40fbe28dc05bc30a64f05a2c03a1912e` (r:1 w:1) - /// Proof Skipped: unknown `0x3645890bd8ab0cc13921468d56eee7da40fbe28dc05bc30a64f05a2c03a1912e` (r:1 w:1) - /// Storage: unknown `0x384b604969634cf37d988e886b5267a51baeb797e09a1d1a0893e5be8fc553df` (r:1 w:1) - /// Proof Skipped: unknown `0x384b604969634cf37d988e886b5267a51baeb797e09a1d1a0893e5be8fc553df` (r:1 w:1) - /// Storage: unknown `0x3c056a888ea28c9294c91723916f5891141a824048335e32532e6605ce0457e0` (r:1 w:1) - /// Proof Skipped: unknown `0x3c056a888ea28c9294c91723916f5891141a824048335e32532e6605ce0457e0` (r:1 w:1) - /// Storage: unknown `0x3c5fd1d5c95885c6b44e0f3995886046d906821de1ed5ee95b51b17c42d3295b` (r:1 w:1) - /// Proof Skipped: unknown `0x3c5fd1d5c95885c6b44e0f3995886046d906821de1ed5ee95b51b17c42d3295b` (r:1 w:1) - /// Storage: unknown `0x3e74dfe3befcf6fa20eb902c2007ba7fd831619013aa99e016284597b896115b` (r:1 w:1) - /// Proof Skipped: unknown `0x3e74dfe3befcf6fa20eb902c2007ba7fd831619013aa99e016284597b896115b` (r:1 w:1) - /// Storage: unknown `0x42f1cff854d41b18ae379b012a1e712f036bcd839244d5c6324f12c28f6fd6e9` (r:1 w:1) - /// Proof Skipped: unknown `0x42f1cff854d41b18ae379b012a1e712f036bcd839244d5c6324f12c28f6fd6e9` (r:1 w:1) - /// Storage: unknown `0x457803d743c32f50866dbf7aabb339a1d8b6b759783b0627128f0cfd3d6c8775` (r:1 w:1) - /// Proof Skipped: unknown `0x457803d743c32f50866dbf7aabb339a1d8b6b759783b0627128f0cfd3d6c8775` (r:1 w:1) - /// Storage: unknown `0x4cb17fd2f1d1b2eff69f0ffa1a97ff13e7bf4f05a7a99dd06e503e7546b23906` (r:1 w:1) - /// Proof Skipped: unknown `0x4cb17fd2f1d1b2eff69f0ffa1a97ff13e7bf4f05a7a99dd06e503e7546b23906` (r:1 w:1) - /// Storage: unknown `0x58357c4f5a9881658ffc42faa5f48e2810169bf85c8c78011696a17b59728ef5` (r:1 w:1) - /// Proof Skipped: unknown `0x58357c4f5a9881658ffc42faa5f48e2810169bf85c8c78011696a17b59728ef5` (r:1 w:1) - /// Storage: unknown `0x5baa983aa91ad92c66e17d16e0757ec4a67ec2ce5b95f4d02ec22fba0e485da0` (r:1 w:1) - /// Proof Skipped: unknown `0x5baa983aa91ad92c66e17d16e0757ec4a67ec2ce5b95f4d02ec22fba0e485da0` (r:1 w:1) - /// Storage: unknown `0x5da83d0712f41714545470b781e0a43c65a0ac977327475baa98b5cd94938f17` (r:1 w:1) - /// Proof Skipped: unknown `0x5da83d0712f41714545470b781e0a43c65a0ac977327475baa98b5cd94938f17` (r:1 w:1) - /// Storage: unknown `0x6365aeecd6b54d3166f3df46d8c7b404711ca54b4284e8faf67eb014fa3685f8` (r:1 w:1) - /// Proof Skipped: unknown `0x6365aeecd6b54d3166f3df46d8c7b404711ca54b4284e8faf67eb014fa3685f8` (r:1 w:1) - /// Storage: unknown `0x683b74d821a8019cbfc9dbe47b50b0f377e0eef16dbc52f7f931ae713fd3f644` (r:1 w:1) - /// Proof Skipped: unknown `0x683b74d821a8019cbfc9dbe47b50b0f377e0eef16dbc52f7f931ae713fd3f644` (r:1 w:1) - /// Storage: unknown `0x6b02568ad8557dc3d66463abfd1d7f298a0b314fe4bf7d5be79b66768096ed90` (r:1 w:1) - /// Proof Skipped: unknown `0x6b02568ad8557dc3d66463abfd1d7f298a0b314fe4bf7d5be79b66768096ed90` (r:1 w:1) - /// Storage: unknown `0x6b05c068aecc171915a61cf59146e7f9a69b9bba39f4df50cecfeb454850b4c9` (r:1 w:1) - /// Proof Skipped: unknown `0x6b05c068aecc171915a61cf59146e7f9a69b9bba39f4df50cecfeb454850b4c9` (r:1 w:1) - /// Storage: unknown `0x6b5529ac614dcbd6113176256a4f5809eb667bddab2e22579306de0a1f83f287` (r:1 w:1) - /// Proof Skipped: unknown `0x6b5529ac614dcbd6113176256a4f5809eb667bddab2e22579306de0a1f83f287` (r:1 w:1) - /// Storage: unknown `0x6cd1381490331969f37f1e6575081f42f1bd8ae0cc79d70fc52ed178b5d75bd0` (r:1 w:1) - /// Proof Skipped: unknown `0x6cd1381490331969f37f1e6575081f42f1bd8ae0cc79d70fc52ed178b5d75bd0` (r:1 w:1) - /// Storage: unknown `0x6f5b021a9f57d7669ed7269e7d8785acf255f15785bf452a03a4decc184fd403` (r:1 w:1) - /// Proof Skipped: unknown `0x6f5b021a9f57d7669ed7269e7d8785acf255f15785bf452a03a4decc184fd403` (r:1 w:1) - /// Storage: unknown `0x764bac7888f79c071087d351a356a09cb2490cb6ea6d71f0cd391de89a885cd2` (r:1 w:1) - /// Proof Skipped: unknown `0x764bac7888f79c071087d351a356a09cb2490cb6ea6d71f0cd391de89a885cd2` (r:1 w:1) - /// Storage: unknown `0x7aedb653a5de5739b9d3594196693fd51653fcd59b442e0eb9f64265db188044` (r:1 w:1) - /// Proof Skipped: unknown `0x7aedb653a5de5739b9d3594196693fd51653fcd59b442e0eb9f64265db188044` (r:1 w:1) - /// Storage: unknown `0x7ca04bdeb932896fd908eb86d4136e9e2462575ebdf981001c1cd3ca6a2faaec` (r:1 w:1) - /// Proof Skipped: unknown `0x7ca04bdeb932896fd908eb86d4136e9e2462575ebdf981001c1cd3ca6a2faaec` (r:1 w:1) - /// Storage: unknown `0x7ceee738f5af899bd2f967a928019e4a0ecb8715509668dcc039badfe148b45e` (r:1 w:1) - /// Proof Skipped: unknown `0x7ceee738f5af899bd2f967a928019e4a0ecb8715509668dcc039badfe148b45e` (r:1 w:1) - /// Storage: unknown `0x7e700ce9c411e35485babec60c2b68f40c512bc8399c5cee0c1e4264e63f36d1` (r:1 w:1) - /// Proof Skipped: unknown `0x7e700ce9c411e35485babec60c2b68f40c512bc8399c5cee0c1e4264e63f36d1` (r:1 w:1) - /// Storage: unknown `0x80c020f2e70a170ee2f34af3daeda4c2097d14a35f5b1f2d23c2287e5e930f55` (r:1 w:1) - /// Proof Skipped: unknown `0x80c020f2e70a170ee2f34af3daeda4c2097d14a35f5b1f2d23c2287e5e930f55` (r:1 w:1) - /// Storage: unknown `0x8101d04cf92ee55f6c2a798c7b16da4cc8c511fd822b13093d0f53f5523718d0` (r:1 w:1) - /// Proof Skipped: unknown `0x8101d04cf92ee55f6c2a798c7b16da4cc8c511fd822b13093d0f53f5523718d0` (r:1 w:1) - /// Storage: unknown `0x85172de32d6b5871235d50648541b1bd007807512231f9b81f25cb5e20141820` (r:1 w:1) - /// Proof Skipped: unknown `0x85172de32d6b5871235d50648541b1bd007807512231f9b81f25cb5e20141820` (r:1 w:1) - /// Storage: unknown `0x85e9ccd05d28607dcce0dc5be4f34a7d56d3b83b6c63162b2787fc0e6decf2a7` (r:1 w:1) - /// Proof Skipped: unknown `0x85e9ccd05d28607dcce0dc5be4f34a7d56d3b83b6c63162b2787fc0e6decf2a7` (r:1 w:1) - /// Storage: unknown `0x87b3d065618080e576b534cf68b60d09c4cca0b71a8b6321337cc23be47e7329` (r:1 w:1) - /// Proof Skipped: unknown `0x87b3d065618080e576b534cf68b60d09c4cca0b71a8b6321337cc23be47e7329` (r:1 w:1) - /// Storage: unknown `0x892ec564231143cc6294a8750b924df2207d91ea3508501d2bd84bee7947b9d0` (r:1 w:1) - /// Proof Skipped: unknown `0x892ec564231143cc6294a8750b924df2207d91ea3508501d2bd84bee7947b9d0` (r:1 w:1) - /// Storage: unknown `0x8980988eacf42b40c4fc8aa995ae2e059a66c6935626c3e30f1d6842335368d0` (r:1 w:1) - /// Proof Skipped: unknown `0x8980988eacf42b40c4fc8aa995ae2e059a66c6935626c3e30f1d6842335368d0` (r:1 w:1) - /// Storage: unknown `0x8db2380506697daa88c7a72906d747535ffb12c0ca2a4a6443074bb0fdd8f256` (r:1 w:1) - /// Proof Skipped: unknown `0x8db2380506697daa88c7a72906d747535ffb12c0ca2a4a6443074bb0fdd8f256` (r:1 w:1) - /// Storage: unknown `0x8e098b9b896a97df275aba887f591c3076220e02adf682c98808e4ba53e6a773` (r:1 w:1) - /// Proof Skipped: unknown `0x8e098b9b896a97df275aba887f591c3076220e02adf682c98808e4ba53e6a773` (r:1 w:1) - /// Storage: unknown `0x8e590007efc113bc10a61c478d26803cdae5572d4c70547b3c9813b3ce396826` (r:1 w:1) - /// Proof Skipped: unknown `0x8e590007efc113bc10a61c478d26803cdae5572d4c70547b3c9813b3ce396826` (r:1 w:1) - /// Storage: unknown `0x96e31df89b1f00b96c993bd9de31e32e7e59c0a185cd0b31adc4e969746c8ea6` (r:1 w:1) - /// Proof Skipped: unknown `0x96e31df89b1f00b96c993bd9de31e32e7e59c0a185cd0b31adc4e969746c8ea6` (r:1 w:1) - /// Storage: unknown `0x9ae7305289647b636a8702b2316e5482f1a807fa398687068fb653527368f9bc` (r:1 w:1) - /// Proof Skipped: unknown `0x9ae7305289647b636a8702b2316e5482f1a807fa398687068fb653527368f9bc` (r:1 w:1) - /// Storage: unknown `0x9b9660b6fc1992a09573eaa9110c4a08d40c1f439304a47b9776645bc278fc75` (r:1 w:1) - /// Proof Skipped: unknown `0x9b9660b6fc1992a09573eaa9110c4a08d40c1f439304a47b9776645bc278fc75` (r:1 w:1) - /// Storage: unknown `0xa04f2ef3bb509dfec9d7a97c4778ab2e477af9c5cbda3a1c6e57514314a3f9a5` (r:1 w:1) - /// Proof Skipped: unknown `0xa04f2ef3bb509dfec9d7a97c4778ab2e477af9c5cbda3a1c6e57514314a3f9a5` (r:1 w:1) - /// Storage: unknown `0xa16d64c1e08b47144c2c8e37872486cf440dda823e2ea05f480fedfe83060f17` (r:1 w:1) - /// Proof Skipped: unknown `0xa16d64c1e08b47144c2c8e37872486cf440dda823e2ea05f480fedfe83060f17` (r:1 w:1) - /// Storage: unknown `0xa4ad0a32c2781a59ea8a6d58e26fa7dc0b2a08f8c4c938661f5f3ccd8f8eb8ce` (r:1 w:1) - /// Proof Skipped: unknown `0xa4ad0a32c2781a59ea8a6d58e26fa7dc0b2a08f8c4c938661f5f3ccd8f8eb8ce` (r:1 w:1) - /// Storage: unknown `0xab9797fb6926376ee3b6be73e5501e0a3af18d0bc6dfca0d3b5f498602016956` (r:1 w:1) - /// Proof Skipped: unknown `0xab9797fb6926376ee3b6be73e5501e0a3af18d0bc6dfca0d3b5f498602016956` (r:1 w:1) - /// Storage: unknown `0xac4d9f6628449fe129d24b384441fdb445962d2d6bca7603fea0c20f3d04351c` (r:1 w:1) - /// Proof Skipped: unknown `0xac4d9f6628449fe129d24b384441fdb445962d2d6bca7603fea0c20f3d04351c` (r:1 w:1) - /// Storage: unknown `0xafecb421bedaa0f8bd89ef18897b77ce61738af42f8a66e3257a079a3d04bef1` (r:1 w:1) - /// Proof Skipped: unknown `0xafecb421bedaa0f8bd89ef18897b77ce61738af42f8a66e3257a079a3d04bef1` (r:1 w:1) - /// Storage: unknown `0xb292dc48cc1057cce335f1d84f295271a2b16aee7018f1bd444febd77f7e5cbb` (r:1 w:1) - /// Proof Skipped: unknown `0xb292dc48cc1057cce335f1d84f295271a2b16aee7018f1bd444febd77f7e5cbb` (r:1 w:1) - /// Storage: unknown `0xb48b9d9955158dbd87abb433511a5968c21cf78f8085088407e24d6ee26f7f56` (r:1 w:1) - /// Proof Skipped: unknown `0xb48b9d9955158dbd87abb433511a5968c21cf78f8085088407e24d6ee26f7f56` (r:1 w:1) - /// Storage: unknown `0xb5a7df612d6fb3bc16c1716414897ba5928835d883003371f02106d5a92abd78` (r:1 w:1) - /// Proof Skipped: unknown `0xb5a7df612d6fb3bc16c1716414897ba5928835d883003371f02106d5a92abd78` (r:1 w:1) - /// Storage: unknown `0xb684abf2ee5018a16a8dbef6633bcb94a07a2cdf4a173e4fec130da86e8ab987` (r:1 w:1) - /// Proof Skipped: unknown `0xb684abf2ee5018a16a8dbef6633bcb94a07a2cdf4a173e4fec130da86e8ab987` (r:1 w:1) - /// Storage: unknown `0xb86c8391d2a3eb28b9e3b603cf6929849d50e439e0bbc79781b2555f9cbaa013` (r:1 w:1) - /// Proof Skipped: unknown `0xb86c8391d2a3eb28b9e3b603cf6929849d50e439e0bbc79781b2555f9cbaa013` (r:1 w:1) - /// Storage: unknown `0xba070ba6cf5f2489f98b6841d238eee4fc403d3065b57f9e3e38ca540971024d` (r:1 w:1) - /// Proof Skipped: unknown `0xba070ba6cf5f2489f98b6841d238eee4fc403d3065b57f9e3e38ca540971024d` (r:1 w:1) - /// Storage: unknown `0xbcb96e5fc092d3ac258a81b5390671817730859598470874ef02f998518bbf58` (r:1 w:1) - /// Proof Skipped: unknown `0xbcb96e5fc092d3ac258a81b5390671817730859598470874ef02f998518bbf58` (r:1 w:1) - /// Storage: unknown `0xc008db6f6d721d80fab2eab8b6dda4f19bd5def30aa7db86dadd6eb799c2f5ad` (r:1 w:1) - /// Proof Skipped: unknown `0xc008db6f6d721d80fab2eab8b6dda4f19bd5def30aa7db86dadd6eb799c2f5ad` (r:1 w:1) - /// Storage: unknown `0xc054c4045e44e28cef1884c0aa86d0049b76eaff493a6d694394df7b0cee8136` (r:1 w:1) - /// Proof Skipped: unknown `0xc054c4045e44e28cef1884c0aa86d0049b76eaff493a6d694394df7b0cee8136` (r:1 w:1) - /// Storage: unknown `0xc315216d50f4dd95914d6d102976dc09ec4474da5c314a15f09972ded6e71ddb` (r:1 w:1) - /// Proof Skipped: unknown `0xc315216d50f4dd95914d6d102976dc09ec4474da5c314a15f09972ded6e71ddb` (r:1 w:1) - /// Storage: unknown `0xc4a2c3fa3cc7ed1611651510eb6e225abab30676f0fad28c115482c7dd61f8e0` (r:1 w:1) - /// Proof Skipped: unknown `0xc4a2c3fa3cc7ed1611651510eb6e225abab30676f0fad28c115482c7dd61f8e0` (r:1 w:1) - /// Storage: unknown `0xc6cc01d59d3c86a1c12a167e149d784295fcd13862e4afb0a39a8459e6e25561` (r:1 w:1) - /// Proof Skipped: unknown `0xc6cc01d59d3c86a1c12a167e149d784295fcd13862e4afb0a39a8459e6e25561` (r:1 w:1) - /// Storage: unknown `0xc712d8fa08dd521e5f901ca6d36134807c5ec0510e3b52e8ae5a15f7c13d2ebd` (r:1 w:1) - /// Proof Skipped: unknown `0xc712d8fa08dd521e5f901ca6d36134807c5ec0510e3b52e8ae5a15f7c13d2ebd` (r:1 w:1) - /// Storage: unknown `0xc7e2bc91ff1b307f6995683b76f1904ccdada3cf8f00528c08d4f65911c4888a` (r:1 w:1) - /// Proof Skipped: unknown `0xc7e2bc91ff1b307f6995683b76f1904ccdada3cf8f00528c08d4f65911c4888a` (r:1 w:1) - /// Storage: unknown `0xccbca45304d59a1167eaf9b459e09cffce3d90c087ee9edf8e7e2dc40349373b` (r:1 w:1) - /// Proof Skipped: unknown `0xccbca45304d59a1167eaf9b459e09cffce3d90c087ee9edf8e7e2dc40349373b` (r:1 w:1) - /// Storage: unknown `0xccc17a821dda11e5239ea8dbedee5bd6622fc8dd63ee229fc3bd2dead22e8ae2` (r:1 w:1) - /// Proof Skipped: unknown `0xccc17a821dda11e5239ea8dbedee5bd6622fc8dd63ee229fc3bd2dead22e8ae2` (r:1 w:1) - /// Storage: unknown `0xccee04c4c0534d4245892ed24d7814cd14a41aeed7e94591354315f5b74d89f5` (r:1 w:1) - /// Proof Skipped: unknown `0xccee04c4c0534d4245892ed24d7814cd14a41aeed7e94591354315f5b74d89f5` (r:1 w:1) - /// Storage: unknown `0xcf67e9890d936f6bd205710c9a5cedc653d88fba3c74b7a2b9fe8ce7fce0bd0c` (r:1 w:1) - /// Proof Skipped: unknown `0xcf67e9890d936f6bd205710c9a5cedc653d88fba3c74b7a2b9fe8ce7fce0bd0c` (r:1 w:1) - /// Storage: unknown `0xcfdb7c67ada01beee8308b04c3f32e4c078603d0c84c0e28e605a8ea56dcc362` (r:1 w:1) - /// Proof Skipped: unknown `0xcfdb7c67ada01beee8308b04c3f32e4c078603d0c84c0e28e605a8ea56dcc362` (r:1 w:1) - /// Storage: unknown `0xd0d54b0c405fea6ff90809070bfd270c88e9a26ad83138eeb077d8f9602670bc` (r:1 w:1) - /// Proof Skipped: unknown `0xd0d54b0c405fea6ff90809070bfd270c88e9a26ad83138eeb077d8f9602670bc` (r:1 w:1) - /// Storage: unknown `0xd1d4eefa482f2ece90773426cd76c1da272ef0e72c1172a4a71b84c1f5f6c7c7` (r:1 w:1) - /// Proof Skipped: unknown `0xd1d4eefa482f2ece90773426cd76c1da272ef0e72c1172a4a71b84c1f5f6c7c7` (r:1 w:1) - /// Storage: unknown `0xd282fcd4ae056e61acbc8950a306910569f227182c41e5b88159aed160ba2a58` (r:1 w:1) - /// Proof Skipped: unknown `0xd282fcd4ae056e61acbc8950a306910569f227182c41e5b88159aed160ba2a58` (r:1 w:1) - /// Storage: unknown `0xd37f5ea81d5d617ed7490c928e4f3a1eba6f234787ba84f31e204e8733cd039f` (r:1 w:1) - /// Proof Skipped: unknown `0xd37f5ea81d5d617ed7490c928e4f3a1eba6f234787ba84f31e204e8733cd039f` (r:1 w:1) - /// Storage: unknown `0xd6780cc86f71e3b9d0f0f6977d180e26166b517ee3ee227701f9f36cccae3171` (r:1 w:1) - /// Proof Skipped: unknown `0xd6780cc86f71e3b9d0f0f6977d180e26166b517ee3ee227701f9f36cccae3171` (r:1 w:1) - /// Storage: unknown `0xd79237f18c61e22111652b0e9b809fbe8ca41552b3a927877a294a732b338f63` (r:1 w:1) - /// Proof Skipped: unknown `0xd79237f18c61e22111652b0e9b809fbe8ca41552b3a927877a294a732b338f63` (r:1 w:1) - /// Storage: unknown `0xd8825b3a03921d36a1543c344d9b3cacce95765f29c735cf3ed72dc9c37ff81b` (r:1 w:1) - /// Proof Skipped: unknown `0xd8825b3a03921d36a1543c344d9b3cacce95765f29c735cf3ed72dc9c37ff81b` (r:1 w:1) - /// Storage: unknown `0xdd012b8629cc16d3ad36b73df7dd7d38e8c11ac479b99dedffb10b5007c8049a` (r:1 w:1) - /// Proof Skipped: unknown `0xdd012b8629cc16d3ad36b73df7dd7d38e8c11ac479b99dedffb10b5007c8049a` (r:1 w:1) - /// Storage: unknown `0xdec56d85d6fffd793180a2ce033397f67fb3b9b7ac3e2b0ef6be2f15e7de435f` (r:1 w:1) - /// Proof Skipped: unknown `0xdec56d85d6fffd793180a2ce033397f67fb3b9b7ac3e2b0ef6be2f15e7de435f` (r:1 w:1) - /// Storage: unknown `0xe1f270fea944a3a9db5550d742e3acb3dd449cafb73dce65c1705d0752c1343b` (r:1 w:1) - /// Proof Skipped: unknown `0xe1f270fea944a3a9db5550d742e3acb3dd449cafb73dce65c1705d0752c1343b` (r:1 w:1) - /// Storage: unknown `0xe4002351550f1b106219729b86aa4776fb907737c9cd7e957c5ce80062a8ff8a` (r:1 w:1) - /// Proof Skipped: unknown `0xe4002351550f1b106219729b86aa4776fb907737c9cd7e957c5ce80062a8ff8a` (r:1 w:1) - /// Storage: unknown `0xe45f26671be0fb4144ed09c40b9493c4584affb2c1d1fe6cb067aa2df802027e` (r:1 w:1) - /// Proof Skipped: unknown `0xe45f26671be0fb4144ed09c40b9493c4584affb2c1d1fe6cb067aa2df802027e` (r:1 w:1) - /// Storage: unknown `0xe6b4a4991b976360dacf2c942d16326dd53584aca6ed1ae4e78f668d7b1163c1` (r:1 w:1) - /// Proof Skipped: unknown `0xe6b4a4991b976360dacf2c942d16326dd53584aca6ed1ae4e78f668d7b1163c1` (r:1 w:1) - /// Storage: unknown `0xe8150db238f56576dcf5e1b98f3915361092aa174b16e6cda3e78c28b6444dc8` (r:1 w:1) - /// Proof Skipped: unknown `0xe8150db238f56576dcf5e1b98f3915361092aa174b16e6cda3e78c28b6444dc8` (r:1 w:1) - /// Storage: unknown `0xebc5f1d9670cdeb0655d79e95c9602ec1d85ad989ce78194dfd1a31e9fb4994c` (r:1 w:1) - /// Proof Skipped: unknown `0xebc5f1d9670cdeb0655d79e95c9602ec1d85ad989ce78194dfd1a31e9fb4994c` (r:1 w:1) - /// Storage: unknown `0xed0df01311d268fc75f0da4859b6508e1c445e713847efbc18528d731316cf48` (r:1 w:1) - /// Proof Skipped: unknown `0xed0df01311d268fc75f0da4859b6508e1c445e713847efbc18528d731316cf48` (r:1 w:1) - /// Storage: unknown `0xee60c64e1e32117f948ee71d391f978e8ac98c2bd869322fc25164502e3f7a9b` (r:1 w:1) - /// Proof Skipped: unknown `0xee60c64e1e32117f948ee71d391f978e8ac98c2bd869322fc25164502e3f7a9b` (r:1 w:1) - /// Storage: unknown `0xf7e4b8a5415405a940e730546df85583c8c23956d99a3be18e09eebf3639d312` (r:1 w:1) - /// Proof Skipped: unknown `0xf7e4b8a5415405a940e730546df85583c8c23956d99a3be18e09eebf3639d312` (r:1 w:1) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Anchor::LatestEvictedDate` (r:1 w:1) + /// Proof: `Anchor::LatestEvictedDate` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Anchor::EvictedAnchorRoots` (r:100 w:100) + /// Proof: `Anchor::EvictedAnchorRoots` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72010000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72010000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72020000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72020000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72030000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72030000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72040000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72040000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72050000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72050000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72060000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72060000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72070000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72070000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72080000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72080000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72090000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72090000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720a0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720a0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720b0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720b0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720c0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720c0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720d0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720d0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720e0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720e0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720f0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720f0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72100000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72100000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72110000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72110000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72120000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72120000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72130000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72130000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72140000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72140000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72150000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72150000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72160000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72160000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72170000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72170000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72180000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72180000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72190000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72190000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721a0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721a0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721b0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721b0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721c0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721c0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721d0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721d0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721e0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721e0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721f0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721f0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72200000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72200000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72210000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72210000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72220000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72220000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72230000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72230000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72240000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72240000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72250000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72250000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72260000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72260000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72270000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72270000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72280000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72280000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72290000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72290000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722a0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722a0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722b0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722b0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722c0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722c0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722d0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722d0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722e0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722e0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722f0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722f0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72300000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72300000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72310000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72310000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72320000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72320000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72330000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72330000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72340000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72340000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72350000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72350000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72360000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72360000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72370000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72370000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72380000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72380000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72390000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72390000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723a0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723a0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723b0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723b0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723c0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723c0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723d0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723d0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723e0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723e0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723f0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723f0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72400000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72400000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72410000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72410000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72420000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72420000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72430000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72430000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72440000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72440000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72450000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72450000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72460000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72460000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72470000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72470000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72480000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72480000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72490000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72490000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724a0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724a0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724b0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724b0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724c0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724c0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724d0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724d0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724e0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724e0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724f0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724f0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72500000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72500000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72510000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72510000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72520000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72520000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72530000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72530000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72540000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72540000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72550000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72550000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72560000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72560000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72570000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72570000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72580000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72580000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72590000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72590000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725a0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725a0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725b0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725b0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725c0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725c0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725d0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725d0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725e0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725e0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725f0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725f0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72600000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72600000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72610000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72610000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72620000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72620000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72630000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72630000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72640000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72640000` (r:1 w:0) + /// Storage: `Anchor::LatestEvictedAnchorIndex` (r:1 w:1) + /// Proof: `Anchor::LatestEvictedAnchorIndex` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Anchor::LatestAnchorIndex` (r:1 w:0) + /// Proof: `Anchor::LatestAnchorIndex` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Anchor::AnchorIndexes` (r:100 w:100) + /// Proof: `Anchor::AnchorIndexes` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Anchor::AnchorEvictDates` (r:100 w:100) + /// Proof: `Anchor::AnchorEvictDates` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0x01d5998dcaa249dfa2a455ae4c045d761623f268227068931dbabca3732aa41f` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x01d5998dcaa249dfa2a455ae4c045d761623f268227068931dbabca3732aa41f` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x04575ee0699f1fa86cccfdcf4285aa81b9bfa0f8837cf533346d722970f1a704` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x04575ee0699f1fa86cccfdcf4285aa81b9bfa0f8837cf533346d722970f1a704` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x0959721f200e92d5090cee3c2c4546c11f9bfd16ded1e70e6781d2402880f1f3` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x0959721f200e92d5090cee3c2c4546c11f9bfd16ded1e70e6781d2402880f1f3` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x0a958b15afac1ffb0c6e73c553bd8b4ba94ad2d0cc118dcd2a7bc8802e2e772a` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x0a958b15afac1ffb0c6e73c553bd8b4ba94ad2d0cc118dcd2a7bc8802e2e772a` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x0c4c531cd9dcf8573a6350d0ac9fb060d273156bdee4fdae0043b6fee5bda27c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x0c4c531cd9dcf8573a6350d0ac9fb060d273156bdee4fdae0043b6fee5bda27c` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x0cd3f3ee9420f9c3b2e70862996e8d02e87d1f148632a36b8f72c9548b10b856` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x0cd3f3ee9420f9c3b2e70862996e8d02e87d1f148632a36b8f72c9548b10b856` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x10876da12e1227a2c04872ce311f768aaf3e21458e6ad1c04f044c97fe8e214e` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x10876da12e1227a2c04872ce311f768aaf3e21458e6ad1c04f044c97fe8e214e` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x10b360a66313de6ab2d43019c5fd7ea0db088efb3e1d4a24d89775e66e089cff` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x10b360a66313de6ab2d43019c5fd7ea0db088efb3e1d4a24d89775e66e089cff` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x16d33ce142442dfbe857e2c9e0648d026c6bb367d467d6922c2c1133aaa3d7b8` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x16d33ce142442dfbe857e2c9e0648d026c6bb367d467d6922c2c1133aaa3d7b8` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x16e133fb9e42d5a2a9a2e21b2e0efd735fccb527162a21cf520c3aecd84c89ed` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x16e133fb9e42d5a2a9a2e21b2e0efd735fccb527162a21cf520c3aecd84c89ed` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x16fcb5e799a48fa04deaaaa71c85bc8e9126bd4b5dbcb3a1f8068ab14bc1c26f` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x16fcb5e799a48fa04deaaaa71c85bc8e9126bd4b5dbcb3a1f8068ab14bc1c26f` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x1b3289127bc95ed117e77d479ccd3ac4477ef8d32df7265bbd42c75bf1945464` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x1b3289127bc95ed117e77d479ccd3ac4477ef8d32df7265bbd42c75bf1945464` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x1ecb14235f21b57f49e32ac4f35a1af6a71f96867f0bc61bc5905b8d437b6bde` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x1ecb14235f21b57f49e32ac4f35a1af6a71f96867f0bc61bc5905b8d437b6bde` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x1f8b0dafc67f9d378cf0596c5d49f220e5880b9c74ccaadac2206a35ec92715a` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x1f8b0dafc67f9d378cf0596c5d49f220e5880b9c74ccaadac2206a35ec92715a` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x24a8d9c362d9365f46f899adb37f6b61134dceaa80f96a9cda6b059a1301f380` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x24a8d9c362d9365f46f899adb37f6b61134dceaa80f96a9cda6b059a1301f380` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x2a00fca93dceceb635a80a95e8f785b189a4ce35f90a17acba5d1bcacf895a84` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x2a00fca93dceceb635a80a95e8f785b189a4ce35f90a17acba5d1bcacf895a84` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x2b318def38ef5f2f8db787e365834ece79fbde70c22cf7bd6c9326995fd4c07f` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x2b318def38ef5f2f8db787e365834ece79fbde70c22cf7bd6c9326995fd4c07f` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x2fbeff7b90831a847716e729a30f028899726193b4406a1c91fce4e97beb61b5` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x2fbeff7b90831a847716e729a30f028899726193b4406a1c91fce4e97beb61b5` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x30dc983a9ad263028d0e91a8a0cf703a2a7fd3834b1102f1ff3f8c8876a207bf` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x30dc983a9ad263028d0e91a8a0cf703a2a7fd3834b1102f1ff3f8c8876a207bf` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x3187d0cdac28db7ec343a07f0b2e44fc56986f0a9c2062d5fa60f99419707bea` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x3187d0cdac28db7ec343a07f0b2e44fc56986f0a9c2062d5fa60f99419707bea` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x3596cd6b45e209629c71765c804f324ed440f7a1cb2ff6cb542156fd5d213de2` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x3596cd6b45e209629c71765c804f324ed440f7a1cb2ff6cb542156fd5d213de2` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x3645890bd8ab0cc13921468d56eee7da40fbe28dc05bc30a64f05a2c03a1912e` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x3645890bd8ab0cc13921468d56eee7da40fbe28dc05bc30a64f05a2c03a1912e` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x384b604969634cf37d988e886b5267a51baeb797e09a1d1a0893e5be8fc553df` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x384b604969634cf37d988e886b5267a51baeb797e09a1d1a0893e5be8fc553df` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x3c056a888ea28c9294c91723916f5891141a824048335e32532e6605ce0457e0` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x3c056a888ea28c9294c91723916f5891141a824048335e32532e6605ce0457e0` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x3c5fd1d5c95885c6b44e0f3995886046d906821de1ed5ee95b51b17c42d3295b` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x3c5fd1d5c95885c6b44e0f3995886046d906821de1ed5ee95b51b17c42d3295b` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x3e74dfe3befcf6fa20eb902c2007ba7fd831619013aa99e016284597b896115b` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x3e74dfe3befcf6fa20eb902c2007ba7fd831619013aa99e016284597b896115b` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x42f1cff854d41b18ae379b012a1e712f036bcd839244d5c6324f12c28f6fd6e9` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x42f1cff854d41b18ae379b012a1e712f036bcd839244d5c6324f12c28f6fd6e9` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x457803d743c32f50866dbf7aabb339a1d8b6b759783b0627128f0cfd3d6c8775` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x457803d743c32f50866dbf7aabb339a1d8b6b759783b0627128f0cfd3d6c8775` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x4cb17fd2f1d1b2eff69f0ffa1a97ff13e7bf4f05a7a99dd06e503e7546b23906` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x4cb17fd2f1d1b2eff69f0ffa1a97ff13e7bf4f05a7a99dd06e503e7546b23906` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x58357c4f5a9881658ffc42faa5f48e2810169bf85c8c78011696a17b59728ef5` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x58357c4f5a9881658ffc42faa5f48e2810169bf85c8c78011696a17b59728ef5` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x5baa983aa91ad92c66e17d16e0757ec4a67ec2ce5b95f4d02ec22fba0e485da0` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x5baa983aa91ad92c66e17d16e0757ec4a67ec2ce5b95f4d02ec22fba0e485da0` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x5da83d0712f41714545470b781e0a43c65a0ac977327475baa98b5cd94938f17` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x5da83d0712f41714545470b781e0a43c65a0ac977327475baa98b5cd94938f17` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x6365aeecd6b54d3166f3df46d8c7b404711ca54b4284e8faf67eb014fa3685f8` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x6365aeecd6b54d3166f3df46d8c7b404711ca54b4284e8faf67eb014fa3685f8` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x683b74d821a8019cbfc9dbe47b50b0f377e0eef16dbc52f7f931ae713fd3f644` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x683b74d821a8019cbfc9dbe47b50b0f377e0eef16dbc52f7f931ae713fd3f644` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x6b02568ad8557dc3d66463abfd1d7f298a0b314fe4bf7d5be79b66768096ed90` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x6b02568ad8557dc3d66463abfd1d7f298a0b314fe4bf7d5be79b66768096ed90` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x6b05c068aecc171915a61cf59146e7f9a69b9bba39f4df50cecfeb454850b4c9` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x6b05c068aecc171915a61cf59146e7f9a69b9bba39f4df50cecfeb454850b4c9` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x6b5529ac614dcbd6113176256a4f5809eb667bddab2e22579306de0a1f83f287` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x6b5529ac614dcbd6113176256a4f5809eb667bddab2e22579306de0a1f83f287` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x6cd1381490331969f37f1e6575081f42f1bd8ae0cc79d70fc52ed178b5d75bd0` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x6cd1381490331969f37f1e6575081f42f1bd8ae0cc79d70fc52ed178b5d75bd0` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x6f5b021a9f57d7669ed7269e7d8785acf255f15785bf452a03a4decc184fd403` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x6f5b021a9f57d7669ed7269e7d8785acf255f15785bf452a03a4decc184fd403` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x764bac7888f79c071087d351a356a09cb2490cb6ea6d71f0cd391de89a885cd2` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x764bac7888f79c071087d351a356a09cb2490cb6ea6d71f0cd391de89a885cd2` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x7aedb653a5de5739b9d3594196693fd51653fcd59b442e0eb9f64265db188044` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7aedb653a5de5739b9d3594196693fd51653fcd59b442e0eb9f64265db188044` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x7ca04bdeb932896fd908eb86d4136e9e2462575ebdf981001c1cd3ca6a2faaec` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7ca04bdeb932896fd908eb86d4136e9e2462575ebdf981001c1cd3ca6a2faaec` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x7ceee738f5af899bd2f967a928019e4a0ecb8715509668dcc039badfe148b45e` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7ceee738f5af899bd2f967a928019e4a0ecb8715509668dcc039badfe148b45e` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x7e700ce9c411e35485babec60c2b68f40c512bc8399c5cee0c1e4264e63f36d1` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7e700ce9c411e35485babec60c2b68f40c512bc8399c5cee0c1e4264e63f36d1` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x80c020f2e70a170ee2f34af3daeda4c2097d14a35f5b1f2d23c2287e5e930f55` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x80c020f2e70a170ee2f34af3daeda4c2097d14a35f5b1f2d23c2287e5e930f55` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x8101d04cf92ee55f6c2a798c7b16da4cc8c511fd822b13093d0f53f5523718d0` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x8101d04cf92ee55f6c2a798c7b16da4cc8c511fd822b13093d0f53f5523718d0` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x85172de32d6b5871235d50648541b1bd007807512231f9b81f25cb5e20141820` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x85172de32d6b5871235d50648541b1bd007807512231f9b81f25cb5e20141820` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x85e9ccd05d28607dcce0dc5be4f34a7d56d3b83b6c63162b2787fc0e6decf2a7` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x85e9ccd05d28607dcce0dc5be4f34a7d56d3b83b6c63162b2787fc0e6decf2a7` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x87b3d065618080e576b534cf68b60d09c4cca0b71a8b6321337cc23be47e7329` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x87b3d065618080e576b534cf68b60d09c4cca0b71a8b6321337cc23be47e7329` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x892ec564231143cc6294a8750b924df2207d91ea3508501d2bd84bee7947b9d0` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x892ec564231143cc6294a8750b924df2207d91ea3508501d2bd84bee7947b9d0` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x8980988eacf42b40c4fc8aa995ae2e059a66c6935626c3e30f1d6842335368d0` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x8980988eacf42b40c4fc8aa995ae2e059a66c6935626c3e30f1d6842335368d0` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x8db2380506697daa88c7a72906d747535ffb12c0ca2a4a6443074bb0fdd8f256` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x8db2380506697daa88c7a72906d747535ffb12c0ca2a4a6443074bb0fdd8f256` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x8e098b9b896a97df275aba887f591c3076220e02adf682c98808e4ba53e6a773` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x8e098b9b896a97df275aba887f591c3076220e02adf682c98808e4ba53e6a773` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x8e590007efc113bc10a61c478d26803cdae5572d4c70547b3c9813b3ce396826` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x8e590007efc113bc10a61c478d26803cdae5572d4c70547b3c9813b3ce396826` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x96e31df89b1f00b96c993bd9de31e32e7e59c0a185cd0b31adc4e969746c8ea6` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x96e31df89b1f00b96c993bd9de31e32e7e59c0a185cd0b31adc4e969746c8ea6` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x9ae7305289647b636a8702b2316e5482f1a807fa398687068fb653527368f9bc` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x9ae7305289647b636a8702b2316e5482f1a807fa398687068fb653527368f9bc` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x9b9660b6fc1992a09573eaa9110c4a08d40c1f439304a47b9776645bc278fc75` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x9b9660b6fc1992a09573eaa9110c4a08d40c1f439304a47b9776645bc278fc75` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xa04f2ef3bb509dfec9d7a97c4778ab2e477af9c5cbda3a1c6e57514314a3f9a5` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xa04f2ef3bb509dfec9d7a97c4778ab2e477af9c5cbda3a1c6e57514314a3f9a5` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xa16d64c1e08b47144c2c8e37872486cf440dda823e2ea05f480fedfe83060f17` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xa16d64c1e08b47144c2c8e37872486cf440dda823e2ea05f480fedfe83060f17` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xa4ad0a32c2781a59ea8a6d58e26fa7dc0b2a08f8c4c938661f5f3ccd8f8eb8ce` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xa4ad0a32c2781a59ea8a6d58e26fa7dc0b2a08f8c4c938661f5f3ccd8f8eb8ce` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xab9797fb6926376ee3b6be73e5501e0a3af18d0bc6dfca0d3b5f498602016956` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xab9797fb6926376ee3b6be73e5501e0a3af18d0bc6dfca0d3b5f498602016956` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xac4d9f6628449fe129d24b384441fdb445962d2d6bca7603fea0c20f3d04351c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xac4d9f6628449fe129d24b384441fdb445962d2d6bca7603fea0c20f3d04351c` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xafecb421bedaa0f8bd89ef18897b77ce61738af42f8a66e3257a079a3d04bef1` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xafecb421bedaa0f8bd89ef18897b77ce61738af42f8a66e3257a079a3d04bef1` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xb292dc48cc1057cce335f1d84f295271a2b16aee7018f1bd444febd77f7e5cbb` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xb292dc48cc1057cce335f1d84f295271a2b16aee7018f1bd444febd77f7e5cbb` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xb48b9d9955158dbd87abb433511a5968c21cf78f8085088407e24d6ee26f7f56` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xb48b9d9955158dbd87abb433511a5968c21cf78f8085088407e24d6ee26f7f56` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xb5a7df612d6fb3bc16c1716414897ba5928835d883003371f02106d5a92abd78` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xb5a7df612d6fb3bc16c1716414897ba5928835d883003371f02106d5a92abd78` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xb684abf2ee5018a16a8dbef6633bcb94a07a2cdf4a173e4fec130da86e8ab987` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xb684abf2ee5018a16a8dbef6633bcb94a07a2cdf4a173e4fec130da86e8ab987` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xb86c8391d2a3eb28b9e3b603cf6929849d50e439e0bbc79781b2555f9cbaa013` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xb86c8391d2a3eb28b9e3b603cf6929849d50e439e0bbc79781b2555f9cbaa013` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xba070ba6cf5f2489f98b6841d238eee4fc403d3065b57f9e3e38ca540971024d` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xba070ba6cf5f2489f98b6841d238eee4fc403d3065b57f9e3e38ca540971024d` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xbcb96e5fc092d3ac258a81b5390671817730859598470874ef02f998518bbf58` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xbcb96e5fc092d3ac258a81b5390671817730859598470874ef02f998518bbf58` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xc008db6f6d721d80fab2eab8b6dda4f19bd5def30aa7db86dadd6eb799c2f5ad` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xc008db6f6d721d80fab2eab8b6dda4f19bd5def30aa7db86dadd6eb799c2f5ad` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xc054c4045e44e28cef1884c0aa86d0049b76eaff493a6d694394df7b0cee8136` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xc054c4045e44e28cef1884c0aa86d0049b76eaff493a6d694394df7b0cee8136` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xc315216d50f4dd95914d6d102976dc09ec4474da5c314a15f09972ded6e71ddb` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xc315216d50f4dd95914d6d102976dc09ec4474da5c314a15f09972ded6e71ddb` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xc4a2c3fa3cc7ed1611651510eb6e225abab30676f0fad28c115482c7dd61f8e0` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xc4a2c3fa3cc7ed1611651510eb6e225abab30676f0fad28c115482c7dd61f8e0` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xc6cc01d59d3c86a1c12a167e149d784295fcd13862e4afb0a39a8459e6e25561` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xc6cc01d59d3c86a1c12a167e149d784295fcd13862e4afb0a39a8459e6e25561` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xc712d8fa08dd521e5f901ca6d36134807c5ec0510e3b52e8ae5a15f7c13d2ebd` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xc712d8fa08dd521e5f901ca6d36134807c5ec0510e3b52e8ae5a15f7c13d2ebd` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xc7e2bc91ff1b307f6995683b76f1904ccdada3cf8f00528c08d4f65911c4888a` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xc7e2bc91ff1b307f6995683b76f1904ccdada3cf8f00528c08d4f65911c4888a` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xccbca45304d59a1167eaf9b459e09cffce3d90c087ee9edf8e7e2dc40349373b` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xccbca45304d59a1167eaf9b459e09cffce3d90c087ee9edf8e7e2dc40349373b` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xccc17a821dda11e5239ea8dbedee5bd6622fc8dd63ee229fc3bd2dead22e8ae2` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xccc17a821dda11e5239ea8dbedee5bd6622fc8dd63ee229fc3bd2dead22e8ae2` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xccee04c4c0534d4245892ed24d7814cd14a41aeed7e94591354315f5b74d89f5` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xccee04c4c0534d4245892ed24d7814cd14a41aeed7e94591354315f5b74d89f5` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xcf67e9890d936f6bd205710c9a5cedc653d88fba3c74b7a2b9fe8ce7fce0bd0c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xcf67e9890d936f6bd205710c9a5cedc653d88fba3c74b7a2b9fe8ce7fce0bd0c` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xcfdb7c67ada01beee8308b04c3f32e4c078603d0c84c0e28e605a8ea56dcc362` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xcfdb7c67ada01beee8308b04c3f32e4c078603d0c84c0e28e605a8ea56dcc362` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xd0d54b0c405fea6ff90809070bfd270c88e9a26ad83138eeb077d8f9602670bc` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xd0d54b0c405fea6ff90809070bfd270c88e9a26ad83138eeb077d8f9602670bc` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xd1d4eefa482f2ece90773426cd76c1da272ef0e72c1172a4a71b84c1f5f6c7c7` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xd1d4eefa482f2ece90773426cd76c1da272ef0e72c1172a4a71b84c1f5f6c7c7` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xd282fcd4ae056e61acbc8950a306910569f227182c41e5b88159aed160ba2a58` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xd282fcd4ae056e61acbc8950a306910569f227182c41e5b88159aed160ba2a58` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xd37f5ea81d5d617ed7490c928e4f3a1eba6f234787ba84f31e204e8733cd039f` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xd37f5ea81d5d617ed7490c928e4f3a1eba6f234787ba84f31e204e8733cd039f` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xd6780cc86f71e3b9d0f0f6977d180e26166b517ee3ee227701f9f36cccae3171` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xd6780cc86f71e3b9d0f0f6977d180e26166b517ee3ee227701f9f36cccae3171` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xd79237f18c61e22111652b0e9b809fbe8ca41552b3a927877a294a732b338f63` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xd79237f18c61e22111652b0e9b809fbe8ca41552b3a927877a294a732b338f63` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xd8825b3a03921d36a1543c344d9b3cacce95765f29c735cf3ed72dc9c37ff81b` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xd8825b3a03921d36a1543c344d9b3cacce95765f29c735cf3ed72dc9c37ff81b` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xdd012b8629cc16d3ad36b73df7dd7d38e8c11ac479b99dedffb10b5007c8049a` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xdd012b8629cc16d3ad36b73df7dd7d38e8c11ac479b99dedffb10b5007c8049a` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xdec56d85d6fffd793180a2ce033397f67fb3b9b7ac3e2b0ef6be2f15e7de435f` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xdec56d85d6fffd793180a2ce033397f67fb3b9b7ac3e2b0ef6be2f15e7de435f` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xe1f270fea944a3a9db5550d742e3acb3dd449cafb73dce65c1705d0752c1343b` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xe1f270fea944a3a9db5550d742e3acb3dd449cafb73dce65c1705d0752c1343b` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xe4002351550f1b106219729b86aa4776fb907737c9cd7e957c5ce80062a8ff8a` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xe4002351550f1b106219729b86aa4776fb907737c9cd7e957c5ce80062a8ff8a` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xe45f26671be0fb4144ed09c40b9493c4584affb2c1d1fe6cb067aa2df802027e` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xe45f26671be0fb4144ed09c40b9493c4584affb2c1d1fe6cb067aa2df802027e` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xe6b4a4991b976360dacf2c942d16326dd53584aca6ed1ae4e78f668d7b1163c1` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xe6b4a4991b976360dacf2c942d16326dd53584aca6ed1ae4e78f668d7b1163c1` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xe8150db238f56576dcf5e1b98f3915361092aa174b16e6cda3e78c28b6444dc8` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xe8150db238f56576dcf5e1b98f3915361092aa174b16e6cda3e78c28b6444dc8` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xebc5f1d9670cdeb0655d79e95c9602ec1d85ad989ce78194dfd1a31e9fb4994c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xebc5f1d9670cdeb0655d79e95c9602ec1d85ad989ce78194dfd1a31e9fb4994c` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xed0df01311d268fc75f0da4859b6508e1c445e713847efbc18528d731316cf48` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xed0df01311d268fc75f0da4859b6508e1c445e713847efbc18528d731316cf48` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xee60c64e1e32117f948ee71d391f978e8ac98c2bd869322fc25164502e3f7a9b` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xee60c64e1e32117f948ee71d391f978e8ac98c2bd869322fc25164502e3f7a9b` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xf7e4b8a5415405a940e730546df85583c8c23956d99a3be18e09eebf3639d312` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xf7e4b8a5415405a940e730546df85583c8c23956d99a3be18e09eebf3639d312` (r:1 w:1) fn evict_anchors() -> Weight { // Proof Size summary in bytes: - // Measured: `18324` + // Measured: `18325` // Estimated: `254990` - // Minimum execution time: 1_962_944_000 picoseconds. - Weight::from_parts(1_983_843_000, 0) + // Minimum execution time: 2_020_935_000 picoseconds. + Weight::from_parts(2_047_634_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 ca65ff4d9b..bf342fa632 100644 --- a/runtime/centrifuge/src/weights/pallet_balances.rs +++ b/runtime/centrifuge/src/weights/pallet_balances.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_balances` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_balances // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_balances.rs @@ -32,108 +31,112 @@ use core::marker::PhantomData; /// Weight functions for `pallet_balances`. pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_allow_death() -> Weight { // Proof Size summary in bytes: // Measured: `52` // Estimated: `3593` - // Minimum execution time: 86_902_000 picoseconds. - Weight::from_parts(87_693_000, 0) + // Minimum execution time: 72_405_000 picoseconds. + Weight::from_parts(73_437_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: // Measured: `52` // Estimated: `3593` - // Minimum execution time: 65_372_000 picoseconds. - Weight::from_parts(66_354_000, 0) + // Minimum execution time: 56_827_000 picoseconds. + Weight::from_parts(58_238_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_set_balance_creating() -> Weight { // Proof Size summary in bytes: // Measured: `245` // Estimated: `3593` - // Minimum execution time: 24_876_000 picoseconds. - Weight::from_parts(25_698_000, 0) + // Minimum execution time: 20_999_000 picoseconds. + Weight::from_parts(21_651_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_set_balance_killing() -> Weight { // Proof Size summary in bytes: // Measured: `245` // Estimated: `3593` - // Minimum execution time: 37_049_000 picoseconds. - Weight::from_parts(37_640_000, 0) + // Minimum execution time: 28_343_000 picoseconds. + Weight::from_parts(29_054_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `192` // Estimated: `6196` - // Minimum execution time: 90_669_000 picoseconds. - Weight::from_parts(91_962_000, 0) + // Minimum execution time: 75_261_000 picoseconds. + Weight::from_parts(76_302_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_all() -> Weight { // Proof Size summary in bytes: // Measured: `52` // Estimated: `3593` - // Minimum execution time: 82_043_000 picoseconds. - Weight::from_parts(82_975_000, 0) + // Minimum execution time: 71_503_000 picoseconds. + Weight::from_parts(73_437_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_unreserve() -> Weight { // Proof Size summary in bytes: // Measured: `245` // Estimated: `3593` - // Minimum execution time: 29_435_000 picoseconds. - Weight::from_parts(29_926_000, 0) + // Minimum execution time: 25_337_000 picoseconds. + Weight::from_parts(26_099_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:999 w:999) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:999 w:999) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `u` is `[1, 1000]`. fn upgrade_accounts(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `176 + u * (136 ±0)` + // Measured: `143 + u * (136 ±0)` // Estimated: `990 + u * (2603 ±0)` - // Minimum execution time: 26_910_000 picoseconds. - Weight::from_parts(27_420_000, 0) + // Minimum execution time: 23_484_000 picoseconds. + Weight::from_parts(23_684_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 13_954 - .saturating_add(Weight::from_parts(21_783_728, 0).saturating_mul(u.into())) + // Standard Error: 12_704 + .saturating_add(Weight::from_parts(19_776_076, 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())) } - - fn force_adjust_total_issuance() -> Weight { - Weight::zero() - } + fn force_adjust_total_issuance() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 8_776_000 picoseconds. + Weight::from_parts(9_267_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } } diff --git a/runtime/centrifuge/src/weights/pallet_block_rewards.rs b/runtime/centrifuge/src/weights/pallet_block_rewards.rs index 20531c4e25..58029e5e99 100644 --- a/runtime/centrifuge/src/weights/pallet_block_rewards.rs +++ b/runtime/centrifuge/src/weights/pallet_block_rewards.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_block_rewards` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_block_rewards // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_block_rewards.rs @@ -32,44 +31,44 @@ use core::marker::PhantomData; /// Weight functions for `pallet_block_rewards`. pub struct WeightInfo(PhantomData); impl pallet_block_rewards::WeightInfo for WeightInfo { - /// Storage: BlockRewardsBase Currency (r:1 w:0) - /// Proof: BlockRewardsBase Currency (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: BlockRewardsBase Group (r:1 w:0) - /// Proof: BlockRewardsBase Group (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - /// Storage: BlockRewardsBase StakeAccount (r:1 w:1) - /// Proof: BlockRewardsBase StakeAccount (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `BlockRewardsBase::Currency` (r:1 w:0) + /// Proof: `BlockRewardsBase::Currency` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `BlockRewardsBase::Group` (r:1 w:0) + /// Proof: `BlockRewardsBase::Group` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `BlockRewardsBase::StakeAccount` (r:1 w:1) + /// Proof: `BlockRewardsBase::StakeAccount` (`max_values`: None, `max_size`: Some(123), added: 2598, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn claim_reward() -> Weight { // Proof Size summary in bytes: - // Measured: `583` + // Measured: `516` // Estimated: `6196` - // Minimum execution time: 87_612_000 picoseconds. - Weight::from_parts(89_607_000, 0) + // Minimum execution time: 84_087_000 picoseconds. + Weight::from_parts(85_410_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: BlockRewards NextSessionChanges (r:1 w:1) - /// Proof: BlockRewards NextSessionChanges (max_values: Some(1), max_size: Some(2097), added: 2592, mode: MaxEncodedLen) + /// Storage: `BlockRewards::NextSessionChanges` (r:1 w:1) + /// Proof: `BlockRewards::NextSessionChanges` (`max_values`: Some(1), `max_size`: Some(2097), added: 2592, mode: `MaxEncodedLen`) fn set_collator_reward_per_session() -> Weight { // Proof Size summary in bytes: // Measured: `41` // Estimated: `3582` - // Minimum execution time: 8_486_000 picoseconds. - Weight::from_parts(8_876_000, 0) + // Minimum execution time: 6_502_000 picoseconds. + Weight::from_parts(6_702_000, 0) .saturating_add(Weight::from_parts(0, 3582)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BlockRewards NextSessionChanges (r:1 w:1) - /// Proof: BlockRewards NextSessionChanges (max_values: Some(1), max_size: Some(2097), added: 2592, mode: MaxEncodedLen) + /// Storage: `BlockRewards::NextSessionChanges` (r:1 w:1) + /// Proof: `BlockRewards::NextSessionChanges` (`max_values`: Some(1), `max_size`: Some(2097), added: 2592, mode: `MaxEncodedLen`) fn set_annual_treasury_inflation_rate() -> Weight { // Proof Size summary in bytes: // Measured: `41` // Estimated: `3582` - // Minimum execution time: 8_455_000 picoseconds. - Weight::from_parts(8_797_000, 0) + // Minimum execution time: 6_442_000 picoseconds. + Weight::from_parts(6_662_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 aff5eb5ae8..9d2f9f754f 100644 --- a/runtime/centrifuge/src/weights/pallet_collator_allowlist.rs +++ b/runtime/centrifuge/src/weights/pallet_collator_allowlist.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_collator_allowlist` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_collator_allowlist // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_collator_allowlist.rs @@ -32,28 +31,28 @@ use core::marker::PhantomData; /// Weight functions for `pallet_collator_allowlist`. pub struct WeightInfo(PhantomData); impl pallet_collator_allowlist::WeightInfo for WeightInfo { - /// Storage: Session NextKeys (r:1 w:0) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: CollatorAllowlist Allowlist (r:1 w:1) - /// Proof: CollatorAllowlist Allowlist (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) + /// Storage: `Session::NextKeys` (r:1 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorAllowlist::Allowlist` (r:1 w:1) + /// Proof: `CollatorAllowlist::Allowlist` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) fn add() -> Weight { // Proof Size summary in bytes: - // Measured: `557` - // Estimated: `4022` - // Minimum execution time: 25_628_000 picoseconds. - Weight::from_parts(26_609_000, 0) - .saturating_add(Weight::from_parts(0, 4022)) + // Measured: `485` + // Estimated: `3950` + // Minimum execution time: 20_959_000 picoseconds. + Weight::from_parts(21_520_000, 0) + .saturating_add(Weight::from_parts(0, 3950)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: CollatorAllowlist Allowlist (r:1 w:1) - /// Proof: CollatorAllowlist Allowlist (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) + /// Storage: `CollatorAllowlist::Allowlist` (r:1 w:1) + /// Proof: `CollatorAllowlist::Allowlist` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) fn remove() -> Weight { // Proof Size summary in bytes: // Measured: `265` // Estimated: `3497` - // Minimum execution time: 19_285_000 picoseconds. - Weight::from_parts(19_817_000, 0) + // Minimum execution time: 15_138_000 picoseconds. + Weight::from_parts(15_690_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 f807c0fea8..80aad763c5 100644 --- a/runtime/centrifuge/src/weights/pallet_collator_selection.rs +++ b/runtime/centrifuge/src/weights/pallet_collator_selection.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_collator_selection` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_collator_selection // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_collator_selection.rs @@ -32,160 +31,251 @@ use core::marker::PhantomData; /// Weight functions for `pallet_collator_selection`. pub struct WeightInfo(PhantomData); impl pallet_collator_selection::WeightInfo for WeightInfo { - /// Storage: CollatorAllowlist Allowlist (r:100 w:0) - /// Proof: CollatorAllowlist Allowlist (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) - /// Storage: Session NextKeys (r:100 w:0) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: CollatorSelection Invulnerables (r:0 w:1) - /// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) + /// Storage: `CollatorAllowlist::Allowlist` (r:100 w:0) + /// Proof: `CollatorAllowlist::Allowlist` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) + /// Storage: `Session::NextKeys` (r:100 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::Invulnerables` (r:0 w:1) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// The range of component `b` is `[1, 100]`. /// The range of component `b` is `[1, 100]`. fn set_invulnerables(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `499 + b * (112 ±0)` - // Estimated: `1486 + b * (2588 ±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_725 - .saturating_add(Weight::from_parts(5_923_329, 0).saturating_mul(b.into())) + // Measured: `426 + b * (112 ±0)` + // Estimated: `1415 + b * (2588 ±0)` + // Minimum execution time: 21_761_000 picoseconds. + Weight::from_parts(18_325_667, 0) + .saturating_add(Weight::from_parts(0, 1415)) + // Standard Error: 2_818 + .saturating_add(Weight::from_parts(6_395_759, 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())) } - /// Storage: CollatorSelection DesiredCandidates (r:0 w:1) - /// Proof: CollatorSelection DesiredCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: `CollatorAllowlist::Allowlist` (r:1 w:0) + /// Proof: `CollatorAllowlist::Allowlist` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) + /// Storage: `Session::NextKeys` (r:1 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:1) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::CandidateList` (r:1 w:1) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `b` is `[1, 99]`. + /// The range of component `c` is `[1, 19]`. + /// The range of component `b` is `[1, 99]`. + /// The range of component `c` is `[1, 19]`. + fn add_invulnerable(b: u32, c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `1306 + b * (37 ±0) + c * (48 ±0)` + // Estimated: `4726 + b * (37 ±0) + c * (53 ±0)` + // Minimum execution time: 59_742_000 picoseconds. + Weight::from_parts(60_284_422, 0) + .saturating_add(Weight::from_parts(0, 4726)) + // Standard Error: 460 + .saturating_add(Weight::from_parts(96_883, 0).saturating_mul(b.into())) + // Standard Error: 2_428 + .saturating_add(Weight::from_parts(90_127, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 37).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 53).saturating_mul(c.into())) + } + /// Storage: `CollatorSelection::CandidateList` (r:1 w:0) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:1) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// The range of component `b` is `[6, 100]`. + /// The range of component `b` is `[6, 100]`. + fn remove_invulnerable(b: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `285 + b * (32 ±0)` + // Estimated: `4687` + // Minimum execution time: 15_498_000 picoseconds. + Weight::from_parts(16_316_216, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 286 + .saturating_add(Weight::from_parts(61_407, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `CollatorSelection::DesiredCandidates` (r:0 w:1) + /// Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn set_desired_candidates() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_977_000 picoseconds. - Weight::from_parts(14_647_000, 0) + // Minimum execution time: 6_773_000 picoseconds. + Weight::from_parts(7_183_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: CollatorSelection CandidacyBond (r:0 w:1) - /// Proof: CollatorSelection CandidacyBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - fn set_candidacy_bond(_: u32, _: u32) -> Weight { + /// Storage: `CollatorSelection::CandidacyBond` (r:1 w:1) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::CandidateList` (r:1 w:1) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:20 w:20) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:20) + /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// The range of component `c` is `[0, 20]`. + /// The range of component `k` is `[0, 20]`. + /// The range of component `c` is `[0, 20]`. + /// The range of component `k` is `[0, 20]`. + fn set_candidacy_bond(c: u32, k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 10_489_000 picoseconds. - Weight::from_parts(10_960_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Measured: `0 + c * (201 ±0) + k * (152 ±0)` + // Estimated: `3593 + c * (848 ±15) + k * (848 ±15)` + // Minimum execution time: 13_064_000 picoseconds. + Weight::from_parts(13_555_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) + // Standard Error: 112_406 + .saturating_add(Weight::from_parts(7_553_928, 0).saturating_mul(c.into())) + // Standard Error: 112_406 + .saturating_add(Weight::from_parts(7_323_334, 0).saturating_mul(k.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(c.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) + .saturating_add(Weight::from_parts(0, 848).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 848).saturating_mul(k.into())) + } + /// Storage: `CollatorSelection::CandidacyBond` (r:1 w:0) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::CandidateList` (r:1 w:1) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// The range of component `c` is `[5, 20]`. + /// The range of component `c` is `[5, 20]`. + fn update_bond(c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `529 + c * (48 ±0)` + // Estimated: `2446` + // Minimum execution time: 33_843_000 picoseconds. + Weight::from_parts(35_210_680, 0) + .saturating_add(Weight::from_parts(0, 2446)) + // Standard Error: 2_477 + .saturating_add(Weight::from_parts(89_870, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: CollatorSelection Candidates (r:1 w:1) - /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(961), added: 1456, mode: MaxEncodedLen) - /// Storage: CollatorSelection DesiredCandidates (r:1 w:0) - /// Proof: CollatorSelection DesiredCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: CollatorSelection Invulnerables (r:1 w:0) - /// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: CollatorAllowlist Allowlist (r:1 w:0) - /// Proof: CollatorAllowlist Allowlist (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) - /// Storage: Session NextKeys (r:1 w:0) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: CollatorSelection CandidacyBond (r:1 w:0) - /// Proof: CollatorSelection CandidacyBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) - /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) + /// Storage: `CollatorSelection::CandidateList` (r:1 w:1) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `CollatorAllowlist::Allowlist` (r:1 w:0) + /// Proof: `CollatorAllowlist::Allowlist` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) + /// Storage: `Session::NextKeys` (r:1 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::CandidacyBond` (r:1 w:0) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// 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 `[1, 19]`. /// The range of component `c` is `[1, 19]`. fn register_as_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1068 + c * (59 ±0)` - // Estimated: `4687 + c * (60 ±0)` - // Minimum execution time: 65_722_000 picoseconds. - Weight::from_parts(67_761_452, 0) + // Measured: `925 + c * (61 ±0)` + // Estimated: `4687 + c * (62 ±0)` + // Minimum execution time: 53_069_000 picoseconds. + Weight::from_parts(54_800_265, 0) .saturating_add(Weight::from_parts(0, 4687)) - // Standard Error: 1_753 - .saturating_add(Weight::from_parts(236_704, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(6)) + // Standard Error: 1_793 + .saturating_add(Weight::from_parts(300_153, 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, 60).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 62).saturating_mul(c.into())) + } + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::CandidacyBond` (r:1 w:0) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `CollatorAllowlist::Allowlist` (r:1 w:0) + /// Proof: `CollatorAllowlist::Allowlist` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) + /// Storage: `Session::NextKeys` (r:1 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::CandidateList` (r:1 w:1) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:2) + /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// The range of component `c` is `[5, 20]`. + /// The range of component `c` is `[5, 20]`. + fn take_candidate_slot(c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `1017 + c * (62 ±0)` + // Estimated: `4687 + c * (62 ±0)` + // Minimum execution time: 75_732_000 picoseconds. + Weight::from_parts(76_168_356, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 2_715 + .saturating_add(Weight::from_parts(286_388, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(Weight::from_parts(0, 62).saturating_mul(c.into())) } - /// Storage: CollatorSelection Candidates (r:1 w:1) - /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(961), added: 1456, mode: MaxEncodedLen) - /// 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]`. - /// The range of component `c` is `[6, 20]`. + /// Storage: `CollatorSelection::CandidateList` (r:1 w:1) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// 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 `[5, 20]`. + /// The range of component `c` is `[5, 20]`. fn leave_intent(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `549 + c * (44 ±0)` - // Estimated: `2446` - // Minimum execution time: 45_785_000 picoseconds. - Weight::from_parts(47_151_459, 0) - .saturating_add(Weight::from_parts(0, 2446)) - // Standard Error: 2_758 - .saturating_add(Weight::from_parts(89_087, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Measured: `476 + c * (48 ±0)` + // Estimated: `4687` + // Minimum execution time: 39_313_000 picoseconds. + Weight::from_parts(40_269_388, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 1_755 + .saturating_add(Weight::from_parts(149_791, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: System BlockWeight (r:1 w:1) - /// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) - /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) - /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1) + /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) fn note_author() -> Weight { // Proof Size summary in bytes: - // Measured: `195` + // Measured: `192` // Estimated: `6196` - // Minimum execution time: 72_164_000 picoseconds. - Weight::from_parts(73_597_000, 0) + // Minimum execution time: 60_223_000 picoseconds. + Weight::from_parts(61_394_000, 0) .saturating_add(Weight::from_parts(0, 6196)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: CollatorSelection Candidates (r:1 w:0) - /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(961), added: 1456, mode: MaxEncodedLen) - /// Storage: CollatorSelection LastAuthoredBlock (r:20 w:0) - /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: CollatorSelection Invulnerables (r:1 w:0) - /// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: System BlockWeight (r:1 w:1) - /// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) - /// Storage: System Account (r:15 w:15) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `CollatorSelection::CandidateList` (r:1 w:0) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::LastAuthoredBlock` (r:20 w:0) + /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::DesiredCandidates` (r:1 w:0) + /// Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:16 w:16) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `c` is `[1, 20]`. /// The range of component `r` is `[1, 20]`. /// The range of component `c` is `[1, 20]`. fn new_session(r: u32, c: u32, ) -> Weight { // 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_227_000 picoseconds. - Weight::from_parts(25_828_000, 0) - .saturating_add(Weight::from_parts(0, 7019778708211172)) - // Standard Error: 224_935 - .saturating_add(Weight::from_parts(17_932_306, 0).saturating_mul(c.into())) + // Measured: `416 + c * (98 ±0) + r * (154 ±0)` + // Estimated: `3962574101370078 + c * (2519 ±0) + r * (2393 ±6)` + // Minimum execution time: 25_678_000 picoseconds. + Weight::from_parts(26_419_000, 0) + .saturating_add(Weight::from_parts(0, 3962574101370078)) + // Standard Error: 178_336 + .saturating_add(Weight::from_parts(16_618_722, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2519).saturating_mul(c.into())) - .saturating_add(Weight::from_parts(0, 2259).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2393).saturating_mul(r.into())) } - - fn add_invulnerable(_: u32, _: u32) -> Weight { - // Pending to generate - Weight::default() - } - - fn remove_invulnerable(_: u32) -> Weight { - // Pending to generate - Weight::default() - } - - fn update_bond(_: u32) -> Weight { - // Pending to generate - Weight::default() - } - - fn take_candidate_slot(_: u32) -> Weight { - // Pending to generate - Weight::default() - } } diff --git a/runtime/centrifuge/src/weights/pallet_collective.rs b/runtime/centrifuge/src/weights/pallet_collective.rs index 1c60d88097..c6ec0abec9 100644 --- a/runtime/centrifuge/src/weights/pallet_collective.rs +++ b/runtime/centrifuge/src/weights/pallet_collective.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_collective` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_collective // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_collective.rs @@ -32,28 +31,28 @@ use core::marker::PhantomData; /// Weight functions for `pallet_collective`. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { - /// Storage: Council Members (r:1 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:100 w:100) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:100 w:100) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[0, 100]`. /// The range of component `n` is `[0, 100]`. /// The range of component `p` is `[0, 100]`. 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 ±23) + p * (4332 ±23)` - // Minimum execution time: 23_504_000 picoseconds. - Weight::from_parts(24_045_000, 0) - .saturating_add(Weight::from_parts(0, 15762)) - // 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())) + // Estimated: `15728 + m * (1967 ±24) + p * (4332 ±24)` + // Minimum execution time: 19_977_000 picoseconds. + Weight::from_parts(20_078_000, 0) + .saturating_add(Weight::from_parts(0, 15728)) + // Standard Error: 63_443 + .saturating_add(Weight::from_parts(4_761_841, 0).saturating_mul(m.into())) + // Standard Error: 63_443 + .saturating_add(Weight::from_parts(8_972_956, 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)) @@ -61,225 +60,225 @@ impl pallet_collective::WeightInfo for WeightInfo { .saturating_add(Weight::from_parts(0, 1967).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 4332).saturating_mul(p.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `103 + m * (32 ±0)` - // Estimated: `1589 + m * (32 ±0)` - // Minimum execution time: 24_235_000 picoseconds. - Weight::from_parts(23_250_984, 0) - .saturating_add(Weight::from_parts(0, 1589)) - // 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())) + // Measured: `69 + m * (32 ±0)` + // Estimated: `1555 + m * (32 ±0)` + // Minimum execution time: 18_164_000 picoseconds. + Weight::from_parts(16_886_988, 0) + .saturating_add(Weight::from_parts(0, 1555)) + // Standard Error: 32 + .saturating_add(Weight::from_parts(1_693, 0).saturating_mul(b.into())) + // Standard Error: 330 + .saturating_add(Weight::from_parts(17_805, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:0) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:0) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `103 + m * (32 ±0)` - // Estimated: `3569 + m * (32 ±0)` - // Minimum execution time: 28_623_000 picoseconds. - Weight::from_parts(27_427_537, 0) - .saturating_add(Weight::from_parts(0, 3569)) - // 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())) + // Measured: `69 + m * (32 ±0)` + // Estimated: `3535 + m * (32 ±0)` + // Minimum execution time: 21_801_000 picoseconds. + Weight::from_parts(20_823_477, 0) + .saturating_add(Weight::from_parts(0, 3535)) + // Standard Error: 42 + .saturating_add(Weight::from_parts(1_959, 0).saturating_mul(b.into())) + // Standard Error: 433 + .saturating_add(Weight::from_parts(29_753, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalCount (r:1 w:1) - /// Proof Skipped: Council ProposalCount (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:0 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalCount` (r:1 w:1) + /// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:0 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // 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_019_000 picoseconds. - Weight::from_parts(36_618_582, 0) - .saturating_add(Weight::from_parts(0, 3785)) - // 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())) + // Measured: `359 + m * (32 ±0) + p * (36 ±0)` + // Estimated: `3751 + m * (33 ±0) + p * (36 ±0)` + // Minimum execution time: 28_694_000 picoseconds. + Weight::from_parts(28_496_435, 0) + .saturating_add(Weight::from_parts(0, 3751)) + // Standard Error: 102 + .saturating_add(Weight::from_parts(2_863, 0).saturating_mul(b.into())) + // Standard Error: 1_066 + .saturating_add(Weight::from_parts(22_188, 0).saturating_mul(m.into())) + // Standard Error: 1_053 + .saturating_add(Weight::from_parts(250_359, 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())) .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `842 + m * (64 ±0)` - // Estimated: `4306 + m * (64 ±0)` - // Minimum execution time: 31_509_000 picoseconds. - Weight::from_parts(32_380_933, 0) - .saturating_add(Weight::from_parts(0, 4306)) - // Standard Error: 670 - .saturating_add(Weight::from_parts(42_211, 0).saturating_mul(m.into())) + // Measured: `808 + m * (64 ±0)` + // Estimated: `4272 + m * (64 ±0)` + // Minimum execution time: 26_139_000 picoseconds. + Weight::from_parts(26_536_014, 0) + .saturating_add(Weight::from_parts(0, 4272)) + // Standard Error: 834 + .saturating_add(Weight::from_parts(47_228, 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())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // 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_866_000 picoseconds. - Weight::from_parts(40_128_300, 0) - .saturating_add(Weight::from_parts(0, 3876)) - // 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())) + // Measured: `397 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `3842 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 30_848_000 picoseconds. + Weight::from_parts(29_242_652, 0) + .saturating_add(Weight::from_parts(0, 3842)) + // Standard Error: 964 + .saturating_add(Weight::from_parts(41_978, 0).saturating_mul(m.into())) + // Standard Error: 940 + .saturating_add(Weight::from_parts(248_368, 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())) .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // 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_508_000 picoseconds. - Weight::from_parts(58_282_994, 0) - .saturating_add(Weight::from_parts(0, 4050)) - // 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())) + // Measured: `699 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `4016 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 44_413_000 picoseconds. + Weight::from_parts(46_317_210, 0) + .saturating_add(Weight::from_parts(0, 4016)) + // Standard Error: 118 + .saturating_add(Weight::from_parts(2_296, 0).saturating_mul(b.into())) + // Standard Error: 1_256 + .saturating_add(Weight::from_parts(27_951, 0).saturating_mul(m.into())) + // Standard Error: 1_224 + .saturating_add(Weight::from_parts(270_846, 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())) .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:0) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:0) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // 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_563_000 picoseconds. - Weight::from_parts(44_023_999, 0) - .saturating_add(Weight::from_parts(0, 3896)) - // 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())) + // Measured: `417 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `3862 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 33_292_000 picoseconds. + Weight::from_parts(33_067_918, 0) + .saturating_add(Weight::from_parts(0, 3862)) + // Standard Error: 2_341 + .saturating_add(Weight::from_parts(24_866, 0).saturating_mul(m.into())) + // Standard Error: 2_283 + .saturating_add(Weight::from_parts(273_796, 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())) .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:0) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:0) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // 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_106_000 picoseconds. - Weight::from_parts(62_287_266, 0) - .saturating_add(Weight::from_parts(0, 4070)) - // 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())) + // Measured: `719 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `4036 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 47_228_000 picoseconds. + Weight::from_parts(48_777_291, 0) + .saturating_add(Weight::from_parts(0, 4036)) + // Standard Error: 111 + .saturating_add(Weight::from_parts(2_409, 0).saturating_mul(b.into())) + // Standard Error: 1_174 + .saturating_add(Weight::from_parts(27_376, 0).saturating_mul(m.into())) + // Standard Error: 1_145 + .saturating_add(Weight::from_parts(271_442, 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())) .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:0 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:0 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `260 + p * (32 ±0)` - // Estimated: `1745 + p * (32 ±0)` - // Minimum execution time: 23_244_000 picoseconds. - Weight::from_parts(24_758_733, 0) - .saturating_add(Weight::from_parts(0, 1745)) - // Standard Error: 752 - .saturating_add(Weight::from_parts(216_365, 0).saturating_mul(p.into())) + // Measured: `226 + p * (32 ±0)` + // Estimated: `1711 + p * (32 ±0)` + // Minimum execution time: 17_232_000 picoseconds. + Weight::from_parts(18_580_566, 0) + .saturating_add(Weight::from_parts(0, 1711)) + // Standard Error: 576 + .saturating_add(Weight::from_parts(232_682, 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_democracy.rs b/runtime/centrifuge/src/weights/pallet_democracy.rs index 26e89c76b4..6c6b5b09a1 100644 --- a/runtime/centrifuge/src/weights/pallet_democracy.rs +++ b/runtime/centrifuge/src/weights/pallet_democracy.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_democracy` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_democracy // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_democracy.rs @@ -32,477 +31,483 @@ use core::marker::PhantomData; /// Weight functions for `pallet_democracy`. pub struct WeightInfo(PhantomData); impl pallet_democracy::WeightInfo for WeightInfo { - /// Storage: Democracy PublicPropCount (r:1 w:1) - /// Proof: Democracy PublicPropCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:0) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:0 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicPropCount` (r:1 w:1) + /// Proof: `Democracy::PublicPropCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:0) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:0 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) fn propose() -> Weight { // Proof Size summary in bytes: // Measured: `4768` // Estimated: `18187` - // Minimum execution time: 58_288_000 picoseconds. - Weight::from_parts(60_052_000, 0) + // Minimum execution time: 47_850_000 picoseconds. + Weight::from_parts(49_673_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) fn second() -> Weight { // Proof Size summary in bytes: // Measured: `3523` // Estimated: `6695` - // Minimum execution time: 52_397_000 picoseconds. - Weight::from_parts(53_460_000, 0) + // Minimum execution time: 46_377_000 picoseconds. + Weight::from_parts(47_519_000, 0) .saturating_add(Weight::from_parts(0, 6695)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) fn vote_new() -> Weight { // Proof Size summary in bytes: // Measured: `3400` // Estimated: `7260` - // Minimum execution time: 66_274_000 picoseconds. - Weight::from_parts(67_706_000, 0) + // Minimum execution time: 64_059_000 picoseconds. + Weight::from_parts(65_272_000, 0) .saturating_add(Weight::from_parts(0, 7260)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) fn vote_existing() -> Weight { // Proof Size summary in bytes: // Measured: `3422` // Estimated: `7260` - // Minimum execution time: 72_986_000 picoseconds. - Weight::from_parts(74_649_000, 0) + // Minimum execution time: 67_406_000 picoseconds. + Weight::from_parts(69_409_000, 0) .saturating_add(Weight::from_parts(0, 7260)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy Cancellations (r:1 w:1) - /// Proof: Democracy Cancellations (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Cancellations` (r:1 w:1) + /// Proof: `Democracy::Cancellations` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn emergency_cancel() -> Weight { // Proof Size summary in bytes: // Measured: `333` // Estimated: `3666` - // Minimum execution time: 38_291_000 picoseconds. - Weight::from_parts(39_113_000, 0) + // Minimum execution time: 31_869_000 picoseconds. + Weight::from_parts(32_581_000, 0) .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:3 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:0 w:1) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:3 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:0 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) fn blacklist() -> Weight { // Proof Size summary in bytes: // Measured: `6249` // Estimated: `18187` - // Minimum execution time: 146_572_000 picoseconds. - Weight::from_parts(148_636_000, 0) + // Minimum execution time: 126_165_000 picoseconds. + Weight::from_parts(128_319_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:0) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:0) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) fn external_propose() -> Weight { // Proof Size summary in bytes: // Measured: `3383` // Estimated: `6703` - // Minimum execution time: 17_803_000 picoseconds. - Weight::from_parts(18_475_000, 0) + // Minimum execution time: 15_780_000 picoseconds. + Weight::from_parts(16_421_000, 0) .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:0 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) fn external_propose_majority() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_839_000 picoseconds. - Weight::from_parts(5_140_000, 0) + // Minimum execution time: 3_878_000 picoseconds. + Weight::from_parts(4_268_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:0 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) fn external_propose_default() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_859_000 picoseconds. - Weight::from_parts(5_200_000, 0) + // Minimum execution time: 4_018_000 picoseconds. + Weight::from_parts(4_268_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:1) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:2) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:0 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:1) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:2) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn fast_track() -> Weight { // Proof Size summary in bytes: // Measured: `253` // Estimated: `3518` - // Minimum execution time: 39_533_000 picoseconds. - Weight::from_parts(40_616_000, 0) + // Minimum execution time: 30_637_000 picoseconds. + Weight::from_parts(31_138_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:1) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn veto_external() -> Weight { // Proof Size summary in bytes: // Measured: `3486` // Estimated: `6703` - // Minimum execution time: 41_798_000 picoseconds. - Weight::from_parts(42_849_000, 0) + // Minimum execution time: 33_743_000 picoseconds. + Weight::from_parts(34_825_000, 0) .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn cancel_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `6160` // Estimated: `18187` - // Minimum execution time: 121_095_000 picoseconds. - Weight::from_parts(122_417_000, 0) + // Minimum execution time: 104_916_000 picoseconds. + Weight::from_parts(106_740_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:0 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn cancel_referendum() -> Weight { // Proof Size summary in bytes: // Measured: `238` // Estimated: `3518` - // Minimum execution time: 29_164_000 picoseconds. - Weight::from_parts(29_716_000, 0) + // Minimum execution time: 21_650_000 picoseconds. + Weight::from_parts(22_493_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Democracy LowestUnbaked (r:1 w:1) - /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:0) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 9_948_000 picoseconds. - Weight::from_parts(12_659_875, 0) + // Minimum execution time: 7_304_000 picoseconds. + Weight::from_parts(10_862_570, 0) .saturating_add(Weight::from_parts(0, 1489)) - // Standard Error: 5_774 - .saturating_add(Weight::from_parts(4_020_914, 0).saturating_mul(r.into())) + // Standard Error: 6_674 + .saturating_add(Weight::from_parts(4_146_711, 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)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy LowestUnbaked (r:1 w:1) - /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:0) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy LastTabledWasExternal (r:1 w:0) - /// Proof: Democracy LastTabledWasExternal (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::LastTabledWasExternal` (r:1 w:0) + /// Proof: `Democracy::LastTabledWasExternal` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` // Estimated: `18187 + r * (2676 ±0)` - // Minimum execution time: 14_788_000 picoseconds. - Weight::from_parts(18_612_348, 0) + // Minimum execution time: 10_389_000 picoseconds. + Weight::from_parts(13_699_184, 0) .saturating_add(Weight::from_parts(0, 18187)) - // Standard Error: 6_592 - .saturating_add(Weight::from_parts(4_010_093, 0).saturating_mul(r.into())) + // Standard Error: 5_780 + .saturating_add(Weight::from_parts(4_164_228, 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)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy VotingOf (r:3 w:3) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:99) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:3 w:3) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `764 + r * (108 ±0)` // Estimated: `19800 + r * (2676 ±0)` - // Minimum execution time: 57_287_000 picoseconds. - Weight::from_parts(62_674_495, 0) + // Minimum execution time: 50_284_000 picoseconds. + Weight::from_parts(55_797_297, 0) .saturating_add(Weight::from_parts(0, 19800)) - // Standard Error: 6_400 - .saturating_add(Weight::from_parts(5_083_063, 0).saturating_mul(r.into())) + // Standard Error: 7_012 + .saturating_add(Weight::from_parts(5_251_046, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy VotingOf (r:2 w:2) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:99) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:2 w:2) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `460 + r * (108 ±0)` // Estimated: `13530 + r * (2676 ±0)` - // Minimum execution time: 28_764_000 picoseconds. - Weight::from_parts(30_005_574, 0) + // Minimum execution time: 24_035_000 picoseconds. + Weight::from_parts(24_880_328, 0) .saturating_add(Weight::from_parts(0, 13530)) - // Standard Error: 5_794 - .saturating_add(Weight::from_parts(5_046_505, 0).saturating_mul(r.into())) + // Standard Error: 6_179 + .saturating_add(Weight::from_parts(5_186_435, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy PublicProps (r:0 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:0 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) fn clear_public_proposals() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_009_000 picoseconds. - Weight::from_parts(5_259_000, 0) + // Minimum execution time: 4_258_000 picoseconds. + Weight::from_parts(4_428_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `492` // Estimated: `7260` - // Minimum execution time: 34_154_000 picoseconds. - Weight::from_parts(51_607_498, 0) + // Minimum execution time: 31_679_000 picoseconds. + Weight::from_parts(43_939_429, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 3_959 - .saturating_add(Weight::from_parts(70_857, 0).saturating_mul(r.into())) + // Standard Error: 2_749 + .saturating_add(Weight::from_parts(59_143, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `493 + r * (22 ±0)` // Estimated: `7260` - // Minimum execution time: 47_499_000 picoseconds. - Weight::from_parts(49_792_301, 0) + // Minimum execution time: 41_618_000 picoseconds. + Weight::from_parts(43_212_793, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_250 - .saturating_add(Weight::from_parts(87_068, 0).saturating_mul(r.into())) + // Standard Error: 934 + .saturating_add(Weight::from_parts(88_400, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `695 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 21_400_000 picoseconds. - Weight::from_parts(24_108_794, 0) + // Minimum execution time: 21_250_000 picoseconds. + Weight::from_parts(24_298_976, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_161 - .saturating_add(Weight::from_parts(92_162, 0).saturating_mul(r.into())) + // Standard Error: 1_316 + .saturating_add(Weight::from_parts(91_321, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `695 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 21_480_000 picoseconds. - Weight::from_parts(24_570_310, 0) + // Minimum execution time: 21_500_000 picoseconds. + Weight::from_parts(24_479_652, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_237 - .saturating_add(Weight::from_parts(91_317, 0).saturating_mul(r.into())) + // Standard Error: 1_417 + .saturating_add(Weight::from_parts(92_182, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `357` // Estimated: `3556` - // Minimum execution time: 27_020_000 picoseconds. - Weight::from_parts(27_521_000, 0) + // Minimum execution time: 24_195_000 picoseconds. + Weight::from_parts(24_666_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `253` // Estimated: `3518` - // Minimum execution time: 24_195_000 picoseconds. - Weight::from_parts(25_007_000, 0) + // Minimum execution time: 19_797_000 picoseconds. + Weight::from_parts(20_188_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `4889` // Estimated: `18187` - // Minimum execution time: 53_961_000 picoseconds. - Weight::from_parts(55_092_000, 0) + // Minimum execution time: 50_986_000 picoseconds. + Weight::from_parts(53_871_000, 0) .saturating_add(Weight::from_parts(0, 18187)) - .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `4789` // Estimated: `18187` - // Minimum execution time: 50_304_000 picoseconds. - Weight::from_parts(51_696_000, 0) + // Minimum execution time: 47_639_000 picoseconds. + Weight::from_parts(48_401_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 21_741_000 picoseconds. - Weight::from_parts(22_181_000, 0) + // Minimum execution time: 20_007_000 picoseconds. + Weight::from_parts(20_649_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `269` // Estimated: `3666` - // Minimum execution time: 26_920_000 picoseconds. - Weight::from_parts(27_501_000, 0) + // Minimum execution time: 23_243_000 picoseconds. + Weight::from_parts(23_924_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 7878de415b..73cbcffd18 100644 --- a/runtime/centrifuge/src/weights/pallet_elections_phragmen.rs +++ b/runtime/centrifuge/src/weights/pallet_elections_phragmen.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_elections_phragmen` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_elections_phragmen // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_elections_phragmen.rs @@ -32,170 +31,170 @@ use core::marker::PhantomData; /// Weight functions for `pallet_elections_phragmen`. pub struct WeightInfo(PhantomData); impl pallet_elections_phragmen::WeightInfo for WeightInfo { - /// Storage: Elections Candidates (r:1 w:0) - /// Proof Skipped: Elections Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections Members (r:1 w:0) - /// Proof Skipped: Elections Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections RunnersUp (r:1 w:0) - /// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections Voting (r:1 w:1) - /// Proof Skipped: Elections Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Elections::Candidates` (r:1 w:0) + /// Proof: `Elections::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Members` (r:1 w:0) + /// Proof: `Elections::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::RunnersUp` (r:1 w:0) + /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Voting` (r:1 w:1) + /// Proof: `Elections::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) /// The range of component `v` is `[1, 5]`. fn vote_equal(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `397 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 43_742_000 picoseconds. - Weight::from_parts(44_880_862, 0) + // Minimum execution time: 39_854_000 picoseconds. + Weight::from_parts(41_059_638, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 8_920 - .saturating_add(Weight::from_parts(116_775, 0).saturating_mul(v.into())) + // Standard Error: 9_339 + .saturating_add(Weight::from_parts(122_202, 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())) } - /// Storage: Elections Candidates (r:1 w:0) - /// Proof Skipped: Elections Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections Members (r:1 w:0) - /// Proof Skipped: Elections Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections RunnersUp (r:1 w:0) - /// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections Voting (r:1 w:1) - /// Proof Skipped: Elections Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Elections::Candidates` (r:1 w:0) + /// Proof: `Elections::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Members` (r:1 w:0) + /// Proof: `Elections::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::RunnersUp` (r:1 w:0) + /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Voting` (r:1 w:1) + /// Proof: `Elections::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) /// The range of component `v` is `[2, 5]`. fn vote_more(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `366 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 61_504_000 picoseconds. - Weight::from_parts(62_534_140, 0) + // Minimum execution time: 55_103_000 picoseconds. + Weight::from_parts(56_171_173, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 15_833 - .saturating_add(Weight::from_parts(330_451, 0).saturating_mul(v.into())) + // Standard Error: 14_770 + .saturating_add(Weight::from_parts(204_563, 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())) } - /// Storage: Elections Candidates (r:1 w:0) - /// Proof Skipped: Elections Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections Members (r:1 w:0) - /// Proof Skipped: Elections Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections RunnersUp (r:1 w:0) - /// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections Voting (r:1 w:1) - /// Proof Skipped: Elections Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Elections::Candidates` (r:1 w:0) + /// Proof: `Elections::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Members` (r:1 w:0) + /// Proof: `Elections::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::RunnersUp` (r:1 w:0) + /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Voting` (r:1 w:1) + /// Proof: `Elections::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) /// The range of component `v` is `[2, 5]`. fn vote_less(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `398 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 61_565_000 picoseconds. - Weight::from_parts(62_569_997, 0) + // Minimum execution time: 55_143_000 picoseconds. + Weight::from_parts(55_848_022, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 21_420 - .saturating_add(Weight::from_parts(418_807, 0).saturating_mul(v.into())) + // Standard Error: 12_961 + .saturating_add(Weight::from_parts(304_036, 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())) } - /// Storage: Elections Voting (r:1 w:1) - /// Proof Skipped: Elections Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Elections::Voting` (r:1 w:1) + /// Proof: `Elections::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) fn remove_voter() -> Weight { // Proof Size summary in bytes: // Measured: `568` // Estimated: `4764` - // Minimum execution time: 64_851_000 picoseconds. - Weight::from_parts(66_063_000, 0) + // Minimum execution time: 56_095_000 picoseconds. + Weight::from_parts(57_527_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Elections Candidates (r:1 w:1) - /// Proof Skipped: Elections Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections Members (r:1 w:0) - /// Proof Skipped: Elections Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections RunnersUp (r:1 w:0) - /// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Elections::Candidates` (r:1 w:1) + /// Proof: `Elections::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Members` (r:1 w:0) + /// Proof: `Elections::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::RunnersUp` (r:1 w:0) + /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 20]`. fn submit_candidacy(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1475 + c * (48 ±0)` // Estimated: `2960 + c * (48 ±0)` - // Minimum execution time: 46_947_000 picoseconds. - Weight::from_parts(48_177_216, 0) + // Minimum execution time: 40_225_000 picoseconds. + Weight::from_parts(41_460_863, 0) .saturating_add(Weight::from_parts(0, 2960)) - // Standard Error: 2_528 - .saturating_add(Weight::from_parts(73_617, 0).saturating_mul(c.into())) + // Standard Error: 2_567 + .saturating_add(Weight::from_parts(92_423, 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())) } - /// Storage: Elections Candidates (r:1 w:1) - /// Proof Skipped: Elections Candidates (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Elections::Candidates` (r:1 w:1) + /// Proof: `Elections::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 20]`. fn renounce_candidacy_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `318 + c * (48 ±0)` // Estimated: `1803 + c * (48 ±0)` - // Minimum execution time: 42_820_000 picoseconds. - Weight::from_parts(43_815_110, 0) + // Minimum execution time: 35_306_000 picoseconds. + Weight::from_parts(36_290_646, 0) .saturating_add(Weight::from_parts(0, 1803)) - // Standard Error: 2_225 - .saturating_add(Weight::from_parts(67_886, 0).saturating_mul(c.into())) + // Standard Error: 2_574 + .saturating_add(Weight::from_parts(70_605, 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())) } - /// Storage: Elections Members (r:1 w:1) - /// Proof Skipped: Elections Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections RunnersUp (r:1 w:1) - /// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Elections::Members` (r:1 w:1) + /// Proof: `Elections::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::RunnersUp` (r:1 w:1) + /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn renounce_candidacy_members() -> Weight { // Proof Size summary in bytes: - // Measured: `1655` - // Estimated: `3140` - // Minimum execution time: 59_922_000 picoseconds. - Weight::from_parts(61_054_000, 0) - .saturating_add(Weight::from_parts(0, 3140)) + // Measured: `1621` + // Estimated: `3106` + // Minimum execution time: 50_805_000 picoseconds. + Weight::from_parts(51_927_000, 0) + .saturating_add(Weight::from_parts(0, 3106)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: Elections RunnersUp (r:1 w:1) - /// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Elections::RunnersUp` (r:1 w:1) + /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn renounce_candidacy_runners_up() -> Weight { // Proof Size summary in bytes: // Measured: `1023` // Estimated: `2508` - // Minimum execution time: 43_862_000 picoseconds. - Weight::from_parts(44_453_000, 0) + // Minimum execution time: 36_037_000 picoseconds. + Weight::from_parts(36_938_000, 0) .saturating_add(Weight::from_parts(0, 2508)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Benchmark Override (r:0 w:0) - /// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_member_without_replacement() -> Weight { // Proof Size summary in bytes: // Measured: `0` @@ -204,95 +203,95 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn Weight::from_parts(500_000_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: Elections Members (r:1 w:1) - /// Proof Skipped: Elections Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Elections RunnersUp (r:1 w:1) - /// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Elections::Members` (r:1 w:1) + /// Proof: `Elections::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Elections::RunnersUp` (r:1 w:1) + /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn remove_member_with_replacement() -> Weight { // Proof Size summary in bytes: - // Measured: `1758` + // Measured: `1724` // Estimated: `6196` - // Minimum execution time: 91_711_000 picoseconds. - Weight::from_parts(92_923_000, 0) + // Minimum execution time: 71_003_000 picoseconds. + Weight::from_parts(72_324_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } - /// Storage: Elections Voting (r:101 w:100) - /// Proof Skipped: Elections Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Elections Members (r:1 w:0) - /// Proof Skipped: Elections Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections RunnersUp (r:1 w:0) - /// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections Candidates (r:1 w:0) - /// Proof Skipped: Elections Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Balances Locks (r:100 w:100) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:100 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) - /// Storage: System Account (r:100 w:100) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Elections::Voting` (r:51 w:50) + /// Proof: `Elections::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Members` (r:1 w:0) + /// Proof: `Elections::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::RunnersUp` (r:1 w:0) + /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Candidates` (r:1 w:0) + /// Proof: `Elections::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:50 w:50) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:50 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:50 w:50) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `v` is `[50, 100]`. /// The range of component `d` is `[0, 50]`. fn clean_defunct_voters(v: u32, d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1226 + v * (457 ±0)` - // Estimated: `4528 + d * (1 ±0) + v * (3774 ±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: 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()))) - .saturating_add(Weight::from_parts(0, 1).saturating_mul(d.into())) - .saturating_add(Weight::from_parts(0, 3774).saturating_mul(v.into())) + // Measured: `0 + d * (494 ±0) + v * (62 ±0)` + // Estimated: `8032 + d * (3774 ±0) + v * (27 ±0)` + // Minimum execution time: 5_440_000 picoseconds. + Weight::from_parts(5_851_000, 0) + .saturating_add(Weight::from_parts(0, 8032)) + // Standard Error: 7_490 + .saturating_add(Weight::from_parts(452_735, 0).saturating_mul(v.into())) + // Standard Error: 16_345 + .saturating_add(Weight::from_parts(54_859_868, 0).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(d.into()))) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(d.into()))) + .saturating_add(Weight::from_parts(0, 3774).saturating_mul(d.into())) + .saturating_add(Weight::from_parts(0, 27).saturating_mul(v.into())) } - /// Storage: Elections Candidates (r:1 w:1) - /// Proof Skipped: Elections Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections Members (r:1 w:1) - /// Proof Skipped: Elections Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections RunnersUp (r:1 w:1) - /// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections Voting (r:101 w:0) - /// Proof Skipped: Elections Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:3 w:3) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Elections ElectionRounds (r:1 w:1) - /// Proof Skipped: Elections ElectionRounds (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Elections::Candidates` (r:1 w:1) + /// Proof: `Elections::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Members` (r:1 w:1) + /// Proof: `Elections::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::RunnersUp` (r:1 w:1) + /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Voting` (r:101 w:0) + /// Proof: `Elections::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:3 w:3) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Elections::ElectionRounds` (r:1 w:1) + /// Proof: `Elections::ElectionRounds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 20]`. /// The range of component `v` is `[1, 100]`. /// The range of component `e` is `[100, 500]`. 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 ±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: 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())) + // Estimated: `9323 + c * (154 ±35) + e * (19 ±1) + v * (2526 ±7)` + // Minimum execution time: 288_329_000 picoseconds. + Weight::from_parts(291_985_000, 0) + .saturating_add(Weight::from_parts(0, 9323)) + // Standard Error: 776_472 + .saturating_add(Weight::from_parts(1_654_140, 0).saturating_mul(c.into())) + // Standard Error: 154_461 + .saturating_add(Weight::from_parts(8_253_388, 0).saturating_mul(v.into())) + // Standard Error: 33_543 + .saturating_add(Weight::from_parts(253_004, 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 f84498d6fb..9f1aa979eb 100644 --- a/runtime/centrifuge/src/weights/pallet_fees.rs +++ b/runtime/centrifuge/src/weights/pallet_fees.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_fees` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_fees // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_fees.rs @@ -32,14 +31,14 @@ use core::marker::PhantomData; /// Weight functions for `pallet_fees`. pub struct WeightInfo(PhantomData); impl pallet_fees::WeightInfo for WeightInfo { - /// Storage: Fees FeeBalances (r:0 w:1) - /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Fees::FeeBalances` (r:0 w:1) + /// Proof: `Fees::FeeBalances` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn set_fee() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_433_000 picoseconds. - Weight::from_parts(12_853_000, 0) + // Minimum execution time: 8_786_000 picoseconds. + Weight::from_parts(9_347_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 6e896c8d09..6b04d4e622 100644 --- a/runtime/centrifuge/src/weights/pallet_identity.rs +++ b/runtime/centrifuge/src/weights/pallet_identity.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_identity` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_identity // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_identity.rs @@ -32,266 +31,389 @@ use core::marker::PhantomData; /// Weight functions for `pallet_identity`. pub struct WeightInfo(PhantomData); impl pallet_identity::WeightInfo for WeightInfo { - /// Storage: Identity Registrars (r:1 w:1) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn add_registrar(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `31 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 17_663_000 picoseconds. - Weight::from_parts(18_911_170, 0) + // Minimum execution time: 11_461_000 picoseconds. + Weight::from_parts(12_329_958, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 2_246 - .saturating_add(Weight::from_parts(100_619, 0).saturating_mul(r.into())) + // Standard Error: 1_709 + .saturating_add(Weight::from_parts(85_260, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[0, 100]`. - fn set_identity(_: u32) -> Weight { - Weight::default() + fn set_identity(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `6977 + r * (5 ±0)` + // Estimated: `11037` + // Minimum execution time: 177_182_000 picoseconds. + Weight::from_parts(184_291_666, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 10_202 + .saturating_add(Weight::from_parts(118_377, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:100 w:100) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:100 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 100]`. fn set_subs_new(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `100` - // Estimated: `11003 + s * (2589 ±0)` - // Minimum execution time: 13_345_000 picoseconds. - Weight::from_parts(34_731_499, 0) - .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 11_024 - .saturating_add(Weight::from_parts(4_877_205, 0).saturating_mul(s.into())) + // Estimated: `11037 + s * (2589 ±0)` + // Minimum execution time: 13_866_000 picoseconds. + Weight::from_parts(32_107_917, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 5_302 + .saturating_add(Weight::from_parts(5_097_828, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) .saturating_add(Weight::from_parts(0, 2589).saturating_mul(s.into())) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:0 w:100) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:0 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 100]`. fn set_subs_old(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `193 + p * (32 ±0)` - // Estimated: `11003` - // Minimum execution time: 13_194_000 picoseconds. - Weight::from_parts(33_549_505, 0) - .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 4_655 - .saturating_add(Weight::from_parts(1_987_029, 0).saturating_mul(p.into())) + // Estimated: `11037` + // Minimum execution time: 13_595_000 picoseconds. + Weight::from_parts(31_078_104, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 4_131 + .saturating_add(Weight::from_parts(2_071_635, 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()))) } - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:0 w:100) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:0 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// 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 clear_identity(_: u32, _: u32) -> Weight { - Weight::default() + fn clear_identity(r: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `7069 + r * (5 ±0) + s * (32 ±0)` + // Estimated: `11037` + // Minimum execution time: 82_014_000 picoseconds. + Weight::from_parts(82_257_399, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 8_823 + .saturating_add(Weight::from_parts(137_193, 0).saturating_mul(r.into())) + // Standard Error: 1_721 + .saturating_add(Weight::from_parts(2_055_434, 0).saturating_mul(s.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()))) } - /// Storage: Identity Registrars (r:1 w:0) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:0) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[0, 100]`. - fn request_judgement(_: u32) -> Weight { - Weight::default() + fn request_judgement(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `6967 + r * (57 ±0)` + // Estimated: `11037` + // Minimum execution time: 118_782_000 picoseconds. + Weight::from_parts(122_396_298, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 8_997 + .saturating_add(Weight::from_parts(131_018, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[0, 100]`. - fn cancel_request(_: u32) -> Weight { - Weight::default() + fn cancel_request(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `6998` + // Estimated: `11037` + // Minimum execution time: 114_965_000 picoseconds. + Weight::from_parts(119_931_535, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 8_210 + .saturating_add(Weight::from_parts(90_229, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity Registrars (r:1 w:1) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn set_fee(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `88 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 10_850_000 picoseconds. - Weight::from_parts(11_366_293, 0) + // Minimum execution time: 8_085_000 picoseconds. + Weight::from_parts(8_745_689, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_331 - .saturating_add(Weight::from_parts(85_609, 0).saturating_mul(r.into())) + // Standard Error: 1_017 + .saturating_add(Weight::from_parts(77_434, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity Registrars (r:1 w:1) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn set_account_id(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `88 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 10_229_000 picoseconds. - Weight::from_parts(10_656_339, 0) + // Minimum execution time: 8_666_000 picoseconds. + Weight::from_parts(9_025_881, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_019 - .saturating_add(Weight::from_parts(66_335, 0).saturating_mul(r.into())) + // Standard Error: 866 + .saturating_add(Weight::from_parts(69_178, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity Registrars (r:1 w:1) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn set_fields(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `88 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 9_718_000 picoseconds. - Weight::from_parts(10_311_018, 0) + // Minimum execution time: 8_466_000 picoseconds. + Weight::from_parts(8_930_474, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 997 - .saturating_add(Weight::from_parts(67_502, 0).saturating_mul(r.into())) + // Standard Error: 909 + .saturating_add(Weight::from_parts(61_820, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity Registrars (r:1 w:0) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:0) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. - /// The range of component `x` is `[0, 100]`. - fn provide_judgement(_: u32) -> Weight { - Weight::default() + fn provide_judgement(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `7045 + r * (57 ±0)` + // Estimated: `11037` + // Minimum execution time: 153_066_000 picoseconds. + Weight::from_parts(158_933_479, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 11_349 + .saturating_add(Weight::from_parts(55_251, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:0 w:100) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:0 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// 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(_: u32, _: u32) -> Weight { - Weight::default() + fn kill_identity(r: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `7396 + r * (15 ±0) + s * (32 ±0)` + // Estimated: `11037` + // Minimum execution time: 102_231_000 picoseconds. + Weight::from_parts(102_236_164, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 8_449 + .saturating_add(Weight::from_parts(197_958, 0).saturating_mul(r.into())) + // Standard Error: 1_648 + .saturating_add(Weight::from_parts(2_070_834, 0).saturating_mul(s.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()))) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:1 w:1) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 99]`. fn add_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `474 + s * (36 ±0)` - // Estimated: `11003` - // Minimum execution time: 43_691_000 picoseconds. - Weight::from_parts(48_595_541, 0) - .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 1_082 - .saturating_add(Weight::from_parts(63_570, 0).saturating_mul(s.into())) + // Estimated: `11037` + // Minimum execution time: 37_360_000 picoseconds. + Weight::from_parts(42_407_134, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 1_241 + .saturating_add(Weight::from_parts(71_942, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:1 w:1) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 100]`. fn rename_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `590 + s * (3 ±0)` - // Estimated: `11003` - // Minimum execution time: 17_713_000 picoseconds. - Weight::from_parts(20_016_934, 0) - .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 599 - .saturating_add(Weight::from_parts(20_412, 0).saturating_mul(s.into())) + // Estimated: `11037` + // Minimum execution time: 18_885_000 picoseconds. + Weight::from_parts(20_897_159, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 581 + .saturating_add(Weight::from_parts(22_219, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:1 w:1) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 100]`. fn remove_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `637 + s * (35 ±0)` - // Estimated: `11003` - // Minimum execution time: 47_178_000 picoseconds. - Weight::from_parts(50_189_943, 0) - .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 860 - .saturating_add(Weight::from_parts(55_429, 0).saturating_mul(s.into())) + // Estimated: `11037` + // Minimum execution time: 41_738_000 picoseconds. + Weight::from_parts(44_337_160, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 846 + .saturating_add(Weight::from_parts(56_189, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Identity SuperOf (r:1 w:1) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 99]`. fn quit_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `770 + s * (37 ±0)` // Estimated: `6723` - // Minimum execution time: 34_454_000 picoseconds. - Weight::from_parts(37_088_382, 0) + // Minimum execution time: 31_408_000 picoseconds. + Weight::from_parts(33_717_882, 0) .saturating_add(Weight::from_parts(0, 6723)) - // Standard Error: 775 - .saturating_add(Weight::from_parts(58_414, 0).saturating_mul(s.into())) + // Standard Error: 786 + .saturating_add(Weight::from_parts(58_377, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - - fn add_username_authority() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn remove_username_authority() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn set_username_for() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn accept_username() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn remove_expired_approval() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn set_primary_username() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn remove_dangling_username() -> cumulus_primitives_core::Weight { - Weight::default() - } + /// Storage: `Identity::UsernameAuthorities` (r:0 w:1) + /// Proof: `Identity::UsernameAuthorities` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + fn add_username_authority() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 9_908_000 picoseconds. + Weight::from_parts(10_289_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Identity::UsernameAuthorities` (r:1 w:1) + /// Proof: `Identity::UsernameAuthorities` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + fn remove_username_authority() -> Weight { + // Proof Size summary in bytes: + // Measured: `79` + // Estimated: `3517` + // Minimum execution time: 12_994_000 picoseconds. + Weight::from_parts(13_535_000, 0) + .saturating_add(Weight::from_parts(0, 3517)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Identity::UsernameAuthorities` (r:1 w:1) + /// Proof: `Identity::UsernameAuthorities` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Identity::AccountOfUsername` (r:1 w:1) + /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `Identity::PendingUsernames` (r:1 w:0) + /// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + fn set_username_for() -> Weight { + // Proof Size summary in bytes: + // Measured: `79` + // Estimated: `11037` + // Minimum execution time: 80_831_000 picoseconds. + Weight::from_parts(83_435_000, 0) + .saturating_add(Weight::from_parts(0, 11037)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `Identity::PendingUsernames` (r:1 w:1) + /// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `Identity::AccountOfUsername` (r:0 w:1) + /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + fn accept_username() -> Weight { + // Proof Size summary in bytes: + // Measured: `114` + // Estimated: `11037` + // Minimum execution time: 29_946_000 picoseconds. + Weight::from_parts(30_658_000, 0) + .saturating_add(Weight::from_parts(0, 11037)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `Identity::PendingUsernames` (r:1 w:1) + /// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + fn remove_expired_approval() -> Weight { + // Proof Size summary in bytes: + // Measured: `114` + // Estimated: `3550` + // Minimum execution time: 18_815_000 picoseconds. + Weight::from_parts(19_336_000, 0) + .saturating_add(Weight::from_parts(0, 3550)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Identity::AccountOfUsername` (r:1 w:0) + /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + fn set_primary_username() -> Weight { + // Proof Size summary in bytes: + // Measured: `256` + // Estimated: `11037` + // Minimum execution time: 24_736_000 picoseconds. + Weight::from_parts(25_086_000, 0) + .saturating_add(Weight::from_parts(0, 11037)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Identity::AccountOfUsername` (r:1 w:1) + /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + fn remove_dangling_username() -> Weight { + // Proof Size summary in bytes: + // Measured: `97` + // Estimated: `11037` + // Minimum execution time: 17_082_000 picoseconds. + Weight::from_parts(17_633_000, 0) + .saturating_add(Weight::from_parts(0, 11037)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } } diff --git a/runtime/centrifuge/src/weights/pallet_interest_accrual.rs b/runtime/centrifuge/src/weights/pallet_interest_accrual.rs index bad7a31ba5..769034448e 100644 --- a/runtime/centrifuge/src/weights/pallet_interest_accrual.rs +++ b/runtime/centrifuge/src/weights/pallet_interest_accrual.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_interest_accrual` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_interest_accrual // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_interest_accrual.rs @@ -37,10 +36,10 @@ impl pallet_interest_accrual::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 732_000 picoseconds. - Weight::from_parts(247_332, 0) + // Minimum execution time: 791_000 picoseconds. + Weight::from_parts(164_950, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 669 - .saturating_add(Weight::from_parts(634_648, 0).saturating_mul(n.into())) + // Standard Error: 465 + .saturating_add(Weight::from_parts(729_925, 0).saturating_mul(n.into())) } } diff --git a/runtime/centrifuge/src/weights/pallet_investments.rs b/runtime/centrifuge/src/weights/pallet_investments.rs index e23a8cc107..2a6edaa5e8 100644 --- a/runtime/centrifuge/src/weights/pallet_investments.rs +++ b/runtime/centrifuge/src/weights/pallet_investments.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_investments` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_investments // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_investments.rs @@ -32,115 +31,115 @@ use core::marker::PhantomData; /// Weight functions for `pallet_investments`. pub struct WeightInfo(PhantomData); impl pallet_investments::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: Permissions Permission (r:1 w:0) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: Investments ActiveInvestOrders (r:1 w:1) - /// Proof: Investments ActiveInvestOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InvestOrders (r:1 w:1) - /// Proof: Investments InvestOrders (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - /// Storage: Investments InvestOrderId (r:1 w:0) - /// Proof: Investments InvestOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:2 w:2) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:0) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `Investments::ActiveInvestOrders` (r:1 w:1) + /// Proof: `Investments::ActiveInvestOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InvestOrders` (r:1 w:1) + /// Proof: `Investments::InvestOrders` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Investments::InvestOrderId` (r:1 w:0) + /// Proof: `Investments::InvestOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:2 w:2) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) fn update_invest_order() -> Weight { // Proof Size summary in bytes: - // Measured: `2155` + // Measured: `2057` // Estimated: `6198` - // Minimum execution time: 99_696_000 picoseconds. - Weight::from_parts(101_550_000, 0) + // Minimum execution time: 93_985_000 picoseconds. + Weight::from_parts(95_147_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Permissions Permission (r:1 w:0) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: Investments ActiveRedeemOrders (r:1 w:1) - /// Proof: Investments ActiveRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments RedeemOrders (r:1 w:1) - /// Proof: Investments RedeemOrders (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - /// Storage: Investments RedeemOrderId (r:1 w:0) - /// Proof: Investments RedeemOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:2 w:2) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:0) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `Investments::ActiveRedeemOrders` (r:1 w:1) + /// Proof: `Investments::ActiveRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::RedeemOrders` (r:1 w:1) + /// Proof: `Investments::RedeemOrders` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Investments::RedeemOrderId` (r:1 w:0) + /// Proof: `Investments::RedeemOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:2 w:2) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) fn update_redeem_order() -> Weight { // Proof Size summary in bytes: - // Measured: `2051` + // Measured: `1981` // Estimated: `6198` - // Minimum execution time: 99_916_000 picoseconds. - Weight::from_parts(101_609_000, 0) + // Minimum execution time: 93_976_000 picoseconds. + Weight::from_parts(94_897_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: Investments InvestOrders (r:1 w:1) - /// Proof: Investments InvestOrders (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - /// Storage: Investments InvestOrderId (r:1 w:0) - /// Proof: Investments InvestOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Investments ClearedInvestOrders (r:10 w:0) - /// Proof: Investments ClearedInvestOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:2 w:2) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ForeignInvestments ForeignInvestmentInfo (r:1 w:1) - /// Proof: ForeignInvestments ForeignInvestmentInfo (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) + /// Storage: `PoolSystem::Pool` (r:1 w:0) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `Investments::InvestOrders` (r:1 w:1) + /// Proof: `Investments::InvestOrders` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Investments::InvestOrderId` (r:1 w:0) + /// Proof: `Investments::InvestOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Investments::ClearedInvestOrders` (r:10 w:0) + /// Proof: `Investments::ClearedInvestOrders` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:2 w:2) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignInvestments::ForeignInvestmentInfo` (r:1 w:1) + /// Proof: `ForeignInvestments::ForeignInvestmentInfo` (`max_values`: None, `max_size`: Some(161), added: 2636, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 10]`. fn collect_investments(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2458 + n * (44 ±0)` + // Measured: `2388 + n * (44 ±0)` // Estimated: `6198 + n * (2555 ±0)` - // Minimum execution time: 112_299_000 picoseconds. - Weight::from_parts(108_143_715, 0) + // Minimum execution time: 103_373_000 picoseconds. + Weight::from_parts(99_437_572, 0) .saturating_add(Weight::from_parts(0, 6198)) - // Standard Error: 30_952 - .saturating_add(Weight::from_parts(5_272_673, 0).saturating_mul(n.into())) + // Standard Error: 19_681 + .saturating_add(Weight::from_parts(5_637_768, 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)) .saturating_add(Weight::from_parts(0, 2555).saturating_mul(n.into())) } - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: Investments RedeemOrders (r:1 w:1) - /// Proof: Investments RedeemOrders (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - /// Storage: Investments RedeemOrderId (r:1 w:0) - /// Proof: Investments RedeemOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Investments ClearedRedeemOrders (r:10 w:0) - /// Proof: Investments ClearedRedeemOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:2 w:2) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ForeignInvestments ForeignRedemptionInfo (r:1 w:1) - /// Proof: ForeignInvestments ForeignRedemptionInfo (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) + /// Storage: `PoolSystem::Pool` (r:1 w:0) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `Investments::RedeemOrders` (r:1 w:1) + /// Proof: `Investments::RedeemOrders` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Investments::RedeemOrderId` (r:1 w:0) + /// Proof: `Investments::RedeemOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Investments::ClearedRedeemOrders` (r:10 w:0) + /// Proof: `Investments::ClearedRedeemOrders` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:2 w:2) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignInvestments::ForeignRedemptionInfo` (r:1 w:1) + /// Proof: `ForeignInvestments::ForeignRedemptionInfo` (`max_values`: None, `max_size`: Some(161), added: 2636, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 10]`. fn collect_redemptions(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2495 + n * (44 ±0)` + // Measured: `2397 + n * (44 ±0)` // Estimated: `6198 + n * (2555 ±0)` - // Minimum execution time: 111_098_000 picoseconds. - Weight::from_parts(107_238_198, 0) + // Minimum execution time: 100_808_000 picoseconds. + Weight::from_parts(95_697_939, 0) .saturating_add(Weight::from_parts(0, 6198)) - // Standard Error: 22_296 - .saturating_add(Weight::from_parts(5_129_577, 0).saturating_mul(n.into())) + // Standard Error: 19_798 + .saturating_add(Weight::from_parts(5_639_662, 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 59abe86f0f..074c2e85de 100644 --- a/runtime/centrifuge/src/weights/pallet_keystore.rs +++ b/runtime/centrifuge/src/weights/pallet_keystore.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_keystore` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_keystore // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_keystore.rs @@ -32,54 +31,54 @@ use core::marker::PhantomData; /// Weight functions for `pallet_keystore`. pub struct WeightInfo(PhantomData); impl pallet_keystore::WeightInfo for WeightInfo { - /// Storage: Keystore KeyDeposit (r:1 w:0) - /// Proof: Keystore KeyDeposit (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Keystore Keys (r:10 w:10) - /// Proof: Keystore Keys (max_values: None, max_size: Some(120), added: 2595, mode: MaxEncodedLen) - /// Storage: Keystore LastKeyByPurpose (r:0 w:1) - /// Proof: Keystore LastKeyByPurpose (max_values: None, max_size: Some(97), added: 2572, mode: MaxEncodedLen) + /// Storage: `Keystore::KeyDeposit` (r:1 w:0) + /// Proof: `Keystore::KeyDeposit` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Keystore::Keys` (r:10 w:10) + /// Proof: `Keystore::Keys` (`max_values`: None, `max_size`: Some(120), added: 2595, mode: `MaxEncodedLen`) + /// Storage: `Keystore::LastKeyByPurpose` (r:0 w:1) + /// Proof: `Keystore::LastKeyByPurpose` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 10]`. fn add_keys(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `250` + // Measured: `216` // Estimated: `3593 + n * (2595 ±0)` - // Minimum execution time: 45_615_000 picoseconds. - Weight::from_parts(18_633_396, 0) + // Minimum execution time: 37_760_000 picoseconds. + Weight::from_parts(16_409_452, 0) .saturating_add(Weight::from_parts(0, 3593)) - // Standard Error: 9_297 - .saturating_add(Weight::from_parts(28_119_544, 0).saturating_mul(n.into())) + // Standard Error: 9_527 + .saturating_add(Weight::from_parts(22_637_672, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 2595).saturating_mul(n.into())) } - /// Storage: Keystore Keys (r:10 w:10) - /// Proof: Keystore Keys (max_values: None, max_size: Some(120), added: 2595, mode: MaxEncodedLen) + /// Storage: `Keystore::Keys` (r:10 w:10) + /// Proof: `Keystore::Keys` (`max_values`: None, `max_size`: Some(120), added: 2595, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 10]`. fn revoke_keys(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `148 + n * (75 ±0)` + // Measured: `114 + n * (75 ±0)` // Estimated: `990 + n * (2595 ±0)` - // Minimum execution time: 22_512_000 picoseconds. - Weight::from_parts(10_223_210, 0) + // Minimum execution time: 17_162_000 picoseconds. + Weight::from_parts(8_240_640, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 11_426 - .saturating_add(Weight::from_parts(13_493_728, 0).saturating_mul(n.into())) + // Standard Error: 15_142 + .saturating_add(Weight::from_parts(9_969_400, 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())) } - /// Storage: Keystore KeyDeposit (r:0 w:1) - /// Proof: Keystore KeyDeposit (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: `Keystore::KeyDeposit` (r:0 w:1) + /// Proof: `Keystore::KeyDeposit` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn set_deposit() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_932_000 picoseconds. - Weight::from_parts(12_193_000, 0) + // Minimum execution time: 7_244_000 picoseconds. + Weight::from_parts(7_645_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 eb11e62d40..88c7aa8513 100644 --- a/runtime/centrifuge/src/weights/pallet_liquidity_rewards.rs +++ b/runtime/centrifuge/src/weights/pallet_liquidity_rewards.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_liquidity_rewards` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_liquidity_rewards // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_liquidity_rewards.rs @@ -32,126 +31,126 @@ use core::marker::PhantomData; /// Weight functions for `pallet_liquidity_rewards`. pub struct WeightInfo(PhantomData); impl pallet_liquidity_rewards::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: LiquidityRewards EndOfEpoch (r:1 w:0) - /// Proof: LiquidityRewards EndOfEpoch (max_values: Some(1), max_size: Some(8), added: 503, 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: `LiquidityRewards::EndOfEpoch` (r:1 w:0) + /// Proof: `LiquidityRewards::EndOfEpoch` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// 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 { // Proof Size summary in bytes: - // Measured: `295` + // Measured: `262` // Estimated: `1493` - // Minimum execution time: 9_388_000 picoseconds. - Weight::from_parts(9_766_167, 0) + // Minimum execution time: 6_501_000 picoseconds. + Weight::from_parts(6_914_210, 0) .saturating_add(Weight::from_parts(0, 1493)) - // 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())) + // Standard Error: 473 + .saturating_add(Weight::from_parts(1_250, 0).saturating_mul(x.into())) + // Standard Error: 194 + .saturating_add(Weight::from_parts(626, 0).saturating_mul(y.into())) + // Standard Error: 194 + .saturating_add(Weight::from_parts(7_112, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) } - /// Storage: LiquidityRewardsBase Currency (r:1 w:1) - /// Proof: LiquidityRewardsBase Currency (max_values: None, max_size: Some(863), added: 3338, mode: MaxEncodedLen) - /// Storage: LiquidityRewardsBase Group (r:1 w:1) - /// Proof: LiquidityRewardsBase Group (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) - /// Storage: LiquidityRewardsBase StakeAccount (r:1 w:1) - /// Proof: LiquidityRewardsBase StakeAccount (max_values: None, max_size: Some(143), added: 2618, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:1 w:0) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `LiquidityRewardsBase::Currency` (r:1 w:1) + /// Proof: `LiquidityRewardsBase::Currency` (`max_values`: None, `max_size`: Some(863), added: 3338, mode: `MaxEncodedLen`) + /// Storage: `LiquidityRewardsBase::Group` (r:1 w:1) + /// Proof: `LiquidityRewardsBase::Group` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) + /// Storage: `LiquidityRewardsBase::StakeAccount` (r:1 w:1) + /// Proof: `LiquidityRewardsBase::StakeAccount` (`max_values`: None, `max_size`: Some(143), added: 2618, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:1 w:0) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) fn stake() -> Weight { // Proof Size summary in bytes: - // Measured: `539` - // Estimated: `4328` - // Minimum execution time: 40_445_000 picoseconds. - Weight::from_parts(41_457_000, 0) - .saturating_add(Weight::from_parts(0, 4328)) + // Measured: `467` + // Estimated: `4407` + // Minimum execution time: 36_218_000 picoseconds. + Weight::from_parts(37_270_000, 0) + .saturating_add(Weight::from_parts(0, 4407)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: LiquidityRewardsBase Currency (r:1 w:1) - /// Proof: LiquidityRewardsBase Currency (max_values: None, max_size: Some(863), added: 3338, mode: MaxEncodedLen) - /// Storage: LiquidityRewardsBase Group (r:1 w:1) - /// Proof: LiquidityRewardsBase Group (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) - /// Storage: LiquidityRewardsBase StakeAccount (r:1 w:1) - /// Proof: LiquidityRewardsBase StakeAccount (max_values: None, max_size: Some(143), added: 2618, mode: MaxEncodedLen) + /// Storage: `LiquidityRewardsBase::Currency` (r:1 w:1) + /// Proof: `LiquidityRewardsBase::Currency` (`max_values`: None, `max_size`: Some(863), added: 3338, mode: `MaxEncodedLen`) + /// Storage: `LiquidityRewardsBase::Group` (r:1 w:1) + /// Proof: `LiquidityRewardsBase::Group` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) + /// Storage: `LiquidityRewardsBase::StakeAccount` (r:1 w:1) + /// Proof: `LiquidityRewardsBase::StakeAccount` (`max_values`: None, `max_size`: Some(143), added: 2618, mode: `MaxEncodedLen`) fn unstake() -> Weight { // Proof Size summary in bytes: // Measured: `176` // Estimated: `4328` - // Minimum execution time: 28_393_000 picoseconds. - Weight::from_parts(29_205_000, 0) + // Minimum execution time: 24_386_000 picoseconds. + Weight::from_parts(25_398_000, 0) .saturating_add(Weight::from_parts(0, 4328)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: LiquidityRewardsBase Currency (r:1 w:0) - /// Proof: LiquidityRewardsBase Currency (max_values: None, max_size: Some(863), added: 3338, mode: MaxEncodedLen) - /// Storage: LiquidityRewardsBase Group (r:1 w:0) - /// Proof: LiquidityRewardsBase Group (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) - /// Storage: LiquidityRewardsBase StakeAccount (r:1 w:1) - /// Proof: LiquidityRewardsBase StakeAccount (max_values: None, max_size: Some(143), added: 2618, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `LiquidityRewardsBase::Currency` (r:1 w:0) + /// Proof: `LiquidityRewardsBase::Currency` (`max_values`: None, `max_size`: Some(863), added: 3338, mode: `MaxEncodedLen`) + /// Storage: `LiquidityRewardsBase::Group` (r:1 w:0) + /// Proof: `LiquidityRewardsBase::Group` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) + /// Storage: `LiquidityRewardsBase::StakeAccount` (r:1 w:1) + /// Proof: `LiquidityRewardsBase::StakeAccount` (`max_values`: None, `max_size`: Some(143), added: 2618, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn claim_reward() -> Weight { // Proof Size summary in bytes: // Measured: `449` // Estimated: `4328` - // Minimum execution time: 58_579_000 picoseconds. - Weight::from_parts(59_621_000, 0) + // Minimum execution time: 51_947_000 picoseconds. + Weight::from_parts(53_051_000, 0) .saturating_add(Weight::from_parts(0, 4328)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: LiquidityRewards NextEpochChanges (r:1 w:1) - /// Proof: LiquidityRewards NextEpochChanges (max_values: Some(1), max_size: Some(2078), added: 2573, mode: MaxEncodedLen) + /// Storage: `LiquidityRewards::NextEpochChanges` (r:1 w:1) + /// Proof: `LiquidityRewards::NextEpochChanges` (`max_values`: Some(1), `max_size`: Some(2078), added: 2573, mode: `MaxEncodedLen`) fn set_distributed_reward() -> Weight { // Proof Size summary in bytes: - // Measured: `142` + // Measured: `109` // Estimated: `3563` - // Minimum execution time: 9_067_000 picoseconds. - Weight::from_parts(9_397_000, 0) + // Minimum execution time: 6_522_000 picoseconds. + Weight::from_parts(6_903_000, 0) .saturating_add(Weight::from_parts(0, 3563)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: LiquidityRewards NextEpochChanges (r:1 w:1) - /// Proof: LiquidityRewards NextEpochChanges (max_values: Some(1), max_size: Some(2078), added: 2573, mode: MaxEncodedLen) + /// Storage: `LiquidityRewards::NextEpochChanges` (r:1 w:1) + /// Proof: `LiquidityRewards::NextEpochChanges` (`max_values`: Some(1), `max_size`: Some(2078), added: 2573, mode: `MaxEncodedLen`) fn set_epoch_duration() -> Weight { // Proof Size summary in bytes: - // Measured: `142` + // Measured: `109` // Estimated: `3563` - // Minimum execution time: 8_927_000 picoseconds. - Weight::from_parts(9_368_000, 0) + // Minimum execution time: 6_492_000 picoseconds. + Weight::from_parts(6_773_000, 0) .saturating_add(Weight::from_parts(0, 3563)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: LiquidityRewards NextEpochChanges (r:1 w:1) - /// Proof: LiquidityRewards NextEpochChanges (max_values: Some(1), max_size: Some(2078), added: 2573, mode: MaxEncodedLen) + /// Storage: `LiquidityRewards::NextEpochChanges` (r:1 w:1) + /// Proof: `LiquidityRewards::NextEpochChanges` (`max_values`: Some(1), `max_size`: Some(2078), added: 2573, mode: `MaxEncodedLen`) fn set_group_weight() -> Weight { // Proof Size summary in bytes: - // Measured: `142` + // Measured: `109` // Estimated: `3563` - // Minimum execution time: 9_437_000 picoseconds. - Weight::from_parts(9_738_000, 0) + // Minimum execution time: 6_823_000 picoseconds. + Weight::from_parts(6_923_000, 0) .saturating_add(Weight::from_parts(0, 3563)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: LiquidityRewards NextEpochChanges (r:1 w:1) - /// Proof: LiquidityRewards NextEpochChanges (max_values: Some(1), max_size: Some(2078), added: 2573, mode: MaxEncodedLen) + /// Storage: `LiquidityRewards::NextEpochChanges` (r:1 w:1) + /// Proof: `LiquidityRewards::NextEpochChanges` (`max_values`: Some(1), `max_size`: Some(2078), added: 2573, mode: `MaxEncodedLen`) fn set_currency_group() -> Weight { // Proof Size summary in bytes: - // Measured: `142` + // Measured: `109` // Estimated: `3563` - // Minimum execution time: 9_458_000 picoseconds. - Weight::from_parts(9_919_000, 0) + // Minimum execution time: 6_773_000 picoseconds. + Weight::from_parts(7_103_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 31cfec0e8f..09cc66a1d7 100644 --- a/runtime/centrifuge/src/weights/pallet_loans.rs +++ b/runtime/centrifuge/src/weights/pallet_loans.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_loans` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_loans // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_loans.rs @@ -32,370 +31,368 @@ use core::marker::PhantomData; /// Weight functions for `pallet_loans`. pub struct WeightInfo(PhantomData); impl pallet_loans::WeightInfo for WeightInfo { - /// Storage: Permissions Permission (r:1 w:0) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: Uniques Asset (r:1 w:1) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, 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: Uniques Class (r:1 w:0) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Loans LastLoanId (r:1 w:1) - /// Proof: Loans LastLoanId (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) - /// Storage: Loans CreatedLoan (r:0 w:1) - /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, mode: MaxEncodedLen) - /// Storage: Uniques Account (r:0 w:2) - /// Proof: Uniques Account (max_values: None, max_size: Some(104), added: 2579, mode: MaxEncodedLen) - /// Storage: Uniques ItemPriceOf (r:0 w:1) - /// Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:0) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, 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: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Loans::LastLoanId` (r:1 w:1) + /// Proof: `Loans::LastLoanId` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) + /// Storage: `Loans::CreatedLoan` (r:0 w:1) + /// Proof: `Loans::CreatedLoan` (`max_values`: None, `max_size`: Some(245), added: 2720, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:2) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`) fn create() -> Weight { // Proof Size summary in bytes: // Measured: `1228` // Estimated: `4278` - // Minimum execution time: 81_361_000 picoseconds. - Weight::from_parts(82_764_000, 0) + // Minimum execution time: 74_619_000 picoseconds. + Weight::from_parts(76_393_000, 0) .saturating_add(Weight::from_parts(0, 4278)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } - /// Storage: Loans CreatedLoan (r:1 w:1) - /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, 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) - /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(36002), added: 36497, mode: MaxEncodedLen) - /// 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(24050), added: 26525, mode: MaxEncodedLen) - /// Storage: Loans ActiveLoans (r:1 w:1) - /// 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) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Loans::CreatedLoan` (r:1 w:1) + /// Proof: `Loans::CreatedLoan` (`max_values`: None, `max_size`: Some(245), added: 2720, 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) + /// Proof: `InterestAccrual::Rates` (`max_values`: Some(1), `max_size`: Some(36002), added: 36497, mode: `MaxEncodedLen`) + /// 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(24050), added: 26525, mode: `MaxEncodedLen`) + /// Storage: `Loans::ActiveLoans` (r:1 w:1) + /// Proof: `Loans::ActiveLoans` (`max_values`: None, `max_size`: Some(373026), added: 375501, 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) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 9]`. fn borrow(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `38281 + n * (340 ±0)` - // Estimated: `375491 + n * (340 ±0)` - // Minimum execution time: 256_918_000 picoseconds. - Weight::from_parts(268_479_323, 0) - .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 51_464 - .saturating_add(Weight::from_parts(1_090_521, 0).saturating_mul(n.into())) + // Measured: `38081 + n * (340 ±0)` + // Estimated: `376491` + // Minimum execution time: 257_271_000 picoseconds. + Weight::from_parts(271_593_289, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 56_742 + .saturating_add(Weight::from_parts(66_655, 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(24050), added: 26525, mode: MaxEncodedLen) - /// Storage: Loans ActiveLoans (r:1 w:1) - /// 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) - /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(36002), added: 36497, mode: MaxEncodedLen) - /// Storage: InterestAccrual LastUpdated (r:1 w:0) - /// Proof: InterestAccrual LastUpdated (max_values: Some(1), max_size: Some(8), added: 503, 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) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Loans::PortfolioValuation` (r:1 w:1) + /// 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(373026), added: 375501, 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) + /// Proof: `InterestAccrual::Rates` (`max_values`: Some(1), `max_size`: Some(36002), added: 36497, mode: `MaxEncodedLen`) + /// Storage: `InterestAccrual::LastUpdated` (r:1 w:0) + /// Proof: `InterestAccrual::LastUpdated` (`max_values`: Some(1), `max_size`: Some(8), added: 503, 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) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 9]`. fn repay(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `38434 + n * (340 ±0)` - // Estimated: `375491 + n * (340 ±0)` - // Minimum execution time: 190_325_000 picoseconds. - Weight::from_parts(196_524_248, 0) - .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 35_556 - .saturating_add(Weight::from_parts(847_252, 0).saturating_mul(n.into())) + // Measured: `38267 + n * (340 ±0)` + // Estimated: `376491` + // Minimum execution time: 191_979_000 picoseconds. + Weight::from_parts(195_609_642, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 24_834 + .saturating_add(Weight::from_parts(914_255, 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(24050), added: 26525, mode: MaxEncodedLen) - /// Storage: Loans ActiveLoans (r:1 w:1) - /// 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) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: InterestAccrual Rates (r:1 w:1) - /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(36002), added: 36497, mode: MaxEncodedLen) - /// 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(24050), added: 26525, mode: `MaxEncodedLen`) + /// Storage: `Loans::ActiveLoans` (r:1 w:1) + /// Proof: `Loans::ActiveLoans` (`max_values`: None, `max_size`: Some(373026), added: 375501, 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) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `InterestAccrual::Rates` (r:1 w:1) + /// Proof: `InterestAccrual::Rates` (`max_values`: Some(1), `max_size`: Some(36002), added: 36497, mode: `MaxEncodedLen`) + /// Storage: `InterestAccrual::LastUpdated` (r:1 w:0) + /// Proof: `InterestAccrual::LastUpdated` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 9]`. fn write_off(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `41141 + n * (340 ±0)` - // Estimated: `375491` - // Minimum execution time: 365_260_000 picoseconds. - Weight::from_parts(384_352_915, 0) - .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 54_381 - .saturating_add(Weight::from_parts(843_515, 0).saturating_mul(n.into())) + // Measured: `41068 + n * (340 ±0)` + // Estimated: `376491` + // Minimum execution time: 291_074_000 picoseconds. + Weight::from_parts(306_451_616, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 65_729 + .saturating_add(Weight::from_parts(889_240, 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(24050), added: 26525, mode: MaxEncodedLen) - /// Storage: Loans ActiveLoans (r:1 w:1) - /// 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) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: InterestAccrual Rates (r:1 w:1) - /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(36002), added: 36497, mode: MaxEncodedLen) - /// Storage: InterestAccrual LastUpdated (r:1 w:0) - /// Proof: InterestAccrual LastUpdated (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// 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(24050), added: 26525, mode: `MaxEncodedLen`) + /// Storage: `Loans::ActiveLoans` (r:1 w:1) + /// Proof: `Loans::ActiveLoans` (`max_values`: None, `max_size`: Some(373026), added: 375501, 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) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `InterestAccrual::Rates` (r:1 w:1) + /// Proof: `InterestAccrual::Rates` (`max_values`: Some(1), `max_size`: Some(36002), added: 36497, mode: `MaxEncodedLen`) + /// Storage: `InterestAccrual::LastUpdated` (r:1 w:0) + /// Proof: `InterestAccrual::LastUpdated` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 9]`. fn admin_write_off(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `41392 + n * (340 ±0)` - // Estimated: `375491` - // Minimum execution time: 381_480_000 picoseconds. - Weight::from_parts(401_491_647, 0) - .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 66_983 - .saturating_add(Weight::from_parts(913_592, 0).saturating_mul(n.into())) + // Measured: `41319 + n * (340 ±0)` + // Estimated: `376491` + // Minimum execution time: 336_618_000 picoseconds. + Weight::from_parts(351_659_527, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 59_611 + .saturating_add(Weight::from_parts(790_271, 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(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(5184), added: 7659, mode: MaxEncodedLen) + /// 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(373026), added: 375501, 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(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: 47_219_000 picoseconds. - Weight::from_parts(48_107_583, 0) - .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 8_388 - .saturating_add(Weight::from_parts(606_236, 0).saturating_mul(n.into())) + // Estimated: `376491` + // Minimum execution time: 41_297_000 picoseconds. + Weight::from_parts(42_125_690, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 5_612 + .saturating_add(Weight::from_parts(468_060, 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(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(24050), added: 26525, mode: MaxEncodedLen) - /// Storage: Loans ActiveLoans (r:1 w:1) - /// 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) - /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(36002), added: 36497, mode: MaxEncodedLen) - /// Storage: InterestAccrual LastUpdated (r:1 w:0) - /// Proof: InterestAccrual LastUpdated (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: `PoolSystem::NotedChange` (r:1 w:1) + /// 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(24050), added: 26525, mode: `MaxEncodedLen`) + /// Storage: `Loans::ActiveLoans` (r:1 w:1) + /// Proof: `Loans::ActiveLoans` (`max_values`: None, `max_size`: Some(373026), added: 375501, 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) + /// Proof: `InterestAccrual::Rates` (`max_values`: Some(1), `max_size`: Some(36002), added: 36497, mode: `MaxEncodedLen`) + /// Storage: `InterestAccrual::LastUpdated` (r:1 w:0) + /// Proof: `InterestAccrual::LastUpdated` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 9]`. fn apply_loan_mutation(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `37477 + n * (340 ±0)` - // Estimated: `375491` - // Minimum execution time: 101_429_000 picoseconds. - Weight::from_parts(103_774_947, 0) - .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 19_205 - .saturating_add(Weight::from_parts(742_675, 0).saturating_mul(n.into())) + // Measured: `37404 + n * (340 ±0)` + // Estimated: `376491` + // Minimum execution time: 121_217_000 picoseconds. + Weight::from_parts(123_415_693, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 16_707 + .saturating_add(Weight::from_parts(571_387, 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(372026), added: 374501, mode: MaxEncodedLen) - /// Storage: Loans PortfolioValuation (r:1 w:1) - /// 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(36002), added: 36497, mode: MaxEncodedLen) - /// Storage: Uniques Class (r:1 w:0) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques Asset (r:1 w:1) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: Loans ClosedLoan (r:0 w:1) - /// Proof: Loans ClosedLoan (max_values: None, max_size: Some(280), added: 2755, mode: MaxEncodedLen) - /// Storage: Uniques Account (r:0 w:2) - /// Proof: Uniques Account (max_values: None, max_size: Some(104), added: 2579, mode: MaxEncodedLen) - /// Storage: Uniques ItemPriceOf (r:0 w:1) - /// Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen) + /// Storage: `Loans::CreatedLoan` (r:1 w:0) + /// Proof: `Loans::CreatedLoan` (`max_values`: None, `max_size`: Some(245), added: 2720, mode: `MaxEncodedLen`) + /// Storage: `Loans::ActiveLoans` (r:1 w:1) + /// Proof: `Loans::ActiveLoans` (`max_values`: None, `max_size`: Some(373026), added: 375501, mode: `MaxEncodedLen`) + /// Storage: `Loans::PortfolioValuation` (r:1 w:1) + /// 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(36002), added: 36497, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Storage: `Loans::ClosedLoan` (r:0 w:1) + /// Proof: `Loans::ClosedLoan` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:2) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 9]`. fn close(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `37337 + n * (373 ±0)` - // Estimated: `375491` - // Minimum execution time: 145_201_000 picoseconds. - Weight::from_parts(153_265_392, 0) - .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 29_077 - .saturating_add(Weight::from_parts(654_059, 0).saturating_mul(n.into())) + // Measured: `37264 + n * (373 ±0)` + // Estimated: `376491` + // Minimum execution time: 134_531_000 picoseconds. + Weight::from_parts(142_641_726, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 26_601 + .saturating_add(Weight::from_parts(601_280, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(8)) } - /// Storage: Permissions Permission (r:1 w:0) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, 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(5184), added: 7659, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:0) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, 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(5184), added: 7659, mode: `MaxEncodedLen`) fn propose_write_off_policy() -> Weight { // Proof Size summary in bytes: // Measured: `478` // Estimated: `4278` - // Minimum execution time: 105_717_000 picoseconds. - Weight::from_parts(106_769_000, 0) + // Minimum execution time: 99_716_000 picoseconds. + Weight::from_parts(100_969_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(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) - /// Proof: Loans WriteOffPolicy (max_values: None, max_size: Some(5126), added: 7601, mode: MaxEncodedLen) + /// Storage: `PoolSystem::NotedChange` (r:1 w:1) + /// 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) + /// Proof: `Loans::WriteOffPolicy` (`max_values`: None, `max_size`: Some(5126), added: 7601, mode: `MaxEncodedLen`) fn apply_write_off_policy() -> Weight { // Proof Size summary in bytes: // Measured: `4854` // Estimated: `8649` - // Minimum execution time: 115_765_000 picoseconds. - Weight::from_parts(116_718_000, 0) + // Minimum execution time: 131_546_000 picoseconds. + Weight::from_parts(132_908_000, 0) .saturating_add(Weight::from_parts(0, 8649)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// 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(7542), added: 10017, mode: MaxEncodedLen) - /// Storage: OraclePriceCollection CollectionInfo (r:1 w:0) - /// 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) - /// 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(24050), added: 26525, mode: MaxEncodedLen) + /// Storage: `PoolSystem::Pool` (r:1 w:0) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// 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(7542), added: 10017, mode: `MaxEncodedLen`) + /// Storage: `OraclePriceCollection::CollectionInfo` (r:1 w:0) + /// 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(373026), added: 375501, 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(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: `37026 + n * (353 ±0)` - // Estimated: `375491` - // Minimum execution time: 94_215_000 picoseconds. - Weight::from_parts(86_429_502, 0) - .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 15_048 - .saturating_add(Weight::from_parts(10_740_788, 0).saturating_mul(n.into())) + // Measured: `36953 + n * (353 ±0)` + // Estimated: `376491` + // Minimum execution time: 110_657_000 picoseconds. + Weight::from_parts(80_744_391, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 40_449 + .saturating_add(Weight::from_parts(34_591_694, 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(24050), added: 26525, 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) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: InterestAccrual Rates (r:1 w:0) - /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(36002), added: 36497, mode: MaxEncodedLen) - /// Storage: InterestAccrual LastUpdated (r:1 w:0) - /// Proof: InterestAccrual LastUpdated (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// 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(5184), added: 7659, mode: MaxEncodedLen) + /// Storage: `Loans::PortfolioValuation` (r:1 w:0) + /// 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(373026), added: 375501, 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) + /// Proof: `InterestAccrual::Rates` (`max_values`: Some(1), `max_size`: Some(36002), added: 36497, mode: `MaxEncodedLen`) + /// Storage: `InterestAccrual::LastUpdated` (r:1 w:0) + /// Proof: `InterestAccrual::LastUpdated` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Loans::CreatedLoan` (r:1 w:0) + /// Proof: `Loans::CreatedLoan` (`max_values`: None, `max_size`: Some(245), added: 2720, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::NotedChange` (r:0 w:1) + /// 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: 289_098_000 picoseconds. - Weight::from_parts(300_966_124, 0) - .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 63_572 - .saturating_add(Weight::from_parts(867_391, 0).saturating_mul(n.into())) + // Measured: `37071 + n * (340 ±0)` + // Estimated: `376491` + // Minimum execution time: 306_813_000 picoseconds. + Weight::from_parts(320_875_517, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 85_096 + .saturating_add(Weight::from_parts(1_049_642, 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(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(24050), added: 26525, mode: MaxEncodedLen) - /// Storage: Loans ActiveLoans (r:1 w:1) - /// 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) - /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(36002), added: 36497, mode: MaxEncodedLen) - /// Storage: InterestAccrual LastUpdated (r:1 w:0) - /// Proof: InterestAccrual LastUpdated (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Loans CreatedLoan (r:1 w:1) - /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, mode: MaxEncodedLen) + /// Storage: `PoolSystem::NotedChange` (r:1 w:1) + /// 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(24050), added: 26525, mode: `MaxEncodedLen`) + /// Storage: `Loans::ActiveLoans` (r:1 w:1) + /// Proof: `Loans::ActiveLoans` (`max_values`: None, `max_size`: Some(373026), added: 375501, 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) + /// Proof: `InterestAccrual::Rates` (`max_values`: Some(1), `max_size`: Some(36002), added: 36497, mode: `MaxEncodedLen`) + /// Storage: `InterestAccrual::LastUpdated` (r:1 w:0) + /// Proof: `InterestAccrual::LastUpdated` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Loans::CreatedLoan` (r:1 w:1) + /// Proof: `Loans::CreatedLoan` (`max_values`: None, `max_size`: Some(245), added: 2720, mode: `MaxEncodedLen`) /// The range of component `n` is `[2, 8]`. fn apply_transfer_debt(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `37805 + n * (340 ±0)` - // Estimated: `375491` - // Minimum execution time: 296_362_000 picoseconds. - Weight::from_parts(305_922_343, 0) - .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 89_267 - .saturating_add(Weight::from_parts(1_930_308, 0).saturating_mul(n.into())) + // Measured: `37732 + n * (340 ±0)` + // Estimated: `376491` + // Minimum execution time: 317_713_000 picoseconds. + Weight::from_parts(330_762_786, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 82_499 + .saturating_add(Weight::from_parts(726_621, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: Loans CreatedLoan (r:1 w:1) - /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, 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) - /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(36002), added: 36497, mode: MaxEncodedLen) - /// 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(24050), added: 26525, mode: MaxEncodedLen) - /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) + /// Storage: `Loans::CreatedLoan` (r:1 w:1) + /// Proof: `Loans::CreatedLoan` (`max_values`: None, `max_size`: Some(245), added: 2720, 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) + /// Proof: `InterestAccrual::Rates` (`max_values`: Some(1), `max_size`: Some(36002), added: 36497, mode: `MaxEncodedLen`) + /// 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(24050), added: 26525, mode: `MaxEncodedLen`) + /// Storage: `Loans::ActiveLoans` (r:1 w:1) + /// Proof: `Loans::ActiveLoans` (`max_values`: None, `max_size`: Some(373026), added: 375501, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 9]`. fn increase_debt(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `36804 + n * (340 ±0)` - // Estimated: `375491` - // Minimum execution time: 187_639_000 picoseconds. - Weight::from_parts(198_899_231, 0) - .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 37_583 - .saturating_add(Weight::from_parts(945_204, 0).saturating_mul(n.into())) + // Measured: `36731 + n * (340 ±0)` + // Estimated: `376491` + // Minimum execution time: 200_694_000 picoseconds. + Weight::from_parts(213_050_296, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 68_417 + .saturating_add(Weight::from_parts(887_808, 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 6dad62985f..684c0cb6f3 100644 --- a/runtime/centrifuge/src/weights/pallet_multisig.rs +++ b/runtime/centrifuge/src/weights/pallet_multisig.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_multisig` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_multisig // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_multisig.rs @@ -37,110 +36,110 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 16_320_000 picoseconds. - Weight::from_parts(17_501_984, 0) + // Minimum execution time: 15_338_000 picoseconds. + Weight::from_parts(16_533_180, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 3 - .saturating_add(Weight::from_parts(564, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(574, 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) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_create(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `334 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 57_918_000 picoseconds. - Weight::from_parts(50_580_568, 0) + // Minimum execution time: 50_915_000 picoseconds. + Weight::from_parts(43_873_293, 0) .saturating_add(Weight::from_parts(0, 6811)) - // 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())) + // Standard Error: 815 + .saturating_add(Weight::from_parts(91_909, 0).saturating_mul(s.into())) + // Standard Error: 7 + .saturating_add(Weight::from_parts(1_538, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[3, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_approve(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `6811` - // Minimum execution time: 35_537_000 picoseconds. - Weight::from_parts(29_091_476, 0) + // Minimum execution time: 31_569_000 picoseconds. + Weight::from_parts(24_463_345, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 496 - .saturating_add(Weight::from_parts(74_879, 0).saturating_mul(s.into())) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_601, 0).saturating_mul(z.into())) + // Standard Error: 531 + .saturating_add(Weight::from_parts(82_688, 0).saturating_mul(s.into())) + // Standard Error: 5 + .saturating_add(Weight::from_parts(1_606, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_complete(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `456 + s * (33 ±0)` // Estimated: `6811` - // Minimum execution time: 64_781_000 picoseconds. - Weight::from_parts(54_794_596, 0) + // Minimum execution time: 57_838_000 picoseconds. + Weight::from_parts(47_255_589, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 721 - .saturating_add(Weight::from_parts(116_529, 0).saturating_mul(s.into())) + // Standard Error: 768 + .saturating_add(Weight::from_parts(122_970, 0).saturating_mul(s.into())) // Standard Error: 7 - .saturating_add(Weight::from_parts(1_654, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(1_675, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `334 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 46_507_000 picoseconds. - Weight::from_parts(48_517_453, 0) + // Minimum execution time: 40_035_000 picoseconds. + Weight::from_parts(41_467_020, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 890 - .saturating_add(Weight::from_parts(83_810, 0).saturating_mul(s.into())) + // Standard Error: 716 + .saturating_add(Weight::from_parts(90_922, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `6811` - // Minimum execution time: 26_129_000 picoseconds. - Weight::from_parts(26_922_322, 0) + // Minimum execution time: 21_891_000 picoseconds. + Weight::from_parts(22_563_240, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 700 - .saturating_add(Weight::from_parts(72_954, 0).saturating_mul(s.into())) + // Standard Error: 568 + .saturating_add(Weight::from_parts(83_269, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `520 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 47_177_000 picoseconds. - Weight::from_parts(48_552_897, 0) + // Minimum execution time: 41_267_000 picoseconds. + Weight::from_parts(42_346_960, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 711 - .saturating_add(Weight::from_parts(82_587, 0).saturating_mul(s.into())) + // Standard Error: 606 + .saturating_add(Weight::from_parts(85_093, 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 0bb4a765f6..bd0acee940 100644 --- a/runtime/centrifuge/src/weights/pallet_oracle_collection.rs +++ b/runtime/centrifuge/src/weights/pallet_oracle_collection.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_oracle_collection` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_oracle_collection // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_oracle_collection.rs @@ -32,73 +31,73 @@ use core::marker::PhantomData; /// Weight functions for `pallet_oracle_collection`. pub struct WeightInfo(PhantomData); impl pallet_oracle_collection::WeightInfo for WeightInfo { - /// Storage: Permissions Permission (r:1 w:0) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, 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(5184), added: 7659, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, 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(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: 29_174_000 picoseconds. - Weight::from_parts(28_828_737, 0) + // Minimum execution time: 24_276_000 picoseconds. + Weight::from_parts(24_755_058, 0) .saturating_add(Weight::from_parts(0, 3693)) - // Standard Error: 10_990 - .saturating_add(Weight::from_parts(1_490_038, 0).saturating_mul(n.into())) + // Standard Error: 8_436 + .saturating_add(Weight::from_parts(511_561, 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(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(7542), added: 10017, mode: MaxEncodedLen) - /// Storage: OraclePriceCollection CollectionInfo (r:0 w:1) - /// Proof: OraclePriceCollection CollectionInfo (max_values: None, max_size: Some(3058), added: 5533, mode: MaxEncodedLen) + /// Storage: `PoolSystem::NotedChange` (r:1 w:1) + /// 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(7542), added: 10017, mode: `MaxEncodedLen`) + /// Storage: `OraclePriceCollection::CollectionInfo` (r:0 w:1) + /// 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: `657 + n * (34 ±0)` // Estimated: `8649` - // Minimum execution time: 35_646_000 picoseconds. - Weight::from_parts(35_108_166, 0) + // Minimum execution time: 35_065_000 picoseconds. + Weight::from_parts(35_541_621, 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())) + // Standard Error: 8_931 + .saturating_add(Weight::from_parts(522_188, 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: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(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(7542), added: 10017, 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: `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(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: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `OraclePriceCollection::Collection` (r:0 w:1) + /// 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 * (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) + // Minimum execution time: 129_342_000 picoseconds. + Weight::from_parts(130_825_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())) + // Standard Error: 15_277_105 + .saturating_add(Weight::from_parts(473_216_566, 0).saturating_mul(n.into())) + // Standard Error: 756_691 + .saturating_add(Weight::from_parts(30_611_211, 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()))) diff --git a/runtime/centrifuge/src/weights/pallet_oracle_feed.rs b/runtime/centrifuge/src/weights/pallet_oracle_feed.rs index 17dcf24583..8bd62c36d7 100644 --- a/runtime/centrifuge/src/weights/pallet_oracle_feed.rs +++ b/runtime/centrifuge/src/weights/pallet_oracle_feed.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_oracle_feed` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_oracle_feed // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_oracle_feed.rs @@ -32,32 +31,32 @@ use core::marker::PhantomData; /// Weight functions for `pallet_oracle_feed`. pub struct WeightInfo(PhantomData); impl pallet_oracle_feed::WeightInfo for WeightInfo { - /// Storage: OraclePriceFeed FedValues (r:1 w:1) - /// Proof: OraclePriceFeed FedValues (max_values: None, max_size: Some(711), added: 3186, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, 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: `OraclePriceFeed::FedValues` (r:1 w:1) + /// Proof: `OraclePriceFeed::FedValues` (`max_values`: None, `max_size`: Some(711), added: 3186, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn feed_with_fee() -> Weight { // Proof Size summary in bytes: // Measured: `387` // Estimated: `4176` - // Minimum execution time: 66_544_000 picoseconds. - Weight::from_parts(67_205_000, 0) + // Minimum execution time: 50_644_000 picoseconds. + Weight::from_parts(51_506_000, 0) .saturating_add(Weight::from_parts(0, 4176)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: OraclePriceFeed FedValues (r:1 w:1) - /// Proof: OraclePriceFeed FedValues (max_values: None, max_size: Some(711), added: 3186, 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: `OraclePriceFeed::FedValues` (r:1 w:1) + /// Proof: `OraclePriceFeed::FedValues` (`max_values`: None, `max_size`: Some(711), added: 3186, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn feed_without_fee() -> Weight { // Proof Size summary in bytes: // Measured: `413` // Estimated: `4176` - // Minimum execution time: 23_083_000 picoseconds. - Weight::from_parts(23_984_000, 0) + // Minimum execution time: 19_166_000 picoseconds. + Weight::from_parts(19_607_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 5247ae670e..fb6f1f781c 100644 --- a/runtime/centrifuge/src/weights/pallet_order_book.rs +++ b/runtime/centrifuge/src/weights/pallet_order_book.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_order_book` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_order_book // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_order_book.rs @@ -32,94 +31,94 @@ use core::marker::PhantomData; /// Weight functions for `pallet_order_book`. pub struct WeightInfo(PhantomData); impl pallet_order_book::WeightInfo for WeightInfo { - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrderBook OrderIdNonceStore (r:1 w:1) - /// Proof: OrderBook OrderIdNonceStore (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:1 w:1) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrderBook Orders (r:0 w:1) - /// Proof: OrderBook Orders (max_values: None, max_size: Some(171), added: 2646, mode: MaxEncodedLen) - /// Storage: OrderBook UserOrders (r:0 w:1) - /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `OrderBook::OrderIdNonceStore` (r:1 w:1) + /// Proof: `OrderBook::OrderIdNonceStore` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:1 w:1) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrderBook::Orders` (r:0 w:1) + /// Proof: `OrderBook::Orders` (`max_values`: None, `max_size`: Some(171), added: 2646, mode: `MaxEncodedLen`) + /// Storage: `OrderBook::UserOrders` (r:0 w:1) + /// Proof: `OrderBook::UserOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) fn place_order() -> Weight { // Proof Size summary in bytes: - // Measured: `742` - // Estimated: `4207` - // Minimum execution time: 54_561_000 picoseconds. - Weight::from_parts(55_152_000, 0) - .saturating_add(Weight::from_parts(0, 4207)) + // Measured: `692` + // Estimated: `4407` + // Minimum execution time: 45_916_000 picoseconds. + Weight::from_parts(47_449_000, 0) + .saturating_add(Weight::from_parts(0, 4407)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: OrderBook Orders (r:1 w:1) - /// Proof: OrderBook Orders (max_values: None, max_size: Some(171), added: 2646, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrmlTokens Accounts (r:1 w:1) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) + /// Storage: `OrderBook::Orders` (r:1 w:1) + /// Proof: `OrderBook::Orders` (`max_values`: None, `max_size`: Some(171), added: 2646, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:1 w:1) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) fn update_order() -> Weight { // Proof Size summary in bytes: - // Measured: `946` - // Estimated: `4411` - // Minimum execution time: 49_702_000 picoseconds. - Weight::from_parts(50_905_000, 0) - .saturating_add(Weight::from_parts(0, 4411)) + // Measured: `896` + // Estimated: `4407` + // Minimum execution time: 44_593_000 picoseconds. + Weight::from_parts(45_495_000, 0) + .saturating_add(Weight::from_parts(0, 4407)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: OrderBook Orders (r:1 w:1) - /// Proof: OrderBook Orders (max_values: None, max_size: Some(171), added: 2646, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:1 w:1) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrderBook UserOrders (r:0 w:1) - /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) + /// Storage: `OrderBook::Orders` (r:1 w:1) + /// Proof: `OrderBook::Orders` (`max_values`: None, `max_size`: Some(171), added: 2646, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:1 w:1) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `OrderBook::UserOrders` (r:0 w:1) + /// Proof: `OrderBook::UserOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) fn cancel_order() -> Weight { // Proof Size summary in bytes: - // Measured: `946` - // Estimated: `4411` - // Minimum execution time: 52_497_000 picoseconds. - Weight::from_parts(53_189_000, 0) - .saturating_add(Weight::from_parts(0, 4411)) + // Measured: `896` + // Estimated: `4407` + // Minimum execution time: 47_599_000 picoseconds. + Weight::from_parts(48_360_000, 0) + .saturating_add(Weight::from_parts(0, 4407)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: OrderBook Orders (r:1 w:1) - /// Proof: OrderBook Orders (max_values: None, max_size: Some(171), added: 2646, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrderBook MarketFeederId (r:1 w:0) - /// Proof: OrderBook MarketFeederId (max_values: Some(1), max_size: Some(604), added: 1099, mode: MaxEncodedLen) - /// Storage: OraclePriceFeed FedValues (r:1 w:0) - /// Proof: OraclePriceFeed FedValues (max_values: None, max_size: Some(711), added: 3186, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:4 w:4) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Swaps OrderIdToSwapId (r:1 w:0) - /// Proof: Swaps OrderIdToSwapId (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen) - /// Storage: OrderBook UserOrders (r:0 w:1) - /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) + /// Storage: `OrderBook::Orders` (r:1 w:1) + /// Proof: `OrderBook::Orders` (`max_values`: None, `max_size`: Some(171), added: 2646, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:2 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `OrderBook::MarketFeederId` (r:1 w:0) + /// Proof: `OrderBook::MarketFeederId` (`max_values`: Some(1), `max_size`: Some(604), added: 1099, mode: `MaxEncodedLen`) + /// Storage: `OraclePriceFeed::FedValues` (r:1 w:0) + /// Proof: `OraclePriceFeed::FedValues` (`max_values`: None, `max_size`: Some(711), added: 3186, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:4 w:4) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Swaps::OrderIdToSwapId` (r:1 w:0) + /// Proof: `Swaps::OrderIdToSwapId` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `OrderBook::UserOrders` (r:0 w:1) + /// Proof: `OrderBook::UserOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) fn fill_order() -> Weight { // Proof Size summary in bytes: - // Measured: `1731` + // Measured: `1628` // Estimated: `11406` - // Minimum execution time: 168_764_000 picoseconds. - Weight::from_parts(171_238_000, 0) + // Minimum execution time: 148_507_000 picoseconds. + Weight::from_parts(150_471_000, 0) .saturating_add(Weight::from_parts(0, 11406)) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(8)) } - /// Storage: OrderBook MarketFeederId (r:0 w:1) - /// Proof: OrderBook MarketFeederId (max_values: Some(1), max_size: Some(604), added: 1099, mode: MaxEncodedLen) + /// Storage: `OrderBook::MarketFeederId` (r:0 w:1) + /// Proof: `OrderBook::MarketFeederId` (`max_values`: Some(1), `max_size`: Some(604), added: 1099, mode: `MaxEncodedLen`) fn set_market_feeder() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_365_000 picoseconds. - Weight::from_parts(13_786_000, 0) + // Minimum execution time: 8_285_000 picoseconds. + Weight::from_parts(8_867_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 a959c83d2e..5f7fd5cc64 100644 --- a/runtime/centrifuge/src/weights/pallet_permissions.rs +++ b/runtime/centrifuge/src/weights/pallet_permissions.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_permissions` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_permissions // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_permissions.rs @@ -32,82 +31,82 @@ use core::marker::PhantomData; /// Weight functions for `pallet_permissions`. pub struct WeightInfo(PhantomData); impl pallet_permissions::WeightInfo for WeightInfo { - /// Storage: Permissions PermissionCount (r:1 w:1) - /// Proof: Permissions PermissionCount (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - /// Storage: Permissions Permission (r:1 w:1) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Storage: `Permissions::PermissionCount` (r:1 w:1) + /// Proof: `Permissions::PermissionCount` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `Permissions::Permission` (r:1 w:1) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) fn add_as_admin() -> Weight { // Proof Size summary in bytes: // Measured: `3` // Estimated: `3693` - // Minimum execution time: 20_979_000 picoseconds. - Weight::from_parts(21_640_000, 0) + // Minimum execution time: 16_992_000 picoseconds. + Weight::from_parts(17_683_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Permissions Permission (r:2 w:1) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: Permissions PermissionCount (r:1 w:1) - /// Proof: Permissions PermissionCount (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:2 w:1) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `Permissions::PermissionCount` (r:1 w:1) + /// Proof: `Permissions::PermissionCount` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) fn add_as_editor() -> Weight { // Proof Size summary in bytes: // Measured: `162` // Estimated: `6396` - // Minimum execution time: 28_283_000 picoseconds. - Weight::from_parts(29_084_000, 0) + // Minimum execution time: 24_876_000 picoseconds. + Weight::from_parts(25_528_000, 0) .saturating_add(Weight::from_parts(0, 6396)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Permissions PermissionCount (r:1 w:1) - /// Proof: Permissions PermissionCount (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - /// Storage: Permissions Permission (r:1 w:1) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Storage: `Permissions::PermissionCount` (r:1 w:1) + /// Proof: `Permissions::PermissionCount` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `Permissions::Permission` (r:1 w:1) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) fn remove_as_admin() -> Weight { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3693` - // Minimum execution time: 24_455_000 picoseconds. - Weight::from_parts(24_846_000, 0) + // Minimum execution time: 20_128_000 picoseconds. + Weight::from_parts(20_548_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Permissions Permission (r:2 w:1) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: Permissions PermissionCount (r:1 w:1) - /// Proof: Permissions PermissionCount (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:2 w:1) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `Permissions::PermissionCount` (r:1 w:1) + /// Proof: `Permissions::PermissionCount` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) fn remove_as_editor() -> Weight { // Proof Size summary in bytes: // Measured: `256` // Estimated: `6396` - // Minimum execution time: 30_567_000 picoseconds. - Weight::from_parts(31_299_000, 0) + // Minimum execution time: 27_151_000 picoseconds. + Weight::from_parts(27_842_000, 0) .saturating_add(Weight::from_parts(0, 6396)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Permissions Permission (r:1 w:1) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:1) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) fn purge() -> Weight { // Proof Size summary in bytes: // Measured: `146` // Estimated: `3693` - // Minimum execution time: 20_899_000 picoseconds. - Weight::from_parts(21_650_000, 0) + // Minimum execution time: 17_081_000 picoseconds. + Weight::from_parts(17_573_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Permissions Permission (r:1 w:1) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:1) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) fn admin_purge() -> Weight { // Proof Size summary in bytes: // Measured: `146` // Estimated: `3693` - // Minimum execution time: 21_730_000 picoseconds. - Weight::from_parts(22_271_000, 0) + // Minimum execution time: 17_492_000 picoseconds. + Weight::from_parts(18_124_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 47def1bdc2..a02e2d1026 100644 --- a/runtime/centrifuge/src/weights/pallet_pool_fees.rs +++ b/runtime/centrifuge/src/weights/pallet_pool_fees.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_pool_fees` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_pool_fees // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_pool_fees.rs @@ -32,122 +31,122 @@ use core::marker::PhantomData; /// Weight functions for `pallet_pool_fees`. pub struct WeightInfo(PhantomData); 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: Permissions Permission (r:1 w:0) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: PoolFees LastFeeId (r:1 w:1) - /// Proof: PoolFees LastFeeId (max_values: Some(1), max_size: Some(8), added: 503, 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(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: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::LastFeeId` (r:1 w:1) + /// Proof: `PoolFees::LastFeeId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, 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(5184), added: 7659, mode: `MaxEncodedLen`) fn propose_new_fee() -> Weight { // Proof Size summary in bytes: // Measured: `581` // Estimated: `4278` - // Minimum execution time: 43_561_000 picoseconds. - Weight::from_parts(44_193_000, 0) + // Minimum execution time: 35_577_000 picoseconds. + Weight::from_parts(36_578_000, 0) .saturating_add(Weight::from_parts(0, 4278)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } - /// 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(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) - /// Proof: PoolFees FeeIds (max_values: None, max_size: Some(843), added: 3318, mode: MaxEncodedLen) - /// Storage: PoolFees ActiveFees (r:1 w:1) - /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) + /// 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(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) + /// Proof: `PoolFees::FeeIds` (`max_values`: None, `max_size`: Some(843), added: 3318, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::ActiveFees` (r:1 w:1) + /// Proof: `PoolFees::ActiveFees` (`max_values`: None, `max_size`: Some(14043), added: 16518, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 99]`. fn apply_new_fee(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1395 + n * (137 ±0)` // Estimated: `17508` - // Minimum execution time: 54_962_000 picoseconds. - Weight::from_parts(55_423_381, 0) + // Minimum execution time: 56_726_000 picoseconds. + Weight::from_parts(57_282_882, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 2_061 - .saturating_add(Weight::from_parts(285_969, 0).saturating_mul(n.into())) + // Standard Error: 1_865 + .saturating_add(Weight::from_parts(289_067, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: PoolFees FeeIdsToPoolBucket (r:1 w:1) - /// Proof: PoolFees FeeIdsToPoolBucket (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) - /// Storage: PoolFees ActiveFees (r:1 w:1) - /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) - /// Storage: PoolFees FeeIds (r:1 w:1) - /// Proof: PoolFees FeeIds (max_values: None, max_size: Some(843), added: 3318, 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::ActiveFees` (r:1 w:1) + /// Proof: `PoolFees::ActiveFees` (`max_values`: None, `max_size`: Some(14043), added: 16518, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::FeeIds` (r:1 w:1) + /// Proof: `PoolFees::FeeIds` (`max_values`: None, `max_size`: Some(843), added: 3318, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 100]`. fn remove_fee(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `709 + n * (136 ±0)` // Estimated: `17508` - // Minimum execution time: 37_369_000 picoseconds. - Weight::from_parts(38_425_852, 0) + // Minimum execution time: 34_966_000 picoseconds. + Weight::from_parts(37_186_153, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 3_944 - .saturating_add(Weight::from_parts(404_629, 0).saturating_mul(n.into())) + // Standard Error: 3_901 + .saturating_add(Weight::from_parts(428_616, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: PoolFees FeeIdsToPoolBucket (r:1 w:0) - /// Proof: PoolFees FeeIdsToPoolBucket (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) - /// Storage: PoolFees ActiveFees (r:1 w:1) - /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) + /// Storage: `PoolFees::FeeIdsToPoolBucket` (r:1 w:0) + /// Proof: `PoolFees::FeeIdsToPoolBucket` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::ActiveFees` (r:1 w:1) + /// Proof: `PoolFees::ActiveFees` (`max_values`: None, `max_size`: Some(14043), added: 16518, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 99]`. fn charge_fee(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `795 + n * (129 ±0)` // Estimated: `17508` - // Minimum execution time: 27_632_000 picoseconds. - Weight::from_parts(27_469_772, 0) + // Minimum execution time: 24_425_000 picoseconds. + Weight::from_parts(24_164_408, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 2_019 - .saturating_add(Weight::from_parts(259_199, 0).saturating_mul(n.into())) + // Standard Error: 2_222 + .saturating_add(Weight::from_parts(262_898, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: PoolFees FeeIdsToPoolBucket (r:1 w:0) - /// Proof: PoolFees FeeIdsToPoolBucket (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) - /// Storage: PoolFees ActiveFees (r:1 w:1) - /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) + /// Storage: `PoolFees::FeeIdsToPoolBucket` (r:1 w:0) + /// Proof: `PoolFees::FeeIdsToPoolBucket` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::ActiveFees` (r:1 w:1) + /// Proof: `PoolFees::ActiveFees` (`max_values`: None, `max_size`: Some(14043), added: 16518, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 99]`. fn uncharge_fee(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `795 + n * (129 ±0)` // Estimated: `17508` - // Minimum execution time: 26_991_000 picoseconds. - Weight::from_parts(26_651_227, 0) + // Minimum execution time: 23_915_000 picoseconds. + Weight::from_parts(23_620_971, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 2_159 - .saturating_add(Weight::from_parts(259_300, 0).saturating_mul(n.into())) + // Standard Error: 2_185 + .saturating_add(Weight::from_parts(260_376, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: PoolFees PortfolioValuation (r:1 w:1) - /// Proof: PoolFees PortfolioValuation (max_values: None, max_size: Some(4850), added: 7325, 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: PoolFees AssetsUnderManagement (r:1 w:0) - /// Proof: PoolFees AssetsUnderManagement (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) - /// Storage: PoolFees ActiveFees (r:1 w:1) - /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) + /// Storage: `PoolSystem::Pool` (r:1 w:0) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::PortfolioValuation` (r:1 w:1) + /// Proof: `PoolFees::PortfolioValuation` (`max_values`: None, `max_size`: Some(4850), added: 7325, 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: `PoolFees::AssetsUnderManagement` (r:1 w:0) + /// Proof: `PoolFees::AssetsUnderManagement` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::ActiveFees` (r:1 w:1) + /// Proof: `PoolFees::ActiveFees` (`max_values`: None, `max_size`: Some(14043), added: 16518, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 100]`. fn update_portfolio_valuation(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `603 + n * (124 ±0)` // Estimated: `17508` - // Minimum execution time: 48_631_000 picoseconds. - Weight::from_parts(42_835_341, 0) + // Minimum execution time: 42_099_000 picoseconds. + Weight::from_parts(39_371_621, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 3_863 - .saturating_add(Weight::from_parts(6_212_825, 0).saturating_mul(n.into())) + // Standard Error: 3_636 + .saturating_add(Weight::from_parts(2_980_612, 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 0941a5eb7d..83b032d6bc 100644 --- a/runtime/centrifuge/src/weights/pallet_pool_registry.rs +++ b/runtime/centrifuge/src/weights/pallet_pool_registry.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_pool_registry` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_pool_registry // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_pool_registry.rs @@ -32,171 +31,171 @@ use core::marker::PhantomData; /// Weight functions for `pallet_pool_registry`. pub struct WeightInfo(PhantomData); impl pallet_pool_registry::WeightInfo for WeightInfo { - /// Storage: PoolRegistry Pools (r:1 w:1) - /// Proof: PoolRegistry Pools (max_values: None, max_size: Some(25), added: 2500, mode: MaxEncodedLen) - /// Storage: PoolSystem Pool (r:1 w:1) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:6 w:5) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: PoolSystem AccountDeposit (r:1 w:1) - /// Proof: PoolSystem AccountDeposit (max_values: None, max_size: Some(64), added: 2539, 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: PoolFees LastFeeId (r:1 w:1) - /// Proof: PoolFees LastFeeId (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: PoolFees FeeIdsToPoolBucket (r:100 w:100) - /// Proof: PoolFees FeeIdsToPoolBucket (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) - /// Storage: PoolFees FeeIds (r:1 w:1) - /// Proof: PoolFees FeeIds (max_values: None, max_size: Some(843), added: 3318, mode: MaxEncodedLen) - /// Storage: PoolFees ActiveFees (r:1 w:1) - /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) - /// Storage: Permissions PermissionCount (r:1 w:1) - /// Proof: Permissions PermissionCount (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - /// Storage: Permissions Permission (r:1 w:1) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: Loans WriteOffPolicy (r:0 w:1) - /// Proof: Loans WriteOffPolicy (max_values: None, max_size: Some(5126), added: 7601, mode: MaxEncodedLen) - /// Storage: PoolSystem PoolDeposit (r:0 w:1) - /// Proof: PoolSystem PoolDeposit (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) + /// Storage: `PoolRegistry::Pools` (r:1 w:1) + /// Proof: `PoolRegistry::Pools` (`max_values`: None, `max_size`: Some(25), added: 2500, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:1) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:6 w:5) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::AccountDeposit` (r:1 w:1) + /// Proof: `PoolSystem::AccountDeposit` (`max_values`: None, `max_size`: Some(64), added: 2539, 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: `PoolFees::LastFeeId` (r:1 w:1) + /// Proof: `PoolFees::LastFeeId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::FeeIdsToPoolBucket` (r:100 w:100) + /// Proof: `PoolFees::FeeIdsToPoolBucket` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::FeeIds` (r:1 w:1) + /// Proof: `PoolFees::FeeIds` (`max_values`: None, `max_size`: Some(843), added: 3318, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::ActiveFees` (r:1 w:1) + /// Proof: `PoolFees::ActiveFees` (`max_values`: None, `max_size`: Some(14043), added: 16518, mode: `MaxEncodedLen`) + /// Storage: `Permissions::PermissionCount` (r:1 w:1) + /// Proof: `Permissions::PermissionCount` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `Permissions::Permission` (r:1 w:1) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `Loans::WriteOffPolicy` (r:0 w:1) + /// Proof: `Loans::WriteOffPolicy` (`max_values`: None, `max_size`: Some(5126), added: 7601, mode: `MaxEncodedLen`) + /// Storage: `PoolRegistry::PoolMetadata` (r:0 w:1) + /// Proof: `PoolRegistry::PoolMetadata` (`max_values`: None, `max_size`: Some(71), added: 2546, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::PoolDeposit` (r:0 w:1) + /// Proof: `PoolSystem::PoolDeposit` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 5]`. /// The range of component `m` is `[0, 100]`. fn register(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `614` - // Estimated: `17508 + m * (2508 ±0) + n * (2475 ±0)` - // Minimum execution time: 247_641_000 picoseconds. - Weight::from_parts(118_429_138, 0) + // Measured: `595` + // Estimated: `17508 + m * (2508 ±0) + n * (3417 ±0)` + // Minimum execution time: 207_187_000 picoseconds. + Weight::from_parts(134_932_487, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 87_363 - .saturating_add(Weight::from_parts(27_578_189, 0).saturating_mul(m.into())) + // Standard Error: 83_180 + .saturating_add(Weight::from_parts(24_022_038, 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()))) - .saturating_add(T::DbWeight::get().writes(11)) + .saturating_add(T::DbWeight::get().writes(12)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(m.into()))) .saturating_add(Weight::from_parts(0, 2508).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 2475).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 3417).saturating_mul(n.into())) } - /// Storage: Permissions Permission (r:1 w:0) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: PoolSystem EpochExecution (r:1 w:0) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, 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: 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) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::EpochExecution` (r:1 w:0) + /// Proof: `PoolSystem::EpochExecution` (`max_values`: None, `max_size`: Some(754), added: 3229, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:0) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, 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: `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(1504), added: 3979, 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: `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) + // Minimum execution time: 60_493_000 picoseconds. + Weight::from_parts(50_920_021, 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())) + // Standard Error: 34_654 + .saturating_add(Weight::from_parts(2_983_125, 0).saturating_mul(n.into())) + // Standard Error: 1_581 + .saturating_add(Weight::from_parts(208_639, 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())) } - /// Storage: Permissions Permission (r:1 w:0) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: PoolSystem EpochExecution (r:1 w:0) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) - /// Storage: PoolSystem Pool (r:1 w:1) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, 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: Investments ActiveRedeemOrders (r:5 w:0) - /// 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) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::EpochExecution` (r:1 w:0) + /// Proof: `PoolSystem::EpochExecution` (`max_values`: None, `max_size`: Some(754), added: 3229, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:1) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, 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: `Investments::ActiveRedeemOrders` (r:5 w:0) + /// Proof: `Investments::ActiveRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:5 w:1) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, 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(1504), added: 3979, 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: `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) + // Measured: `960 + m * (124 ±0) + n * (200 ±0)` + // Estimated: `17508 + n * (3417 ±0)` + // Minimum execution time: 100_818_000 picoseconds. + Weight::from_parts(70_751_268, 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()))) + // Standard Error: 41_555 + .saturating_add(Weight::from_parts(10_532_795, 0).saturating_mul(n.into())) + // Standard Error: 1_896 + .saturating_add(Weight::from_parts(220_140, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().reads((2_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())) + .saturating_add(Weight::from_parts(0, 3417).saturating_mul(n.into())) } - /// Storage: PoolSystem Pool (r:1 w:1) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: PoolSystem EpochExecution (r:1 w:0) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) - /// Storage: PoolSystem ScheduledUpdate (r:1 w:1) - /// Proof: PoolSystem ScheduledUpdate (max_values: None, max_size: Some(1019), added: 3494, 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: Investments ActiveRedeemOrders (r:5 w:0) - /// 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::Pool` (r:1 w:1) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::EpochExecution` (r:1 w:0) + /// Proof: `PoolSystem::EpochExecution` (`max_values`: None, `max_size`: Some(754), added: 3229, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::ScheduledUpdate` (r:1 w:1) + /// Proof: `PoolSystem::ScheduledUpdate` (`max_values`: None, `max_size`: Some(1504), added: 3979, 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: `Investments::ActiveRedeemOrders` (r:5 w:0) + /// Proof: `Investments::ActiveRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:5 w:1) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// 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: `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) + // Measured: `948 + m * (124 ±0) + n * (227 ±0)` + // Estimated: `17508 + n * (3417 ±0)` + // Minimum execution time: 92_523_000 picoseconds. + Weight::from_parts(62_401_403, 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()))) + // Standard Error: 45_703 + .saturating_add(Weight::from_parts(11_004_977, 0).saturating_mul(n.into())) + // Standard Error: 2_085 + .saturating_add(Weight::from_parts(214_718, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().reads((2_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())) + .saturating_add(Weight::from_parts(0, 3417).saturating_mul(n.into())) } - /// Storage: Permissions Permission (r:1 w:0) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: PoolRegistry PoolMetadata (r:0 w:1) - /// Proof: PoolRegistry PoolMetadata (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolRegistry::PoolMetadata` (r:0 w:1) + /// Proof: `PoolRegistry::PoolMetadata` (`max_values`: None, `max_size`: Some(71), added: 2546, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 46]`. /// The range of component `m` is `[0, 100]`. fn set_metadata(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `146` // Estimated: `3693` - // Minimum execution time: 23_103_000 picoseconds. - Weight::from_parts(23_924_253, 0) + // Minimum execution time: 18_926_000 picoseconds. + Weight::from_parts(19_576_499, 0) .saturating_add(Weight::from_parts(0, 3693)) - // 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())) + // Standard Error: 670 + .saturating_add(Weight::from_parts(8_248, 0).saturating_mul(n.into())) + // Standard Error: 311 + .saturating_add(Weight::from_parts(21_318, 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 086b596d9d..abf51c4efc 100644 --- a/runtime/centrifuge/src/weights/pallet_pool_system.rs +++ b/runtime/centrifuge/src/weights/pallet_pool_system.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_pool_system` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_pool_system // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_pool_system.rs @@ -32,253 +31,259 @@ use core::marker::PhantomData; /// Weight functions for `pallet_pool_system`. pub struct WeightInfo(PhantomData); impl pallet_pool_system::WeightInfo for WeightInfo { - /// Storage: Permissions Permission (r:1 w:0) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: PoolSystem Pool (r:1 w:1) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:1) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) /// The range of component `m` is `[0, 100]`. fn set_max_reserve(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `592` + // Measured: `554` // Estimated: `4278` - // Minimum execution time: 29_034_000 picoseconds. - Weight::from_parts(30_127_895, 0) + // Minimum execution time: 24_495_000 picoseconds. + Weight::from_parts(25_394_511, 0) .saturating_add(Weight::from_parts(0, 4278)) - // Standard Error: 431 - .saturating_add(Weight::from_parts(31_006, 0).saturating_mul(m.into())) + // Standard Error: 442 + .saturating_add(Weight::from_parts(28_512, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: PoolSystem Pool (r:1 w:1) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: PoolSystem EpochExecution (r:1 w:0) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, 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:1 w:0) - /// 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) - /// Proof: PoolFees AssetsUnderManagement (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) - /// Storage: PoolFees ActiveFees (r:1 w:1) - /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) - /// Storage: OrmlTokens TotalIssuance (r:5 w:0) - /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: Investments ActiveInvestOrders (r:5 w:5) - /// Proof: Investments ActiveInvestOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InProcessingInvestOrders (r:5 w:5) - /// Proof: Investments InProcessingInvestOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InvestOrderId (r:5 w:5) - /// Proof: Investments InvestOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Investments ActiveRedeemOrders (r:5 w:5) - /// Proof: Investments ActiveRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InProcessingRedeemOrders (r:5 w:5) - /// Proof: Investments InProcessingRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments RedeemOrderId (r:5 w:5) - /// Proof: Investments RedeemOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:5 w:0) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: Investments ClearedInvestOrders (r:0 w:5) - /// Proof: Investments ClearedInvestOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) - /// Storage: Investments ClearedRedeemOrders (r:0 w:5) - /// Proof: Investments ClearedRedeemOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:1) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::EpochExecution` (r:1 w:0) + /// Proof: `PoolSystem::EpochExecution` (`max_values`: None, `max_size`: Some(754), added: 3229, 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:1 w:0) + /// 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) + /// Proof: `PoolFees::AssetsUnderManagement` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::ActiveFees` (r:1 w:1) + /// Proof: `PoolFees::ActiveFees` (`max_values`: None, `max_size`: Some(14043), added: 16518, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::TotalIssuance` (r:5 w:0) + /// Proof: `OrmlTokens::TotalIssuance` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Investments::ActiveInvestOrders` (r:5 w:5) + /// Proof: `Investments::ActiveInvestOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InProcessingInvestOrders` (r:5 w:5) + /// Proof: `Investments::InProcessingInvestOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InvestOrderId` (r:5 w:5) + /// Proof: `Investments::InvestOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Investments::ActiveRedeemOrders` (r:5 w:5) + /// Proof: `Investments::ActiveRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InProcessingRedeemOrders` (r:5 w:5) + /// Proof: `Investments::InProcessingRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::RedeemOrderId` (r:5 w:5) + /// Proof: `Investments::RedeemOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:5 w:0) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `Investments::ClearedInvestOrders` (r:0 w:5) + /// Proof: `Investments::ClearedInvestOrders` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `Investments::ClearedRedeemOrders` (r:0 w:5) + /// Proof: `Investments::ClearedRedeemOrders` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 5]`. /// The range of component `m` is `[1, 100]`. fn close_epoch_no_orders(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1080 + m * (124 ±0) + n * (133 ±0)` + // Measured: `1216 + m * (124 ±0) + n * (133 ±0)` // Estimated: `27515 + n * (2604 ±0)` - // Minimum execution time: 503_066_000 picoseconds. - Weight::from_parts(83_489_245, 0) + // Minimum execution time: 436_896_000 picoseconds. + Weight::from_parts(81_585_373, 0) .saturating_add(Weight::from_parts(0, 27515)) - // 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)) + // Standard Error: 123_362 + .saturating_add(Weight::from_parts(71_083_398, 0).saturating_mul(n.into())) + // Standard Error: 5_697 + .saturating_add(Weight::from_parts(3_386_226, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((8_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((8_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 2604).saturating_mul(n.into())) } - /// Storage: PoolSystem Pool (r:1 w:1) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: PoolSystem EpochExecution (r:1 w:1) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, 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:1 w:0) - /// 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) - /// Proof: PoolFees AssetsUnderManagement (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) - /// Storage: PoolFees ActiveFees (r:1 w:1) - /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) - /// Storage: OrmlTokens TotalIssuance (r:5 w:0) - /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: Investments ActiveInvestOrders (r:5 w:5) - /// Proof: Investments ActiveInvestOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InProcessingInvestOrders (r:5 w:5) - /// Proof: Investments InProcessingInvestOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InvestOrderId (r:5 w:5) - /// Proof: Investments InvestOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Investments ActiveRedeemOrders (r:5 w:5) - /// Proof: Investments ActiveRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InProcessingRedeemOrders (r:5 w:5) - /// Proof: Investments InProcessingRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments RedeemOrderId (r:5 w:5) - /// Proof: Investments RedeemOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:1) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::EpochExecution` (r:1 w:1) + /// Proof: `PoolSystem::EpochExecution` (`max_values`: None, `max_size`: Some(754), added: 3229, 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:1 w:0) + /// 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) + /// Proof: `PoolFees::AssetsUnderManagement` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::ActiveFees` (r:1 w:1) + /// Proof: `PoolFees::ActiveFees` (`max_values`: None, `max_size`: Some(14043), added: 16518, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::TotalIssuance` (r:5 w:0) + /// Proof: `OrmlTokens::TotalIssuance` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Investments::ActiveInvestOrders` (r:5 w:5) + /// Proof: `Investments::ActiveInvestOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InProcessingInvestOrders` (r:5 w:5) + /// Proof: `Investments::InProcessingInvestOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InvestOrderId` (r:5 w:5) + /// Proof: `Investments::InvestOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Investments::ActiveRedeemOrders` (r:5 w:5) + /// Proof: `Investments::ActiveRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InProcessingRedeemOrders` (r:5 w:5) + /// Proof: `Investments::InProcessingRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::RedeemOrderId` (r:5 w:5) + /// Proof: `Investments::RedeemOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 5]`. /// The range of component `m` is `[0, 100]`. fn close_epoch_no_execution(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1244 + m * (124 ±0) + n * (133 ±0)` + // Measured: `1428 + m * (124 ±0) + n * (133 ±0)` // Estimated: `27515 + n * (2531 ±0)` - // Minimum execution time: 252_130_000 picoseconds. - Weight::from_parts(88_135_536, 0) + // Minimum execution time: 223_157_000 picoseconds. + Weight::from_parts(91_267_466, 0) .saturating_add(Weight::from_parts(0, 27515)) - // 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)) + // Standard Error: 84_017 + .saturating_add(Weight::from_parts(27_905_302, 0).saturating_mul(n.into())) + // Standard Error: 3_834 + .saturating_add(Weight::from_parts(3_184_077, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 2531).saturating_mul(n.into())) } - /// Storage: PoolSystem Pool (r:1 w:1) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: PoolSystem EpochExecution (r:1 w:0) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, 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:1 w:0) - /// 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) - /// Proof: PoolFees AssetsUnderManagement (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) - /// Storage: PoolFees ActiveFees (r:1 w:1) - /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) - /// Storage: OrmlTokens TotalIssuance (r:5 w:1) - /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: Investments ActiveInvestOrders (r:5 w:5) - /// Proof: Investments ActiveInvestOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InProcessingInvestOrders (r:5 w:5) - /// Proof: Investments InProcessingInvestOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InvestOrderId (r:5 w:5) - /// Proof: Investments InvestOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Investments ActiveRedeemOrders (r:5 w:5) - /// Proof: Investments ActiveRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InProcessingRedeemOrders (r:5 w:5) - /// Proof: Investments InProcessingRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments RedeemOrderId (r:5 w:5) - /// Proof: Investments RedeemOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:7 w:3) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Investments ClearedInvestOrders (r:0 w:5) - /// Proof: Investments ClearedInvestOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) - /// Storage: Investments ClearedRedeemOrders (r:0 w:5) - /// Proof: Investments ClearedRedeemOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:1) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::EpochExecution` (r:1 w:0) + /// Proof: `PoolSystem::EpochExecution` (`max_values`: None, `max_size`: Some(754), added: 3229, 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:1 w:0) + /// 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) + /// Proof: `PoolFees::AssetsUnderManagement` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::ActiveFees` (r:1 w:1) + /// Proof: `PoolFees::ActiveFees` (`max_values`: None, `max_size`: Some(14043), added: 16518, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::TotalIssuance` (r:5 w:1) + /// Proof: `OrmlTokens::TotalIssuance` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Investments::ActiveInvestOrders` (r:5 w:5) + /// Proof: `Investments::ActiveInvestOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InProcessingInvestOrders` (r:5 w:5) + /// Proof: `Investments::InProcessingInvestOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InvestOrderId` (r:5 w:5) + /// Proof: `Investments::InvestOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Investments::ActiveRedeemOrders` (r:5 w:5) + /// Proof: `Investments::ActiveRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InProcessingRedeemOrders` (r:5 w:5) + /// Proof: `Investments::InProcessingRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::RedeemOrderId` (r:5 w:5) + /// Proof: `Investments::RedeemOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:7 w:3) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:2 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Investments::ClearedInvestOrders` (r:0 w:5) + /// Proof: `Investments::ClearedInvestOrders` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `Investments::ClearedRedeemOrders` (r:0 w:5) + /// Proof: `Investments::ClearedRedeemOrders` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 5]`. /// The range of component `m` is `[0, 100]`. fn close_epoch_execute(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2055 + m * (124 ±0) + n * (167 ±0)` - // Estimated: `27515 + m * (124 ±0) + n * (2604 ±0)` - // Minimum execution time: 606_499_000 picoseconds. - Weight::from_parts(205_295_180, 0) + // Measured: `2120 + m * (124 ±0) + n * (167 ±0)` + // Estimated: `27515 + n * (2604 ±0)` + // Minimum execution time: 531_753_000 picoseconds. + Weight::from_parts(177_037_674, 0) .saturating_add(Weight::from_parts(0, 27515)) - // 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)) + // Standard Error: 151_845 + .saturating_add(Weight::from_parts(73_612_531, 0).saturating_mul(n.into())) + // Standard Error: 6_929 + .saturating_add(Weight::from_parts(3_395_975, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().reads((8_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(10)) .saturating_add(T::DbWeight::get().writes((8_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 124).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 2604).saturating_mul(n.into())) } - /// Storage: PoolSystem EpochExecution (r:1 w:1) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, 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::EpochExecution` (r:1 w:1) + /// Proof: `PoolSystem::EpochExecution` (`max_values`: None, `max_size`: Some(754), added: 3229, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:0) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// 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 submit_solution(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `821 + m * (124 ±0) + n * (249 ±0)` // Estimated: `17508` - // Minimum execution time: 43_361_000 picoseconds. - Weight::from_parts(37_221_242, 0) + // Minimum execution time: 39_494_000 picoseconds. + Weight::from_parts(34_485_549, 0) .saturating_add(Weight::from_parts(0, 17508)) - // 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())) + // Standard Error: 33_558 + .saturating_add(Weight::from_parts(1_408_318, 0).saturating_mul(n.into())) + // Standard Error: 1_531 + .saturating_add(Weight::from_parts(202_749, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: PoolSystem EpochExecution (r:1 w:1) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) - /// Storage: PoolSystem Pool (r:1 w:1) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: PoolFees ActiveFees (r:1 w:1) - /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) - /// Storage: Investments InProcessingInvestOrders (r:5 w:5) - /// Proof: Investments InProcessingInvestOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:7 w:3) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: OrmlTokens TotalIssuance (r:1 w:1) - /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: Investments InvestOrderId (r:5 w:0) - /// Proof: Investments InvestOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Investments ActiveInvestOrders (r:5 w:5) - /// Proof: Investments ActiveInvestOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InProcessingRedeemOrders (r:5 w:5) - /// Proof: Investments InProcessingRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments RedeemOrderId (r:5 w:0) - /// Proof: Investments RedeemOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Investments ActiveRedeemOrders (r:5 w:5) - /// Proof: Investments ActiveRedeemOrders (max_values: None, max_size: Some(56), added: 2531, 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: Investments ClearedInvestOrders (r:0 w:5) - /// Proof: Investments ClearedInvestOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) - /// Storage: Investments ClearedRedeemOrders (r:0 w:5) - /// Proof: Investments ClearedRedeemOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::EpochExecution` (r:1 w:1) + /// Proof: `PoolSystem::EpochExecution` (`max_values`: None, `max_size`: Some(754), added: 3229, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:1) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::ActiveFees` (r:1 w:1) + /// Proof: `PoolFees::ActiveFees` (`max_values`: None, `max_size`: Some(14043), added: 16518, mode: `MaxEncodedLen`) + /// Storage: `Investments::InProcessingInvestOrders` (r:5 w:5) + /// Proof: `Investments::InProcessingInvestOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:7 w:3) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:2 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::TotalIssuance` (r:1 w:1) + /// Proof: `OrmlTokens::TotalIssuance` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Investments::InvestOrderId` (r:5 w:0) + /// Proof: `Investments::InvestOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Investments::ActiveInvestOrders` (r:5 w:5) + /// Proof: `Investments::ActiveInvestOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InProcessingRedeemOrders` (r:5 w:5) + /// Proof: `Investments::InProcessingRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::RedeemOrderId` (r:5 w:0) + /// Proof: `Investments::RedeemOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Investments::ActiveRedeemOrders` (r:5 w:5) + /// Proof: `Investments::ActiveRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, 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: `Investments::ClearedInvestOrders` (r:0 w:5) + /// Proof: `Investments::ClearedInvestOrders` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `Investments::ClearedRedeemOrders` (r:0 w:5) + /// Proof: `Investments::ClearedRedeemOrders` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 5]`. /// The range of component `m` is `[0, 100]`. fn execute_epoch(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1977 + m * (124 ±0) + n * (633 ±0)` - // Estimated: `17508 + m * (124 ±0) + n * (2604 ±0)` - // Minimum execution time: 256_207_000 picoseconds. - Weight::from_parts(159_991_035, 0) + // Measured: `2042 + m * (124 ±0) + n * (633 ±0)` + // Estimated: `17508 + n * (2604 ±0)` + // Minimum execution time: 241_661_000 picoseconds. + Weight::from_parts(150_024_240, 0) .saturating_add(Weight::from_parts(0, 17508)) - // 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)) + // Standard Error: 92_293 + .saturating_add(Weight::from_parts(55_452_128, 0).saturating_mul(n.into())) + // Standard Error: 4_211 + .saturating_add(Weight::from_parts(392_999, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(9)) .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 124).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 2604).saturating_mul(n.into())) } } diff --git a/runtime/centrifuge/src/weights/pallet_preimage.rs b/runtime/centrifuge/src/weights/pallet_preimage.rs index 06fbdb6efc..f7f83d8228 100644 --- a/runtime/centrifuge/src/weights/pallet_preimage.rs +++ b/runtime/centrifuge/src/weights/pallet_preimage.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_preimage` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_preimage // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_preimage.rs @@ -32,173 +31,219 @@ use core::marker::PhantomData; /// Weight functions for `pallet_preimage`. pub struct WeightInfo(PhantomData); impl pallet_preimage::WeightInfo for WeightInfo { - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `178` - // Estimated: `3556` - // 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(2_090, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `76` + // Estimated: `3568` + // Minimum execution time: 67_957_000 picoseconds. + Weight::from_parts(68_688_000, 0) + .saturating_add(Weight::from_parts(0, 3568)) + // Standard Error: 10 + .saturating_add(Weight::from_parts(2_734, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 23_814_000 picoseconds. - Weight::from_parts(13_518, 0) + // Minimum execution time: 22_232_000 picoseconds. + Weight::from_parts(22_442_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 8 - .saturating_add(Weight::from_parts(2_768, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Standard Error: 9 + .saturating_add(Weight::from_parts(2_861, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 23_073_000 picoseconds. - Weight::from_parts(7_859_013, 0) + // Minimum execution time: 21_240_000 picoseconds. + Weight::from_parts(21_380_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 11 - .saturating_add(Weight::from_parts(2_745, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Standard Error: 10 + .saturating_add(Weight::from_parts(2_811, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `324` - // Estimated: `3556` - // 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)) + // Measured: `277` + // Estimated: `3568` + // Minimum execution time: 67_567_000 picoseconds. + Weight::from_parts(71_203_000, 0) + .saturating_add(Weight::from_parts(0, 3568)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 29_625_000 picoseconds. - Weight::from_parts(30_897_000, 0) + // Minimum execution time: 29_836_000 picoseconds. + Weight::from_parts(31_940_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `222` // Estimated: `3556` - // Minimum execution time: 25_487_000 picoseconds. - Weight::from_parts(26_579_000, 0) + // Minimum execution time: 22_872_000 picoseconds. + Weight::from_parts(24_416_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 14_507_000 picoseconds. - Weight::from_parts(15_078_000, 0) + // Minimum execution time: 17_282_000 picoseconds. + Weight::from_parts(18_875_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3556` - // Minimum execution time: 20_759_000 picoseconds. - Weight::from_parts(21_239_000, 0) + // Minimum execution time: 18_846_000 picoseconds. + Weight::from_parts(19_627_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_requested_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 12_673_000 picoseconds. - Weight::from_parts(12_973_000, 0) + // Minimum execution time: 13_816_000 picoseconds. + Weight::from_parts(14_387_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unrequest_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 25_738_000 picoseconds. - Weight::from_parts(26_580_000, 0) + // Minimum execution time: 25_207_000 picoseconds. + Weight::from_parts(26_880_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn unrequest_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 12_544_000 picoseconds. - Weight::from_parts(13_014_000, 0) + // Minimum execution time: 13_846_000 picoseconds. + Weight::from_parts(14_167_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn unrequest_multi_referenced_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 12_563_000 picoseconds. - Weight::from_parts(12_874_000, 0) + // Minimum execution time: 13_835_000 picoseconds. + Weight::from_parts(14_246_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - - fn ensure_updated(_: u32) -> cumulus_primitives_core::Weight { - Weight::default() - } + /// Storage: `Preimage::StatusFor` (r:1023 w:1023) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1023 w:1023) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1023 w:1023) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:0 w:1023) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// The range of component `n` is `[1, 1024]`. + fn ensure_updated(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `404 + n * (227 ±0)` + // Estimated: `990 + n * (2603 ±0)` + // Minimum execution time: 77_144_000 picoseconds. + Weight::from_parts(77_675_000, 0) + .saturating_add(Weight::from_parts(0, 990)) + // Standard Error: 35_892 + .saturating_add(Weight::from_parts(75_015_178, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_parts(0, 2603).saturating_mul(n.into())) + } } diff --git a/runtime/centrifuge/src/weights/pallet_proxy.rs b/runtime/centrifuge/src/weights/pallet_proxy.rs index 583defa622..416c369eb9 100644 --- a/runtime/centrifuge/src/weights/pallet_proxy.rs +++ b/runtime/centrifuge/src/weights/pallet_proxy.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_proxy` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_proxy // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_proxy.rs @@ -32,172 +31,172 @@ use core::marker::PhantomData; /// Weight functions for `pallet_proxy`. pub struct WeightInfo(PhantomData); impl pallet_proxy::WeightInfo for WeightInfo { - /// Storage: Proxy Proxies (r:1 w:0) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:0) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. fn proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 22_482_000 picoseconds. - Weight::from_parts(24_103_669, 0) + // Minimum execution time: 18_384_000 picoseconds. + Weight::from_parts(19_097_838, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_878 - .saturating_add(Weight::from_parts(13_525, 0).saturating_mul(p.into())) + // Standard Error: 1_242 + .saturating_add(Weight::from_parts(47_304, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } - /// Storage: Proxy Proxies (r:1 w:0) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:0) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `620 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 52_799_000 picoseconds. - Weight::from_parts(52_725_041, 0) + // Minimum execution time: 48_761_000 picoseconds. + Weight::from_parts(49_720_241, 0) .saturating_add(Weight::from_parts(0, 5698)) - // 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())) + // Standard Error: 4_236 + .saturating_add(Weight::from_parts(198_243, 0).saturating_mul(a.into())) + // Standard Error: 4_377 + .saturating_add(Weight::from_parts(27_827, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn remove_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `535 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 33_583_000 picoseconds. - Weight::from_parts(34_820_824, 0) + // Minimum execution time: 31_219_000 picoseconds. + Weight::from_parts(32_252_523, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 1_852 - .saturating_add(Weight::from_parts(217_039, 0).saturating_mul(a.into())) + // Standard Error: 1_985 + .saturating_add(Weight::from_parts(226_389, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn reject_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `535 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 33_583_000 picoseconds. - Weight::from_parts(34_783_767, 0) + // Minimum execution time: 30_968_000 picoseconds. + Weight::from_parts(32_225_799, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 1_845 - .saturating_add(Weight::from_parts(217_344, 0).saturating_mul(a.into())) + // Standard Error: 1_898 + .saturating_add(Weight::from_parts(222_682, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Proxies (r:1 w:0) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:0) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn announce(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `552 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 47_529_000 picoseconds. - Weight::from_parts(47_136_249, 0) + // Minimum execution time: 41_467_000 picoseconds. + Weight::from_parts(43_094_252, 0) .saturating_add(Weight::from_parts(0, 5698)) - // 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())) + // Standard Error: 4_013 + .saturating_add(Weight::from_parts(218_559, 0).saturating_mul(a.into())) + // Standard Error: 4_146 + .saturating_add(Weight::from_parts(44_158, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Proxies (r:1 w:1) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:1) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. fn add_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 35_816_000 picoseconds. - Weight::from_parts(36_963_866, 0) + // Minimum execution time: 29_695_000 picoseconds. + Weight::from_parts(30_725_974, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_285 - .saturating_add(Weight::from_parts(47_584, 0).saturating_mul(p.into())) + // Standard Error: 1_268 + .saturating_add(Weight::from_parts(41_910, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Proxy Proxies (r:1 w:1) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:1) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. fn remove_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 35_787_000 picoseconds. - Weight::from_parts(37_067_950, 0) + // Minimum execution time: 29_635_000 picoseconds. + Weight::from_parts(31_078_426, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 2_254 - .saturating_add(Weight::from_parts(48_736, 0).saturating_mul(p.into())) + // Standard Error: 2_453 + .saturating_add(Weight::from_parts(33_692, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Proxy Proxies (r:1 w:1) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:1) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. fn remove_proxies(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 31_489_000 picoseconds. - Weight::from_parts(32_356_192, 0) + // Minimum execution time: 28_854_000 picoseconds. + Weight::from_parts(29_891_464, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_503 - .saturating_add(Weight::from_parts(44_238, 0).saturating_mul(p.into())) + // Standard Error: 1_510 + .saturating_add(Weight::from_parts(34_316, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Proxy Proxies (r:1 w:1) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:1) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. fn create_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `305` // Estimated: `4706` - // Minimum execution time: 38_562_000 picoseconds. - Weight::from_parts(39_879_762, 0) + // Minimum execution time: 31_980_000 picoseconds. + Weight::from_parts(33_124_220, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_565 - .saturating_add(Weight::from_parts(21_056, 0).saturating_mul(p.into())) + // Standard Error: 1_545 + .saturating_add(Weight::from_parts(9_586, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Proxy Proxies (r:1 w:1) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:1) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 30]`. fn kill_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `330 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 32_831_000 picoseconds. - Weight::from_parts(34_099_383, 0) + // Minimum execution time: 29_976_000 picoseconds. + Weight::from_parts(31_111_792, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_348 - .saturating_add(Weight::from_parts(35_437, 0).saturating_mul(p.into())) + // Standard Error: 1_519 + .saturating_add(Weight::from_parts(40_969, 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 72cded43bc..8e7c1cf3bd 100644 --- a/runtime/centrifuge/src/weights/pallet_remarks.rs +++ b/runtime/centrifuge/src/weights/pallet_remarks.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_remarks` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_remarks // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_remarks.rs @@ -37,10 +36,10 @@ impl pallet_remarks::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 17_122_000 picoseconds. - Weight::from_parts(17_699_384, 0) + // Minimum execution time: 12_233_000 picoseconds. + Weight::from_parts(12_745_452, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_353 - .saturating_add(Weight::from_parts(106_809, 0).saturating_mul(n.into())) + // Standard Error: 2_323 + .saturating_add(Weight::from_parts(129_352, 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 c96aec93aa..83f01b7679 100644 --- a/runtime/centrifuge/src/weights/pallet_restricted_tokens.rs +++ b/runtime/centrifuge/src/weights/pallet_restricted_tokens.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_restricted_tokens` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_restricted_tokens // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_restricted_tokens.rs @@ -32,157 +31,157 @@ use core::marker::PhantomData; /// Weight functions for `pallet_restricted_tokens`. pub struct WeightInfo(PhantomData); impl pallet_restricted_tokens::WeightInfo for WeightInfo { - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:2 w:0) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_native() -> Weight { // Proof Size summary in bytes: // Measured: `505` // Estimated: `6124` - // Minimum execution time: 96_760_000 picoseconds. - Weight::from_parts(98_223_000, 0) + // Minimum execution time: 82_273_000 picoseconds. + Weight::from_parts(83_316_000, 0) .saturating_add(Weight::from_parts(0, 6124)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:2 w:2) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:2 w:0) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:2 w:2) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_other() -> Weight { // Proof Size summary in bytes: - // Measured: `923` + // Measured: `856` // Estimated: `6198` - // Minimum execution time: 75_721_000 picoseconds. - Weight::from_parts(76_853_000, 0) + // Minimum execution time: 66_654_000 picoseconds. + Weight::from_parts(67_506_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:2 w:0) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive_native() -> Weight { // Proof Size summary in bytes: // Measured: `505` // Estimated: `6124` - // Minimum execution time: 83_365_000 picoseconds. - Weight::from_parts(85_389_000, 0) + // Minimum execution time: 71_644_000 picoseconds. + Weight::from_parts(73_167_000, 0) .saturating_add(Weight::from_parts(0, 6124)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:2 w:2) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:2 w:0) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:2 w:2) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive_other() -> Weight { // Proof Size summary in bytes: - // Measured: `820` + // Measured: `753` // Estimated: `6198` - // Minimum execution time: 70_691_000 picoseconds. - Weight::from_parts(72_184_000, 0) + // Minimum execution time: 61_605_000 picoseconds. + Weight::from_parts(63_288_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:2 w:0) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_all_native() -> Weight { // Proof Size summary in bytes: // Measured: `505` // Estimated: `6124` - // Minimum execution time: 100_137_000 picoseconds. - Weight::from_parts(102_040_000, 0) + // Minimum execution time: 85_871_000 picoseconds. + Weight::from_parts(87_754_000, 0) .saturating_add(Weight::from_parts(0, 6124)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: OrmlTokens Accounts (r:2 w:2) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `OrmlTokens::Accounts` (r:2 w:2) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:2 w:0) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_all_other() -> Weight { // Proof Size summary in bytes: - // Measured: `923` + // Measured: `856` // Estimated: `6198` - // Minimum execution time: 80_459_000 picoseconds. - Weight::from_parts(81_481_000, 0) + // Minimum execution time: 70_893_000 picoseconds. + Weight::from_parts(71_895_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_transfer_native() -> Weight { // Proof Size summary in bytes: // Measured: `259` // Estimated: `3593` - // Minimum execution time: 88_495_000 picoseconds. - Weight::from_parts(89_526_000, 0) + // Minimum execution time: 72_526_000 picoseconds. + Weight::from_parts(74_039_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: OrmlTokens Accounts (r:2 w:2) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `OrmlTokens::Accounts` (r:2 w:2) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_transfer_other() -> Weight { // Proof Size summary in bytes: - // Measured: `677` + // Measured: `610` // Estimated: `6198` - // Minimum execution time: 66_544_000 picoseconds. - Weight::from_parts(67_997_000, 0) + // Minimum execution time: 53_661_000 picoseconds. + Weight::from_parts(55_263_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Balances Holds (r:1 w:1) - /// Proof: Balances Holds (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn set_balance_native() -> Weight { // Proof Size summary in bytes: - // Measured: `298` - // Estimated: `3674` - // Minimum execution time: 173_964_000 picoseconds. - Weight::from_parts(175_507_000, 0) - .saturating_add(Weight::from_parts(0, 3674)) + // Measured: `300` + // Estimated: `3593` + // Minimum execution time: 157_094_000 picoseconds. + Weight::from_parts(159_549_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: OrmlTokens Accounts (r:1 w:1) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrmlTokens TotalIssuance (r:1 w:1) - /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `OrmlTokens::Accounts` (r:1 w:1) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::TotalIssuance` (r:1 w:1) + /// Proof: `OrmlTokens::TotalIssuance` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn set_balance_other() -> Weight { // Proof Size summary in bytes: - // Measured: `467` - // Estimated: `3932` - // Minimum execution time: 103_062_000 picoseconds. - Weight::from_parts(104_534_000, 0) - .saturating_add(Weight::from_parts(0, 3932)) + // Measured: `400` + // Estimated: `4407` + // Minimum execution time: 91_301_000 picoseconds. + Weight::from_parts(92_442_000, 0) + .saturating_add(Weight::from_parts(0, 4407)) .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 fecd6dead3..41579f944a 100644 --- a/runtime/centrifuge/src/weights/pallet_scheduler.rs +++ b/runtime/centrifuge/src/weights/pallet_scheduler.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_scheduler` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_scheduler // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_scheduler.rs @@ -32,30 +31,30 @@ use core::marker::PhantomData; /// Weight functions for `pallet_scheduler`. pub struct WeightInfo(PhantomData); impl pallet_scheduler::WeightInfo for WeightInfo { - /// Storage: Scheduler IncompleteSince (r:1 w:1) - /// Proof: Scheduler IncompleteSince (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: `Scheduler::IncompleteSince` (r:1 w:1) + /// Proof: `Scheduler::IncompleteSince` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn service_agendas_base() -> Weight { // Proof Size summary in bytes: // Measured: `31` // Estimated: `1489` - // Minimum execution time: 5_811_000 picoseconds. - Weight::from_parts(6_091_000, 0) + // Minimum execution time: 3_968_000 picoseconds. + Weight::from_parts(4_148_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 5_760_000 picoseconds. - Weight::from_parts(8_225_483, 0) + // Minimum execution time: 5_249_000 picoseconds. + Weight::from_parts(8_455_668, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_455 - .saturating_add(Weight::from_parts(1_195_501, 0).saturating_mul(s.into())) + // Standard Error: 3_978 + .saturating_add(Weight::from_parts(613_461, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -63,36 +62,38 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_395_000 picoseconds. - Weight::from_parts(8_756_000, 0) + // Minimum execution time: 4_970_000 picoseconds. + Weight::from_parts(5_120_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: Preimage PreimageFor (r:1 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: Measured) - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::PreimageFor` (r:1 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `Measured`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `213 + s * (1 ±0)` // Estimated: `3678 + s * (1 ±0)` - // Minimum execution time: 30_176_000 picoseconds. - Weight::from_parts(4_024_841, 0) + // Minimum execution time: 25_228_000 picoseconds. + Weight::from_parts(25_808_000, 0) .saturating_add(Weight::from_parts(0, 3678)) - // Standard Error: 18 - .saturating_add(Weight::from_parts(1_267, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Standard Error: 14 + .saturating_add(Weight::from_parts(1_379, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) } - /// Storage: Scheduler Lookup (r:0 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn service_task_named() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_750_000 picoseconds. - Weight::from_parts(11_210_000, 0) + // Minimum execution time: 7_264_000 picoseconds. + Weight::from_parts(7_554_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -100,89 +101,89 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_526_000 picoseconds. - Weight::from_parts(8_787_000, 0) + // Minimum execution time: 4_899_000 picoseconds. + Weight::from_parts(5_200_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_398_000 picoseconds. - Weight::from_parts(4_689_000, 0) + // Minimum execution time: 3_887_000 picoseconds. + Weight::from_parts(4_138_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_297_000 picoseconds. - Weight::from_parts(4_579_000, 0) + // Minimum execution time: 3_867_000 picoseconds. + Weight::from_parts(4_028_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 20_328_000 picoseconds. - Weight::from_parts(23_022_460, 0) + // Minimum execution time: 14_648_000 picoseconds. + Weight::from_parts(17_990_542, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_904 - .saturating_add(Weight::from_parts(1_195_872, 0).saturating_mul(s.into())) + // Standard Error: 4_276 + .saturating_add(Weight::from_parts(629_105, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) - /// Storage: Scheduler Lookup (r:0 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 26_760_000 picoseconds. - Weight::from_parts(23_352_591, 0) + // Minimum execution time: 20_208_000 picoseconds. + Weight::from_parts(18_944_972, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 5_091 - .saturating_add(Weight::from_parts(2_188_819, 0).saturating_mul(s.into())) + // Standard Error: 5_325 + .saturating_add(Weight::from_parts(974_711, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `255 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 24_827_000 picoseconds. - Weight::from_parts(28_785_406, 0) + // Minimum execution time: 19_917_000 picoseconds. + Weight::from_parts(24_367_159, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_945 - .saturating_add(Weight::from_parts(1_229_112, 0).saturating_mul(s.into())) + // Standard Error: 4_143 + .saturating_add(Weight::from_parts(664_976, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `281 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 27_541_000 picoseconds. - Weight::from_parts(26_000_970, 0) + // Minimum execution time: 23_364_000 picoseconds. + Weight::from_parts(22_474_466, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 5_203 - .saturating_add(Weight::from_parts(2_218_805, 0).saturating_mul(s.into())) + // Standard Error: 5_379 + .saturating_add(Weight::from_parts(1_009_547, 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 cf9e0f5bef..e5e44ff9f0 100644 --- a/runtime/centrifuge/src/weights/pallet_session.rs +++ b/runtime/centrifuge/src/weights/pallet_session.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_session` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_session // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_session.rs @@ -32,31 +31,31 @@ use core::marker::PhantomData; /// Weight functions for `pallet_session`. pub struct WeightInfo(PhantomData); impl pallet_session::WeightInfo for WeightInfo { - /// Storage: Session NextKeys (r:1 w:1) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: Session KeyOwner (r:1 w:1) - /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) + /// Storage: `Session::NextKeys` (r:1 w:1) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Session::KeyOwner` (r:1 w:1) + /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_keys() -> Weight { // Proof Size summary in bytes: - // Measured: `369` - // Estimated: `3834` - // Minimum execution time: 26_700_000 picoseconds. - Weight::from_parts(27_431_000, 0) - .saturating_add(Weight::from_parts(0, 3834)) + // Measured: `308` + // Estimated: `3773` + // Minimum execution time: 29_145_000 picoseconds. + Weight::from_parts(29_686_000, 0) + .saturating_add(Weight::from_parts(0, 3773)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Session NextKeys (r:1 w:1) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: Session KeyOwner (r:0 w:1) - /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) + /// Storage: `Session::NextKeys` (r:1 w:1) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Session::KeyOwner` (r:0 w:1) + /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn purge_keys() -> Weight { // Proof Size summary in bytes: - // Measured: `386` - // Estimated: `3851` - // Minimum execution time: 18_565_000 picoseconds. - Weight::from_parts(19_146_000, 0) - .saturating_add(Weight::from_parts(0, 3851)) + // Measured: `315` + // Estimated: `3780` + // Minimum execution time: 18_775_000 picoseconds. + Weight::from_parts(19_285_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/centrifuge/src/weights/pallet_timestamp.rs b/runtime/centrifuge/src/weights/pallet_timestamp.rs index fdaed47ce4..245c250d58 100644 --- a/runtime/centrifuge/src/weights/pallet_timestamp.rs +++ b/runtime/centrifuge/src/weights/pallet_timestamp.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_timestamp` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_timestamp // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_timestamp.rs @@ -32,16 +31,16 @@ use core::marker::PhantomData; /// Weight functions for `pallet_timestamp`. pub struct WeightInfo(PhantomData); impl pallet_timestamp::WeightInfo for WeightInfo { - /// Storage: Timestamp Now (r:1 w:1) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Aura CurrentSlot (r:1 w:0) - /// Proof: Aura CurrentSlot (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: `Timestamp::Now` (r:1 w:1) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Aura::CurrentSlot` (r:1 w:0) + /// Proof: `Aura::CurrentSlot` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn set() -> Weight { // Proof Size summary in bytes: // Measured: `223` // Estimated: `1493` - // Minimum execution time: 13_395_000 picoseconds. - Weight::from_parts(13_796_000, 0) + // Minimum execution time: 10_469_000 picoseconds. + Weight::from_parts(10_830_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 +49,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `128` // Estimated: `0` - // Minimum execution time: 6_041_000 picoseconds. - Weight::from_parts(6_372_000, 0) + // Minimum execution time: 4_629_000 picoseconds. + Weight::from_parts(4_799_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 86bf2f0486..a949d39389 100644 --- a/runtime/centrifuge/src/weights/pallet_token_mux.rs +++ b/runtime/centrifuge/src/weights/pallet_token_mux.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_token_mux` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_token_mux // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_token_mux.rs @@ -32,62 +31,62 @@ use core::marker::PhantomData; /// Weight functions for `pallet_token_mux`. pub struct WeightInfo(PhantomData); impl pallet_token_mux::WeightInfo for WeightInfo { - /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrmlTokens Accounts (r:3 w:3) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: OrmlTokens TotalIssuance (r:1 w:1) - /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `OrmlAssetRegistry::Metadata` (r:2 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:3 w:3) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::TotalIssuance` (r:1 w:1) + /// Proof: `OrmlTokens::TotalIssuance` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `803` + // Measured: `690` // Estimated: `8802` - // Minimum execution time: 119_933_000 picoseconds. - Weight::from_parts(120_885_000, 0) + // Minimum execution time: 99_926_000 picoseconds. + Weight::from_parts(100_939_000, 0) .saturating_add(Weight::from_parts(0, 8802)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) } - /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrmlTokens Accounts (r:3 w:3) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlTokens TotalIssuance (r:1 w:1) - /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `OrmlAssetRegistry::Metadata` (r:2 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:3 w:3) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::TotalIssuance` (r:1 w:1) + /// Proof: `OrmlTokens::TotalIssuance` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn burn() -> Weight { // Proof Size summary in bytes: - // Measured: `1093` + // Measured: `980` // Estimated: `8802` - // Minimum execution time: 105_166_000 picoseconds. - Weight::from_parts(107_200_000, 0) + // Minimum execution time: 94_646_000 picoseconds. + Weight::from_parts(95_629_000, 0) .saturating_add(Weight::from_parts(0, 8802)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: OrderBook Orders (r:1 w:1) - /// Proof: OrderBook Orders (max_values: None, max_size: Some(171), added: 2646, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrmlTokens Accounts (r:4 w:4) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlTokens TotalIssuance (r:1 w:1) - /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Swaps OrderIdToSwapId (r:1 w:0) - /// Proof: Swaps OrderIdToSwapId (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen) - /// Storage: OrderBook UserOrders (r:0 w:1) - /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) + /// Storage: `OrderBook::Orders` (r:1 w:1) + /// Proof: `OrderBook::Orders` (`max_values`: None, `max_size`: Some(171), added: 2646, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:2 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:4 w:4) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::TotalIssuance` (r:1 w:1) + /// Proof: `OrmlTokens::TotalIssuance` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Swaps::OrderIdToSwapId` (r:1 w:0) + /// Proof: `Swaps::OrderIdToSwapId` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `OrderBook::UserOrders` (r:0 w:1) + /// Proof: `OrderBook::UserOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) fn match_swap() -> Weight { // Proof Size summary in bytes: - // Measured: `1439` + // Measured: `1326` // Estimated: `11406` - // Minimum execution time: 212_325_000 picoseconds. - Weight::from_parts(214_489_000, 0) + // Minimum execution time: 179_345_000 picoseconds. + Weight::from_parts(181_790_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 307ba99a12..36bcc8c220 100644 --- a/runtime/centrifuge/src/weights/pallet_transfer_allowlist.rs +++ b/runtime/centrifuge/src/weights/pallet_transfer_allowlist.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_transfer_allowlist` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_transfer_allowlist // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_transfer_allowlist.rs @@ -32,183 +31,183 @@ use core::marker::PhantomData; /// Weight functions for `pallet_transfer_allowlist`. pub struct WeightInfo(PhantomData); impl pallet_transfer_allowlist::WeightInfo for WeightInfo { - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) - /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - /// Storage: Fees FeeBalances (r:1 w:0) - /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Holds (r:1 w:1) - /// Proof: Balances Holds (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `TransferAllowList::AccountCurrencyTransferAllowance` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferAllowance` (`max_values`: None, `max_size`: Some(701), added: 3176, mode: `MaxEncodedLen`) + /// Storage: `Fees::FeeBalances` (r:1 w:0) + /// Proof: `Fees::FeeBalances` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`) fn add_transfer_allowance_no_existing_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `603` - // Estimated: `3674` - // Minimum execution time: 89_276_000 picoseconds. - Weight::from_parts(91_160_000, 0) - .saturating_add(Weight::from_parts(0, 3674)) + // Measured: `570` + // Estimated: `4166` + // Minimum execution time: 89_497_000 picoseconds. + Weight::from_parts(91_170_000, 0) + .saturating_add(Weight::from_parts(0, 4166)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) - /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - /// Storage: Fees FeeBalances (r:1 w:0) - /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Holds (r:1 w:1) - /// Proof: Balances Holds (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `TransferAllowList::AccountCurrencyTransferAllowance` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferAllowance` (`max_values`: None, `max_size`: Some(701), added: 3176, mode: `MaxEncodedLen`) + /// Storage: `Fees::FeeBalances` (r:1 w:0) + /// Proof: `Fees::FeeBalances` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`) fn add_transfer_allowance_existing_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `697` - // Estimated: `3674` - // Minimum execution time: 93_003_000 picoseconds. - Weight::from_parts(93_845_000, 0) - .saturating_add(Weight::from_parts(0, 3674)) + // Measured: `664` + // Estimated: `4166` + // Minimum execution time: 91_241_000 picoseconds. + Weight::from_parts(93_384_000, 0) + .saturating_add(Weight::from_parts(0, 4166)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) fn add_allowance_delay_no_existing_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `246` // Estimated: `3557` - // Minimum execution time: 20_668_000 picoseconds. - Weight::from_parts(21_200_000, 0) + // Minimum execution time: 16_420_000 picoseconds. + Weight::from_parts(17_363_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) fn add_allowance_delay_existing_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `370` // Estimated: `3557` - // Minimum execution time: 23_333_000 picoseconds. - Weight::from_parts(23_724_000, 0) + // Minimum execution time: 19_176_000 picoseconds. + Weight::from_parts(19_786_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) fn toggle_allowance_delay_once_future_modifiable() -> Weight { // Proof Size summary in bytes: // Measured: `340` // Estimated: `3557` - // Minimum execution time: 23_514_000 picoseconds. - Weight::from_parts(24_165_000, 0) + // Minimum execution time: 18_474_000 picoseconds. + Weight::from_parts(19_256_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) fn update_allowance_delay() -> Weight { // Proof Size summary in bytes: // Measured: `344` // Estimated: `3557` - // Minimum execution time: 23_253_000 picoseconds. - Weight::from_parts(23_794_000, 0) + // Minimum execution time: 18_866_000 picoseconds. + Weight::from_parts(19_306_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) fn purge_allowance_delay_no_remaining_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `344` // Estimated: `3557` - // Minimum execution time: 23_092_000 picoseconds. - Weight::from_parts(23_714_000, 0) + // Minimum execution time: 18_594_000 picoseconds. + Weight::from_parts(19_056_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) fn purge_allowance_delay_remaining_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `378` // Estimated: `3557` - // Minimum execution time: 24_385_000 picoseconds. - Weight::from_parts(25_037_000, 0) + // Minimum execution time: 19_146_000 picoseconds. + Weight::from_parts(19_897_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) - /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:0) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `TransferAllowList::AccountCurrencyTransferAllowance` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferAllowance` (`max_values`: None, `max_size`: Some(701), added: 3176, mode: `MaxEncodedLen`) fn remove_transfer_allowance_delay_present() -> Weight { // Proof Size summary in bytes: // Measured: `473` - // Estimated: `3597` - // Minimum execution time: 34_695_000 picoseconds. - Weight::from_parts(35_586_000, 0) - .saturating_add(Weight::from_parts(0, 3597)) + // Estimated: `4166` + // Minimum execution time: 30_778_000 picoseconds. + Weight::from_parts(31_509_000, 0) + .saturating_add(Weight::from_parts(0, 4166)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) - /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:0) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `TransferAllowList::AccountCurrencyTransferAllowance` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferAllowance` (`max_values`: None, `max_size`: Some(701), added: 3176, mode: `MaxEncodedLen`) fn remove_transfer_allowance_no_delay() -> Weight { // Proof Size summary in bytes: // Measured: `469` - // Estimated: `3597` - // Minimum execution time: 34_324_000 picoseconds. - Weight::from_parts(35_707_000, 0) - .saturating_add(Weight::from_parts(0, 3597)) + // Estimated: `4166` + // Minimum execution time: 30_928_000 picoseconds. + Weight::from_parts(31_579_000, 0) + .saturating_add(Weight::from_parts(0, 4166)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - /// Storage: Fees FeeBalances (r:1 w:0) - /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Holds (r:1 w:1) - /// Proof: Balances Holds (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferAllowance` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferAllowance` (`max_values`: None, `max_size`: Some(701), added: 3176, mode: `MaxEncodedLen`) + /// Storage: `Fees::FeeBalances` (r:1 w:0) + /// Proof: `Fees::FeeBalances` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) fn purge_transfer_allowance_no_remaining_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `879` - // Estimated: `3674` - // Minimum execution time: 82_904_000 picoseconds. - Weight::from_parts(84_317_000, 0) - .saturating_add(Weight::from_parts(0, 3674)) + // Measured: `848` + // Estimated: `4166` + // Minimum execution time: 84_217_000 picoseconds. + Weight::from_parts(85_830_000, 0) + .saturating_add(Weight::from_parts(0, 4166)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - /// Storage: Fees FeeBalances (r:1 w:0) - /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Holds (r:1 w:1) - /// Proof: Balances Holds (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferAllowance` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferAllowance` (`max_values`: None, `max_size`: Some(701), added: 3176, mode: `MaxEncodedLen`) + /// Storage: `Fees::FeeBalances` (r:1 w:0) + /// Proof: `Fees::FeeBalances` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) fn purge_transfer_allowance_remaining_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `918` - // Estimated: `3674` - // Minimum execution time: 82_623_000 picoseconds. - Weight::from_parts(83_666_000, 0) - .saturating_add(Weight::from_parts(0, 3674)) + // Measured: `887` + // Estimated: `4166` + // Minimum execution time: 83_276_000 picoseconds. + Weight::from_parts(84_749_000, 0) + .saturating_add(Weight::from_parts(0, 4166)) .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 deleted file mode 100644 index a0236f6710..0000000000 --- a/runtime/centrifuge/src/weights/pallet_treasury.rs +++ /dev/null @@ -1,139 +0,0 @@ - -//! Autogenerated weights for `pallet_treasury` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! 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 - -// Executed Command: -// target/release/centrifuge-chain -// benchmark -// pallet -// --chain=centrifuge-dev -// --steps=50 -// --repeat=20 -// --pallet=pallet_treasury -// --extrinsic=* -// --execution=wasm -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=/tmp/runtime/centrifuge/src/weights/pallet_treasury.rs - -#![cfg_attr(rustfmt, rustfmt_skip)] -#![allow(unused_parens)] -#![allow(unused_imports)] -#![allow(missing_docs)] - -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; - -/// Weight functions for `pallet_treasury`. -pub struct WeightInfo(PhantomData); -impl pallet_treasury::WeightInfo for WeightInfo { - fn spend() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `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) - /// Proof: Treasury ProposalCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Treasury Proposals (r:0 w:1) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - fn propose_spend() -> Weight { - // Proof Size summary in bytes: - // Measured: `144` - // Estimated: `1489` - // 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)) - } - /// Storage: Treasury Proposals (r:1 w:1) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn reject_proposal() -> Weight { - // Proof Size summary in bytes: - // Measured: `405` - // Estimated: `6196` - // 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)) - } - /// Storage: Treasury Proposals (r:1 w:0) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) - /// The range of component `p` is `[0, 99]`. - fn approve_proposal(p: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `470 + p * (8 ±0)` - // Estimated: `3573` - // Minimum execution time: 14_697_000 picoseconds. - Weight::from_parts(17_808_249, 0) - .saturating_add(Weight::from_parts(0, 3573)) - // 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)) - } - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) - fn remove_approval() -> Weight { - // Proof Size summary in bytes: - // Measured: `127` - // Estimated: `1887` - // 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)) - } - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Treasury Deactivated (r:1 w:1) - /// Proof: Treasury Deactivated (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) - /// Storage: Treasury Proposals (r:100 w:0) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - /// The range of component `p` is `[0, 100]`. - fn on_initialize_proposals(p: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `230 + p * (120 ±0)` - // Estimated: `3593 + p * (2583 ±0)` - // Minimum execution time: 40_075_000 picoseconds. - Weight::from_parts(36_799_098, 0) - .saturating_add(Weight::from_parts(0, 3593)) - // 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)) - .saturating_add(Weight::from_parts(0, 2583).saturating_mul(p.into())) - } - - fn spend_local() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn payout() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn check_status() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn void_spend() -> cumulus_primitives_core::Weight { - Weight::default() - } -} diff --git a/runtime/centrifuge/src/weights/pallet_uniques.rs b/runtime/centrifuge/src/weights/pallet_uniques.rs index 30672514e9..94833ecc03 100644 --- a/runtime/centrifuge/src/weights/pallet_uniques.rs +++ b/runtime/centrifuge/src/weights/pallet_uniques.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_uniques` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_uniques // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_uniques.rs @@ -32,50 +31,50 @@ use core::marker::PhantomData; /// Weight functions for `pallet_uniques`. pub struct WeightInfo(PhantomData); impl pallet_uniques::WeightInfo for WeightInfo { - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques ClassAccount (r:0 w:1) - /// Proof: Uniques ClassAccount (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassAccount` (r:0 w:1) + /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) fn create() -> Weight { // Proof Size summary in bytes: // Measured: `249` // Estimated: `3647` - // Minimum execution time: 43_851_000 picoseconds. - Weight::from_parts(45_034_000, 0) + // Minimum execution time: 36_659_000 picoseconds. + Weight::from_parts(37_541_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques ClassAccount (r:0 w:1) - /// Proof: Uniques ClassAccount (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassAccount` (r:0 w:1) + /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) fn force_create() -> Weight { // Proof Size summary in bytes: // Measured: `109` // Estimated: `3647` - // Minimum execution time: 21_990_000 picoseconds. - Weight::from_parts(22_702_000, 0) + // Minimum execution time: 16_871_000 picoseconds. + Weight::from_parts(17_242_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques Asset (r:1001 w:1000) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: Uniques InstanceMetadataOf (r:1000 w:1000) - /// Proof: Uniques InstanceMetadataOf (max_values: None, max_size: Some(331), added: 2806, mode: MaxEncodedLen) - /// Storage: Uniques Attribute (r:1000 w:1000) - /// Proof: Uniques Attribute (max_values: None, max_size: Some(605), added: 3080, mode: MaxEncodedLen) - /// Storage: Uniques ClassAccount (r:0 w:1) - /// Proof: Uniques ClassAccount (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) - /// Storage: Uniques ClassMetadataOf (r:0 w:1) - /// Proof: Uniques ClassMetadataOf (max_values: None, max_size: Some(299), added: 2774, mode: MaxEncodedLen) - /// Storage: Uniques Account (r:0 w:1000) - /// Proof: Uniques Account (max_values: None, max_size: Some(104), added: 2579, mode: MaxEncodedLen) - /// Storage: Uniques CollectionMaxSupply (r:0 w:1) - /// Proof: Uniques CollectionMaxSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1001 w:1000) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Storage: `Uniques::InstanceMetadataOf` (r:1000 w:1000) + /// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(331), added: 2806, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Attribute` (r:1000 w:1000) + /// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(605), added: 3080, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassAccount` (r:0 w:1) + /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassMetadataOf` (r:0 w:1) + /// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(299), added: 2774, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1000) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) + /// Storage: `Uniques::CollectionMaxSupply` (r:0 w:1) + /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 1000]`. /// The range of component `m` is `[0, 1000]`. /// The range of component `a` is `[0, 1000]`. @@ -83,15 +82,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: 2_956_563_000 picoseconds. - Weight::from_parts(2_993_202_000, 0) + // Minimum execution time: 3_004_732_000 picoseconds. + Weight::from_parts(3_014_581_000, 0) .saturating_add(Weight::from_parts(0, 3647)) - // 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())) + // Standard Error: 29_103 + .saturating_add(Weight::from_parts(10_066_324, 0).saturating_mul(n.into())) + // Standard Error: 29_103 + .saturating_add(Weight::from_parts(276_468, 0).saturating_mul(m.into())) + // Standard Error: 29_103 + .saturating_add(Weight::from_parts(519_952, 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()))) @@ -104,344 +103,346 @@ impl pallet_uniques::WeightInfo for WeightInfo { .saturating_add(Weight::from_parts(0, 2806).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 2613).saturating_mul(n.into())) } - /// Storage: Uniques Asset (r:1 w:1) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques CollectionMaxSupply (r:1 w:0) - /// Proof: Uniques CollectionMaxSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - /// Storage: Uniques Account (r:0 w:1) - /// Proof: Uniques Account (max_values: None, max_size: Some(104), added: 2579, mode: MaxEncodedLen) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0) + /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) fn mint() -> Weight { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 53_700_000 picoseconds. - Weight::from_parts(54_552_000, 0) + // Minimum execution time: 46_878_000 picoseconds. + Weight::from_parts(47_749_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques Asset (r:1 w:1) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: Uniques Account (r:0 w:1) - /// Proof: Uniques Account (max_values: None, max_size: Some(104), added: 2579, mode: MaxEncodedLen) - /// Storage: Uniques ItemPriceOf (r:0 w:1) - /// Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`) fn burn() -> Weight { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3647` - // Minimum execution time: 55_273_000 picoseconds. - Weight::from_parts(56_555_000, 0) + // Minimum execution time: 49_442_000 picoseconds. + Weight::from_parts(50_063_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: Uniques Class (r:1 w:0) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques Asset (r:1 w:1) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: Uniques Account (r:0 w:2) - /// Proof: Uniques Account (max_values: None, max_size: Some(104), added: 2579, mode: MaxEncodedLen) - /// Storage: Uniques ItemPriceOf (r:0 w:1) - /// Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:2) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`) fn transfer() -> Weight { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3647` - // Minimum execution time: 39_945_000 picoseconds. - Weight::from_parts(40_636_000, 0) + // Minimum execution time: 37_399_000 picoseconds. + Weight::from_parts(37_761_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques Asset (r:5000 w:5000) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:5000 w:5000) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) /// The range of component `i` is `[0, 5000]`. fn redeposit(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `821 + i * (88 ±0)` // Estimated: `3647 + i * (2613 ±0)` - // Minimum execution time: 20_990_000 picoseconds. - Weight::from_parts(21_410_000, 0) + // Minimum execution time: 16_952_000 picoseconds. + Weight::from_parts(17_132_000, 0) .saturating_add(Weight::from_parts(0, 3647)) - // Standard Error: 12_619 - .saturating_add(Weight::from_parts(25_652_006, 0).saturating_mul(i.into())) + // Standard Error: 14_760 + .saturating_add(Weight::from_parts(22_704_797, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) .saturating_add(Weight::from_parts(0, 2613).saturating_mul(i.into())) } - /// Storage: Uniques Asset (r:1 w:1) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: Uniques Class (r:1 w:0) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) fn freeze() -> Weight { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3647` - // Minimum execution time: 26_098_000 picoseconds. - Weight::from_parts(26_819_000, 0) + // Minimum execution time: 23_314_000 picoseconds. + Weight::from_parts(23_925_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques Asset (r:1 w:1) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: Uniques Class (r:1 w:0) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) fn thaw() -> Weight { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3647` - // Minimum execution time: 26_208_000 picoseconds. - Weight::from_parts(26_769_000, 0) + // Minimum execution time: 23_103_000 picoseconds. + Weight::from_parts(23_533_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) fn freeze_collection() -> Weight { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 18_905_000 picoseconds. - Weight::from_parts(19_537_000, 0) + // Minimum execution time: 15_069_000 picoseconds. + Weight::from_parts(15_489_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) fn thaw_collection() -> Weight { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 18_855_000 picoseconds. - Weight::from_parts(19_406_000, 0) + // Minimum execution time: 14_888_000 picoseconds. + Weight::from_parts(15_269_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques OwnershipAcceptance (r:1 w:1) - /// Proof: Uniques OwnershipAcceptance (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques ClassAccount (r:0 w:2) - /// Proof: Uniques ClassAccount (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) + /// Storage: `Uniques::OwnershipAcceptance` (r:1 w:1) + /// Proof: `Uniques::OwnershipAcceptance` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassAccount` (r:0 w:2) + /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) fn transfer_ownership() -> Weight { // Proof Size summary in bytes: - // Measured: `431` + // Measured: `638` // Estimated: `3647` - // Minimum execution time: 30_978_000 picoseconds. - Weight::from_parts(31_628_000, 0) + // Minimum execution time: 33_433_000 picoseconds. + Weight::from_parts(34_204_000, 0) .saturating_add(Weight::from_parts(0, 3647)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) fn set_team() -> Weight { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 19_437_000 picoseconds. - Weight::from_parts(19_807_000, 0) + // Minimum execution time: 15_369_000 picoseconds. + Weight::from_parts(15_860_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques ClassAccount (r:0 w:1) - /// Proof: Uniques ClassAccount (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassAccount` (r:0 w:1) + /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) fn force_item_status() -> Weight { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 23_444_000 picoseconds. - Weight::from_parts(24_285_000, 0) + // Minimum execution time: 20_008_000 picoseconds. + Weight::from_parts(20_518_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques InstanceMetadataOf (r:1 w:0) - /// Proof: Uniques InstanceMetadataOf (max_values: None, max_size: Some(331), added: 2806, mode: MaxEncodedLen) - /// Storage: Uniques Attribute (r:1 w:1) - /// Proof: Uniques Attribute (max_values: None, max_size: Some(605), added: 3080, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::InstanceMetadataOf` (r:1 w:0) + /// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(331), added: 2806, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Attribute` (r:1 w:1) + /// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(605), added: 3080, mode: `MaxEncodedLen`) fn set_attribute() -> Weight { // Proof Size summary in bytes: // Measured: `775` // Estimated: `4070` - // Minimum execution time: 60_993_000 picoseconds. - Weight::from_parts(62_095_000, 0) + // Minimum execution time: 53_901_000 picoseconds. + Weight::from_parts(54_763_000, 0) .saturating_add(Weight::from_parts(0, 4070)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques InstanceMetadataOf (r:1 w:0) - /// Proof: Uniques InstanceMetadataOf (max_values: None, max_size: Some(331), added: 2806, mode: MaxEncodedLen) - /// Storage: Uniques Attribute (r:1 w:1) - /// Proof: Uniques Attribute (max_values: None, max_size: Some(605), added: 3080, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::InstanceMetadataOf` (r:1 w:0) + /// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(331), added: 2806, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Attribute` (r:1 w:1) + /// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(605), added: 3080, mode: `MaxEncodedLen`) fn clear_attribute() -> Weight { // Proof Size summary in bytes: // Measured: `1407` // Estimated: `4070` - // Minimum execution time: 59_521_000 picoseconds. - Weight::from_parts(60_653_000, 0) + // Minimum execution time: 51_977_000 picoseconds. + Weight::from_parts(52_808_000, 0) .saturating_add(Weight::from_parts(0, 4070)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques InstanceMetadataOf (r:1 w:1) - /// Proof: Uniques InstanceMetadataOf (max_values: None, max_size: Some(331), added: 2806, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::InstanceMetadataOf` (r:1 w:1) + /// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(331), added: 2806, mode: `MaxEncodedLen`) fn set_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `419` // Estimated: `3796` - // Minimum execution time: 44_022_000 picoseconds. - Weight::from_parts(44_724_000, 0) + // Minimum execution time: 37_340_000 picoseconds. + Weight::from_parts(38_342_000, 0) .saturating_add(Weight::from_parts(0, 3796)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques InstanceMetadataOf (r:1 w:1) - /// Proof: Uniques InstanceMetadataOf (max_values: None, max_size: Some(331), added: 2806, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::InstanceMetadataOf` (r:1 w:1) + /// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(331), added: 2806, mode: `MaxEncodedLen`) fn clear_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `775` // Estimated: `3796` - // Minimum execution time: 44_463_000 picoseconds. - Weight::from_parts(45_966_000, 0) + // Minimum execution time: 38_502_000 picoseconds. + Weight::from_parts(39_594_000, 0) .saturating_add(Weight::from_parts(0, 3796)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques ClassMetadataOf (r:1 w:1) - /// Proof: Uniques ClassMetadataOf (max_values: None, max_size: Some(299), added: 2774, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassMetadataOf` (r:1 w:1) + /// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(299), added: 2774, mode: `MaxEncodedLen`) fn set_collection_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3764` - // Minimum execution time: 45_265_000 picoseconds. - Weight::from_parts(45_975_000, 0) + // Minimum execution time: 39_264_000 picoseconds. + Weight::from_parts(40_305_000, 0) .saturating_add(Weight::from_parts(0, 3764)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Uniques Class (r:1 w:0) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques ClassMetadataOf (r:1 w:1) - /// Proof: Uniques ClassMetadataOf (max_values: None, max_size: Some(299), added: 2774, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassMetadataOf` (r:1 w:1) + /// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(299), added: 2774, mode: `MaxEncodedLen`) fn clear_collection_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `676` // Estimated: `3764` - // Minimum execution time: 43_862_000 picoseconds. - Weight::from_parts(44_643_000, 0) + // Minimum execution time: 37_700_000 picoseconds. + Weight::from_parts(38_221_000, 0) .saturating_add(Weight::from_parts(0, 3764)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques Class (r:1 w:0) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques Asset (r:1 w:1) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) fn approve_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3647` - // Minimum execution time: 26_530_000 picoseconds. - Weight::from_parts(27_191_000, 0) + // Minimum execution time: 23_664_000 picoseconds. + Weight::from_parts(24_105_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques Class (r:1 w:0) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques Asset (r:1 w:1) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) fn cancel_approval() -> Weight { // Proof Size summary in bytes: // Measured: `549` // Estimated: `3647` - // Minimum execution time: 26_529_000 picoseconds. - Weight::from_parts(27_301_000, 0) + // Minimum execution time: 23_874_000 picoseconds. + Weight::from_parts(24_255_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques OwnershipAcceptance (r:1 w:1) - /// Proof: Uniques OwnershipAcceptance (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) + /// Storage: `Uniques::OwnershipAcceptance` (r:1 w:1) + /// Proof: `Uniques::OwnershipAcceptance` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) fn set_accept_ownership() -> Weight { // Proof Size summary in bytes: // Measured: `109` // Estimated: `3521` - // Minimum execution time: 21_500_000 picoseconds. - Weight::from_parts(22_091_000, 0) + // Minimum execution time: 17_633_000 picoseconds. + Weight::from_parts(18_184_000, 0) .saturating_add(Weight::from_parts(0, 3521)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques CollectionMaxSupply (r:1 w:1) - /// Proof: Uniques CollectionMaxSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - /// Storage: Uniques Class (r:1 w:0) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) + /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:1) + /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) fn set_collection_max_supply() -> Weight { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 22_692_000 picoseconds. - Weight::from_parts(23_403_000, 0) + // Minimum execution time: 19_627_000 picoseconds. + Weight::from_parts(20_148_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques Asset (r:1 w:0) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: Uniques ItemPriceOf (r:0 w:1) - /// Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen) + /// Storage: `Uniques::Asset` (r:1 w:0) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`) fn set_price() -> Weight { // Proof Size summary in bytes: // Measured: `343` // Estimated: `3603` - // Minimum execution time: 22_562_000 picoseconds. - Weight::from_parts(23_213_000, 0) + // Minimum execution time: 18_915_000 picoseconds. + Weight::from_parts(19_457_000, 0) .saturating_add(Weight::from_parts(0, 3603)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques Asset (r:1 w:1) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: Uniques ItemPriceOf (r:1 w:1) - /// Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen) - /// Storage: Uniques Class (r:1 w:0) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques Account (r:0 w:2) - /// Proof: Uniques Account (max_values: None, max_size: Some(104), added: 2579, mode: MaxEncodedLen) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:1 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:2) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) fn buy_item() -> Weight { // Proof Size summary in bytes: // Measured: `645` // Estimated: `3647` - // Minimum execution time: 56_265_000 picoseconds. - Weight::from_parts(57_116_000, 0) + // Minimum execution time: 47_038_000 picoseconds. + Weight::from_parts(48_631_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 23a4232d32..dd180f3c76 100644 --- a/runtime/centrifuge/src/weights/pallet_utility.rs +++ b/runtime/centrifuge/src/weights/pallet_utility.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_utility` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_utility // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_utility.rs @@ -37,18 +36,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_410_000 picoseconds. - Weight::from_parts(10_649_000, 0) + // Minimum execution time: 6_852_000 picoseconds. + Weight::from_parts(3_779_214, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_678 - .saturating_add(Weight::from_parts(8_552_226, 0).saturating_mul(c.into())) + // Standard Error: 2_185 + .saturating_add(Weight::from_parts(4_705_310, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_464_000 picoseconds. - Weight::from_parts(7_725_000, 0) + // Minimum execution time: 6_613_000 picoseconds. + Weight::from_parts(7_043_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -56,18 +55,18 @@ 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_564_874, 0) + // Minimum execution time: 6_603_000 picoseconds. + Weight::from_parts(6_813_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_865 - .saturating_add(Weight::from_parts(9_035_936, 0).saturating_mul(c.into())) + // Standard Error: 1_474 + .saturating_add(Weight::from_parts(5_109_510, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_896_000 picoseconds. - Weight::from_parts(14_317_000, 0) + // Minimum execution time: 9_368_000 picoseconds. + Weight::from_parts(9_769_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -75,10 +74,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_279_000 picoseconds. - Weight::from_parts(11_117_982, 0) + // Minimum execution time: 6_812_000 picoseconds. + Weight::from_parts(7_053_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_775 - .saturating_add(Weight::from_parts(8_623_590, 0).saturating_mul(c.into())) + // Standard Error: 1_310 + .saturating_add(Weight::from_parts(4_734_507, 0).saturating_mul(c.into())) } } diff --git a/runtime/centrifuge/src/weights/pallet_vesting.rs b/runtime/centrifuge/src/weights/pallet_vesting.rs index 7a0accf2c2..4defe13506 100644 --- a/runtime/centrifuge/src/weights/pallet_vesting.rs +++ b/runtime/centrifuge/src/weights/pallet_vesting.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_vesting` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_vesting // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_vesting.rs @@ -32,196 +31,214 @@ use core::marker::PhantomData; /// Weight functions for `pallet_vesting`. pub struct WeightInfo(PhantomData); impl pallet_vesting::WeightInfo for WeightInfo { - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(157), added: 2632, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(157), added: 2632, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 3]`. fn vest_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `269 + l * (25 ±0) + s * (37 ±0)` // Estimated: `4764` - // Minimum execution time: 43_641_000 picoseconds. - Weight::from_parts(44_114_954, 0) + // Minimum execution time: 39_564_000 picoseconds. + Weight::from_parts(39_981_239, 0) .saturating_add(Weight::from_parts(0, 4764)) - // 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())) + // Standard Error: 1_037 + .saturating_add(Weight::from_parts(43_712, 0).saturating_mul(l.into())) + // Standard Error: 19_876 + .saturating_add(Weight::from_parts(229_682, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(157), added: 2632, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(157), added: 2632, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 3]`. fn vest_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `269 + l * (25 ±0) + s * (37 ±0)` // Estimated: `4764` - // Minimum execution time: 49_512_000 picoseconds. - Weight::from_parts(50_819_626, 0) + // Minimum execution time: 41_808_000 picoseconds. + Weight::from_parts(43_269_209, 0) .saturating_add(Weight::from_parts(0, 4764)) - // 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())) + // Standard Error: 1_148 + .saturating_add(Weight::from_parts(40_780, 0).saturating_mul(l.into())) + // Standard Error: 22_013 + .saturating_add(Weight::from_parts(93_733, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(157), added: 2632, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(157), added: 2632, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 3]`. fn vest_other_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `372 + l * (25 ±0) + s * (37 ±0)` // Estimated: `4764` - // Minimum execution time: 46_457_000 picoseconds. - Weight::from_parts(46_776_316, 0) + // Minimum execution time: 41_467_000 picoseconds. + Weight::from_parts(41_941_236, 0) .saturating_add(Weight::from_parts(0, 4764)) - // 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())) + // Standard Error: 1_114 + .saturating_add(Weight::from_parts(44_127, 0).saturating_mul(l.into())) + // Standard Error: 21_345 + .saturating_add(Weight::from_parts(397_753, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(157), added: 2632, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(157), added: 2632, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 3]`. fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `372 + l * (25 ±0) + s * (37 ±0)` // Estimated: `4764` - // Minimum execution time: 52_568_000 picoseconds. - Weight::from_parts(53_808_154, 0) + // Minimum execution time: 44_693_000 picoseconds. + Weight::from_parts(45_550_838, 0) .saturating_add(Weight::from_parts(0, 4764)) - // 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())) + // Standard Error: 1_152 + .saturating_add(Weight::from_parts(42_064, 0).saturating_mul(l.into())) + // Standard Error: 22_075 + .saturating_add(Weight::from_parts(232_605, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(157), added: 2632, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(157), added: 2632, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 2]`. fn vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `283 + l * (25 ±0) + s * (134 ±0)` // Estimated: `4764` - // Minimum execution time: 102_281_000 picoseconds. - Weight::from_parts(101_427_102, 0) + // Minimum execution time: 93_545_000 picoseconds. + Weight::from_parts(92_993_209, 0) .saturating_add(Weight::from_parts(0, 4764)) - // 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())) + // Standard Error: 1_581 + .saturating_add(Weight::from_parts(61_450, 0).saturating_mul(l.into())) + // Standard Error: 30_294 + .saturating_add(Weight::from_parts(1_040_335, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(157), added: 2632, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(157), added: 2632, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 2]`. fn force_vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `423 + l * (25 ±0) + s * (134 ±0)` // Estimated: `6196` - // Minimum execution time: 105_235_000 picoseconds. - Weight::from_parts(106_598_065, 0) + // Minimum execution time: 95_989_000 picoseconds. + Weight::from_parts(95_019_286, 0) .saturating_add(Weight::from_parts(0, 6196)) - // 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())) + // Standard Error: 2_465 + .saturating_add(Weight::from_parts(86_005, 0).saturating_mul(l.into())) + // Standard Error: 47_232 + .saturating_add(Weight::from_parts(2_593_636, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(157), added: 2632, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(157), added: 2632, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[2, 3]`. fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `374 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 47_729_000 picoseconds. - Weight::from_parts(47_999_344, 0) + // Minimum execution time: 41_888_000 picoseconds. + Weight::from_parts(42_630_812, 0) .saturating_add(Weight::from_parts(0, 4764)) - // 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())) + // Standard Error: 1_054 + .saturating_add(Weight::from_parts(55_222, 0).saturating_mul(l.into())) + // Standard Error: 33_643 + .saturating_add(Weight::from_parts(196_992, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(157), added: 2632, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(157), added: 2632, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[2, 3]`. fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `374 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 53_850_000 picoseconds. - Weight::from_parts(54_841_045, 0) + // Minimum execution time: 44_733_000 picoseconds. + Weight::from_parts(45_724_733, 0) .saturating_add(Weight::from_parts(0, 4764)) - // 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())) + // Standard Error: 1_061 + .saturating_add(Weight::from_parts(46_527, 0).saturating_mul(l.into())) + // Standard Error: 33_842 + .saturating_add(Weight::from_parts(193_383, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(157), added: 2632, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `l` is `[0, 49]`. + /// The range of component `s` is `[2, 3]`. + fn force_remove_vesting_schedule(l: u32, _s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `479 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `4764` + // Minimum execution time: 47_398_000 picoseconds. + Weight::from_parts(49_317_822, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 1_305 + .saturating_add(Weight::from_parts(43_381, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - - fn force_remove_vesting_schedule(_: u32, _: u32) -> cumulus_primitives_core::Weight { - Weight::default() - } } diff --git a/runtime/centrifuge/src/weights/pallet_xcm.rs b/runtime/centrifuge/src/weights/pallet_xcm.rs index 5f245e8acf..ff8118d8bd 100644 --- a/runtime/centrifuge/src/weights/pallet_xcm.rs +++ b/runtime/centrifuge/src/weights/pallet_xcm.rs @@ -1,22 +1,21 @@ //! Autogenerated weights for `pallet_xcm` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_xcm // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --output=/tmp/runtime/centrifuge/src/weights/pallet_xcm.rs @@ -32,54 +31,48 @@ use core::marker::PhantomData; /// Weight functions for `pallet_xcm`. pub struct WeightInfo(PhantomData); impl pallet_xcm::WeightInfo for WeightInfo { - /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem HostConfiguration (r:1 w:0) - /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn send() -> Weight { // Proof Size summary in bytes: - // Measured: `311` - // Estimated: `3776` - // 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)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: ParachainInfo ParachainId (r:1 w:0) - /// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry LocationToAssetId (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry LocationToAssetId (max_values: None, max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn teleport_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `203` - // Estimated: `3668` - // 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)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: ParachainInfo ParachainId (r:1 w:0) - /// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry LocationToAssetId (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry LocationToAssetId (max_values: None, max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn reserve_transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `203` - // Estimated: `3668` - // 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)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: Benchmark Override (r:0 w:0) - /// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn transfer_assets() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn execute() -> Weight { // Proof Size summary in bytes: // Measured: `0` @@ -88,201 +81,156 @@ impl pallet_xcm::WeightInfo for WeightInfo { Weight::from_parts(18_446_744_073_709_551_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: PolkadotXcm SupportedVersion (r:0 w:1) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_xcm_version() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_577_000 picoseconds. - Weight::from_parts(14_957_000, 0) + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) .saturating_add(Weight::from_parts(0, 0)) - .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: PolkadotXcm SafeXcmVersion (r:0 w:1) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) fn force_default_xcm_version() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_418_000 picoseconds. - Weight::from_parts(4_669_000, 0) + // Minimum execution time: 3_717_000 picoseconds. + Weight::from_parts(3_967_000, 0) .saturating_add(Weight::from_parts(0, 0)) - .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: PolkadotXcm VersionNotifiers (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm QueryCounter (r:1 w:1) - /// Proof Skipped: PolkadotXcm QueryCounter (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem HostConfiguration (r:1 w:0) - /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm Queries (r:0 w:1) - /// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_subscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `311` - // Estimated: `3776` - // 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)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: PolkadotXcm VersionNotifiers (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem HostConfiguration (r:1 w:0) - /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm Queries (r:0 w:1) - /// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_unsubscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `493` - // Estimated: `3958` - // 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)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: PolkadotXcm XcmExecutionSuspended (r:0 w:1) - /// Proof Skipped: PolkadotXcm XcmExecutionSuspended (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1) + /// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn force_suspension() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_539_000 picoseconds. - Weight::from_parts(4_780_000, 0) + // Minimum execution time: 3_877_000 picoseconds. + Weight::from_parts(4_147_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: PolkadotXcm SupportedVersion (r:4 w:2) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::SupportedVersion` (r:5 w:2) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_supported_version() -> Weight { // Proof Size summary in bytes: - // Measured: `235` - // Estimated: `11125` - // 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)) + // Measured: `22` + // Estimated: `13387` + // Minimum execution time: 26_810_000 picoseconds. + Weight::from_parts(27_190_000, 0) + .saturating_add(Weight::from_parts(0, 13387)) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: PolkadotXcm VersionNotifiers (r:4 w:2) - /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::VersionNotifiers` (r:5 w:2) + /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notifiers() -> Weight { // Proof Size summary in bytes: - // Measured: `239` - // Estimated: `11129` - // 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)) + // Measured: `26` + // Estimated: `13391` + // Minimum execution time: 27_080_000 picoseconds. + Weight::from_parts(27_462_000, 0) + .saturating_add(Weight::from_parts(0, 13391)) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: PolkadotXcm VersionNotifyTargets (r:5 w:0) - /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn already_notified_target() -> Weight { // Proof Size summary in bytes: - // Measured: `246` - // Estimated: `13611` - // 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)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 25_000_000 picoseconds. + Weight::from_parts(25_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: PolkadotXcm VersionNotifyTargets (r:2 w:1) - /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem HostConfiguration (r:1 w:0) - /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn notify_current_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `378` - // Estimated: `6318` - // 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)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 325_000_000 picoseconds. + Weight::from_parts(325_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: PolkadotXcm VersionNotifyTargets (r:3 w:0) - /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:4 w:0) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn notify_target_migration_fail() -> Weight { // Proof Size summary in bytes: - // Measured: `206` - // Estimated: `8621` - // 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)) + // Measured: `69` + // Estimated: `10959` + // Minimum execution time: 19_667_000 picoseconds. + Weight::from_parts(20_097_000, 0) + .saturating_add(Weight::from_parts(0, 10959)) + .saturating_add(T::DbWeight::get().reads(4)) } - /// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2) - /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:2) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notify_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `246` - // Estimated: `11136` - // 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)) + // Measured: `33` + // Estimated: `13398` + // Minimum execution time: 26_430_000 picoseconds. + Weight::from_parts(26_980_000, 0) + .saturating_add(Weight::from_parts(0, 13398)) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2) - /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem HostConfiguration (r:1 w:0) - /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_and_notify_old_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `454` - // Estimated: `11344` - // 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)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 325_000_000 picoseconds. + Weight::from_parts(325_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) + /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::Queries` (r:0 w:1) + /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn new_query() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `1485` + // Minimum execution time: 3_717_000 picoseconds. + Weight::from_parts(3_967_000, 0) + .saturating_add(Weight::from_parts(0, 1485)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `PolkadotXcm::Queries` (r:1 w:1) + /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn take_response() -> Weight { + // Proof Size summary in bytes: + // Measured: `7576` + // Estimated: `11041` + // Minimum execution time: 43_632_000 picoseconds. + Weight::from_parts(44_152_000, 0) + .saturating_add(Weight::from_parts(0, 11041)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - - fn transfer_assets() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn new_query() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn take_response() -> cumulus_primitives_core::Weight { - Weight::default() - } } diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index bdac1c6db0..f48a96c906 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -47,6 +47,8 @@ precompile-utils = { workspace = true } xcm-primitives = { workspace = true } +fp-evm = { workspace = true } + # Local cfg-primitives = { workspace = true } cfg-traits = { workspace = true } diff --git a/runtime/common/src/evm/precompile.rs b/runtime/common/src/evm/precompile.rs index 632380f237..df6df7617e 100644 --- a/runtime/common/src/evm/precompile.rs +++ b/runtime/common/src/evm/precompile.rs @@ -94,6 +94,9 @@ impl H160Addresses for PrecompileSetBuilder { } pub mod utils { + use sp_core::H160; + use sp_std::collections::btree_map::BTreeMap; + use super::H160Addresses; // From Moonbeam: @@ -122,4 +125,21 @@ pub mod utils { } (reads, writes) } + + pub fn precompile_account_genesis( + ) -> BTreeMap { + PrecompileSet::h160_addresses() + .map(|addr| { + ( + addr, + fp_evm::GenesisAccount { + nonce: Default::default(), + balance: Default::default(), + storage: Default::default(), + code: REVERT_BYTECODE.to_vec(), + }, + ) + }) + .collect() + } } diff --git a/runtime/common/src/lib.rs b/runtime/common/src/lib.rs index 1802d8d951..56aae05d43 100644 --- a/runtime/common/src/lib.rs +++ b/runtime/common/src/lib.rs @@ -250,7 +250,8 @@ pub mod asset_registry { impl< Origin: Into, Origin>> + From>, DefaultEnsureOrigin: EnsureOrigin, - > EnsureOriginWithArg> for AuthorityOrigin + > EnsureOriginWithArg> + for AuthorityOrigin { type Success = (); diff --git a/runtime/common/src/xcm.rs b/runtime/common/src/xcm.rs index c44f757c33..dbba874d87 100644 --- a/runtime/common/src/xcm.rs +++ b/runtime/common/src/xcm.rs @@ -67,7 +67,7 @@ impl< pub fn general_key(data: &[u8]) -> staging_xcm::latest::Junction { GeneralKey { length: data.len().min(32) as u8, - data: cfg_utils::vec_to_fixed_array(data.to_vec()), + data: cfg_utils::vec_to_fixed_array(data), } } diff --git a/runtime/development/Cargo.toml b/runtime/development/Cargo.toml index e6cdd54606..440ee5309c 100644 --- a/runtime/development/Cargo.toml +++ b/runtime/development/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "development-runtime" -version = "0.10.46" build = "build.rs" +version.workspace = true authors.workspace = true edition.workspace = true license.workspace = true diff --git a/runtime/development/src/lib.rs b/runtime/development/src/lib.rs index 5f73e98780..9ee4508765 100644 --- a/runtime/development/src/lib.rs +++ b/runtime/development/src/lib.rs @@ -80,7 +80,8 @@ use pallet_anchors::AnchorData; use pallet_collective::EnsureMember; use pallet_ethereum::{Call::transact, PostLogContent, Transaction as EthTransaction}; use pallet_evm::{ - Account as EVMAccount, EnsureAddressTruncated, FeeCalculator, GasWeightMapping, Runner, + Account as EVMAccount, EnsureAddressNever, EnsureAddressRoot, FeeCalculator, GasWeightMapping, + Runner, }; use pallet_investments::OrderType; use pallet_liquidity_pools::hooks::{ @@ -107,7 +108,7 @@ use runtime_common::{ asset_registry, changes::FastDelay, evm::{ - precompile::Precompiles, BaseFeeThreshold, FindAuthorTruncated, GAS_LIMIT_POV_SIZE_RATIO, + self, BaseFeeThreshold, FindAuthorTruncated, GAS_LIMIT_POV_SIZE_RATIO, GAS_LIMIT_STORAGE_GROWTH_RATIO, WEIGHT_PER_GAS, }, fees::{DealWithFees, FeeToTreasury, WeightToFee}, @@ -166,7 +167,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: 1047, + spec_version: 1100, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 2, @@ -1956,11 +1957,11 @@ parameter_types! { pub type XcmWeigher = staging_xcm_builder::FixedWeightBounds; -pub type DevelopmentPrecompiles = Precompiles; +pub type Precompiles = evm::precompile::Precompiles; parameter_types! { pub BlockGasLimit: U256 = U256::from(NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT.ref_time() / WEIGHT_PER_GAS); - pub PrecompilesValue: DevelopmentPrecompiles = Precompiles::<_, _>::new(); + pub PrecompilesValue: Precompiles = Precompiles::new(); pub WeightPerGas: Weight = Weight::from_parts(WEIGHT_PER_GAS, 0); pub const TokenSymbol: &'static str = "DCFG"; } @@ -1969,7 +1970,7 @@ impl pallet_evm::Config for Runtime { type AddressMapping = RuntimeAccountConverter; type BlockGasLimit = BlockGasLimit; type BlockHashMapping = pallet_ethereum::EthereumBlockHashMapping; - type CallOrigin = EnsureAddressTruncated; + type CallOrigin = EnsureAddressRoot; type ChainId = EVMChainId; type Currency = Balances; type FeeCalculator = BaseFee; @@ -1979,7 +1980,7 @@ impl pallet_evm::Config for Runtime { type GasWeightMapping = pallet_evm::FixedGasWeightMapping; type OnChargeTransaction = (); type OnCreate = (); - type PrecompilesType = DevelopmentPrecompiles; + type PrecompilesType = Precompiles; type PrecompilesValue = PrecompilesValue; type Runner = pallet_evm::runner::stack::Runner; type RuntimeEvent = RuntimeEvent; @@ -1987,7 +1988,7 @@ impl pallet_evm::Config for Runtime { type Timestamp = Timestamp; type WeightInfo = (); type WeightPerGas = WeightPerGas; - type WithdrawOrigin = EnsureAddressTruncated; + type WithdrawOrigin = EnsureAddressNever; } impl pallet_evm_chain_id::Config for Runtime {} @@ -2056,7 +2057,7 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - crate::migrations::UpgradeDevelopment1047, + crate::migrations::UpgradeDevelopment1100, >; // Frame Order in this block dictates the index of each one in the metadata diff --git a/runtime/development/src/migrations.rs b/runtime/development/src/migrations.rs index fdc2cb322a..76b5483753 100644 --- a/runtime/development/src/migrations.rs +++ b/runtime/development/src/migrations.rs @@ -26,7 +26,7 @@ const IDENTITY_MIGRATION_KEY_LIMIT: u64 = 1000; /// The migration set for Development & Demo. /// It includes all the migrations that have to be applied on that chain. -pub type UpgradeDevelopment1047 = ( +pub type UpgradeDevelopment1100 = ( pallet_collator_selection::migration::v1::MigrateToV1, pallet_collator_selection::migration::v2::MigrationToV2, cleanup_foreign_investments::Migration, diff --git a/runtime/development/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/development/src/weights/cumulus_pallet_xcmp_queue.rs index 1be99aa0d7..1b2f3baa35 100644 --- a/runtime/development/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/development/src/weights/cumulus_pallet_xcmp_queue.rs @@ -1,25 +1,24 @@ //! 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-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=cumulus_pallet_xcmp_queue // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/cumulus_pallet_xcmp_queue.rs +// --output=/tmp/runtime/centrifuge/src/weights/cumulus_pallet_xcmp_queue.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,40 +31,106 @@ use core::marker::PhantomData; /// Weight functions for `cumulus_pallet_xcmp_queue`. pub struct WeightInfo(PhantomData); impl cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_config_with_u32() -> Weight { // Proof Size summary in bytes: // Measured: `109` // Estimated: `1594` - // Minimum execution time: 7_724_000 picoseconds. - Weight::from_parts(7_975_000, 0) + // Minimum execution time: 6_322_000 picoseconds. + Weight::from_parts(6_612_000, 0) .saturating_add(Weight::from_parts(0, 1594)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn enqueue_xcmp_message() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `115` + // Estimated: `3517` + // Minimum execution time: 17_583_000 picoseconds. + Weight::from_parts(18_214_000, 0) + .saturating_add(Weight::from_parts(0, 3517)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } - + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn suspend_channel() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `109` + // Estimated: `1594` + // Minimum execution time: 3_627_000 picoseconds. + Weight::from_parts(3_857_000, 0) + .saturating_add(Weight::from_parts(0, 1594)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn resume_channel() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `144` + // Estimated: `1629` + // Minimum execution time: 4_809_000 picoseconds. + Weight::from_parts(5_019_000, 0) + .saturating_add(Weight::from_parts(0, 1629)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - fn take_first_concatenated_xcm() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 11_432_000 picoseconds. + Weight::from_parts(11_742_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn on_idle_good_msg() -> Weight { - Weight::from_parts(1, 1) + // Proof Size summary in bytes: + // Measured: `65744` + // Estimated: `69209` + // Minimum execution time: 132_207_000 picoseconds. + Weight::from_parts(136_435_000, 0) + .saturating_add(Weight::from_parts(0, 69209)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) } - - fn on_idle_large_msg() -> Weight { - Weight::from_parts(1, 1) + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + fn on_idle_large_msg() -> Weight { + // Proof Size summary in bytes: + // Measured: `65743` + // Estimated: `69208` + // Minimum execution time: 63_539_000 picoseconds. + Weight::from_parts(64_109_000, 0) + .saturating_add(Weight::from_parts(0, 69208)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/development/src/weights/frame_system.rs b/runtime/development/src/weights/frame_system.rs index d06ea6295d..05427a8a9c 100644 --- a/runtime/development/src/weights/frame_system.rs +++ b/runtime/development/src/weights/frame_system.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-09-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-09-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,20 +36,20 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_065 nanoseconds. - Weight::from_parts(100_146_976, 0) + // Minimum execution time: 3_186 nanoseconds. + Weight::from_parts(21_884_278, 0) // Standard Error: 4 - .saturating_add(Weight::from_parts(285, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(314, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_241 nanoseconds. - Weight::from_parts(167_579_235, 0) + // Minimum execution time: 11_772 nanoseconds. + Weight::from_parts(124_610_758, 0) // Standard Error: 5 - .saturating_add(Weight::from_parts(1_684, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(1_747, 0).saturating_mul(b.into())) } /// Storage: System Digest (r:1 w:1) /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) @@ -59,8 +59,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `495` - // Minimum execution time: 5_751 nanoseconds. - Weight::from_parts(6_092_000, 495) + // Minimum execution time: 6_392 nanoseconds. + Weight::from_parts(6_713_000, 495) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -77,10 +77,10 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_965 nanoseconds. - Weight::from_parts(3_075_000, 0) - // Standard Error: 1_718 - .saturating_add(Weight::from_parts(885_573, 0).saturating_mul(i.into())) + // Minimum execution time: 3_347 nanoseconds. + Weight::from_parts(3_486_000, 0) + // Standard Error: 1_679 + .saturating_add(Weight::from_parts(920_803, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: Skipped Metadata (r:0 w:0) @@ -90,10 +90,10 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_936 nanoseconds. - Weight::from_parts(3_055_000, 0) - // Standard Error: 859 - .saturating_add(Weight::from_parts(638_231, 0).saturating_mul(i.into())) + // Minimum execution time: 3_306 nanoseconds. + Weight::from_parts(3_357_000, 0) + // Standard Error: 868 + .saturating_add(Weight::from_parts(650_497, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: Skipped Metadata (r:0 w:0) @@ -101,12 +101,12 @@ impl frame_system::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `171 + p * (69 ±0)` - // Estimated: `148 + p * (70 ±0)` - // Minimum execution time: 5_992 nanoseconds. - Weight::from_parts(6_142_000, 148) - // Standard Error: 1_161 - .saturating_add(Weight::from_parts(1_283_958, 0).saturating_mul(p.into())) + // Measured: `178 + p * (69 ±0)` + // Estimated: `155 + p * (70 ±0)` + // Minimum execution time: 6_271 nanoseconds. + Weight::from_parts(6_522_000, 155) + // Standard Error: 1_372 + .saturating_add(Weight::from_parts(1_296_943, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) } @@ -118,5 +118,4 @@ impl frame_system::WeightInfo for WeightInfo { fn apply_authorized_upgrade() -> Weight { Weight::zero() } - } diff --git a/runtime/development/src/weights/mod.rs b/runtime/development/src/weights/mod.rs index a9c0e46ff8..659c89486d 100644 --- a/runtime/development/src/weights/mod.rs +++ b/runtime/development/src/weights/mod.rs @@ -24,6 +24,7 @@ pub mod pallet_identity; pub mod pallet_interest_accrual; pub mod pallet_investments; pub mod pallet_keystore; +pub mod pallet_liquidity_rewards; pub mod pallet_loans; pub mod pallet_multisig; pub mod pallet_oracle_collection; @@ -42,7 +43,6 @@ pub mod pallet_session; pub mod pallet_timestamp; pub mod pallet_token_mux; pub mod pallet_transfer_allowlist; -pub mod pallet_treasury; pub mod pallet_uniques; pub mod pallet_utility; pub mod pallet_vesting; diff --git a/runtime/development/src/weights/pallet_anchors.rs b/runtime/development/src/weights/pallet_anchors.rs index 111a73a62c..1ff8ae7cc7 100644 --- a/runtime/development/src/weights/pallet_anchors.rs +++ b/runtime/development/src/weights/pallet_anchors.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_anchors` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_anchors // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_anchors.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_anchors.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,482 +31,482 @@ use core::marker::PhantomData; /// Weight functions for `pallet_anchors`. pub struct WeightInfo(PhantomData); impl pallet_anchors::WeightInfo for WeightInfo { - /// Storage: Anchor AnchorEvictDates (r:1 w:0) - /// Proof: Anchor AnchorEvictDates (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - /// Storage: Anchor PreCommits (r:1 w:1) - /// Proof: Anchor PreCommits (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Fees FeeBalances (r:1 w:0) - /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Anchor::AnchorEvictDates` (r:1 w:0) + /// Proof: `Anchor::AnchorEvictDates` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Anchor::PreCommits` (r:1 w:1) + /// Proof: `Anchor::PreCommits` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Fees::FeeBalances` (r:1 w:0) + /// Proof: `Fees::FeeBalances` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn pre_commit() -> Weight { // Proof Size summary in bytes: - // Measured: `334` + // Measured: `301` // Estimated: `3581` - // Minimum execution time: 39_925_000 picoseconds. - Weight::from_parts(40_886_000, 0) + // Minimum execution time: 38_893_000 picoseconds. + Weight::from_parts(39_884_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Anchor AnchorEvictDates (r:1 w:1) - /// Proof: Anchor AnchorEvictDates (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - /// Storage: Anchor PreCommits (r:1 w:1) - /// Proof: Anchor PreCommits (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Fees FeeBalances (r:1 w:0) - /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Authorship Author (r:1 w:0) - /// Proof: Authorship Author (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: System Digest (r:1 w:0) - /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Anchor LatestAnchorIndex (r:1 w:1) - /// Proof: Anchor LatestAnchorIndex (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Anchor AnchorIndexes (r:0 w:1) - /// Proof: Anchor AnchorIndexes (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - /// Storage: unknown `0xdb4faa73ca6d2016e53c7156087c176b79b169c409b8a0063a07964f3187f9e9` (r:0 w:1) - /// Proof Skipped: unknown `0xdb4faa73ca6d2016e53c7156087c176b79b169c409b8a0063a07964f3187f9e9` (r:0 w:1) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Anchor::AnchorEvictDates` (r:1 w:1) + /// Proof: `Anchor::AnchorEvictDates` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Anchor::PreCommits` (r:1 w:1) + /// Proof: `Anchor::PreCommits` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Fees::FeeBalances` (r:1 w:0) + /// Proof: `Fees::FeeBalances` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Authorship::Author` (r:1 w:0) + /// Proof: `Authorship::Author` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `System::Digest` (r:1 w:0) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Anchor::LatestAnchorIndex` (r:1 w:1) + /// Proof: `Anchor::LatestAnchorIndex` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Anchor::AnchorIndexes` (r:0 w:1) + /// Proof: `Anchor::AnchorIndexes` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0xdb4faa73ca6d2016e53c7156087c176b79b169c409b8a0063a07964f3187f9e9` (r:0 w:1) + /// Proof: UNKNOWN KEY `0xdb4faa73ca6d2016e53c7156087c176b79b169c409b8a0063a07964f3187f9e9` (r:0 w:1) fn commit() -> Weight { // Proof Size summary in bytes: - // Measured: `668` + // Measured: `635` // Estimated: `3581` - // Minimum execution time: 69_240_000 picoseconds. - Weight::from_parts(71_283_000, 0) + // Minimum execution time: 65_643_000 picoseconds. + Weight::from_parts(66_685_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: Anchor PreCommits (r:100 w:100) - /// Proof: Anchor PreCommits (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Anchor::PreCommits` (r:100 w:100) + /// Proof: `Anchor::PreCommits` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn evict_pre_commits() -> Weight { // Proof Size summary in bytes: // Measured: `12450` // Estimated: `260090` - // Minimum execution time: 2_149_515_000 picoseconds. - Weight::from_parts(2_165_375_000, 0) + // Minimum execution time: 1_948_840_000 picoseconds. + Weight::from_parts(1_974_327_000, 0) .saturating_add(Weight::from_parts(0, 260090)) .saturating_add(T::DbWeight::get().reads(100)) .saturating_add(T::DbWeight::get().writes(100)) } - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Anchor LatestEvictedDate (r:1 w:1) - /// Proof: Anchor LatestEvictedDate (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Anchor EvictedAnchorRoots (r:100 w:100) - /// Proof: Anchor EvictedAnchorRoots (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72010000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72010000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72020000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72020000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72030000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72030000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72040000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72040000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72050000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72050000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72060000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72060000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72070000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72070000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72080000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72080000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72090000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72090000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720a0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720a0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720b0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720b0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720c0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720c0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720d0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720d0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720e0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720e0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720f0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720f0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72100000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72100000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72110000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72110000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72120000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72120000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72130000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72130000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72140000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72140000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72150000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72150000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72160000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72160000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72170000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72170000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72180000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72180000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72190000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72190000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721a0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721a0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721b0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721b0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721c0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721c0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721d0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721d0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721e0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721e0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721f0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721f0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72200000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72200000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72210000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72210000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72220000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72220000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72230000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72230000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72240000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72240000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72250000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72250000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72260000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72260000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72270000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72270000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72280000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72280000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72290000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72290000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722a0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722a0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722b0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722b0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722c0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722c0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722d0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722d0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722e0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722e0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722f0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722f0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72300000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72300000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72310000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72310000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72320000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72320000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72330000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72330000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72340000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72340000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72350000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72350000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72360000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72360000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72370000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72370000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72380000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72380000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72390000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72390000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723a0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723a0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723b0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723b0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723c0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723c0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723d0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723d0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723e0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723e0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723f0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723f0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72400000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72400000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72410000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72410000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72420000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72420000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72430000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72430000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72440000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72440000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72450000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72450000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72460000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72460000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72470000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72470000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72480000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72480000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72490000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72490000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724a0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724a0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724b0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724b0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724c0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724c0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724d0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724d0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724e0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724e0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724f0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724f0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72500000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72500000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72510000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72510000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72520000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72520000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72530000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72530000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72540000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72540000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72550000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72550000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72560000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72560000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72570000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72570000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72580000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72580000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72590000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72590000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725a0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725a0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725b0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725b0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725c0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725c0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725d0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725d0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725e0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725e0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725f0000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725f0000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72600000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72600000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72610000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72610000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72620000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72620000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72630000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72630000` (r:1 w:0) - /// Storage: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72640000` (r:1 w:0) - /// Proof Skipped: unknown `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72640000` (r:1 w:0) - /// Storage: Anchor LatestEvictedAnchorIndex (r:1 w:1) - /// Proof: Anchor LatestEvictedAnchorIndex (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Anchor LatestAnchorIndex (r:1 w:0) - /// Proof: Anchor LatestAnchorIndex (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Anchor AnchorIndexes (r:100 w:100) - /// Proof: Anchor AnchorIndexes (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - /// Storage: Anchor AnchorEvictDates (r:100 w:100) - /// Proof: Anchor AnchorEvictDates (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) - /// Storage: unknown `0x01d5998dcaa249dfa2a455ae4c045d761623f268227068931dbabca3732aa41f` (r:1 w:1) - /// Proof Skipped: unknown `0x01d5998dcaa249dfa2a455ae4c045d761623f268227068931dbabca3732aa41f` (r:1 w:1) - /// Storage: unknown `0x04575ee0699f1fa86cccfdcf4285aa81b9bfa0f8837cf533346d722970f1a704` (r:1 w:1) - /// Proof Skipped: unknown `0x04575ee0699f1fa86cccfdcf4285aa81b9bfa0f8837cf533346d722970f1a704` (r:1 w:1) - /// Storage: unknown `0x0959721f200e92d5090cee3c2c4546c11f9bfd16ded1e70e6781d2402880f1f3` (r:1 w:1) - /// Proof Skipped: unknown `0x0959721f200e92d5090cee3c2c4546c11f9bfd16ded1e70e6781d2402880f1f3` (r:1 w:1) - /// Storage: unknown `0x0a958b15afac1ffb0c6e73c553bd8b4ba94ad2d0cc118dcd2a7bc8802e2e772a` (r:1 w:1) - /// Proof Skipped: unknown `0x0a958b15afac1ffb0c6e73c553bd8b4ba94ad2d0cc118dcd2a7bc8802e2e772a` (r:1 w:1) - /// Storage: unknown `0x0c4c531cd9dcf8573a6350d0ac9fb060d273156bdee4fdae0043b6fee5bda27c` (r:1 w:1) - /// Proof Skipped: unknown `0x0c4c531cd9dcf8573a6350d0ac9fb060d273156bdee4fdae0043b6fee5bda27c` (r:1 w:1) - /// Storage: unknown `0x0cd3f3ee9420f9c3b2e70862996e8d02e87d1f148632a36b8f72c9548b10b856` (r:1 w:1) - /// Proof Skipped: unknown `0x0cd3f3ee9420f9c3b2e70862996e8d02e87d1f148632a36b8f72c9548b10b856` (r:1 w:1) - /// Storage: unknown `0x10876da12e1227a2c04872ce311f768aaf3e21458e6ad1c04f044c97fe8e214e` (r:1 w:1) - /// Proof Skipped: unknown `0x10876da12e1227a2c04872ce311f768aaf3e21458e6ad1c04f044c97fe8e214e` (r:1 w:1) - /// Storage: unknown `0x10b360a66313de6ab2d43019c5fd7ea0db088efb3e1d4a24d89775e66e089cff` (r:1 w:1) - /// Proof Skipped: unknown `0x10b360a66313de6ab2d43019c5fd7ea0db088efb3e1d4a24d89775e66e089cff` (r:1 w:1) - /// Storage: unknown `0x16d33ce142442dfbe857e2c9e0648d026c6bb367d467d6922c2c1133aaa3d7b8` (r:1 w:1) - /// Proof Skipped: unknown `0x16d33ce142442dfbe857e2c9e0648d026c6bb367d467d6922c2c1133aaa3d7b8` (r:1 w:1) - /// Storage: unknown `0x16e133fb9e42d5a2a9a2e21b2e0efd735fccb527162a21cf520c3aecd84c89ed` (r:1 w:1) - /// Proof Skipped: unknown `0x16e133fb9e42d5a2a9a2e21b2e0efd735fccb527162a21cf520c3aecd84c89ed` (r:1 w:1) - /// Storage: unknown `0x16fcb5e799a48fa04deaaaa71c85bc8e9126bd4b5dbcb3a1f8068ab14bc1c26f` (r:1 w:1) - /// Proof Skipped: unknown `0x16fcb5e799a48fa04deaaaa71c85bc8e9126bd4b5dbcb3a1f8068ab14bc1c26f` (r:1 w:1) - /// Storage: unknown `0x1b3289127bc95ed117e77d479ccd3ac4477ef8d32df7265bbd42c75bf1945464` (r:1 w:1) - /// Proof Skipped: unknown `0x1b3289127bc95ed117e77d479ccd3ac4477ef8d32df7265bbd42c75bf1945464` (r:1 w:1) - /// Storage: unknown `0x1ecb14235f21b57f49e32ac4f35a1af6a71f96867f0bc61bc5905b8d437b6bde` (r:1 w:1) - /// Proof Skipped: unknown `0x1ecb14235f21b57f49e32ac4f35a1af6a71f96867f0bc61bc5905b8d437b6bde` (r:1 w:1) - /// Storage: unknown `0x1f8b0dafc67f9d378cf0596c5d49f220e5880b9c74ccaadac2206a35ec92715a` (r:1 w:1) - /// Proof Skipped: unknown `0x1f8b0dafc67f9d378cf0596c5d49f220e5880b9c74ccaadac2206a35ec92715a` (r:1 w:1) - /// Storage: unknown `0x24a8d9c362d9365f46f899adb37f6b61134dceaa80f96a9cda6b059a1301f380` (r:1 w:1) - /// Proof Skipped: unknown `0x24a8d9c362d9365f46f899adb37f6b61134dceaa80f96a9cda6b059a1301f380` (r:1 w:1) - /// Storage: unknown `0x2a00fca93dceceb635a80a95e8f785b189a4ce35f90a17acba5d1bcacf895a84` (r:1 w:1) - /// Proof Skipped: unknown `0x2a00fca93dceceb635a80a95e8f785b189a4ce35f90a17acba5d1bcacf895a84` (r:1 w:1) - /// Storage: unknown `0x2b318def38ef5f2f8db787e365834ece79fbde70c22cf7bd6c9326995fd4c07f` (r:1 w:1) - /// Proof Skipped: unknown `0x2b318def38ef5f2f8db787e365834ece79fbde70c22cf7bd6c9326995fd4c07f` (r:1 w:1) - /// Storage: unknown `0x2fbeff7b90831a847716e729a30f028899726193b4406a1c91fce4e97beb61b5` (r:1 w:1) - /// Proof Skipped: unknown `0x2fbeff7b90831a847716e729a30f028899726193b4406a1c91fce4e97beb61b5` (r:1 w:1) - /// Storage: unknown `0x30dc983a9ad263028d0e91a8a0cf703a2a7fd3834b1102f1ff3f8c8876a207bf` (r:1 w:1) - /// Proof Skipped: unknown `0x30dc983a9ad263028d0e91a8a0cf703a2a7fd3834b1102f1ff3f8c8876a207bf` (r:1 w:1) - /// Storage: unknown `0x3187d0cdac28db7ec343a07f0b2e44fc56986f0a9c2062d5fa60f99419707bea` (r:1 w:1) - /// Proof Skipped: unknown `0x3187d0cdac28db7ec343a07f0b2e44fc56986f0a9c2062d5fa60f99419707bea` (r:1 w:1) - /// Storage: unknown `0x3596cd6b45e209629c71765c804f324ed440f7a1cb2ff6cb542156fd5d213de2` (r:1 w:1) - /// Proof Skipped: unknown `0x3596cd6b45e209629c71765c804f324ed440f7a1cb2ff6cb542156fd5d213de2` (r:1 w:1) - /// Storage: unknown `0x3645890bd8ab0cc13921468d56eee7da40fbe28dc05bc30a64f05a2c03a1912e` (r:1 w:1) - /// Proof Skipped: unknown `0x3645890bd8ab0cc13921468d56eee7da40fbe28dc05bc30a64f05a2c03a1912e` (r:1 w:1) - /// Storage: unknown `0x384b604969634cf37d988e886b5267a51baeb797e09a1d1a0893e5be8fc553df` (r:1 w:1) - /// Proof Skipped: unknown `0x384b604969634cf37d988e886b5267a51baeb797e09a1d1a0893e5be8fc553df` (r:1 w:1) - /// Storage: unknown `0x3c056a888ea28c9294c91723916f5891141a824048335e32532e6605ce0457e0` (r:1 w:1) - /// Proof Skipped: unknown `0x3c056a888ea28c9294c91723916f5891141a824048335e32532e6605ce0457e0` (r:1 w:1) - /// Storage: unknown `0x3c5fd1d5c95885c6b44e0f3995886046d906821de1ed5ee95b51b17c42d3295b` (r:1 w:1) - /// Proof Skipped: unknown `0x3c5fd1d5c95885c6b44e0f3995886046d906821de1ed5ee95b51b17c42d3295b` (r:1 w:1) - /// Storage: unknown `0x3e74dfe3befcf6fa20eb902c2007ba7fd831619013aa99e016284597b896115b` (r:1 w:1) - /// Proof Skipped: unknown `0x3e74dfe3befcf6fa20eb902c2007ba7fd831619013aa99e016284597b896115b` (r:1 w:1) - /// Storage: unknown `0x42f1cff854d41b18ae379b012a1e712f036bcd839244d5c6324f12c28f6fd6e9` (r:1 w:1) - /// Proof Skipped: unknown `0x42f1cff854d41b18ae379b012a1e712f036bcd839244d5c6324f12c28f6fd6e9` (r:1 w:1) - /// Storage: unknown `0x457803d743c32f50866dbf7aabb339a1d8b6b759783b0627128f0cfd3d6c8775` (r:1 w:1) - /// Proof Skipped: unknown `0x457803d743c32f50866dbf7aabb339a1d8b6b759783b0627128f0cfd3d6c8775` (r:1 w:1) - /// Storage: unknown `0x4cb17fd2f1d1b2eff69f0ffa1a97ff13e7bf4f05a7a99dd06e503e7546b23906` (r:1 w:1) - /// Proof Skipped: unknown `0x4cb17fd2f1d1b2eff69f0ffa1a97ff13e7bf4f05a7a99dd06e503e7546b23906` (r:1 w:1) - /// Storage: unknown `0x58357c4f5a9881658ffc42faa5f48e2810169bf85c8c78011696a17b59728ef5` (r:1 w:1) - /// Proof Skipped: unknown `0x58357c4f5a9881658ffc42faa5f48e2810169bf85c8c78011696a17b59728ef5` (r:1 w:1) - /// Storage: unknown `0x5baa983aa91ad92c66e17d16e0757ec4a67ec2ce5b95f4d02ec22fba0e485da0` (r:1 w:1) - /// Proof Skipped: unknown `0x5baa983aa91ad92c66e17d16e0757ec4a67ec2ce5b95f4d02ec22fba0e485da0` (r:1 w:1) - /// Storage: unknown `0x5da83d0712f41714545470b781e0a43c65a0ac977327475baa98b5cd94938f17` (r:1 w:1) - /// Proof Skipped: unknown `0x5da83d0712f41714545470b781e0a43c65a0ac977327475baa98b5cd94938f17` (r:1 w:1) - /// Storage: unknown `0x6365aeecd6b54d3166f3df46d8c7b404711ca54b4284e8faf67eb014fa3685f8` (r:1 w:1) - /// Proof Skipped: unknown `0x6365aeecd6b54d3166f3df46d8c7b404711ca54b4284e8faf67eb014fa3685f8` (r:1 w:1) - /// Storage: unknown `0x683b74d821a8019cbfc9dbe47b50b0f377e0eef16dbc52f7f931ae713fd3f644` (r:1 w:1) - /// Proof Skipped: unknown `0x683b74d821a8019cbfc9dbe47b50b0f377e0eef16dbc52f7f931ae713fd3f644` (r:1 w:1) - /// Storage: unknown `0x6b02568ad8557dc3d66463abfd1d7f298a0b314fe4bf7d5be79b66768096ed90` (r:1 w:1) - /// Proof Skipped: unknown `0x6b02568ad8557dc3d66463abfd1d7f298a0b314fe4bf7d5be79b66768096ed90` (r:1 w:1) - /// Storage: unknown `0x6b05c068aecc171915a61cf59146e7f9a69b9bba39f4df50cecfeb454850b4c9` (r:1 w:1) - /// Proof Skipped: unknown `0x6b05c068aecc171915a61cf59146e7f9a69b9bba39f4df50cecfeb454850b4c9` (r:1 w:1) - /// Storage: unknown `0x6b5529ac614dcbd6113176256a4f5809eb667bddab2e22579306de0a1f83f287` (r:1 w:1) - /// Proof Skipped: unknown `0x6b5529ac614dcbd6113176256a4f5809eb667bddab2e22579306de0a1f83f287` (r:1 w:1) - /// Storage: unknown `0x6cd1381490331969f37f1e6575081f42f1bd8ae0cc79d70fc52ed178b5d75bd0` (r:1 w:1) - /// Proof Skipped: unknown `0x6cd1381490331969f37f1e6575081f42f1bd8ae0cc79d70fc52ed178b5d75bd0` (r:1 w:1) - /// Storage: unknown `0x6f5b021a9f57d7669ed7269e7d8785acf255f15785bf452a03a4decc184fd403` (r:1 w:1) - /// Proof Skipped: unknown `0x6f5b021a9f57d7669ed7269e7d8785acf255f15785bf452a03a4decc184fd403` (r:1 w:1) - /// Storage: unknown `0x764bac7888f79c071087d351a356a09cb2490cb6ea6d71f0cd391de89a885cd2` (r:1 w:1) - /// Proof Skipped: unknown `0x764bac7888f79c071087d351a356a09cb2490cb6ea6d71f0cd391de89a885cd2` (r:1 w:1) - /// Storage: unknown `0x7aedb653a5de5739b9d3594196693fd51653fcd59b442e0eb9f64265db188044` (r:1 w:1) - /// Proof Skipped: unknown `0x7aedb653a5de5739b9d3594196693fd51653fcd59b442e0eb9f64265db188044` (r:1 w:1) - /// Storage: unknown `0x7ca04bdeb932896fd908eb86d4136e9e2462575ebdf981001c1cd3ca6a2faaec` (r:1 w:1) - /// Proof Skipped: unknown `0x7ca04bdeb932896fd908eb86d4136e9e2462575ebdf981001c1cd3ca6a2faaec` (r:1 w:1) - /// Storage: unknown `0x7ceee738f5af899bd2f967a928019e4a0ecb8715509668dcc039badfe148b45e` (r:1 w:1) - /// Proof Skipped: unknown `0x7ceee738f5af899bd2f967a928019e4a0ecb8715509668dcc039badfe148b45e` (r:1 w:1) - /// Storage: unknown `0x7e700ce9c411e35485babec60c2b68f40c512bc8399c5cee0c1e4264e63f36d1` (r:1 w:1) - /// Proof Skipped: unknown `0x7e700ce9c411e35485babec60c2b68f40c512bc8399c5cee0c1e4264e63f36d1` (r:1 w:1) - /// Storage: unknown `0x80c020f2e70a170ee2f34af3daeda4c2097d14a35f5b1f2d23c2287e5e930f55` (r:1 w:1) - /// Proof Skipped: unknown `0x80c020f2e70a170ee2f34af3daeda4c2097d14a35f5b1f2d23c2287e5e930f55` (r:1 w:1) - /// Storage: unknown `0x8101d04cf92ee55f6c2a798c7b16da4cc8c511fd822b13093d0f53f5523718d0` (r:1 w:1) - /// Proof Skipped: unknown `0x8101d04cf92ee55f6c2a798c7b16da4cc8c511fd822b13093d0f53f5523718d0` (r:1 w:1) - /// Storage: unknown `0x85172de32d6b5871235d50648541b1bd007807512231f9b81f25cb5e20141820` (r:1 w:1) - /// Proof Skipped: unknown `0x85172de32d6b5871235d50648541b1bd007807512231f9b81f25cb5e20141820` (r:1 w:1) - /// Storage: unknown `0x85e9ccd05d28607dcce0dc5be4f34a7d56d3b83b6c63162b2787fc0e6decf2a7` (r:1 w:1) - /// Proof Skipped: unknown `0x85e9ccd05d28607dcce0dc5be4f34a7d56d3b83b6c63162b2787fc0e6decf2a7` (r:1 w:1) - /// Storage: unknown `0x87b3d065618080e576b534cf68b60d09c4cca0b71a8b6321337cc23be47e7329` (r:1 w:1) - /// Proof Skipped: unknown `0x87b3d065618080e576b534cf68b60d09c4cca0b71a8b6321337cc23be47e7329` (r:1 w:1) - /// Storage: unknown `0x892ec564231143cc6294a8750b924df2207d91ea3508501d2bd84bee7947b9d0` (r:1 w:1) - /// Proof Skipped: unknown `0x892ec564231143cc6294a8750b924df2207d91ea3508501d2bd84bee7947b9d0` (r:1 w:1) - /// Storage: unknown `0x8980988eacf42b40c4fc8aa995ae2e059a66c6935626c3e30f1d6842335368d0` (r:1 w:1) - /// Proof Skipped: unknown `0x8980988eacf42b40c4fc8aa995ae2e059a66c6935626c3e30f1d6842335368d0` (r:1 w:1) - /// Storage: unknown `0x8db2380506697daa88c7a72906d747535ffb12c0ca2a4a6443074bb0fdd8f256` (r:1 w:1) - /// Proof Skipped: unknown `0x8db2380506697daa88c7a72906d747535ffb12c0ca2a4a6443074bb0fdd8f256` (r:1 w:1) - /// Storage: unknown `0x8e098b9b896a97df275aba887f591c3076220e02adf682c98808e4ba53e6a773` (r:1 w:1) - /// Proof Skipped: unknown `0x8e098b9b896a97df275aba887f591c3076220e02adf682c98808e4ba53e6a773` (r:1 w:1) - /// Storage: unknown `0x8e590007efc113bc10a61c478d26803cdae5572d4c70547b3c9813b3ce396826` (r:1 w:1) - /// Proof Skipped: unknown `0x8e590007efc113bc10a61c478d26803cdae5572d4c70547b3c9813b3ce396826` (r:1 w:1) - /// Storage: unknown `0x96e31df89b1f00b96c993bd9de31e32e7e59c0a185cd0b31adc4e969746c8ea6` (r:1 w:1) - /// Proof Skipped: unknown `0x96e31df89b1f00b96c993bd9de31e32e7e59c0a185cd0b31adc4e969746c8ea6` (r:1 w:1) - /// Storage: unknown `0x9ae7305289647b636a8702b2316e5482f1a807fa398687068fb653527368f9bc` (r:1 w:1) - /// Proof Skipped: unknown `0x9ae7305289647b636a8702b2316e5482f1a807fa398687068fb653527368f9bc` (r:1 w:1) - /// Storage: unknown `0x9b9660b6fc1992a09573eaa9110c4a08d40c1f439304a47b9776645bc278fc75` (r:1 w:1) - /// Proof Skipped: unknown `0x9b9660b6fc1992a09573eaa9110c4a08d40c1f439304a47b9776645bc278fc75` (r:1 w:1) - /// Storage: unknown `0xa04f2ef3bb509dfec9d7a97c4778ab2e477af9c5cbda3a1c6e57514314a3f9a5` (r:1 w:1) - /// Proof Skipped: unknown `0xa04f2ef3bb509dfec9d7a97c4778ab2e477af9c5cbda3a1c6e57514314a3f9a5` (r:1 w:1) - /// Storage: unknown `0xa16d64c1e08b47144c2c8e37872486cf440dda823e2ea05f480fedfe83060f17` (r:1 w:1) - /// Proof Skipped: unknown `0xa16d64c1e08b47144c2c8e37872486cf440dda823e2ea05f480fedfe83060f17` (r:1 w:1) - /// Storage: unknown `0xa4ad0a32c2781a59ea8a6d58e26fa7dc0b2a08f8c4c938661f5f3ccd8f8eb8ce` (r:1 w:1) - /// Proof Skipped: unknown `0xa4ad0a32c2781a59ea8a6d58e26fa7dc0b2a08f8c4c938661f5f3ccd8f8eb8ce` (r:1 w:1) - /// Storage: unknown `0xab9797fb6926376ee3b6be73e5501e0a3af18d0bc6dfca0d3b5f498602016956` (r:1 w:1) - /// Proof Skipped: unknown `0xab9797fb6926376ee3b6be73e5501e0a3af18d0bc6dfca0d3b5f498602016956` (r:1 w:1) - /// Storage: unknown `0xac4d9f6628449fe129d24b384441fdb445962d2d6bca7603fea0c20f3d04351c` (r:1 w:1) - /// Proof Skipped: unknown `0xac4d9f6628449fe129d24b384441fdb445962d2d6bca7603fea0c20f3d04351c` (r:1 w:1) - /// Storage: unknown `0xafecb421bedaa0f8bd89ef18897b77ce61738af42f8a66e3257a079a3d04bef1` (r:1 w:1) - /// Proof Skipped: unknown `0xafecb421bedaa0f8bd89ef18897b77ce61738af42f8a66e3257a079a3d04bef1` (r:1 w:1) - /// Storage: unknown `0xb292dc48cc1057cce335f1d84f295271a2b16aee7018f1bd444febd77f7e5cbb` (r:1 w:1) - /// Proof Skipped: unknown `0xb292dc48cc1057cce335f1d84f295271a2b16aee7018f1bd444febd77f7e5cbb` (r:1 w:1) - /// Storage: unknown `0xb48b9d9955158dbd87abb433511a5968c21cf78f8085088407e24d6ee26f7f56` (r:1 w:1) - /// Proof Skipped: unknown `0xb48b9d9955158dbd87abb433511a5968c21cf78f8085088407e24d6ee26f7f56` (r:1 w:1) - /// Storage: unknown `0xb5a7df612d6fb3bc16c1716414897ba5928835d883003371f02106d5a92abd78` (r:1 w:1) - /// Proof Skipped: unknown `0xb5a7df612d6fb3bc16c1716414897ba5928835d883003371f02106d5a92abd78` (r:1 w:1) - /// Storage: unknown `0xb684abf2ee5018a16a8dbef6633bcb94a07a2cdf4a173e4fec130da86e8ab987` (r:1 w:1) - /// Proof Skipped: unknown `0xb684abf2ee5018a16a8dbef6633bcb94a07a2cdf4a173e4fec130da86e8ab987` (r:1 w:1) - /// Storage: unknown `0xb86c8391d2a3eb28b9e3b603cf6929849d50e439e0bbc79781b2555f9cbaa013` (r:1 w:1) - /// Proof Skipped: unknown `0xb86c8391d2a3eb28b9e3b603cf6929849d50e439e0bbc79781b2555f9cbaa013` (r:1 w:1) - /// Storage: unknown `0xba070ba6cf5f2489f98b6841d238eee4fc403d3065b57f9e3e38ca540971024d` (r:1 w:1) - /// Proof Skipped: unknown `0xba070ba6cf5f2489f98b6841d238eee4fc403d3065b57f9e3e38ca540971024d` (r:1 w:1) - /// Storage: unknown `0xbcb96e5fc092d3ac258a81b5390671817730859598470874ef02f998518bbf58` (r:1 w:1) - /// Proof Skipped: unknown `0xbcb96e5fc092d3ac258a81b5390671817730859598470874ef02f998518bbf58` (r:1 w:1) - /// Storage: unknown `0xc008db6f6d721d80fab2eab8b6dda4f19bd5def30aa7db86dadd6eb799c2f5ad` (r:1 w:1) - /// Proof Skipped: unknown `0xc008db6f6d721d80fab2eab8b6dda4f19bd5def30aa7db86dadd6eb799c2f5ad` (r:1 w:1) - /// Storage: unknown `0xc054c4045e44e28cef1884c0aa86d0049b76eaff493a6d694394df7b0cee8136` (r:1 w:1) - /// Proof Skipped: unknown `0xc054c4045e44e28cef1884c0aa86d0049b76eaff493a6d694394df7b0cee8136` (r:1 w:1) - /// Storage: unknown `0xc315216d50f4dd95914d6d102976dc09ec4474da5c314a15f09972ded6e71ddb` (r:1 w:1) - /// Proof Skipped: unknown `0xc315216d50f4dd95914d6d102976dc09ec4474da5c314a15f09972ded6e71ddb` (r:1 w:1) - /// Storage: unknown `0xc4a2c3fa3cc7ed1611651510eb6e225abab30676f0fad28c115482c7dd61f8e0` (r:1 w:1) - /// Proof Skipped: unknown `0xc4a2c3fa3cc7ed1611651510eb6e225abab30676f0fad28c115482c7dd61f8e0` (r:1 w:1) - /// Storage: unknown `0xc6cc01d59d3c86a1c12a167e149d784295fcd13862e4afb0a39a8459e6e25561` (r:1 w:1) - /// Proof Skipped: unknown `0xc6cc01d59d3c86a1c12a167e149d784295fcd13862e4afb0a39a8459e6e25561` (r:1 w:1) - /// Storage: unknown `0xc712d8fa08dd521e5f901ca6d36134807c5ec0510e3b52e8ae5a15f7c13d2ebd` (r:1 w:1) - /// Proof Skipped: unknown `0xc712d8fa08dd521e5f901ca6d36134807c5ec0510e3b52e8ae5a15f7c13d2ebd` (r:1 w:1) - /// Storage: unknown `0xc7e2bc91ff1b307f6995683b76f1904ccdada3cf8f00528c08d4f65911c4888a` (r:1 w:1) - /// Proof Skipped: unknown `0xc7e2bc91ff1b307f6995683b76f1904ccdada3cf8f00528c08d4f65911c4888a` (r:1 w:1) - /// Storage: unknown `0xccbca45304d59a1167eaf9b459e09cffce3d90c087ee9edf8e7e2dc40349373b` (r:1 w:1) - /// Proof Skipped: unknown `0xccbca45304d59a1167eaf9b459e09cffce3d90c087ee9edf8e7e2dc40349373b` (r:1 w:1) - /// Storage: unknown `0xccc17a821dda11e5239ea8dbedee5bd6622fc8dd63ee229fc3bd2dead22e8ae2` (r:1 w:1) - /// Proof Skipped: unknown `0xccc17a821dda11e5239ea8dbedee5bd6622fc8dd63ee229fc3bd2dead22e8ae2` (r:1 w:1) - /// Storage: unknown `0xccee04c4c0534d4245892ed24d7814cd14a41aeed7e94591354315f5b74d89f5` (r:1 w:1) - /// Proof Skipped: unknown `0xccee04c4c0534d4245892ed24d7814cd14a41aeed7e94591354315f5b74d89f5` (r:1 w:1) - /// Storage: unknown `0xcf67e9890d936f6bd205710c9a5cedc653d88fba3c74b7a2b9fe8ce7fce0bd0c` (r:1 w:1) - /// Proof Skipped: unknown `0xcf67e9890d936f6bd205710c9a5cedc653d88fba3c74b7a2b9fe8ce7fce0bd0c` (r:1 w:1) - /// Storage: unknown `0xcfdb7c67ada01beee8308b04c3f32e4c078603d0c84c0e28e605a8ea56dcc362` (r:1 w:1) - /// Proof Skipped: unknown `0xcfdb7c67ada01beee8308b04c3f32e4c078603d0c84c0e28e605a8ea56dcc362` (r:1 w:1) - /// Storage: unknown `0xd0d54b0c405fea6ff90809070bfd270c88e9a26ad83138eeb077d8f9602670bc` (r:1 w:1) - /// Proof Skipped: unknown `0xd0d54b0c405fea6ff90809070bfd270c88e9a26ad83138eeb077d8f9602670bc` (r:1 w:1) - /// Storage: unknown `0xd1d4eefa482f2ece90773426cd76c1da272ef0e72c1172a4a71b84c1f5f6c7c7` (r:1 w:1) - /// Proof Skipped: unknown `0xd1d4eefa482f2ece90773426cd76c1da272ef0e72c1172a4a71b84c1f5f6c7c7` (r:1 w:1) - /// Storage: unknown `0xd282fcd4ae056e61acbc8950a306910569f227182c41e5b88159aed160ba2a58` (r:1 w:1) - /// Proof Skipped: unknown `0xd282fcd4ae056e61acbc8950a306910569f227182c41e5b88159aed160ba2a58` (r:1 w:1) - /// Storage: unknown `0xd37f5ea81d5d617ed7490c928e4f3a1eba6f234787ba84f31e204e8733cd039f` (r:1 w:1) - /// Proof Skipped: unknown `0xd37f5ea81d5d617ed7490c928e4f3a1eba6f234787ba84f31e204e8733cd039f` (r:1 w:1) - /// Storage: unknown `0xd6780cc86f71e3b9d0f0f6977d180e26166b517ee3ee227701f9f36cccae3171` (r:1 w:1) - /// Proof Skipped: unknown `0xd6780cc86f71e3b9d0f0f6977d180e26166b517ee3ee227701f9f36cccae3171` (r:1 w:1) - /// Storage: unknown `0xd79237f18c61e22111652b0e9b809fbe8ca41552b3a927877a294a732b338f63` (r:1 w:1) - /// Proof Skipped: unknown `0xd79237f18c61e22111652b0e9b809fbe8ca41552b3a927877a294a732b338f63` (r:1 w:1) - /// Storage: unknown `0xd8825b3a03921d36a1543c344d9b3cacce95765f29c735cf3ed72dc9c37ff81b` (r:1 w:1) - /// Proof Skipped: unknown `0xd8825b3a03921d36a1543c344d9b3cacce95765f29c735cf3ed72dc9c37ff81b` (r:1 w:1) - /// Storage: unknown `0xdd012b8629cc16d3ad36b73df7dd7d38e8c11ac479b99dedffb10b5007c8049a` (r:1 w:1) - /// Proof Skipped: unknown `0xdd012b8629cc16d3ad36b73df7dd7d38e8c11ac479b99dedffb10b5007c8049a` (r:1 w:1) - /// Storage: unknown `0xdec56d85d6fffd793180a2ce033397f67fb3b9b7ac3e2b0ef6be2f15e7de435f` (r:1 w:1) - /// Proof Skipped: unknown `0xdec56d85d6fffd793180a2ce033397f67fb3b9b7ac3e2b0ef6be2f15e7de435f` (r:1 w:1) - /// Storage: unknown `0xe1f270fea944a3a9db5550d742e3acb3dd449cafb73dce65c1705d0752c1343b` (r:1 w:1) - /// Proof Skipped: unknown `0xe1f270fea944a3a9db5550d742e3acb3dd449cafb73dce65c1705d0752c1343b` (r:1 w:1) - /// Storage: unknown `0xe4002351550f1b106219729b86aa4776fb907737c9cd7e957c5ce80062a8ff8a` (r:1 w:1) - /// Proof Skipped: unknown `0xe4002351550f1b106219729b86aa4776fb907737c9cd7e957c5ce80062a8ff8a` (r:1 w:1) - /// Storage: unknown `0xe45f26671be0fb4144ed09c40b9493c4584affb2c1d1fe6cb067aa2df802027e` (r:1 w:1) - /// Proof Skipped: unknown `0xe45f26671be0fb4144ed09c40b9493c4584affb2c1d1fe6cb067aa2df802027e` (r:1 w:1) - /// Storage: unknown `0xe6b4a4991b976360dacf2c942d16326dd53584aca6ed1ae4e78f668d7b1163c1` (r:1 w:1) - /// Proof Skipped: unknown `0xe6b4a4991b976360dacf2c942d16326dd53584aca6ed1ae4e78f668d7b1163c1` (r:1 w:1) - /// Storage: unknown `0xe8150db238f56576dcf5e1b98f3915361092aa174b16e6cda3e78c28b6444dc8` (r:1 w:1) - /// Proof Skipped: unknown `0xe8150db238f56576dcf5e1b98f3915361092aa174b16e6cda3e78c28b6444dc8` (r:1 w:1) - /// Storage: unknown `0xebc5f1d9670cdeb0655d79e95c9602ec1d85ad989ce78194dfd1a31e9fb4994c` (r:1 w:1) - /// Proof Skipped: unknown `0xebc5f1d9670cdeb0655d79e95c9602ec1d85ad989ce78194dfd1a31e9fb4994c` (r:1 w:1) - /// Storage: unknown `0xed0df01311d268fc75f0da4859b6508e1c445e713847efbc18528d731316cf48` (r:1 w:1) - /// Proof Skipped: unknown `0xed0df01311d268fc75f0da4859b6508e1c445e713847efbc18528d731316cf48` (r:1 w:1) - /// Storage: unknown `0xee60c64e1e32117f948ee71d391f978e8ac98c2bd869322fc25164502e3f7a9b` (r:1 w:1) - /// Proof Skipped: unknown `0xee60c64e1e32117f948ee71d391f978e8ac98c2bd869322fc25164502e3f7a9b` (r:1 w:1) - /// Storage: unknown `0xf7e4b8a5415405a940e730546df85583c8c23956d99a3be18e09eebf3639d312` (r:1 w:1) - /// Proof Skipped: unknown `0xf7e4b8a5415405a940e730546df85583c8c23956d99a3be18e09eebf3639d312` (r:1 w:1) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Anchor::LatestEvictedDate` (r:1 w:1) + /// Proof: `Anchor::LatestEvictedDate` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Anchor::EvictedAnchorRoots` (r:100 w:100) + /// Proof: `Anchor::EvictedAnchorRoots` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72010000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72010000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72020000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72020000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72030000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72030000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72040000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72040000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72050000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72050000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72060000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72060000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72070000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72070000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72080000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72080000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72090000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72090000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720a0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720a0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720b0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720b0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720c0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720c0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720d0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720d0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720e0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720e0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720f0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f720f0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72100000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72100000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72110000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72110000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72120000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72120000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72130000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72130000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72140000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72140000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72150000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72150000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72160000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72160000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72170000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72170000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72180000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72180000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72190000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72190000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721a0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721a0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721b0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721b0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721c0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721c0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721d0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721d0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721e0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721e0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721f0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f721f0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72200000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72200000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72210000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72210000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72220000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72220000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72230000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72230000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72240000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72240000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72250000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72250000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72260000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72260000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72270000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72270000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72280000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72280000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72290000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72290000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722a0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722a0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722b0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722b0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722c0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722c0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722d0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722d0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722e0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722e0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722f0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f722f0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72300000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72300000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72310000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72310000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72320000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72320000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72330000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72330000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72340000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72340000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72350000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72350000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72360000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72360000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72370000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72370000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72380000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72380000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72390000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72390000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723a0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723a0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723b0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723b0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723c0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723c0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723d0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723d0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723e0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723e0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723f0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f723f0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72400000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72400000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72410000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72410000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72420000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72420000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72430000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72430000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72440000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72440000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72450000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72450000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72460000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72460000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72470000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72470000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72480000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72480000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72490000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72490000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724a0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724a0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724b0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724b0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724c0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724c0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724d0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724d0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724e0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724e0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724f0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f724f0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72500000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72500000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72510000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72510000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72520000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72520000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72530000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72530000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72540000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72540000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72550000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72550000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72560000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72560000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72570000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72570000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72580000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72580000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72590000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72590000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725a0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725a0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725b0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725b0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725c0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725c0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725d0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725d0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725e0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725e0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725f0000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f725f0000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72600000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72600000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72610000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72610000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72620000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72620000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72630000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72630000` (r:1 w:0) + /// Storage: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72640000` (r:1 w:0) + /// Proof: UNKNOWN KEY `0x3a6368696c645f73746f726167653a64656661756c743a616e63686f72640000` (r:1 w:0) + /// Storage: `Anchor::LatestEvictedAnchorIndex` (r:1 w:1) + /// Proof: `Anchor::LatestEvictedAnchorIndex` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Anchor::LatestAnchorIndex` (r:1 w:0) + /// Proof: `Anchor::LatestAnchorIndex` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Anchor::AnchorIndexes` (r:100 w:100) + /// Proof: `Anchor::AnchorIndexes` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Anchor::AnchorEvictDates` (r:100 w:100) + /// Proof: `Anchor::AnchorEvictDates` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0x01d5998dcaa249dfa2a455ae4c045d761623f268227068931dbabca3732aa41f` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x01d5998dcaa249dfa2a455ae4c045d761623f268227068931dbabca3732aa41f` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x04575ee0699f1fa86cccfdcf4285aa81b9bfa0f8837cf533346d722970f1a704` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x04575ee0699f1fa86cccfdcf4285aa81b9bfa0f8837cf533346d722970f1a704` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x0959721f200e92d5090cee3c2c4546c11f9bfd16ded1e70e6781d2402880f1f3` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x0959721f200e92d5090cee3c2c4546c11f9bfd16ded1e70e6781d2402880f1f3` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x0a958b15afac1ffb0c6e73c553bd8b4ba94ad2d0cc118dcd2a7bc8802e2e772a` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x0a958b15afac1ffb0c6e73c553bd8b4ba94ad2d0cc118dcd2a7bc8802e2e772a` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x0c4c531cd9dcf8573a6350d0ac9fb060d273156bdee4fdae0043b6fee5bda27c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x0c4c531cd9dcf8573a6350d0ac9fb060d273156bdee4fdae0043b6fee5bda27c` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x0cd3f3ee9420f9c3b2e70862996e8d02e87d1f148632a36b8f72c9548b10b856` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x0cd3f3ee9420f9c3b2e70862996e8d02e87d1f148632a36b8f72c9548b10b856` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x10876da12e1227a2c04872ce311f768aaf3e21458e6ad1c04f044c97fe8e214e` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x10876da12e1227a2c04872ce311f768aaf3e21458e6ad1c04f044c97fe8e214e` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x10b360a66313de6ab2d43019c5fd7ea0db088efb3e1d4a24d89775e66e089cff` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x10b360a66313de6ab2d43019c5fd7ea0db088efb3e1d4a24d89775e66e089cff` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x16d33ce142442dfbe857e2c9e0648d026c6bb367d467d6922c2c1133aaa3d7b8` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x16d33ce142442dfbe857e2c9e0648d026c6bb367d467d6922c2c1133aaa3d7b8` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x16e133fb9e42d5a2a9a2e21b2e0efd735fccb527162a21cf520c3aecd84c89ed` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x16e133fb9e42d5a2a9a2e21b2e0efd735fccb527162a21cf520c3aecd84c89ed` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x16fcb5e799a48fa04deaaaa71c85bc8e9126bd4b5dbcb3a1f8068ab14bc1c26f` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x16fcb5e799a48fa04deaaaa71c85bc8e9126bd4b5dbcb3a1f8068ab14bc1c26f` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x1b3289127bc95ed117e77d479ccd3ac4477ef8d32df7265bbd42c75bf1945464` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x1b3289127bc95ed117e77d479ccd3ac4477ef8d32df7265bbd42c75bf1945464` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x1ecb14235f21b57f49e32ac4f35a1af6a71f96867f0bc61bc5905b8d437b6bde` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x1ecb14235f21b57f49e32ac4f35a1af6a71f96867f0bc61bc5905b8d437b6bde` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x1f8b0dafc67f9d378cf0596c5d49f220e5880b9c74ccaadac2206a35ec92715a` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x1f8b0dafc67f9d378cf0596c5d49f220e5880b9c74ccaadac2206a35ec92715a` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x24a8d9c362d9365f46f899adb37f6b61134dceaa80f96a9cda6b059a1301f380` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x24a8d9c362d9365f46f899adb37f6b61134dceaa80f96a9cda6b059a1301f380` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x2a00fca93dceceb635a80a95e8f785b189a4ce35f90a17acba5d1bcacf895a84` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x2a00fca93dceceb635a80a95e8f785b189a4ce35f90a17acba5d1bcacf895a84` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x2b318def38ef5f2f8db787e365834ece79fbde70c22cf7bd6c9326995fd4c07f` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x2b318def38ef5f2f8db787e365834ece79fbde70c22cf7bd6c9326995fd4c07f` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x2fbeff7b90831a847716e729a30f028899726193b4406a1c91fce4e97beb61b5` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x2fbeff7b90831a847716e729a30f028899726193b4406a1c91fce4e97beb61b5` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x30dc983a9ad263028d0e91a8a0cf703a2a7fd3834b1102f1ff3f8c8876a207bf` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x30dc983a9ad263028d0e91a8a0cf703a2a7fd3834b1102f1ff3f8c8876a207bf` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x3187d0cdac28db7ec343a07f0b2e44fc56986f0a9c2062d5fa60f99419707bea` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x3187d0cdac28db7ec343a07f0b2e44fc56986f0a9c2062d5fa60f99419707bea` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x3596cd6b45e209629c71765c804f324ed440f7a1cb2ff6cb542156fd5d213de2` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x3596cd6b45e209629c71765c804f324ed440f7a1cb2ff6cb542156fd5d213de2` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x3645890bd8ab0cc13921468d56eee7da40fbe28dc05bc30a64f05a2c03a1912e` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x3645890bd8ab0cc13921468d56eee7da40fbe28dc05bc30a64f05a2c03a1912e` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x384b604969634cf37d988e886b5267a51baeb797e09a1d1a0893e5be8fc553df` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x384b604969634cf37d988e886b5267a51baeb797e09a1d1a0893e5be8fc553df` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x3c056a888ea28c9294c91723916f5891141a824048335e32532e6605ce0457e0` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x3c056a888ea28c9294c91723916f5891141a824048335e32532e6605ce0457e0` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x3c5fd1d5c95885c6b44e0f3995886046d906821de1ed5ee95b51b17c42d3295b` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x3c5fd1d5c95885c6b44e0f3995886046d906821de1ed5ee95b51b17c42d3295b` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x3e74dfe3befcf6fa20eb902c2007ba7fd831619013aa99e016284597b896115b` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x3e74dfe3befcf6fa20eb902c2007ba7fd831619013aa99e016284597b896115b` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x42f1cff854d41b18ae379b012a1e712f036bcd839244d5c6324f12c28f6fd6e9` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x42f1cff854d41b18ae379b012a1e712f036bcd839244d5c6324f12c28f6fd6e9` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x457803d743c32f50866dbf7aabb339a1d8b6b759783b0627128f0cfd3d6c8775` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x457803d743c32f50866dbf7aabb339a1d8b6b759783b0627128f0cfd3d6c8775` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x4cb17fd2f1d1b2eff69f0ffa1a97ff13e7bf4f05a7a99dd06e503e7546b23906` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x4cb17fd2f1d1b2eff69f0ffa1a97ff13e7bf4f05a7a99dd06e503e7546b23906` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x58357c4f5a9881658ffc42faa5f48e2810169bf85c8c78011696a17b59728ef5` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x58357c4f5a9881658ffc42faa5f48e2810169bf85c8c78011696a17b59728ef5` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x5baa983aa91ad92c66e17d16e0757ec4a67ec2ce5b95f4d02ec22fba0e485da0` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x5baa983aa91ad92c66e17d16e0757ec4a67ec2ce5b95f4d02ec22fba0e485da0` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x5da83d0712f41714545470b781e0a43c65a0ac977327475baa98b5cd94938f17` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x5da83d0712f41714545470b781e0a43c65a0ac977327475baa98b5cd94938f17` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x6365aeecd6b54d3166f3df46d8c7b404711ca54b4284e8faf67eb014fa3685f8` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x6365aeecd6b54d3166f3df46d8c7b404711ca54b4284e8faf67eb014fa3685f8` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x683b74d821a8019cbfc9dbe47b50b0f377e0eef16dbc52f7f931ae713fd3f644` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x683b74d821a8019cbfc9dbe47b50b0f377e0eef16dbc52f7f931ae713fd3f644` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x6b02568ad8557dc3d66463abfd1d7f298a0b314fe4bf7d5be79b66768096ed90` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x6b02568ad8557dc3d66463abfd1d7f298a0b314fe4bf7d5be79b66768096ed90` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x6b05c068aecc171915a61cf59146e7f9a69b9bba39f4df50cecfeb454850b4c9` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x6b05c068aecc171915a61cf59146e7f9a69b9bba39f4df50cecfeb454850b4c9` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x6b5529ac614dcbd6113176256a4f5809eb667bddab2e22579306de0a1f83f287` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x6b5529ac614dcbd6113176256a4f5809eb667bddab2e22579306de0a1f83f287` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x6cd1381490331969f37f1e6575081f42f1bd8ae0cc79d70fc52ed178b5d75bd0` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x6cd1381490331969f37f1e6575081f42f1bd8ae0cc79d70fc52ed178b5d75bd0` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x6f5b021a9f57d7669ed7269e7d8785acf255f15785bf452a03a4decc184fd403` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x6f5b021a9f57d7669ed7269e7d8785acf255f15785bf452a03a4decc184fd403` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x764bac7888f79c071087d351a356a09cb2490cb6ea6d71f0cd391de89a885cd2` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x764bac7888f79c071087d351a356a09cb2490cb6ea6d71f0cd391de89a885cd2` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x7aedb653a5de5739b9d3594196693fd51653fcd59b442e0eb9f64265db188044` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7aedb653a5de5739b9d3594196693fd51653fcd59b442e0eb9f64265db188044` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x7ca04bdeb932896fd908eb86d4136e9e2462575ebdf981001c1cd3ca6a2faaec` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7ca04bdeb932896fd908eb86d4136e9e2462575ebdf981001c1cd3ca6a2faaec` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x7ceee738f5af899bd2f967a928019e4a0ecb8715509668dcc039badfe148b45e` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7ceee738f5af899bd2f967a928019e4a0ecb8715509668dcc039badfe148b45e` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x7e700ce9c411e35485babec60c2b68f40c512bc8399c5cee0c1e4264e63f36d1` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7e700ce9c411e35485babec60c2b68f40c512bc8399c5cee0c1e4264e63f36d1` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x80c020f2e70a170ee2f34af3daeda4c2097d14a35f5b1f2d23c2287e5e930f55` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x80c020f2e70a170ee2f34af3daeda4c2097d14a35f5b1f2d23c2287e5e930f55` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x8101d04cf92ee55f6c2a798c7b16da4cc8c511fd822b13093d0f53f5523718d0` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x8101d04cf92ee55f6c2a798c7b16da4cc8c511fd822b13093d0f53f5523718d0` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x85172de32d6b5871235d50648541b1bd007807512231f9b81f25cb5e20141820` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x85172de32d6b5871235d50648541b1bd007807512231f9b81f25cb5e20141820` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x85e9ccd05d28607dcce0dc5be4f34a7d56d3b83b6c63162b2787fc0e6decf2a7` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x85e9ccd05d28607dcce0dc5be4f34a7d56d3b83b6c63162b2787fc0e6decf2a7` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x87b3d065618080e576b534cf68b60d09c4cca0b71a8b6321337cc23be47e7329` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x87b3d065618080e576b534cf68b60d09c4cca0b71a8b6321337cc23be47e7329` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x892ec564231143cc6294a8750b924df2207d91ea3508501d2bd84bee7947b9d0` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x892ec564231143cc6294a8750b924df2207d91ea3508501d2bd84bee7947b9d0` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x8980988eacf42b40c4fc8aa995ae2e059a66c6935626c3e30f1d6842335368d0` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x8980988eacf42b40c4fc8aa995ae2e059a66c6935626c3e30f1d6842335368d0` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x8db2380506697daa88c7a72906d747535ffb12c0ca2a4a6443074bb0fdd8f256` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x8db2380506697daa88c7a72906d747535ffb12c0ca2a4a6443074bb0fdd8f256` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x8e098b9b896a97df275aba887f591c3076220e02adf682c98808e4ba53e6a773` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x8e098b9b896a97df275aba887f591c3076220e02adf682c98808e4ba53e6a773` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x8e590007efc113bc10a61c478d26803cdae5572d4c70547b3c9813b3ce396826` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x8e590007efc113bc10a61c478d26803cdae5572d4c70547b3c9813b3ce396826` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x96e31df89b1f00b96c993bd9de31e32e7e59c0a185cd0b31adc4e969746c8ea6` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x96e31df89b1f00b96c993bd9de31e32e7e59c0a185cd0b31adc4e969746c8ea6` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x9ae7305289647b636a8702b2316e5482f1a807fa398687068fb653527368f9bc` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x9ae7305289647b636a8702b2316e5482f1a807fa398687068fb653527368f9bc` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x9b9660b6fc1992a09573eaa9110c4a08d40c1f439304a47b9776645bc278fc75` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x9b9660b6fc1992a09573eaa9110c4a08d40c1f439304a47b9776645bc278fc75` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xa04f2ef3bb509dfec9d7a97c4778ab2e477af9c5cbda3a1c6e57514314a3f9a5` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xa04f2ef3bb509dfec9d7a97c4778ab2e477af9c5cbda3a1c6e57514314a3f9a5` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xa16d64c1e08b47144c2c8e37872486cf440dda823e2ea05f480fedfe83060f17` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xa16d64c1e08b47144c2c8e37872486cf440dda823e2ea05f480fedfe83060f17` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xa4ad0a32c2781a59ea8a6d58e26fa7dc0b2a08f8c4c938661f5f3ccd8f8eb8ce` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xa4ad0a32c2781a59ea8a6d58e26fa7dc0b2a08f8c4c938661f5f3ccd8f8eb8ce` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xab9797fb6926376ee3b6be73e5501e0a3af18d0bc6dfca0d3b5f498602016956` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xab9797fb6926376ee3b6be73e5501e0a3af18d0bc6dfca0d3b5f498602016956` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xac4d9f6628449fe129d24b384441fdb445962d2d6bca7603fea0c20f3d04351c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xac4d9f6628449fe129d24b384441fdb445962d2d6bca7603fea0c20f3d04351c` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xafecb421bedaa0f8bd89ef18897b77ce61738af42f8a66e3257a079a3d04bef1` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xafecb421bedaa0f8bd89ef18897b77ce61738af42f8a66e3257a079a3d04bef1` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xb292dc48cc1057cce335f1d84f295271a2b16aee7018f1bd444febd77f7e5cbb` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xb292dc48cc1057cce335f1d84f295271a2b16aee7018f1bd444febd77f7e5cbb` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xb48b9d9955158dbd87abb433511a5968c21cf78f8085088407e24d6ee26f7f56` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xb48b9d9955158dbd87abb433511a5968c21cf78f8085088407e24d6ee26f7f56` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xb5a7df612d6fb3bc16c1716414897ba5928835d883003371f02106d5a92abd78` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xb5a7df612d6fb3bc16c1716414897ba5928835d883003371f02106d5a92abd78` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xb684abf2ee5018a16a8dbef6633bcb94a07a2cdf4a173e4fec130da86e8ab987` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xb684abf2ee5018a16a8dbef6633bcb94a07a2cdf4a173e4fec130da86e8ab987` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xb86c8391d2a3eb28b9e3b603cf6929849d50e439e0bbc79781b2555f9cbaa013` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xb86c8391d2a3eb28b9e3b603cf6929849d50e439e0bbc79781b2555f9cbaa013` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xba070ba6cf5f2489f98b6841d238eee4fc403d3065b57f9e3e38ca540971024d` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xba070ba6cf5f2489f98b6841d238eee4fc403d3065b57f9e3e38ca540971024d` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xbcb96e5fc092d3ac258a81b5390671817730859598470874ef02f998518bbf58` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xbcb96e5fc092d3ac258a81b5390671817730859598470874ef02f998518bbf58` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xc008db6f6d721d80fab2eab8b6dda4f19bd5def30aa7db86dadd6eb799c2f5ad` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xc008db6f6d721d80fab2eab8b6dda4f19bd5def30aa7db86dadd6eb799c2f5ad` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xc054c4045e44e28cef1884c0aa86d0049b76eaff493a6d694394df7b0cee8136` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xc054c4045e44e28cef1884c0aa86d0049b76eaff493a6d694394df7b0cee8136` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xc315216d50f4dd95914d6d102976dc09ec4474da5c314a15f09972ded6e71ddb` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xc315216d50f4dd95914d6d102976dc09ec4474da5c314a15f09972ded6e71ddb` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xc4a2c3fa3cc7ed1611651510eb6e225abab30676f0fad28c115482c7dd61f8e0` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xc4a2c3fa3cc7ed1611651510eb6e225abab30676f0fad28c115482c7dd61f8e0` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xc6cc01d59d3c86a1c12a167e149d784295fcd13862e4afb0a39a8459e6e25561` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xc6cc01d59d3c86a1c12a167e149d784295fcd13862e4afb0a39a8459e6e25561` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xc712d8fa08dd521e5f901ca6d36134807c5ec0510e3b52e8ae5a15f7c13d2ebd` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xc712d8fa08dd521e5f901ca6d36134807c5ec0510e3b52e8ae5a15f7c13d2ebd` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xc7e2bc91ff1b307f6995683b76f1904ccdada3cf8f00528c08d4f65911c4888a` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xc7e2bc91ff1b307f6995683b76f1904ccdada3cf8f00528c08d4f65911c4888a` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xccbca45304d59a1167eaf9b459e09cffce3d90c087ee9edf8e7e2dc40349373b` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xccbca45304d59a1167eaf9b459e09cffce3d90c087ee9edf8e7e2dc40349373b` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xccc17a821dda11e5239ea8dbedee5bd6622fc8dd63ee229fc3bd2dead22e8ae2` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xccc17a821dda11e5239ea8dbedee5bd6622fc8dd63ee229fc3bd2dead22e8ae2` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xccee04c4c0534d4245892ed24d7814cd14a41aeed7e94591354315f5b74d89f5` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xccee04c4c0534d4245892ed24d7814cd14a41aeed7e94591354315f5b74d89f5` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xcf67e9890d936f6bd205710c9a5cedc653d88fba3c74b7a2b9fe8ce7fce0bd0c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xcf67e9890d936f6bd205710c9a5cedc653d88fba3c74b7a2b9fe8ce7fce0bd0c` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xcfdb7c67ada01beee8308b04c3f32e4c078603d0c84c0e28e605a8ea56dcc362` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xcfdb7c67ada01beee8308b04c3f32e4c078603d0c84c0e28e605a8ea56dcc362` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xd0d54b0c405fea6ff90809070bfd270c88e9a26ad83138eeb077d8f9602670bc` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xd0d54b0c405fea6ff90809070bfd270c88e9a26ad83138eeb077d8f9602670bc` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xd1d4eefa482f2ece90773426cd76c1da272ef0e72c1172a4a71b84c1f5f6c7c7` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xd1d4eefa482f2ece90773426cd76c1da272ef0e72c1172a4a71b84c1f5f6c7c7` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xd282fcd4ae056e61acbc8950a306910569f227182c41e5b88159aed160ba2a58` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xd282fcd4ae056e61acbc8950a306910569f227182c41e5b88159aed160ba2a58` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xd37f5ea81d5d617ed7490c928e4f3a1eba6f234787ba84f31e204e8733cd039f` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xd37f5ea81d5d617ed7490c928e4f3a1eba6f234787ba84f31e204e8733cd039f` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xd6780cc86f71e3b9d0f0f6977d180e26166b517ee3ee227701f9f36cccae3171` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xd6780cc86f71e3b9d0f0f6977d180e26166b517ee3ee227701f9f36cccae3171` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xd79237f18c61e22111652b0e9b809fbe8ca41552b3a927877a294a732b338f63` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xd79237f18c61e22111652b0e9b809fbe8ca41552b3a927877a294a732b338f63` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xd8825b3a03921d36a1543c344d9b3cacce95765f29c735cf3ed72dc9c37ff81b` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xd8825b3a03921d36a1543c344d9b3cacce95765f29c735cf3ed72dc9c37ff81b` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xdd012b8629cc16d3ad36b73df7dd7d38e8c11ac479b99dedffb10b5007c8049a` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xdd012b8629cc16d3ad36b73df7dd7d38e8c11ac479b99dedffb10b5007c8049a` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xdec56d85d6fffd793180a2ce033397f67fb3b9b7ac3e2b0ef6be2f15e7de435f` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xdec56d85d6fffd793180a2ce033397f67fb3b9b7ac3e2b0ef6be2f15e7de435f` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xe1f270fea944a3a9db5550d742e3acb3dd449cafb73dce65c1705d0752c1343b` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xe1f270fea944a3a9db5550d742e3acb3dd449cafb73dce65c1705d0752c1343b` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xe4002351550f1b106219729b86aa4776fb907737c9cd7e957c5ce80062a8ff8a` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xe4002351550f1b106219729b86aa4776fb907737c9cd7e957c5ce80062a8ff8a` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xe45f26671be0fb4144ed09c40b9493c4584affb2c1d1fe6cb067aa2df802027e` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xe45f26671be0fb4144ed09c40b9493c4584affb2c1d1fe6cb067aa2df802027e` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xe6b4a4991b976360dacf2c942d16326dd53584aca6ed1ae4e78f668d7b1163c1` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xe6b4a4991b976360dacf2c942d16326dd53584aca6ed1ae4e78f668d7b1163c1` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xe8150db238f56576dcf5e1b98f3915361092aa174b16e6cda3e78c28b6444dc8` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xe8150db238f56576dcf5e1b98f3915361092aa174b16e6cda3e78c28b6444dc8` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xebc5f1d9670cdeb0655d79e95c9602ec1d85ad989ce78194dfd1a31e9fb4994c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xebc5f1d9670cdeb0655d79e95c9602ec1d85ad989ce78194dfd1a31e9fb4994c` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xed0df01311d268fc75f0da4859b6508e1c445e713847efbc18528d731316cf48` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xed0df01311d268fc75f0da4859b6508e1c445e713847efbc18528d731316cf48` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xee60c64e1e32117f948ee71d391f978e8ac98c2bd869322fc25164502e3f7a9b` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xee60c64e1e32117f948ee71d391f978e8ac98c2bd869322fc25164502e3f7a9b` (r:1 w:1) + /// Storage: UNKNOWN KEY `0xf7e4b8a5415405a940e730546df85583c8c23956d99a3be18e09eebf3639d312` (r:1 w:1) + /// Proof: UNKNOWN KEY `0xf7e4b8a5415405a940e730546df85583c8c23956d99a3be18e09eebf3639d312` (r:1 w:1) fn evict_anchors() -> Weight { // Proof Size summary in bytes: - // Measured: `18324` + // Measured: `18325` // Estimated: `254990` - // Minimum execution time: 1_937_319_000 picoseconds. - Weight::from_parts(1_957_657_000, 0) + // Minimum execution time: 2_020_935_000 picoseconds. + Weight::from_parts(2_047_634_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 1253f43884..bf342fa632 100644 --- a/runtime/development/src/weights/pallet_balances.rs +++ b/runtime/development/src/weights/pallet_balances.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_balances` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_balances // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_balances.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_balances.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,108 +31,112 @@ use core::marker::PhantomData; /// Weight functions for `pallet_balances`. pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_allow_death() -> Weight { // Proof Size summary in bytes: // Measured: `52` // Estimated: `3593` - // Minimum execution time: 84_408_000 picoseconds. - Weight::from_parts(85_691_000, 0) + // Minimum execution time: 72_405_000 picoseconds. + Weight::from_parts(73_437_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: // Measured: `52` // Estimated: `3593` - // Minimum execution time: 63_229_000 picoseconds. - Weight::from_parts(64_261_000, 0) + // Minimum execution time: 56_827_000 picoseconds. + Weight::from_parts(58_238_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_set_balance_creating() -> Weight { // Proof Size summary in bytes: // Measured: `245` // Estimated: `3593` - // Minimum execution time: 24_025_000 picoseconds. - Weight::from_parts(24_777_000, 0) + // Minimum execution time: 20_999_000 picoseconds. + Weight::from_parts(21_651_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_set_balance_killing() -> Weight { // Proof Size summary in bytes: // Measured: `245` // Estimated: `3593` - // Minimum execution time: 34_244_000 picoseconds. - Weight::from_parts(35_036_000, 0) + // Minimum execution time: 28_343_000 picoseconds. + Weight::from_parts(29_054_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `192` // Estimated: `6196` - // Minimum execution time: 89_017_000 picoseconds. - Weight::from_parts(91_191_000, 0) + // Minimum execution time: 75_261_000 picoseconds. + Weight::from_parts(76_302_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_all() -> Weight { // Proof Size summary in bytes: // Measured: `52` // Estimated: `3593` - // Minimum execution time: 79_449_000 picoseconds. - Weight::from_parts(80_210_000, 0) + // Minimum execution time: 71_503_000 picoseconds. + Weight::from_parts(73_437_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_unreserve() -> Weight { // Proof Size summary in bytes: // Measured: `245` // Estimated: `3593` - // Minimum execution time: 28_824_000 picoseconds. - Weight::from_parts(29_375_000, 0) + // Minimum execution time: 25_337_000 picoseconds. + Weight::from_parts(26_099_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:999 w:999) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:999 w:999) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `u` is `[1, 1000]`. fn upgrade_accounts(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `148 + u * (136 ±0)` + // Measured: `143 + u * (136 ±0)` // Estimated: `990 + u * (2603 ±0)` - // Minimum execution time: 25_578_000 picoseconds. - Weight::from_parts(26_129_000, 0) + // Minimum execution time: 23_484_000 picoseconds. + Weight::from_parts(23_684_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 13_061 - .saturating_add(Weight::from_parts(21_391_423, 0).saturating_mul(u.into())) + // Standard Error: 12_704 + .saturating_add(Weight::from_parts(19_776_076, 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())) } - - fn force_adjust_total_issuance() -> Weight { - Weight::zero() - } + fn force_adjust_total_issuance() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 8_776_000 picoseconds. + Weight::from_parts(9_267_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } } diff --git a/runtime/development/src/weights/pallet_block_rewards.rs b/runtime/development/src/weights/pallet_block_rewards.rs index 2e3fee480c..58029e5e99 100644 --- a/runtime/development/src/weights/pallet_block_rewards.rs +++ b/runtime/development/src/weights/pallet_block_rewards.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_block_rewards` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_block_rewards // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_block_rewards.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_block_rewards.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,44 +31,44 @@ use core::marker::PhantomData; /// Weight functions for `pallet_block_rewards`. pub struct WeightInfo(PhantomData); impl pallet_block_rewards::WeightInfo for WeightInfo { - /// Storage: BlockRewardsBase Currency (r:1 w:0) - /// Proof: BlockRewardsBase Currency (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: BlockRewardsBase Group (r:1 w:0) - /// Proof: BlockRewardsBase Group (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - /// Storage: BlockRewardsBase StakeAccount (r:1 w:1) - /// Proof: BlockRewardsBase StakeAccount (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `BlockRewardsBase::Currency` (r:1 w:0) + /// Proof: `BlockRewardsBase::Currency` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `BlockRewardsBase::Group` (r:1 w:0) + /// Proof: `BlockRewardsBase::Group` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `BlockRewardsBase::StakeAccount` (r:1 w:1) + /// Proof: `BlockRewardsBase::StakeAccount` (`max_values`: None, `max_size`: Some(123), added: 2598, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn claim_reward() -> Weight { // Proof Size summary in bytes: // Measured: `516` // Estimated: `6196` - // Minimum execution time: 87_023_000 picoseconds. - Weight::from_parts(87_555_000, 0) + // Minimum execution time: 84_087_000 picoseconds. + Weight::from_parts(85_410_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: BlockRewards NextSessionChanges (r:1 w:1) - /// Proof: BlockRewards NextSessionChanges (max_values: Some(1), max_size: Some(2097), added: 2592, mode: MaxEncodedLen) + /// Storage: `BlockRewards::NextSessionChanges` (r:1 w:1) + /// Proof: `BlockRewards::NextSessionChanges` (`max_values`: Some(1), `max_size`: Some(2097), added: 2592, mode: `MaxEncodedLen`) fn set_collator_reward_per_session() -> Weight { // Proof Size summary in bytes: // Measured: `41` // Estimated: `3582` - // Minimum execution time: 7_855_000 picoseconds. - Weight::from_parts(8_245_000, 0) + // Minimum execution time: 6_502_000 picoseconds. + Weight::from_parts(6_702_000, 0) .saturating_add(Weight::from_parts(0, 3582)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BlockRewards NextSessionChanges (r:1 w:1) - /// Proof: BlockRewards NextSessionChanges (max_values: Some(1), max_size: Some(2097), added: 2592, mode: MaxEncodedLen) + /// Storage: `BlockRewards::NextSessionChanges` (r:1 w:1) + /// Proof: `BlockRewards::NextSessionChanges` (`max_values`: Some(1), `max_size`: Some(2097), added: 2592, mode: `MaxEncodedLen`) fn set_annual_treasury_inflation_rate() -> Weight { // Proof Size summary in bytes: // Measured: `41` // Estimated: `3582` - // Minimum execution time: 7_844_000 picoseconds. - Weight::from_parts(8_165_000, 0) + // Minimum execution time: 6_442_000 picoseconds. + Weight::from_parts(6_662_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 4b3b23d98d..9d2f9f754f 100644 --- a/runtime/development/src/weights/pallet_collator_allowlist.rs +++ b/runtime/development/src/weights/pallet_collator_allowlist.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_collator_allowlist` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_collator_allowlist // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_collator_allowlist.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_collator_allowlist.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,28 +31,28 @@ use core::marker::PhantomData; /// Weight functions for `pallet_collator_allowlist`. pub struct WeightInfo(PhantomData); impl pallet_collator_allowlist::WeightInfo for WeightInfo { - /// Storage: Session NextKeys (r:1 w:0) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: CollatorAllowlist Allowlist (r:1 w:1) - /// Proof: CollatorAllowlist Allowlist (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) + /// Storage: `Session::NextKeys` (r:1 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorAllowlist::Allowlist` (r:1 w:1) + /// Proof: `CollatorAllowlist::Allowlist` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) fn add() -> Weight { // Proof Size summary in bytes: // Measured: `485` // Estimated: `3950` - // Minimum execution time: 23_344_000 picoseconds. - Weight::from_parts(24_015_000, 0) + // Minimum execution time: 20_959_000 picoseconds. + Weight::from_parts(21_520_000, 0) .saturating_add(Weight::from_parts(0, 3950)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: CollatorAllowlist Allowlist (r:1 w:1) - /// Proof: CollatorAllowlist Allowlist (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) + /// Storage: `CollatorAllowlist::Allowlist` (r:1 w:1) + /// Proof: `CollatorAllowlist::Allowlist` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) fn remove() -> Weight { // Proof Size summary in bytes: // Measured: `265` // Estimated: `3497` - // Minimum execution time: 17_503_000 picoseconds. - Weight::from_parts(18_134_000, 0) + // Minimum execution time: 15_138_000 picoseconds. + Weight::from_parts(15_690_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 3f00b39ce3..80aad763c5 100644 --- a/runtime/development/src/weights/pallet_collator_selection.rs +++ b/runtime/development/src/weights/pallet_collator_selection.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_collator_selection` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_collator_selection // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_collator_selection.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_collator_selection.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,156 +31,251 @@ use core::marker::PhantomData; /// Weight functions for `pallet_collator_selection`. pub struct WeightInfo(PhantomData); impl pallet_collator_selection::WeightInfo for WeightInfo { - /// Storage: Session NextKeys (r:100 w:0) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: CollatorSelection Invulnerables (r:0 w:1) - /// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) + /// Storage: `CollatorAllowlist::Allowlist` (r:100 w:0) + /// Proof: `CollatorAllowlist::Allowlist` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) + /// Storage: `Session::NextKeys` (r:100 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::Invulnerables` (r:0 w:1) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// The range of component `b` is `[1, 100]`. /// The range of component `b` is `[1, 100]`. fn set_invulnerables(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `218 + b * (112 ±0)` - // Estimated: `1207 + b * (2588 ±0)` - // Minimum execution time: 19_737_000 picoseconds. - Weight::from_parts(17_600_253, 0) - .saturating_add(Weight::from_parts(0, 1207)) - // 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()))) + // Measured: `426 + b * (112 ±0)` + // Estimated: `1415 + b * (2588 ±0)` + // Minimum execution time: 21_761_000 picoseconds. + Weight::from_parts(18_325_667, 0) + .saturating_add(Weight::from_parts(0, 1415)) + // Standard Error: 2_818 + .saturating_add(Weight::from_parts(6_395_759, 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())) } - /// Storage: CollatorSelection DesiredCandidates (r:0 w:1) - /// Proof: CollatorSelection DesiredCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: `CollatorAllowlist::Allowlist` (r:1 w:0) + /// Proof: `CollatorAllowlist::Allowlist` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) + /// Storage: `Session::NextKeys` (r:1 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:1) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::CandidateList` (r:1 w:1) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `b` is `[1, 99]`. + /// The range of component `c` is `[1, 19]`. + /// The range of component `b` is `[1, 99]`. + /// The range of component `c` is `[1, 19]`. + fn add_invulnerable(b: u32, c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `1306 + b * (37 ±0) + c * (48 ±0)` + // Estimated: `4726 + b * (37 ±0) + c * (53 ±0)` + // Minimum execution time: 59_742_000 picoseconds. + Weight::from_parts(60_284_422, 0) + .saturating_add(Weight::from_parts(0, 4726)) + // Standard Error: 460 + .saturating_add(Weight::from_parts(96_883, 0).saturating_mul(b.into())) + // Standard Error: 2_428 + .saturating_add(Weight::from_parts(90_127, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 37).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 53).saturating_mul(c.into())) + } + /// Storage: `CollatorSelection::CandidateList` (r:1 w:0) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:1) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// The range of component `b` is `[6, 100]`. + /// The range of component `b` is `[6, 100]`. + fn remove_invulnerable(b: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `285 + b * (32 ±0)` + // Estimated: `4687` + // Minimum execution time: 15_498_000 picoseconds. + Weight::from_parts(16_316_216, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 286 + .saturating_add(Weight::from_parts(61_407, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `CollatorSelection::DesiredCandidates` (r:0 w:1) + /// Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn set_desired_candidates() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_866_000 picoseconds. - Weight::from_parts(14_387_000, 0) + // Minimum execution time: 6_773_000 picoseconds. + Weight::from_parts(7_183_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: CollatorSelection CandidacyBond (r:0 w:1) - /// Proof: CollatorSelection CandidacyBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - fn set_candidacy_bond(_: u32, _: u32) -> Weight { + /// Storage: `CollatorSelection::CandidacyBond` (r:1 w:1) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::CandidateList` (r:1 w:1) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:20 w:20) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:20) + /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// The range of component `c` is `[0, 20]`. + /// The range of component `k` is `[0, 20]`. + /// The range of component `c` is `[0, 20]`. + /// The range of component `k` is `[0, 20]`. + fn set_candidacy_bond(c: u32, k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 10_139_000 picoseconds. - Weight::from_parts(10_520_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Measured: `0 + c * (201 ±0) + k * (152 ±0)` + // Estimated: `3593 + c * (848 ±15) + k * (848 ±15)` + // Minimum execution time: 13_064_000 picoseconds. + Weight::from_parts(13_555_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) + // Standard Error: 112_406 + .saturating_add(Weight::from_parts(7_553_928, 0).saturating_mul(c.into())) + // Standard Error: 112_406 + .saturating_add(Weight::from_parts(7_323_334, 0).saturating_mul(k.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(c.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) + .saturating_add(Weight::from_parts(0, 848).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 848).saturating_mul(k.into())) } - /// Storage: CollatorSelection Candidates (r:1 w:1) - /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(961), added: 1456, mode: MaxEncodedLen) - /// Storage: CollatorSelection DesiredCandidates (r:1 w:0) - /// Proof: CollatorSelection DesiredCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: CollatorSelection Invulnerables (r:1 w:0) - /// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Session NextKeys (r:1 w:0) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: CollatorSelection CandidacyBond (r:1 w:0) - /// Proof: CollatorSelection CandidacyBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) - /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) + /// Storage: `CollatorSelection::CandidacyBond` (r:1 w:0) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::CandidateList` (r:1 w:1) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// The range of component `c` is `[5, 20]`. + /// The range of component `c` is `[5, 20]`. + fn update_bond(c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `529 + c * (48 ±0)` + // Estimated: `2446` + // Minimum execution time: 33_843_000 picoseconds. + Weight::from_parts(35_210_680, 0) + .saturating_add(Weight::from_parts(0, 2446)) + // Standard Error: 2_477 + .saturating_add(Weight::from_parts(89_870, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `CollatorSelection::CandidateList` (r:1 w:1) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `CollatorAllowlist::Allowlist` (r:1 w:0) + /// Proof: `CollatorAllowlist::Allowlist` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) + /// Storage: `Session::NextKeys` (r:1 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::CandidacyBond` (r:1 w:0) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// 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 `[1, 19]`. /// The range of component `c` is `[1, 19]`. fn register_as_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `730 + c * (61 ±0)` + // Measured: `925 + c * (61 ±0)` // Estimated: `4687 + c * (62 ±0)` - // Minimum execution time: 59_923_000 picoseconds. - Weight::from_parts(61_646_540, 0) + // Minimum execution time: 53_069_000 picoseconds. + Weight::from_parts(54_800_265, 0) .saturating_add(Weight::from_parts(0, 4687)) - // Standard Error: 1_613 - .saturating_add(Weight::from_parts(243_372, 0).saturating_mul(c.into())) + // Standard Error: 1_793 + .saturating_add(Weight::from_parts(300_153, 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())) } - /// Storage: CollatorSelection Candidates (r:1 w:1) - /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(961), added: 1456, mode: MaxEncodedLen) - /// 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]`. - /// The range of component `c` is `[6, 20]`. + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::CandidacyBond` (r:1 w:0) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `CollatorAllowlist::Allowlist` (r:1 w:0) + /// Proof: `CollatorAllowlist::Allowlist` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) + /// Storage: `Session::NextKeys` (r:1 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::CandidateList` (r:1 w:1) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:2) + /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// The range of component `c` is `[5, 20]`. + /// The range of component `c` is `[5, 20]`. + fn take_candidate_slot(c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `1017 + c * (62 ±0)` + // Estimated: `4687 + c * (62 ±0)` + // Minimum execution time: 75_732_000 picoseconds. + Weight::from_parts(76_168_356, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 2_715 + .saturating_add(Weight::from_parts(286_388, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(Weight::from_parts(0, 62).saturating_mul(c.into())) + } + /// Storage: `CollatorSelection::CandidateList` (r:1 w:1) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// 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 `[5, 20]`. + /// The range of component `c` is `[5, 20]`. fn leave_intent(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `549 + c * (44 ±0)` - // Estimated: `2446` - // Minimum execution time: 43_952_000 picoseconds. - Weight::from_parts(45_425_559, 0) - .saturating_add(Weight::from_parts(0, 2446)) - // Standard Error: 2_674 - .saturating_add(Weight::from_parts(62_414, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Measured: `476 + c * (48 ±0)` + // Estimated: `4687` + // Minimum execution time: 39_313_000 picoseconds. + Weight::from_parts(40_269_388, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 1_755 + .saturating_add(Weight::from_parts(149_791, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: System BlockWeight (r:1 w:1) - /// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) - /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) - /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1) + /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) fn note_author() -> Weight { // Proof Size summary in bytes: - // Measured: `195` + // Measured: `192` // Estimated: `6196` - // Minimum execution time: 68_859_000 picoseconds. - Weight::from_parts(70_452_000, 0) + // Minimum execution time: 60_223_000 picoseconds. + Weight::from_parts(61_394_000, 0) .saturating_add(Weight::from_parts(0, 6196)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: CollatorSelection Candidates (r:1 w:0) - /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(961), added: 1456, mode: MaxEncodedLen) - /// Storage: CollatorSelection LastAuthoredBlock (r:20 w:0) - /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: CollatorSelection Invulnerables (r:1 w:0) - /// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: System BlockWeight (r:1 w:1) - /// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) - /// Storage: System Account (r:15 w:15) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `CollatorSelection::CandidateList` (r:1 w:0) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::LastAuthoredBlock` (r:20 w:0) + /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::DesiredCandidates` (r:1 w:0) + /// Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:16 w:16) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `c` is `[1, 20]`. /// The range of component `r` is `[1, 20]`. /// The range of component `c` is `[1, 20]`. fn new_session(r: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `525 + c * (98 ±0) + r * (140 ±0)` - // Estimated: `7019778708211172 + c * (2519 ±0) + r * (2259 ±9)` - // Minimum execution time: 23_484_000 picoseconds. - Weight::from_parts(24_135_000, 0) - .saturating_add(Weight::from_parts(0, 7019778708211172)) - // Standard Error: 221_958 - .saturating_add(Weight::from_parts(17_711_762, 0).saturating_mul(c.into())) + // Measured: `416 + c * (98 ±0) + r * (154 ±0)` + // Estimated: `3962574101370078 + c * (2519 ±0) + r * (2393 ±6)` + // Minimum execution time: 25_678_000 picoseconds. + Weight::from_parts(26_419_000, 0) + .saturating_add(Weight::from_parts(0, 3962574101370078)) + // Standard Error: 178_336 + .saturating_add(Weight::from_parts(16_618_722, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2519).saturating_mul(c.into())) - .saturating_add(Weight::from_parts(0, 2259).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2393).saturating_mul(r.into())) } - - fn add_invulnerable(_: u32, _: u32) -> Weight { - // Pending to generate - Weight::default() - } - - fn remove_invulnerable(_: u32) -> Weight { - // Pending to generate - Weight::default() - } - - fn update_bond(_: u32) -> Weight { - // Pending to generate - Weight::default() - } - - fn take_candidate_slot(_: u32) -> Weight { - // Pending to generate - Weight::default() - } } diff --git a/runtime/development/src/weights/pallet_collective.rs b/runtime/development/src/weights/pallet_collective.rs index 8913302557..c6ec0abec9 100644 --- a/runtime/development/src/weights/pallet_collective.rs +++ b/runtime/development/src/weights/pallet_collective.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_collective` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_collective // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_collective.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_collective.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,28 +31,28 @@ use core::marker::PhantomData; /// Weight functions for `pallet_collective`. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { - /// Storage: Council Members (r:1 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:100 w:100) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:100 w:100) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[0, 100]`. /// The range of component `n` is `[0, 100]`. /// The range of component `p` is `[0, 100]`. 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 ±23) + p * (4332 ±23)` - // Minimum execution time: 22_031_000 picoseconds. - Weight::from_parts(22_131_000, 0) - .saturating_add(Weight::from_parts(0, 15762)) - // 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())) + // Estimated: `15728 + m * (1967 ±24) + p * (4332 ±24)` + // Minimum execution time: 19_977_000 picoseconds. + Weight::from_parts(20_078_000, 0) + .saturating_add(Weight::from_parts(0, 15728)) + // Standard Error: 63_443 + .saturating_add(Weight::from_parts(4_761_841, 0).saturating_mul(m.into())) + // Standard Error: 63_443 + .saturating_add(Weight::from_parts(8_972_956, 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)) @@ -61,225 +60,225 @@ impl pallet_collective::WeightInfo for WeightInfo { .saturating_add(Weight::from_parts(0, 1967).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 4332).saturating_mul(p.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `103 + m * (32 ±0)` - // Estimated: `1589 + m * (32 ±0)` - // Minimum execution time: 22_873_000 picoseconds. - Weight::from_parts(21_677_760, 0) - .saturating_add(Weight::from_parts(0, 1589)) - // 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())) + // Measured: `69 + m * (32 ±0)` + // Estimated: `1555 + m * (32 ±0)` + // Minimum execution time: 18_164_000 picoseconds. + Weight::from_parts(16_886_988, 0) + .saturating_add(Weight::from_parts(0, 1555)) + // Standard Error: 32 + .saturating_add(Weight::from_parts(1_693, 0).saturating_mul(b.into())) + // Standard Error: 330 + .saturating_add(Weight::from_parts(17_805, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:0) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:0) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `103 + m * (32 ±0)` - // Estimated: `3569 + m * (32 ±0)` - // Minimum execution time: 26_480_000 picoseconds. - Weight::from_parts(25_197_273, 0) - .saturating_add(Weight::from_parts(0, 3569)) - // 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())) + // Measured: `69 + m * (32 ±0)` + // Estimated: `3535 + m * (32 ±0)` + // Minimum execution time: 21_801_000 picoseconds. + Weight::from_parts(20_823_477, 0) + .saturating_add(Weight::from_parts(0, 3535)) + // Standard Error: 42 + .saturating_add(Weight::from_parts(1_959, 0).saturating_mul(b.into())) + // Standard Error: 433 + .saturating_add(Weight::from_parts(29_753, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalCount (r:1 w:1) - /// Proof Skipped: Council ProposalCount (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:0 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalCount` (r:1 w:1) + /// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:0 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // 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_547_000 picoseconds. - Weight::from_parts(34_701_219, 0) - .saturating_add(Weight::from_parts(0, 3785)) - // 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())) + // Measured: `359 + m * (32 ±0) + p * (36 ±0)` + // Estimated: `3751 + m * (33 ±0) + p * (36 ±0)` + // Minimum execution time: 28_694_000 picoseconds. + Weight::from_parts(28_496_435, 0) + .saturating_add(Weight::from_parts(0, 3751)) + // Standard Error: 102 + .saturating_add(Weight::from_parts(2_863, 0).saturating_mul(b.into())) + // Standard Error: 1_066 + .saturating_add(Weight::from_parts(22_188, 0).saturating_mul(m.into())) + // Standard Error: 1_053 + .saturating_add(Weight::from_parts(250_359, 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())) .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `842 + m * (64 ±0)` - // Estimated: `4306 + m * (64 ±0)` - // Minimum execution time: 29_907_000 picoseconds. - Weight::from_parts(30_410_229, 0) - .saturating_add(Weight::from_parts(0, 4306)) - // Standard Error: 831 - .saturating_add(Weight::from_parts(52_000, 0).saturating_mul(m.into())) + // Measured: `808 + m * (64 ±0)` + // Estimated: `4272 + m * (64 ±0)` + // Minimum execution time: 26_139_000 picoseconds. + Weight::from_parts(26_536_014, 0) + .saturating_add(Weight::from_parts(0, 4272)) + // Standard Error: 834 + .saturating_add(Weight::from_parts(47_228, 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())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // 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_034_000 picoseconds. - Weight::from_parts(37_269_171, 0) - .saturating_add(Weight::from_parts(0, 3876)) - // 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())) + // Measured: `397 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `3842 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 30_848_000 picoseconds. + Weight::from_parts(29_242_652, 0) + .saturating_add(Weight::from_parts(0, 3842)) + // Standard Error: 964 + .saturating_add(Weight::from_parts(41_978, 0).saturating_mul(m.into())) + // Standard Error: 940 + .saturating_add(Weight::from_parts(248_368, 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())) .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // 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_867_000 picoseconds. - Weight::from_parts(55_852_759, 0) - .saturating_add(Weight::from_parts(0, 4050)) - // 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())) + // Measured: `699 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `4016 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 44_413_000 picoseconds. + Weight::from_parts(46_317_210, 0) + .saturating_add(Weight::from_parts(0, 4016)) + // Standard Error: 118 + .saturating_add(Weight::from_parts(2_296, 0).saturating_mul(b.into())) + // Standard Error: 1_256 + .saturating_add(Weight::from_parts(27_951, 0).saturating_mul(m.into())) + // Standard Error: 1_224 + .saturating_add(Weight::from_parts(270_846, 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())) .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:0) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:0) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // 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_472_000 picoseconds. - Weight::from_parts(41_983_641, 0) - .saturating_add(Weight::from_parts(0, 3896)) - // 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())) + // Measured: `417 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `3862 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 33_292_000 picoseconds. + Weight::from_parts(33_067_918, 0) + .saturating_add(Weight::from_parts(0, 3862)) + // Standard Error: 2_341 + .saturating_add(Weight::from_parts(24_866, 0).saturating_mul(m.into())) + // Standard Error: 2_283 + .saturating_add(Weight::from_parts(273_796, 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())) .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:0) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:0) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // 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: 60_073_000 picoseconds. - Weight::from_parts(60_114_436, 0) - .saturating_add(Weight::from_parts(0, 4070)) - // 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())) + // Measured: `719 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `4036 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 47_228_000 picoseconds. + Weight::from_parts(48_777_291, 0) + .saturating_add(Weight::from_parts(0, 4036)) + // Standard Error: 111 + .saturating_add(Weight::from_parts(2_409, 0).saturating_mul(b.into())) + // Standard Error: 1_174 + .saturating_add(Weight::from_parts(27_376, 0).saturating_mul(m.into())) + // Standard Error: 1_145 + .saturating_add(Weight::from_parts(271_442, 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())) .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:0 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:0 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `260 + p * (32 ±0)` - // Estimated: `1745 + p * (32 ±0)` - // Minimum execution time: 21_952_000 picoseconds. - Weight::from_parts(23_205_951, 0) - .saturating_add(Weight::from_parts(0, 1745)) - // Standard Error: 647 - .saturating_add(Weight::from_parts(209_830, 0).saturating_mul(p.into())) + // Measured: `226 + p * (32 ±0)` + // Estimated: `1711 + p * (32 ±0)` + // Minimum execution time: 17_232_000 picoseconds. + Weight::from_parts(18_580_566, 0) + .saturating_add(Weight::from_parts(0, 1711)) + // Standard Error: 576 + .saturating_add(Weight::from_parts(232_682, 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_democracy.rs b/runtime/development/src/weights/pallet_democracy.rs index 38de258daf..6c6b5b09a1 100644 --- a/runtime/development/src/weights/pallet_democracy.rs +++ b/runtime/development/src/weights/pallet_democracy.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_democracy` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_democracy // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_democracy.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_democracy.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,477 +31,483 @@ use core::marker::PhantomData; /// Weight functions for `pallet_democracy`. pub struct WeightInfo(PhantomData); impl pallet_democracy::WeightInfo for WeightInfo { - /// Storage: Democracy PublicPropCount (r:1 w:1) - /// Proof: Democracy PublicPropCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:0) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:0 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicPropCount` (r:1 w:1) + /// Proof: `Democracy::PublicPropCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:0) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:0 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) fn propose() -> Weight { // Proof Size summary in bytes: // Measured: `4768` // Estimated: `18187` - // Minimum execution time: 55_724_000 picoseconds. - Weight::from_parts(56_716_000, 0) + // Minimum execution time: 47_850_000 picoseconds. + Weight::from_parts(49_673_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) fn second() -> Weight { // Proof Size summary in bytes: // Measured: `3523` // Estimated: `6695` - // Minimum execution time: 50_675_000 picoseconds. - Weight::from_parts(51_376_000, 0) + // Minimum execution time: 46_377_000 picoseconds. + Weight::from_parts(47_519_000, 0) .saturating_add(Weight::from_parts(0, 6695)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) fn vote_new() -> Weight { // Proof Size summary in bytes: // Measured: `3400` // Estimated: `7260` - // Minimum execution time: 64_612_000 picoseconds. - Weight::from_parts(65_763_000, 0) + // Minimum execution time: 64_059_000 picoseconds. + Weight::from_parts(65_272_000, 0) .saturating_add(Weight::from_parts(0, 7260)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) fn vote_existing() -> Weight { // Proof Size summary in bytes: // Measured: `3422` // Estimated: `7260` - // Minimum execution time: 70_973_000 picoseconds. - Weight::from_parts(72_446_000, 0) + // Minimum execution time: 67_406_000 picoseconds. + Weight::from_parts(69_409_000, 0) .saturating_add(Weight::from_parts(0, 7260)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy Cancellations (r:1 w:1) - /// Proof: Democracy Cancellations (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Cancellations` (r:1 w:1) + /// Proof: `Democracy::Cancellations` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn emergency_cancel() -> Weight { // Proof Size summary in bytes: // Measured: `333` // Estimated: `3666` - // Minimum execution time: 37_090_000 picoseconds. - Weight::from_parts(37_801_000, 0) + // Minimum execution time: 31_869_000 picoseconds. + Weight::from_parts(32_581_000, 0) .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:3 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:0 w:1) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:3 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:0 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) fn blacklist() -> Weight { // Proof Size summary in bytes: - // Measured: `5877` + // Measured: `6249` // Estimated: `18187` - // Minimum execution time: 123_462_000 picoseconds. - Weight::from_parts(124_784_000, 0) + // Minimum execution time: 126_165_000 picoseconds. + Weight::from_parts(128_319_000, 0) .saturating_add(Weight::from_parts(0, 18187)) - .saturating_add(T::DbWeight::get().reads(8)) - .saturating_add(T::DbWeight::get().writes(7)) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().writes(8)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:0) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:0) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) fn external_propose() -> Weight { // Proof Size summary in bytes: // Measured: `3383` // Estimated: `6703` - // Minimum execution time: 17_193_000 picoseconds. - Weight::from_parts(17_744_000, 0) + // Minimum execution time: 15_780_000 picoseconds. + Weight::from_parts(16_421_000, 0) .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:0 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) fn external_propose_majority() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_160_000 picoseconds. - Weight::from_parts(5_320_000, 0) + // Minimum execution time: 3_878_000 picoseconds. + Weight::from_parts(4_268_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:0 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) fn external_propose_default() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_079_000 picoseconds. - Weight::from_parts(5_350_000, 0) + // Minimum execution time: 4_018_000 picoseconds. + Weight::from_parts(4_268_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:1) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:2) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:0 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:1) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:2) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn fast_track() -> Weight { // Proof Size summary in bytes: // Measured: `253` // Estimated: `3518` - // Minimum execution time: 37_951_000 picoseconds. - Weight::from_parts(38_783_000, 0) + // Minimum execution time: 30_637_000 picoseconds. + Weight::from_parts(31_138_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:1) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn veto_external() -> Weight { // Proof Size summary in bytes: // Measured: `3486` // Estimated: `6703` - // Minimum execution time: 41_177_000 picoseconds. - Weight::from_parts(41_868_000, 0) + // Minimum execution time: 33_743_000 picoseconds. + Weight::from_parts(34_825_000, 0) .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn cancel_proposal() -> Weight { // Proof Size summary in bytes: - // Measured: `5788` + // Measured: `6160` // Estimated: `18187` - // Minimum execution time: 97_863_000 picoseconds. - Weight::from_parts(100_960_000, 0) + // Minimum execution time: 104_916_000 picoseconds. + Weight::from_parts(106_740_000, 0) .saturating_add(Weight::from_parts(0, 18187)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:0 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn cancel_referendum() -> Weight { // Proof Size summary in bytes: // Measured: `238` // Estimated: `3518` - // Minimum execution time: 27_672_000 picoseconds. - Weight::from_parts(28_283_000, 0) + // Minimum execution time: 21_650_000 picoseconds. + Weight::from_parts(22_493_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Democracy LowestUnbaked (r:1 w:1) - /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:0) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 8_927_000 picoseconds. - Weight::from_parts(12_794_096, 0) + // Minimum execution time: 7_304_000 picoseconds. + Weight::from_parts(10_862_570, 0) .saturating_add(Weight::from_parts(0, 1489)) - // Standard Error: 5_979 - .saturating_add(Weight::from_parts(4_056_896, 0).saturating_mul(r.into())) + // Standard Error: 6_674 + .saturating_add(Weight::from_parts(4_146_711, 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)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy LowestUnbaked (r:1 w:1) - /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:0) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy LastTabledWasExternal (r:1 w:0) - /// Proof: Democracy LastTabledWasExternal (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::LastTabledWasExternal` (r:1 w:0) + /// Proof: `Democracy::LastTabledWasExternal` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` // Estimated: `18187 + r * (2676 ±0)` - // Minimum execution time: 13_966_000 picoseconds. - Weight::from_parts(17_788_557, 0) + // Minimum execution time: 10_389_000 picoseconds. + Weight::from_parts(13_699_184, 0) .saturating_add(Weight::from_parts(0, 18187)) - // Standard Error: 5_907 - .saturating_add(Weight::from_parts(4_058_130, 0).saturating_mul(r.into())) + // Standard Error: 5_780 + .saturating_add(Weight::from_parts(4_164_228, 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)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy VotingOf (r:3 w:3) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:99) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:3 w:3) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `764 + r * (108 ±0)` // Estimated: `19800 + r * (2676 ±0)` - // Minimum execution time: 55_083_000 picoseconds. - Weight::from_parts(61_597_360, 0) + // Minimum execution time: 50_284_000 picoseconds. + Weight::from_parts(55_797_297, 0) .saturating_add(Weight::from_parts(0, 19800)) - // Standard Error: 6_334 - .saturating_add(Weight::from_parts(5_076_703, 0).saturating_mul(r.into())) + // Standard Error: 7_012 + .saturating_add(Weight::from_parts(5_251_046, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy VotingOf (r:2 w:2) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:99) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:2 w:2) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `460 + r * (108 ±0)` // Estimated: `13530 + r * (2676 ±0)` - // Minimum execution time: 27_331_000 picoseconds. - Weight::from_parts(29_089_447, 0) + // Minimum execution time: 24_035_000 picoseconds. + Weight::from_parts(24_880_328, 0) .saturating_add(Weight::from_parts(0, 13530)) - // Standard Error: 6_120 - .saturating_add(Weight::from_parts(5_043_068, 0).saturating_mul(r.into())) + // Standard Error: 6_179 + .saturating_add(Weight::from_parts(5_186_435, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy PublicProps (r:0 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:0 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) fn clear_public_proposals() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_990_000 picoseconds. - Weight::from_parts(5_200_000, 0) + // Minimum execution time: 4_258_000 picoseconds. + Weight::from_parts(4_428_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `492` // Estimated: `7260` - // Minimum execution time: 32_030_000 picoseconds. - Weight::from_parts(49_868_598, 0) + // Minimum execution time: 31_679_000 picoseconds. + Weight::from_parts(43_939_429, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 4_008 - .saturating_add(Weight::from_parts(67_218, 0).saturating_mul(r.into())) + // Standard Error: 2_749 + .saturating_add(Weight::from_parts(59_143, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `493 + r * (22 ±0)` // Estimated: `7260` - // Minimum execution time: 45_786_000 picoseconds. - Weight::from_parts(47_742_470, 0) + // Minimum execution time: 41_618_000 picoseconds. + Weight::from_parts(43_212_793, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 987 - .saturating_add(Weight::from_parts(86_969, 0).saturating_mul(r.into())) + // Standard Error: 934 + .saturating_add(Weight::from_parts(88_400, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `695 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 20_268_000 picoseconds. - Weight::from_parts(22_749_343, 0) + // Minimum execution time: 21_250_000 picoseconds. + Weight::from_parts(24_298_976, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_068 - .saturating_add(Weight::from_parts(89_934, 0).saturating_mul(r.into())) + // Standard Error: 1_316 + .saturating_add(Weight::from_parts(91_321, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `695 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 20_419_000 picoseconds. - Weight::from_parts(23_110_049, 0) + // Minimum execution time: 21_500_000 picoseconds. + Weight::from_parts(24_479_652, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_134 - .saturating_add(Weight::from_parts(88_627, 0).saturating_mul(r.into())) + // Standard Error: 1_417 + .saturating_add(Weight::from_parts(92_182, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `357` // Estimated: `3556` - // Minimum execution time: 25_678_000 picoseconds. - Weight::from_parts(26_240_000, 0) + // Minimum execution time: 24_195_000 picoseconds. + Weight::from_parts(24_666_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `253` // Estimated: `3518` - // Minimum execution time: 22_843_000 picoseconds. - Weight::from_parts(23_404_000, 0) + // Minimum execution time: 19_797_000 picoseconds. + Weight::from_parts(20_188_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `4889` // Estimated: `18187` - // Minimum execution time: 52_899_000 picoseconds. - Weight::from_parts(55_174_000, 0) + // Minimum execution time: 50_986_000 picoseconds. + Weight::from_parts(53_871_000, 0) .saturating_add(Weight::from_parts(0, 18187)) - .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `4789` // Estimated: `18187` - // Minimum execution time: 49_563_000 picoseconds. - Weight::from_parts(50_655_000, 0) + // Minimum execution time: 47_639_000 picoseconds. + Weight::from_parts(48_401_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 20_689_000 picoseconds. - Weight::from_parts(21_251_000, 0) + // Minimum execution time: 20_007_000 picoseconds. + Weight::from_parts(20_649_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `269` // Estimated: `3666` - // Minimum execution time: 25_939_000 picoseconds. - Weight::from_parts(26_360_000, 0) + // Minimum execution time: 23_243_000 picoseconds. + Weight::from_parts(23_924_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 1ea5139227..73cbcffd18 100644 --- a/runtime/development/src/weights/pallet_elections_phragmen.rs +++ b/runtime/development/src/weights/pallet_elections_phragmen.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_elections_phragmen` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_elections_phragmen // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_elections_phragmen.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_elections_phragmen.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,170 +31,170 @@ use core::marker::PhantomData; /// Weight functions for `pallet_elections_phragmen`. pub struct WeightInfo(PhantomData); impl pallet_elections_phragmen::WeightInfo for WeightInfo { - /// Storage: Elections Candidates (r:1 w:0) - /// Proof Skipped: Elections Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections Members (r:1 w:0) - /// Proof Skipped: Elections Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections RunnersUp (r:1 w:0) - /// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections Voting (r:1 w:1) - /// Proof Skipped: Elections Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Elections::Candidates` (r:1 w:0) + /// Proof: `Elections::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Members` (r:1 w:0) + /// Proof: `Elections::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::RunnersUp` (r:1 w:0) + /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Voting` (r:1 w:1) + /// Proof: `Elections::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) /// The range of component `v` is `[1, 5]`. fn vote_equal(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `397 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 41_468_000 picoseconds. - Weight::from_parts(42_560_017, 0) + // Minimum execution time: 39_854_000 picoseconds. + Weight::from_parts(41_059_638, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 9_642 - .saturating_add(Weight::from_parts(242_626, 0).saturating_mul(v.into())) + // Standard Error: 9_339 + .saturating_add(Weight::from_parts(122_202, 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())) } - /// Storage: Elections Candidates (r:1 w:0) - /// Proof Skipped: Elections Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections Members (r:1 w:0) - /// Proof Skipped: Elections Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections RunnersUp (r:1 w:0) - /// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections Voting (r:1 w:1) - /// Proof Skipped: Elections Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Elections::Candidates` (r:1 w:0) + /// Proof: `Elections::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Members` (r:1 w:0) + /// Proof: `Elections::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::RunnersUp` (r:1 w:0) + /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Voting` (r:1 w:1) + /// Proof: `Elections::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) /// The range of component `v` is `[2, 5]`. fn vote_more(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `366 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 59_232_000 picoseconds. - Weight::from_parts(60_716_949, 0) + // Minimum execution time: 55_103_000 picoseconds. + Weight::from_parts(56_171_173, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 18_221 - .saturating_add(Weight::from_parts(152_053, 0).saturating_mul(v.into())) + // Standard Error: 14_770 + .saturating_add(Weight::from_parts(204_563, 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())) } - /// Storage: Elections Candidates (r:1 w:0) - /// Proof Skipped: Elections Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections Members (r:1 w:0) - /// Proof Skipped: Elections Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections RunnersUp (r:1 w:0) - /// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections Voting (r:1 w:1) - /// Proof Skipped: Elections Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Elections::Candidates` (r:1 w:0) + /// Proof: `Elections::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Members` (r:1 w:0) + /// Proof: `Elections::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::RunnersUp` (r:1 w:0) + /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Voting` (r:1 w:1) + /// Proof: `Elections::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) /// The range of component `v` is `[2, 5]`. fn vote_less(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `398 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 59_071_000 picoseconds. - Weight::from_parts(60_124_534, 0) + // Minimum execution time: 55_143_000 picoseconds. + Weight::from_parts(55_848_022, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 15_245 - .saturating_add(Weight::from_parts(340_864, 0).saturating_mul(v.into())) + // Standard Error: 12_961 + .saturating_add(Weight::from_parts(304_036, 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())) } - /// Storage: Elections Voting (r:1 w:1) - /// Proof Skipped: Elections Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Elections::Voting` (r:1 w:1) + /// Proof: `Elections::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) fn remove_voter() -> Weight { // Proof Size summary in bytes: // Measured: `568` // Estimated: `4764` - // Minimum execution time: 62_237_000 picoseconds. - Weight::from_parts(63_410_000, 0) + // Minimum execution time: 56_095_000 picoseconds. + Weight::from_parts(57_527_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Elections Candidates (r:1 w:1) - /// Proof Skipped: Elections Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections Members (r:1 w:0) - /// Proof Skipped: Elections Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections RunnersUp (r:1 w:0) - /// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Elections::Candidates` (r:1 w:1) + /// Proof: `Elections::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Members` (r:1 w:0) + /// Proof: `Elections::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::RunnersUp` (r:1 w:0) + /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 20]`. fn submit_candidacy(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `963 + c * (48 ±0)` - // Estimated: `2448 + c * (48 ±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_274 - .saturating_add(Weight::from_parts(59_575, 0).saturating_mul(c.into())) + // Measured: `1475 + c * (48 ±0)` + // Estimated: `2960 + c * (48 ±0)` + // Minimum execution time: 40_225_000 picoseconds. + Weight::from_parts(41_460_863, 0) + .saturating_add(Weight::from_parts(0, 2960)) + // Standard Error: 2_567 + .saturating_add(Weight::from_parts(92_423, 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())) } - /// Storage: Elections Candidates (r:1 w:1) - /// Proof Skipped: Elections Candidates (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Elections::Candidates` (r:1 w:1) + /// Proof: `Elections::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 20]`. fn renounce_candidacy_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `318 + c * (48 ±0)` // Estimated: `1803 + c * (48 ±0)` - // Minimum execution time: 40_296_000 picoseconds. - Weight::from_parts(41_327_773, 0) + // Minimum execution time: 35_306_000 picoseconds. + Weight::from_parts(36_290_646, 0) .saturating_add(Weight::from_parts(0, 1803)) - // Standard Error: 2_230 - .saturating_add(Weight::from_parts(72_117, 0).saturating_mul(c.into())) + // Standard Error: 2_574 + .saturating_add(Weight::from_parts(70_605, 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())) } - /// Storage: Elections Members (r:1 w:1) - /// Proof Skipped: Elections Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections RunnersUp (r:1 w:1) - /// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Elections::Members` (r:1 w:1) + /// Proof: `Elections::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::RunnersUp` (r:1 w:1) + /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn renounce_candidacy_members() -> Weight { // Proof Size summary in bytes: - // Measured: `1177` - // Estimated: `2662` - // Minimum execution time: 56_436_000 picoseconds. - Weight::from_parts(57_518_000, 0) - .saturating_add(Weight::from_parts(0, 2662)) + // Measured: `1621` + // Estimated: `3106` + // Minimum execution time: 50_805_000 picoseconds. + Weight::from_parts(51_927_000, 0) + .saturating_add(Weight::from_parts(0, 3106)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: Elections RunnersUp (r:1 w:1) - /// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Elections::RunnersUp` (r:1 w:1) + /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn renounce_candidacy_runners_up() -> Weight { // Proof Size summary in bytes: - // Measured: `639` - // Estimated: `2124` - // Minimum execution time: 40_667_000 picoseconds. - Weight::from_parts(41_187_000, 0) - .saturating_add(Weight::from_parts(0, 2124)) + // Measured: `1023` + // Estimated: `2508` + // Minimum execution time: 36_037_000 picoseconds. + Weight::from_parts(36_938_000, 0) + .saturating_add(Weight::from_parts(0, 2508)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Benchmark Override (r:0 w:0) - /// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_member_without_replacement() -> Weight { // Proof Size summary in bytes: // Measured: `0` @@ -204,102 +203,100 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn Weight::from_parts(500_000_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: Elections Members (r:1 w:1) - /// Proof Skipped: Elections Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Elections RunnersUp (r:1 w:1) - /// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Elections::Members` (r:1 w:1) + /// Proof: `Elections::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Elections::RunnersUp` (r:1 w:1) + /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn remove_member_with_replacement() -> Weight { // Proof Size summary in bytes: - // Measured: `1177` - // Estimated: `3593` - // 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)) + // Measured: `1724` + // Estimated: `6196` + // Minimum execution time: 71_003_000 picoseconds. + Weight::from_parts(72_324_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } - /// Storage: Elections Voting (r:101 w:100) - /// Proof Skipped: Elections Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Elections Members (r:1 w:0) - /// Proof Skipped: Elections Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections RunnersUp (r:1 w:0) - /// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections Candidates (r:1 w:0) - /// Proof Skipped: Elections Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Balances Locks (r:100 w:100) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:100 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) - /// Storage: System Account (r:100 w:100) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Elections::Voting` (r:51 w:50) + /// Proof: `Elections::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Members` (r:1 w:0) + /// Proof: `Elections::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::RunnersUp` (r:1 w:0) + /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Candidates` (r:1 w:0) + /// Proof: `Elections::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:50 w:50) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:50 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:50 w:50) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `v` is `[50, 100]`. /// The range of component `d` is `[0, 50]`. fn clean_defunct_voters(v: u32, d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1193 + v * (457 ±0)` - // Estimated: `4528 + d * (1 ±0) + v * (3774 ±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: 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()))) - .saturating_add(Weight::from_parts(0, 1).saturating_mul(d.into())) - .saturating_add(Weight::from_parts(0, 3774).saturating_mul(v.into())) + // Measured: `0 + d * (494 ±0) + v * (62 ±0)` + // Estimated: `8032 + d * (3774 ±0) + v * (27 ±0)` + // Minimum execution time: 5_440_000 picoseconds. + Weight::from_parts(5_851_000, 0) + .saturating_add(Weight::from_parts(0, 8032)) + // Standard Error: 7_490 + .saturating_add(Weight::from_parts(452_735, 0).saturating_mul(v.into())) + // Standard Error: 16_345 + .saturating_add(Weight::from_parts(54_859_868, 0).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(d.into()))) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(d.into()))) + .saturating_add(Weight::from_parts(0, 3774).saturating_mul(d.into())) + .saturating_add(Weight::from_parts(0, 27).saturating_mul(v.into())) } - /// Storage: Elections Candidates (r:1 w:1) - /// Proof Skipped: Elections Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections Members (r:1 w:1) - /// Proof Skipped: Elections Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections RunnersUp (r:1 w:1) - /// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Elections Voting (r:101 w:0) - /// Proof Skipped: Elections Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:10 w:10) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Elections ElectionRounds (r:1 w:1) - /// Proof Skipped: Elections ElectionRounds (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Elections::Candidates` (r:1 w:1) + /// Proof: `Elections::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Members` (r:1 w:1) + /// Proof: `Elections::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::RunnersUp` (r:1 w:1) + /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Elections::Voting` (r:101 w:0) + /// Proof: `Elections::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:3 w:3) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Elections::ElectionRounds` (r:1 w:1) + /// Proof: `Elections::ElectionRounds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 20]`. /// The range of component `v` is `[1, 100]`. /// The range of component `e` is `[100, 500]`. 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 ±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: 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()))) + // Measured: `0 + e * (23 ±0) + v * (241 ±0)` + // Estimated: `9323 + c * (154 ±35) + e * (19 ±1) + v * (2526 ±7)` + // Minimum execution time: 288_329_000 picoseconds. + Weight::from_parts(291_985_000, 0) + .saturating_add(Weight::from_parts(0, 9323)) + // Standard Error: 776_472 + .saturating_add(Weight::from_parts(1_654_140, 0).saturating_mul(c.into())) + // Standard Error: 154_461 + .saturating_add(Weight::from_parts(8_253_388, 0).saturating_mul(v.into())) + // Standard Error: 33_543 + .saturating_add(Weight::from_parts(253_004, 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(5)) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 1665).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().writes(7)) + .saturating_add(Weight::from_parts(0, 154).saturating_mul(c.into())) .saturating_add(Weight::from_parts(0, 19).saturating_mul(e.into())) - .saturating_add(Weight::from_parts(0, 2536).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 2526).saturating_mul(v.into())) } } diff --git a/runtime/development/src/weights/pallet_fees.rs b/runtime/development/src/weights/pallet_fees.rs index ddb8a5385c..9f1aa979eb 100644 --- a/runtime/development/src/weights/pallet_fees.rs +++ b/runtime/development/src/weights/pallet_fees.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_fees` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_fees // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_fees.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_fees.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,14 +31,14 @@ use core::marker::PhantomData; /// Weight functions for `pallet_fees`. pub struct WeightInfo(PhantomData); impl pallet_fees::WeightInfo for WeightInfo { - /// Storage: Fees FeeBalances (r:0 w:1) - /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Fees::FeeBalances` (r:0 w:1) + /// Proof: `Fees::FeeBalances` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn set_fee() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_103_000 picoseconds. - Weight::from_parts(12_533_000, 0) + // Minimum execution time: 8_786_000 picoseconds. + Weight::from_parts(9_347_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 b005595346..6b04d4e622 100644 --- a/runtime/development/src/weights/pallet_identity.rs +++ b/runtime/development/src/weights/pallet_identity.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_identity` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_identity // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_identity.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_identity.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,266 +31,389 @@ use core::marker::PhantomData; /// Weight functions for `pallet_identity`. pub struct WeightInfo(PhantomData); impl pallet_identity::WeightInfo for WeightInfo { - /// Storage: Identity Registrars (r:1 w:1) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn add_registrar(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `31 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 16_210_000 picoseconds. - Weight::from_parts(17_286_909, 0) + // Minimum execution time: 11_461_000 picoseconds. + Weight::from_parts(12_329_958, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 2_071 - .saturating_add(Weight::from_parts(93_041, 0).saturating_mul(r.into())) + // Standard Error: 1_709 + .saturating_add(Weight::from_parts(85_260, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[0, 100]`. - fn set_identity(_: u32) -> Weight { - Weight::default() + fn set_identity(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `6977 + r * (5 ±0)` + // Estimated: `11037` + // Minimum execution time: 177_182_000 picoseconds. + Weight::from_parts(184_291_666, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 10_202 + .saturating_add(Weight::from_parts(118_377, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:100 w:100) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:100 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 100]`. fn set_subs_new(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `100` - // Estimated: `11003 + s * (2589 ±0)` - // Minimum execution time: 12_743_000 picoseconds. - Weight::from_parts(34_190_321, 0) - .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 7_399 - .saturating_add(Weight::from_parts(4_731_928, 0).saturating_mul(s.into())) + // Estimated: `11037 + s * (2589 ±0)` + // Minimum execution time: 13_866_000 picoseconds. + Weight::from_parts(32_107_917, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 5_302 + .saturating_add(Weight::from_parts(5_097_828, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) .saturating_add(Weight::from_parts(0, 2589).saturating_mul(s.into())) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:0 w:100) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:0 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 100]`. fn set_subs_old(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `193 + p * (32 ±0)` - // Estimated: `11003` - // Minimum execution time: 12_934_000 picoseconds. - Weight::from_parts(32_567_793, 0) - .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 4_528 - .saturating_add(Weight::from_parts(1_884_047, 0).saturating_mul(p.into())) + // Estimated: `11037` + // Minimum execution time: 13_595_000 picoseconds. + Weight::from_parts(31_078_104, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 4_131 + .saturating_add(Weight::from_parts(2_071_635, 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()))) } - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:0 w:100) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:0 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// 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 clear_identity(_: u32, _: u32) -> Weight { - Weight::default() + fn clear_identity(r: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `7069 + r * (5 ±0) + s * (32 ±0)` + // Estimated: `11037` + // Minimum execution time: 82_014_000 picoseconds. + Weight::from_parts(82_257_399, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 8_823 + .saturating_add(Weight::from_parts(137_193, 0).saturating_mul(r.into())) + // Standard Error: 1_721 + .saturating_add(Weight::from_parts(2_055_434, 0).saturating_mul(s.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()))) } - /// Storage: Identity Registrars (r:1 w:0) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:0) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[0, 100]`. - fn request_judgement(_: u32) -> Weight { - Weight::default() + fn request_judgement(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `6967 + r * (57 ±0)` + // Estimated: `11037` + // Minimum execution time: 118_782_000 picoseconds. + Weight::from_parts(122_396_298, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 8_997 + .saturating_add(Weight::from_parts(131_018, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[0, 100]`. - fn cancel_request(_: u32) -> Weight { - Weight::default() + fn cancel_request(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `6998` + // Estimated: `11037` + // Minimum execution time: 114_965_000 picoseconds. + Weight::from_parts(119_931_535, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 8_210 + .saturating_add(Weight::from_parts(90_229, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity Registrars (r:1 w:1) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn set_fee(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `88 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 9_498_000 picoseconds. - Weight::from_parts(10_110_634, 0) + // Minimum execution time: 8_085_000 picoseconds. + Weight::from_parts(8_745_689, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_315 - .saturating_add(Weight::from_parts(74_892, 0).saturating_mul(r.into())) + // Standard Error: 1_017 + .saturating_add(Weight::from_parts(77_434, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity Registrars (r:1 w:1) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn set_account_id(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `88 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 9_889_000 picoseconds. - Weight::from_parts(10_330_567, 0) + // Minimum execution time: 8_666_000 picoseconds. + Weight::from_parts(9_025_881, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 980 - .saturating_add(Weight::from_parts(74_021, 0).saturating_mul(r.into())) + // Standard Error: 866 + .saturating_add(Weight::from_parts(69_178, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity Registrars (r:1 w:1) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn set_fields(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `88 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 9_678_000 picoseconds. - Weight::from_parts(10_131_437, 0) + // Minimum execution time: 8_466_000 picoseconds. + Weight::from_parts(8_930_474, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 906 - .saturating_add(Weight::from_parts(66_752, 0).saturating_mul(r.into())) + // Standard Error: 909 + .saturating_add(Weight::from_parts(61_820, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity Registrars (r:1 w:0) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:0) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. - /// The range of component `x` is `[0, 100]`. - fn provide_judgement(_: u32) -> Weight { - Weight::default() + fn provide_judgement(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `7045 + r * (57 ±0)` + // Estimated: `11037` + // Minimum execution time: 153_066_000 picoseconds. + Weight::from_parts(158_933_479, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 11_349 + .saturating_add(Weight::from_parts(55_251, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:0 w:100) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:0 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// 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(_: u32, _: u32) -> Weight { - Weight::default() + fn kill_identity(r: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `7396 + r * (15 ±0) + s * (32 ±0)` + // Estimated: `11037` + // Minimum execution time: 102_231_000 picoseconds. + Weight::from_parts(102_236_164, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 8_449 + .saturating_add(Weight::from_parts(197_958, 0).saturating_mul(r.into())) + // Standard Error: 1_648 + .saturating_add(Weight::from_parts(2_070_834, 0).saturating_mul(s.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()))) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:1 w:1) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 99]`. fn add_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `474 + s * (36 ±0)` - // Estimated: `11003` - // Minimum execution time: 41_979_000 picoseconds. - Weight::from_parts(46_603_374, 0) - .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 1_179 - .saturating_add(Weight::from_parts(74_218, 0).saturating_mul(s.into())) + // Estimated: `11037` + // Minimum execution time: 37_360_000 picoseconds. + Weight::from_parts(42_407_134, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 1_241 + .saturating_add(Weight::from_parts(71_942, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:1 w:1) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 100]`. fn rename_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `590 + s * (3 ±0)` - // Estimated: `11003` - // Minimum execution time: 17_282_000 picoseconds. - Weight::from_parts(19_747_060, 0) - .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 563 - .saturating_add(Weight::from_parts(24_156, 0).saturating_mul(s.into())) + // Estimated: `11037` + // Minimum execution time: 18_885_000 picoseconds. + Weight::from_parts(20_897_159, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 581 + .saturating_add(Weight::from_parts(22_219, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:1 w:1) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 100]`. fn remove_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `637 + s * (35 ±0)` - // Estimated: `11003` - // Minimum execution time: 45_686_000 picoseconds. - Weight::from_parts(48_850_397, 0) - .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 804 - .saturating_add(Weight::from_parts(55_800, 0).saturating_mul(s.into())) + // Estimated: `11037` + // Minimum execution time: 41_738_000 picoseconds. + Weight::from_parts(44_337_160, 0) + .saturating_add(Weight::from_parts(0, 11037)) + // Standard Error: 846 + .saturating_add(Weight::from_parts(56_189, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Identity SuperOf (r:1 w:1) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 99]`. fn quit_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `770 + s * (37 ±0)` // Estimated: `6723` - // Minimum execution time: 33_062_000 picoseconds. - Weight::from_parts(35_251_530, 0) + // Minimum execution time: 31_408_000 picoseconds. + Weight::from_parts(33_717_882, 0) .saturating_add(Weight::from_parts(0, 6723)) - // Standard Error: 751 - .saturating_add(Weight::from_parts(63_125, 0).saturating_mul(s.into())) + // Standard Error: 786 + .saturating_add(Weight::from_parts(58_377, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - - fn add_username_authority() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn remove_username_authority() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn set_username_for() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn accept_username() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn remove_expired_approval() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn set_primary_username() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn remove_dangling_username() -> cumulus_primitives_core::Weight { - Weight::default() - } + /// Storage: `Identity::UsernameAuthorities` (r:0 w:1) + /// Proof: `Identity::UsernameAuthorities` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + fn add_username_authority() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 9_908_000 picoseconds. + Weight::from_parts(10_289_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Identity::UsernameAuthorities` (r:1 w:1) + /// Proof: `Identity::UsernameAuthorities` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + fn remove_username_authority() -> Weight { + // Proof Size summary in bytes: + // Measured: `79` + // Estimated: `3517` + // Minimum execution time: 12_994_000 picoseconds. + Weight::from_parts(13_535_000, 0) + .saturating_add(Weight::from_parts(0, 3517)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Identity::UsernameAuthorities` (r:1 w:1) + /// Proof: `Identity::UsernameAuthorities` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Identity::AccountOfUsername` (r:1 w:1) + /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `Identity::PendingUsernames` (r:1 w:0) + /// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + fn set_username_for() -> Weight { + // Proof Size summary in bytes: + // Measured: `79` + // Estimated: `11037` + // Minimum execution time: 80_831_000 picoseconds. + Weight::from_parts(83_435_000, 0) + .saturating_add(Weight::from_parts(0, 11037)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `Identity::PendingUsernames` (r:1 w:1) + /// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `Identity::AccountOfUsername` (r:0 w:1) + /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + fn accept_username() -> Weight { + // Proof Size summary in bytes: + // Measured: `114` + // Estimated: `11037` + // Minimum execution time: 29_946_000 picoseconds. + Weight::from_parts(30_658_000, 0) + .saturating_add(Weight::from_parts(0, 11037)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `Identity::PendingUsernames` (r:1 w:1) + /// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + fn remove_expired_approval() -> Weight { + // Proof Size summary in bytes: + // Measured: `114` + // Estimated: `3550` + // Minimum execution time: 18_815_000 picoseconds. + Weight::from_parts(19_336_000, 0) + .saturating_add(Weight::from_parts(0, 3550)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Identity::AccountOfUsername` (r:1 w:0) + /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + fn set_primary_username() -> Weight { + // Proof Size summary in bytes: + // Measured: `256` + // Estimated: `11037` + // Minimum execution time: 24_736_000 picoseconds. + Weight::from_parts(25_086_000, 0) + .saturating_add(Weight::from_parts(0, 11037)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Identity::AccountOfUsername` (r:1 w:1) + /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + fn remove_dangling_username() -> Weight { + // Proof Size summary in bytes: + // Measured: `97` + // Estimated: `11037` + // Minimum execution time: 17_082_000 picoseconds. + Weight::from_parts(17_633_000, 0) + .saturating_add(Weight::from_parts(0, 11037)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } } diff --git a/runtime/development/src/weights/pallet_interest_accrual.rs b/runtime/development/src/weights/pallet_interest_accrual.rs index a55244601a..769034448e 100644 --- a/runtime/development/src/weights/pallet_interest_accrual.rs +++ b/runtime/development/src/weights/pallet_interest_accrual.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_interest_accrual` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_interest_accrual // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_interest_accrual.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_interest_accrual.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -37,10 +36,10 @@ impl pallet_interest_accrual::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 701_000 picoseconds. - Weight::from_parts(239_342, 0) + // Minimum execution time: 791_000 picoseconds. + Weight::from_parts(164_950, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 239 - .saturating_add(Weight::from_parts(607_860, 0).saturating_mul(n.into())) + // Standard Error: 465 + .saturating_add(Weight::from_parts(729_925, 0).saturating_mul(n.into())) } } diff --git a/runtime/development/src/weights/pallet_investments.rs b/runtime/development/src/weights/pallet_investments.rs index fbd02879b9..2a6edaa5e8 100644 --- a/runtime/development/src/weights/pallet_investments.rs +++ b/runtime/development/src/weights/pallet_investments.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_investments` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_investments // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_investments.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_investments.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,115 +31,115 @@ use core::marker::PhantomData; /// Weight functions for `pallet_investments`. pub struct WeightInfo(PhantomData); impl pallet_investments::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: Permissions Permission (r:1 w:0) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: Investments ActiveInvestOrders (r:1 w:1) - /// Proof: Investments ActiveInvestOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InvestOrders (r:1 w:1) - /// Proof: Investments InvestOrders (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - /// Storage: Investments InvestOrderId (r:1 w:0) - /// Proof: Investments InvestOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:2 w:2) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:0) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `Investments::ActiveInvestOrders` (r:1 w:1) + /// Proof: `Investments::ActiveInvestOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InvestOrders` (r:1 w:1) + /// Proof: `Investments::InvestOrders` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Investments::InvestOrderId` (r:1 w:0) + /// Proof: `Investments::InvestOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:2 w:2) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) fn update_invest_order() -> Weight { // Proof Size summary in bytes: - // Measured: `2525` + // Measured: `2057` // Estimated: `6198` - // Minimum execution time: 99_787_000 picoseconds. - Weight::from_parts(101_520_000, 0) + // Minimum execution time: 93_985_000 picoseconds. + Weight::from_parts(95_147_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Permissions Permission (r:1 w:0) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: Investments ActiveRedeemOrders (r:1 w:1) - /// Proof: Investments ActiveRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments RedeemOrders (r:1 w:1) - /// Proof: Investments RedeemOrders (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - /// Storage: Investments RedeemOrderId (r:1 w:0) - /// Proof: Investments RedeemOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:2 w:2) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:0) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `Investments::ActiveRedeemOrders` (r:1 w:1) + /// Proof: `Investments::ActiveRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::RedeemOrders` (r:1 w:1) + /// Proof: `Investments::RedeemOrders` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Investments::RedeemOrderId` (r:1 w:0) + /// Proof: `Investments::RedeemOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:2 w:2) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) fn update_redeem_order() -> Weight { // Proof Size summary in bytes: - // Measured: `2421` + // Measured: `1981` // Estimated: `6198` - // Minimum execution time: 99_116_000 picoseconds. - Weight::from_parts(100_518_000, 0) + // Minimum execution time: 93_976_000 picoseconds. + Weight::from_parts(94_897_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: Investments InvestOrders (r:1 w:1) - /// Proof: Investments InvestOrders (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - /// Storage: Investments InvestOrderId (r:1 w:0) - /// Proof: Investments InvestOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Investments ClearedInvestOrders (r:10 w:0) - /// Proof: Investments ClearedInvestOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:2 w:2) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ForeignInvestments ForeignInvestmentInfo (r:1 w:1) - /// Proof: ForeignInvestments ForeignInvestmentInfo (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) + /// Storage: `PoolSystem::Pool` (r:1 w:0) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `Investments::InvestOrders` (r:1 w:1) + /// Proof: `Investments::InvestOrders` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Investments::InvestOrderId` (r:1 w:0) + /// Proof: `Investments::InvestOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Investments::ClearedInvestOrders` (r:10 w:0) + /// Proof: `Investments::ClearedInvestOrders` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:2 w:2) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignInvestments::ForeignInvestmentInfo` (r:1 w:1) + /// Proof: `ForeignInvestments::ForeignInvestmentInfo` (`max_values`: None, `max_size`: Some(161), added: 2636, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 10]`. fn collect_investments(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2828 + n * (44 ±0)` - // Estimated: `6293 + n * (2555 ±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_360 - .saturating_add(Weight::from_parts(5_571_103, 0).saturating_mul(n.into())) + // Measured: `2388 + n * (44 ±0)` + // Estimated: `6198 + n * (2555 ±0)` + // Minimum execution time: 103_373_000 picoseconds. + Weight::from_parts(99_437_572, 0) + .saturating_add(Weight::from_parts(0, 6198)) + // Standard Error: 19_681 + .saturating_add(Weight::from_parts(5_637_768, 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)) .saturating_add(Weight::from_parts(0, 2555).saturating_mul(n.into())) } - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: Investments RedeemOrders (r:1 w:1) - /// Proof: Investments RedeemOrders (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - /// Storage: Investments RedeemOrderId (r:1 w:0) - /// Proof: Investments RedeemOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Investments ClearedRedeemOrders (r:10 w:0) - /// Proof: Investments ClearedRedeemOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:2 w:2) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ForeignInvestments ForeignRedemptionInfo (r:1 w:1) - /// Proof: ForeignInvestments ForeignRedemptionInfo (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) + /// Storage: `PoolSystem::Pool` (r:1 w:0) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `Investments::RedeemOrders` (r:1 w:1) + /// Proof: `Investments::RedeemOrders` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Investments::RedeemOrderId` (r:1 w:0) + /// Proof: `Investments::RedeemOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Investments::ClearedRedeemOrders` (r:10 w:0) + /// Proof: `Investments::ClearedRedeemOrders` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:2 w:2) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignInvestments::ForeignRedemptionInfo` (r:1 w:1) + /// Proof: `ForeignInvestments::ForeignRedemptionInfo` (`max_values`: None, `max_size`: Some(161), added: 2636, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 10]`. fn collect_redemptions(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2865 + n * (44 ±0)` - // Estimated: `6330 + n * (2555 ±0)` - // Minimum execution time: 111_479_000 picoseconds. - Weight::from_parts(107_429_507, 0) - .saturating_add(Weight::from_parts(0, 6330)) - // Standard Error: 18_573 - .saturating_add(Weight::from_parts(5_264_352, 0).saturating_mul(n.into())) + // Measured: `2397 + n * (44 ±0)` + // Estimated: `6198 + n * (2555 ±0)` + // Minimum execution time: 100_808_000 picoseconds. + Weight::from_parts(95_697_939, 0) + .saturating_add(Weight::from_parts(0, 6198)) + // Standard Error: 19_798 + .saturating_add(Weight::from_parts(5_639_662, 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 d7ff004063..074c2e85de 100644 --- a/runtime/development/src/weights/pallet_keystore.rs +++ b/runtime/development/src/weights/pallet_keystore.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_keystore` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_keystore // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_keystore.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_keystore.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,54 +31,54 @@ use core::marker::PhantomData; /// Weight functions for `pallet_keystore`. pub struct WeightInfo(PhantomData); impl pallet_keystore::WeightInfo for WeightInfo { - /// Storage: Keystore KeyDeposit (r:1 w:0) - /// Proof: Keystore KeyDeposit (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Keystore Keys (r:10 w:10) - /// Proof: Keystore Keys (max_values: None, max_size: Some(120), added: 2595, mode: MaxEncodedLen) - /// Storage: Keystore LastKeyByPurpose (r:0 w:1) - /// Proof: Keystore LastKeyByPurpose (max_values: None, max_size: Some(97), added: 2572, mode: MaxEncodedLen) + /// Storage: `Keystore::KeyDeposit` (r:1 w:0) + /// Proof: `Keystore::KeyDeposit` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Keystore::Keys` (r:10 w:10) + /// Proof: `Keystore::Keys` (`max_values`: None, `max_size`: Some(120), added: 2595, mode: `MaxEncodedLen`) + /// Storage: `Keystore::LastKeyByPurpose` (r:0 w:1) + /// Proof: `Keystore::LastKeyByPurpose` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 10]`. fn add_keys(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `250` + // Measured: `216` // Estimated: `3593 + n * (2595 ±0)` - // Minimum execution time: 43_672_000 picoseconds. - Weight::from_parts(16_926_925, 0) + // Minimum execution time: 37_760_000 picoseconds. + Weight::from_parts(16_409_452, 0) .saturating_add(Weight::from_parts(0, 3593)) - // Standard Error: 10_899 - .saturating_add(Weight::from_parts(27_767_673, 0).saturating_mul(n.into())) + // Standard Error: 9_527 + .saturating_add(Weight::from_parts(22_637_672, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 2595).saturating_mul(n.into())) } - /// Storage: Keystore Keys (r:10 w:10) - /// Proof: Keystore Keys (max_values: None, max_size: Some(120), added: 2595, mode: MaxEncodedLen) + /// Storage: `Keystore::Keys` (r:10 w:10) + /// Proof: `Keystore::Keys` (`max_values`: None, `max_size`: Some(120), added: 2595, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 10]`. fn revoke_keys(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `148 + n * (75 ±0)` + // Measured: `114 + n * (75 ±0)` // Estimated: `990 + n * (2595 ±0)` - // Minimum execution time: 21_290_000 picoseconds. - Weight::from_parts(8_829_942, 0) + // Minimum execution time: 17_162_000 picoseconds. + Weight::from_parts(8_240_640, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 16_913 - .saturating_add(Weight::from_parts(13_295_862, 0).saturating_mul(n.into())) + // Standard Error: 15_142 + .saturating_add(Weight::from_parts(9_969_400, 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())) } - /// Storage: Keystore KeyDeposit (r:0 w:1) - /// Proof: Keystore KeyDeposit (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: `Keystore::KeyDeposit` (r:0 w:1) + /// Proof: `Keystore::KeyDeposit` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn set_deposit() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_381_000 picoseconds. - Weight::from_parts(11_853_000, 0) + // Minimum execution time: 7_244_000 picoseconds. + Weight::from_parts(7_645_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/development/src/weights/pallet_liquidity_rewards.rs b/runtime/development/src/weights/pallet_liquidity_rewards.rs new file mode 100644 index 0000000000..88c7aa8513 --- /dev/null +++ b/runtime/development/src/weights/pallet_liquidity_rewards.rs @@ -0,0 +1,158 @@ + +//! Autogenerated weights for `pallet_liquidity_rewards` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 + +// Executed Command: +// target/release/centrifuge-chain +// benchmark +// pallet +// --chain=centrifuge-local +// --steps=50 +// --repeat=20 +// --pallet=pallet_liquidity_rewards +// --extrinsic=* +// --wasm-execution=compiled +// --heap-pages=4096 +// --output=/tmp/runtime/centrifuge/src/weights/pallet_liquidity_rewards.rs + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_liquidity_rewards`. +pub struct WeightInfo(PhantomData); +impl pallet_liquidity_rewards::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: `LiquidityRewards::EndOfEpoch` (r:1 w:0) + /// Proof: `LiquidityRewards::EndOfEpoch` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// 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 { + // Proof Size summary in bytes: + // Measured: `262` + // Estimated: `1493` + // Minimum execution time: 6_501_000 picoseconds. + Weight::from_parts(6_914_210, 0) + .saturating_add(Weight::from_parts(0, 1493)) + // Standard Error: 473 + .saturating_add(Weight::from_parts(1_250, 0).saturating_mul(x.into())) + // Standard Error: 194 + .saturating_add(Weight::from_parts(626, 0).saturating_mul(y.into())) + // Standard Error: 194 + .saturating_add(Weight::from_parts(7_112, 0).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(2)) + } + /// Storage: `LiquidityRewardsBase::Currency` (r:1 w:1) + /// Proof: `LiquidityRewardsBase::Currency` (`max_values`: None, `max_size`: Some(863), added: 3338, mode: `MaxEncodedLen`) + /// Storage: `LiquidityRewardsBase::Group` (r:1 w:1) + /// Proof: `LiquidityRewardsBase::Group` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) + /// Storage: `LiquidityRewardsBase::StakeAccount` (r:1 w:1) + /// Proof: `LiquidityRewardsBase::StakeAccount` (`max_values`: None, `max_size`: Some(143), added: 2618, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:1 w:0) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + fn stake() -> Weight { + // Proof Size summary in bytes: + // Measured: `467` + // Estimated: `4407` + // Minimum execution time: 36_218_000 picoseconds. + Weight::from_parts(37_270_000, 0) + .saturating_add(Weight::from_parts(0, 4407)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `LiquidityRewardsBase::Currency` (r:1 w:1) + /// Proof: `LiquidityRewardsBase::Currency` (`max_values`: None, `max_size`: Some(863), added: 3338, mode: `MaxEncodedLen`) + /// Storage: `LiquidityRewardsBase::Group` (r:1 w:1) + /// Proof: `LiquidityRewardsBase::Group` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) + /// Storage: `LiquidityRewardsBase::StakeAccount` (r:1 w:1) + /// Proof: `LiquidityRewardsBase::StakeAccount` (`max_values`: None, `max_size`: Some(143), added: 2618, mode: `MaxEncodedLen`) + fn unstake() -> Weight { + // Proof Size summary in bytes: + // Measured: `176` + // Estimated: `4328` + // Minimum execution time: 24_386_000 picoseconds. + Weight::from_parts(25_398_000, 0) + .saturating_add(Weight::from_parts(0, 4328)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `LiquidityRewardsBase::Currency` (r:1 w:0) + /// Proof: `LiquidityRewardsBase::Currency` (`max_values`: None, `max_size`: Some(863), added: 3338, mode: `MaxEncodedLen`) + /// Storage: `LiquidityRewardsBase::Group` (r:1 w:0) + /// Proof: `LiquidityRewardsBase::Group` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) + /// Storage: `LiquidityRewardsBase::StakeAccount` (r:1 w:1) + /// Proof: `LiquidityRewardsBase::StakeAccount` (`max_values`: None, `max_size`: Some(143), added: 2618, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn claim_reward() -> Weight { + // Proof Size summary in bytes: + // Measured: `449` + // Estimated: `4328` + // Minimum execution time: 51_947_000 picoseconds. + Weight::from_parts(53_051_000, 0) + .saturating_add(Weight::from_parts(0, 4328)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `LiquidityRewards::NextEpochChanges` (r:1 w:1) + /// Proof: `LiquidityRewards::NextEpochChanges` (`max_values`: Some(1), `max_size`: Some(2078), added: 2573, mode: `MaxEncodedLen`) + fn set_distributed_reward() -> Weight { + // Proof Size summary in bytes: + // Measured: `109` + // Estimated: `3563` + // Minimum execution time: 6_522_000 picoseconds. + Weight::from_parts(6_903_000, 0) + .saturating_add(Weight::from_parts(0, 3563)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `LiquidityRewards::NextEpochChanges` (r:1 w:1) + /// Proof: `LiquidityRewards::NextEpochChanges` (`max_values`: Some(1), `max_size`: Some(2078), added: 2573, mode: `MaxEncodedLen`) + fn set_epoch_duration() -> Weight { + // Proof Size summary in bytes: + // Measured: `109` + // Estimated: `3563` + // Minimum execution time: 6_492_000 picoseconds. + Weight::from_parts(6_773_000, 0) + .saturating_add(Weight::from_parts(0, 3563)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `LiquidityRewards::NextEpochChanges` (r:1 w:1) + /// Proof: `LiquidityRewards::NextEpochChanges` (`max_values`: Some(1), `max_size`: Some(2078), added: 2573, mode: `MaxEncodedLen`) + fn set_group_weight() -> Weight { + // Proof Size summary in bytes: + // Measured: `109` + // Estimated: `3563` + // Minimum execution time: 6_823_000 picoseconds. + Weight::from_parts(6_923_000, 0) + .saturating_add(Weight::from_parts(0, 3563)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `LiquidityRewards::NextEpochChanges` (r:1 w:1) + /// Proof: `LiquidityRewards::NextEpochChanges` (`max_values`: Some(1), `max_size`: Some(2078), added: 2573, mode: `MaxEncodedLen`) + fn set_currency_group() -> Weight { + // Proof Size summary in bytes: + // Measured: `109` + // Estimated: `3563` + // Minimum execution time: 6_773_000 picoseconds. + Weight::from_parts(7_103_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/development/src/weights/pallet_loans.rs b/runtime/development/src/weights/pallet_loans.rs index 03c9541f19..09cc66a1d7 100644 --- a/runtime/development/src/weights/pallet_loans.rs +++ b/runtime/development/src/weights/pallet_loans.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_loans` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_loans // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_loans.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_loans.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,370 +31,368 @@ use core::marker::PhantomData; /// Weight functions for `pallet_loans`. pub struct WeightInfo(PhantomData); impl pallet_loans::WeightInfo for WeightInfo { - /// Storage: Permissions Permission (r:1 w:0) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: Uniques Asset (r:1 w:1) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, 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: Uniques Class (r:1 w:0) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Loans LastLoanId (r:1 w:1) - /// Proof: Loans LastLoanId (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) - /// Storage: Loans CreatedLoan (r:0 w:1) - /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, mode: MaxEncodedLen) - /// Storage: Uniques Account (r:0 w:2) - /// Proof: Uniques Account (max_values: None, max_size: Some(104), added: 2579, mode: MaxEncodedLen) - /// Storage: Uniques ItemPriceOf (r:0 w:1) - /// Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:0) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, 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: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Loans::LastLoanId` (r:1 w:1) + /// Proof: `Loans::LastLoanId` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) + /// Storage: `Loans::CreatedLoan` (r:0 w:1) + /// Proof: `Loans::CreatedLoan` (`max_values`: None, `max_size`: Some(245), added: 2720, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:2) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `1261` + // Measured: `1228` // Estimated: `4278` - // Minimum execution time: 80_350_000 picoseconds. - Weight::from_parts(81_984_000, 0) + // Minimum execution time: 74_619_000 picoseconds. + Weight::from_parts(76_393_000, 0) .saturating_add(Weight::from_parts(0, 4278)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } - /// Storage: Loans CreatedLoan (r:1 w:1) - /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, 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) - /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(36002), added: 36497, mode: MaxEncodedLen) - /// 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(24050), added: 26525, mode: MaxEncodedLen) - /// Storage: Loans ActiveLoans (r:1 w:1) - /// 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) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Loans::CreatedLoan` (r:1 w:1) + /// Proof: `Loans::CreatedLoan` (`max_values`: None, `max_size`: Some(245), added: 2720, 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) + /// Proof: `InterestAccrual::Rates` (`max_values`: Some(1), `max_size`: Some(36002), added: 36497, mode: `MaxEncodedLen`) + /// 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(24050), added: 26525, mode: `MaxEncodedLen`) + /// Storage: `Loans::ActiveLoans` (r:1 w:1) + /// Proof: `Loans::ActiveLoans` (`max_values`: None, `max_size`: Some(373026), added: 375501, 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) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 9]`. fn borrow(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `38651 + n * (340 ±0)` - // Estimated: `375491 + n * (340 ±0)` - // Minimum execution time: 258_965_000 picoseconds. - Weight::from_parts(273_923_939, 0) - .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 57_114 - .saturating_add(Weight::from_parts(607_600, 0).saturating_mul(n.into())) + // Measured: `38081 + n * (340 ±0)` + // Estimated: `376491` + // Minimum execution time: 257_271_000 picoseconds. + Weight::from_parts(271_593_289, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 56_742 + .saturating_add(Weight::from_parts(66_655, 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(24050), added: 26525, mode: MaxEncodedLen) - /// Storage: Loans ActiveLoans (r:1 w:1) - /// 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) - /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(36002), added: 36497, mode: MaxEncodedLen) - /// Storage: InterestAccrual LastUpdated (r:1 w:0) - /// Proof: InterestAccrual LastUpdated (max_values: Some(1), max_size: Some(8), added: 503, 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) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Loans::PortfolioValuation` (r:1 w:1) + /// 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(373026), added: 375501, 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) + /// Proof: `InterestAccrual::Rates` (`max_values`: Some(1), `max_size`: Some(36002), added: 36497, mode: `MaxEncodedLen`) + /// Storage: `InterestAccrual::LastUpdated` (r:1 w:0) + /// Proof: `InterestAccrual::LastUpdated` (`max_values`: Some(1), `max_size`: Some(8), added: 503, 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) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 9]`. fn repay(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `38771 + n * (340 ±0)` - // Estimated: `375491 + n * (340 ±0)` - // Minimum execution time: 191_809_000 picoseconds. - Weight::from_parts(197_140_156, 0) - .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 31_149 - .saturating_add(Weight::from_parts(875_000, 0).saturating_mul(n.into())) + // Measured: `38267 + n * (340 ±0)` + // Estimated: `376491` + // Minimum execution time: 191_979_000 picoseconds. + Weight::from_parts(195_609_642, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 24_834 + .saturating_add(Weight::from_parts(914_255, 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(24050), added: 26525, mode: MaxEncodedLen) - /// Storage: Loans ActiveLoans (r:1 w:1) - /// 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(535), added: 3010, 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) - /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(36002), added: 36497, mode: MaxEncodedLen) - /// 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(24050), added: 26525, mode: `MaxEncodedLen`) + /// Storage: `Loans::ActiveLoans` (r:1 w:1) + /// Proof: `Loans::ActiveLoans` (`max_values`: None, `max_size`: Some(373026), added: 375501, 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) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `InterestAccrual::Rates` (r:1 w:1) + /// Proof: `InterestAccrual::Rates` (`max_values`: Some(1), `max_size`: Some(36002), added: 36497, mode: `MaxEncodedLen`) + /// Storage: `InterestAccrual::LastUpdated` (r:1 w:0) + /// Proof: `InterestAccrual::LastUpdated` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 9]`. fn write_off(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `37360 + n * (340 ±0)` - // Estimated: `375491` - // Minimum execution time: 240_039_000 picoseconds. - Weight::from_parts(253_671_302, 0) - .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 52_481 - .saturating_add(Weight::from_parts(736_804, 0).saturating_mul(n.into())) + // Measured: `41068 + n * (340 ±0)` + // Estimated: `376491` + // Minimum execution time: 291_074_000 picoseconds. + Weight::from_parts(306_451_616, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 65_729 + .saturating_add(Weight::from_parts(889_240, 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(24050), added: 26525, mode: MaxEncodedLen) - /// Storage: Loans ActiveLoans (r:1 w:1) - /// 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(535), added: 3010, 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) - /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(36002), added: 36497, mode: MaxEncodedLen) - /// Storage: InterestAccrual LastUpdated (r:1 w:0) - /// Proof: InterestAccrual LastUpdated (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// 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(24050), added: 26525, mode: `MaxEncodedLen`) + /// Storage: `Loans::ActiveLoans` (r:1 w:1) + /// Proof: `Loans::ActiveLoans` (`max_values`: None, `max_size`: Some(373026), added: 375501, 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) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `InterestAccrual::Rates` (r:1 w:1) + /// Proof: `InterestAccrual::Rates` (`max_values`: Some(1), `max_size`: Some(36002), added: 36497, mode: `MaxEncodedLen`) + /// Storage: `InterestAccrual::LastUpdated` (r:1 w:0) + /// Proof: `InterestAccrual::LastUpdated` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 9]`. fn admin_write_off(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `37611 + n * (340 ±0)` - // Estimated: `375491` - // Minimum execution time: 251_641_000 picoseconds. - Weight::from_parts(269_631_279, 0) - .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 49_436 - .saturating_add(Weight::from_parts(898_913, 0).saturating_mul(n.into())) + // Measured: `41319 + n * (340 ±0)` + // Estimated: `376491` + // Minimum execution time: 336_618_000 picoseconds. + Weight::from_parts(351_659_527, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 59_611 + .saturating_add(Weight::from_parts(790_271, 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(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(3116), added: 5591, mode: MaxEncodedLen) + /// 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(373026), added: 375501, 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(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_165_000 picoseconds. - Weight::from_parts(45_298_209, 0) - .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 12_320 - .saturating_add(Weight::from_parts(714_558, 0).saturating_mul(n.into())) + // Estimated: `376491` + // Minimum execution time: 41_297_000 picoseconds. + Weight::from_parts(42_125_690, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 5_612 + .saturating_add(Weight::from_parts(468_060, 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(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) - /// 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(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) - /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(36002), added: 36497, mode: MaxEncodedLen) - /// Storage: InterestAccrual LastUpdated (r:1 w:0) - /// Proof: InterestAccrual LastUpdated (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: `PoolSystem::NotedChange` (r:1 w:1) + /// 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(24050), added: 26525, mode: `MaxEncodedLen`) + /// Storage: `Loans::ActiveLoans` (r:1 w:1) + /// Proof: `Loans::ActiveLoans` (`max_values`: None, `max_size`: Some(373026), added: 375501, 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) + /// Proof: `InterestAccrual::Rates` (`max_values`: Some(1), `max_size`: Some(36002), added: 36497, mode: `MaxEncodedLen`) + /// Storage: `InterestAccrual::LastUpdated` (r:1 w:0) + /// Proof: `InterestAccrual::LastUpdated` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 9]`. fn apply_loan_mutation(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `37477 + n * (340 ±0)` - // Estimated: `375491` - // Minimum execution time: 99_717_000 picoseconds. - Weight::from_parts(101_939_910, 0) - .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 18_626 - .saturating_add(Weight::from_parts(640_848, 0).saturating_mul(n.into())) + // Measured: `37404 + n * (340 ±0)` + // Estimated: `376491` + // Minimum execution time: 121_217_000 picoseconds. + Weight::from_parts(123_415_693, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 16_707 + .saturating_add(Weight::from_parts(571_387, 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(372026), added: 374501, mode: MaxEncodedLen) - /// Storage: Loans PortfolioValuation (r:1 w:1) - /// 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(36002), added: 36497, mode: MaxEncodedLen) - /// Storage: Uniques Class (r:1 w:0) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques Asset (r:1 w:1) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: Loans ClosedLoan (r:0 w:1) - /// Proof: Loans ClosedLoan (max_values: None, max_size: Some(280), added: 2755, mode: MaxEncodedLen) - /// Storage: Uniques Account (r:0 w:2) - /// Proof: Uniques Account (max_values: None, max_size: Some(104), added: 2579, mode: MaxEncodedLen) - /// Storage: Uniques ItemPriceOf (r:0 w:1) - /// Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen) + /// Storage: `Loans::CreatedLoan` (r:1 w:0) + /// Proof: `Loans::CreatedLoan` (`max_values`: None, `max_size`: Some(245), added: 2720, mode: `MaxEncodedLen`) + /// Storage: `Loans::ActiveLoans` (r:1 w:1) + /// Proof: `Loans::ActiveLoans` (`max_values`: None, `max_size`: Some(373026), added: 375501, mode: `MaxEncodedLen`) + /// Storage: `Loans::PortfolioValuation` (r:1 w:1) + /// 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(36002), added: 36497, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Storage: `Loans::ClosedLoan` (r:0 w:1) + /// Proof: `Loans::ClosedLoan` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:2) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 9]`. fn close(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `37370 + n * (373 ±0)` - // Estimated: `375491` - // Minimum execution time: 142_897_000 picoseconds. - Weight::from_parts(152_648_479, 0) - .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 36_308 - .saturating_add(Weight::from_parts(464_350, 0).saturating_mul(n.into())) + // Measured: `37264 + n * (373 ±0)` + // Estimated: `376491` + // Minimum execution time: 134_531_000 picoseconds. + Weight::from_parts(142_641_726, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 26_601 + .saturating_add(Weight::from_parts(601_280, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(8)) } - /// Storage: Permissions Permission (r:1 w:0) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, 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(3116), added: 5591, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:0) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, 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(5184), added: 7659, mode: `MaxEncodedLen`) fn propose_write_off_policy() -> Weight { // Proof Size summary in bytes: // Measured: `478` // Estimated: `4278` - // Minimum execution time: 44_153_000 picoseconds. - Weight::from_parts(44_754_000, 0) + // Minimum execution time: 99_716_000 picoseconds. + Weight::from_parts(100_969_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(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) - /// Proof: Loans WriteOffPolicy (max_values: None, max_size: Some(535), added: 3010, mode: MaxEncodedLen) + /// Storage: `PoolSystem::NotedChange` (r:1 w:1) + /// 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) + /// Proof: `Loans::WriteOffPolicy` (`max_values`: None, `max_size`: Some(5126), added: 7601, mode: `MaxEncodedLen`) fn apply_write_off_policy() -> Weight { // Proof Size summary in bytes: - // Measured: `1073` - // Estimated: `6581` - // Minimum execution time: 43_742_000 picoseconds. - Weight::from_parts(44_454_000, 0) - .saturating_add(Weight::from_parts(0, 6581)) + // Measured: `4854` + // Estimated: `8649` + // Minimum execution time: 131_546_000 picoseconds. + Weight::from_parts(132_908_000, 0) + .saturating_add(Weight::from_parts(0, 8649)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// 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(7542), added: 10017, mode: MaxEncodedLen) - /// Storage: OraclePriceCollection CollectionInfo (r:1 w:0) - /// 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) - /// 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(24050), added: 26525, mode: MaxEncodedLen) + /// Storage: `PoolSystem::Pool` (r:1 w:0) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// 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(7542), added: 10017, mode: `MaxEncodedLen`) + /// Storage: `OraclePriceCollection::CollectionInfo` (r:1 w:0) + /// 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(373026), added: 375501, 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(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: `37026 + n * (353 ±0)` - // Estimated: `375491` - // Minimum execution time: 91_371_000 picoseconds. - Weight::from_parts(86_053_471, 0) - .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 42_303 - .saturating_add(Weight::from_parts(10_607_794, 0).saturating_mul(n.into())) + // Measured: `36953 + n * (353 ±0)` + // Estimated: `376491` + // Minimum execution time: 110_657_000 picoseconds. + Weight::from_parts(80_744_391, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 40_449 + .saturating_add(Weight::from_parts(34_591_694, 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(24050), added: 26525, 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) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: InterestAccrual Rates (r:1 w:0) - /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(36002), added: 36497, mode: MaxEncodedLen) - /// Storage: InterestAccrual LastUpdated (r:1 w:0) - /// Proof: InterestAccrual LastUpdated (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// 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(3116), added: 5591, mode: MaxEncodedLen) + /// Storage: `Loans::PortfolioValuation` (r:1 w:0) + /// 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(373026), added: 375501, 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) + /// Proof: `InterestAccrual::Rates` (`max_values`: Some(1), `max_size`: Some(36002), added: 36497, mode: `MaxEncodedLen`) + /// Storage: `InterestAccrual::LastUpdated` (r:1 w:0) + /// Proof: `InterestAccrual::LastUpdated` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Loans::CreatedLoan` (r:1 w:0) + /// Proof: `Loans::CreatedLoan` (`max_values`: None, `max_size`: Some(245), added: 2720, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::NotedChange` (r:0 w:1) + /// 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: 283_661_000 picoseconds. - Weight::from_parts(295_272_087, 0) - .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 88_073 - .saturating_add(Weight::from_parts(1_367_999, 0).saturating_mul(n.into())) + // Measured: `37071 + n * (340 ±0)` + // Estimated: `376491` + // Minimum execution time: 306_813_000 picoseconds. + Weight::from_parts(320_875_517, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 85_096 + .saturating_add(Weight::from_parts(1_049_642, 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(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) - /// 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(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) - /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(36002), added: 36497, mode: MaxEncodedLen) - /// Storage: InterestAccrual LastUpdated (r:1 w:0) - /// Proof: InterestAccrual LastUpdated (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Loans CreatedLoan (r:1 w:1) - /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, mode: MaxEncodedLen) + /// Storage: `PoolSystem::NotedChange` (r:1 w:1) + /// 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(24050), added: 26525, mode: `MaxEncodedLen`) + /// Storage: `Loans::ActiveLoans` (r:1 w:1) + /// Proof: `Loans::ActiveLoans` (`max_values`: None, `max_size`: Some(373026), added: 375501, 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) + /// Proof: `InterestAccrual::Rates` (`max_values`: Some(1), `max_size`: Some(36002), added: 36497, mode: `MaxEncodedLen`) + /// Storage: `InterestAccrual::LastUpdated` (r:1 w:0) + /// Proof: `InterestAccrual::LastUpdated` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Loans::CreatedLoan` (r:1 w:1) + /// Proof: `Loans::CreatedLoan` (`max_values`: None, `max_size`: Some(245), added: 2720, mode: `MaxEncodedLen`) /// The range of component `n` is `[2, 8]`. fn apply_transfer_debt(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `37805 + n * (340 ±0)` - // Estimated: `375491` - // Minimum execution time: 286_618_000 picoseconds. - Weight::from_parts(301_381_602, 0) - .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 88_453 - .saturating_add(Weight::from_parts(956_537, 0).saturating_mul(n.into())) + // Measured: `37732 + n * (340 ±0)` + // Estimated: `376491` + // Minimum execution time: 317_713_000 picoseconds. + Weight::from_parts(330_762_786, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 82_499 + .saturating_add(Weight::from_parts(726_621, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: Loans CreatedLoan (r:1 w:1) - /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, 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) - /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(36002), added: 36497, mode: MaxEncodedLen) - /// 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(24050), added: 26525, mode: MaxEncodedLen) - /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) + /// Storage: `Loans::CreatedLoan` (r:1 w:1) + /// Proof: `Loans::CreatedLoan` (`max_values`: None, `max_size`: Some(245), added: 2720, 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) + /// Proof: `InterestAccrual::Rates` (`max_values`: Some(1), `max_size`: Some(36002), added: 36497, mode: `MaxEncodedLen`) + /// 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(24050), added: 26525, mode: `MaxEncodedLen`) + /// Storage: `Loans::ActiveLoans` (r:1 w:1) + /// Proof: `Loans::ActiveLoans` (`max_values`: None, `max_size`: Some(373026), added: 375501, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 9]`. fn increase_debt(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `36804 + n * (340 ±0)` - // Estimated: `375491` - // Minimum execution time: 187_943_000 picoseconds. - Weight::from_parts(195_618_379, 0) - .saturating_add(Weight::from_parts(0, 375491)) - // Standard Error: 44_252 - .saturating_add(Weight::from_parts(1_090_526, 0).saturating_mul(n.into())) + // Measured: `36731 + n * (340 ±0)` + // Estimated: `376491` + // Minimum execution time: 200_694_000 picoseconds. + Weight::from_parts(213_050_296, 0) + .saturating_add(Weight::from_parts(0, 376491)) + // Standard Error: 68_417 + .saturating_add(Weight::from_parts(887_808, 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 1e120ecdf9..684c0cb6f3 100644 --- a/runtime/development/src/weights/pallet_multisig.rs +++ b/runtime/development/src/weights/pallet_multisig.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_multisig` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_multisig // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_multisig.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_multisig.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -37,110 +36,110 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 16_201_000 picoseconds. - Weight::from_parts(17_023_793, 0) + // Minimum execution time: 15_338_000 picoseconds. + Weight::from_parts(16_533_180, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 3 - .saturating_add(Weight::from_parts(474, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(574, 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) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_create(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `334 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 55_184_000 picoseconds. - Weight::from_parts(47_625_938, 0) + // Minimum execution time: 50_915_000 picoseconds. + Weight::from_parts(43_873_293, 0) .saturating_add(Weight::from_parts(0, 6811)) - // 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())) + // Standard Error: 815 + .saturating_add(Weight::from_parts(91_909, 0).saturating_mul(s.into())) + // Standard Error: 7 + .saturating_add(Weight::from_parts(1_538, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[3, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_approve(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `6811` - // Minimum execution time: 34_355_000 picoseconds. - Weight::from_parts(27_105_453, 0) + // Minimum execution time: 31_569_000 picoseconds. + Weight::from_parts(24_463_345, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 479 - .saturating_add(Weight::from_parts(80_857, 0).saturating_mul(s.into())) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_530, 0).saturating_mul(z.into())) + // Standard Error: 531 + .saturating_add(Weight::from_parts(82_688, 0).saturating_mul(s.into())) + // Standard Error: 5 + .saturating_add(Weight::from_parts(1_606, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_complete(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `456 + s * (33 ±0)` // Estimated: `6811` - // Minimum execution time: 63_038_000 picoseconds. - Weight::from_parts(51_996_533, 0) + // Minimum execution time: 57_838_000 picoseconds. + Weight::from_parts(47_255_589, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 658 - .saturating_add(Weight::from_parts(125_530, 0).saturating_mul(s.into())) - // Standard Error: 6 - .saturating_add(Weight::from_parts(1_584, 0).saturating_mul(z.into())) + // Standard Error: 768 + .saturating_add(Weight::from_parts(122_970, 0).saturating_mul(s.into())) + // Standard Error: 7 + .saturating_add(Weight::from_parts(1_675, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `334 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 44_584_000 picoseconds. - Weight::from_parts(45_966_461, 0) + // Minimum execution time: 40_035_000 picoseconds. + Weight::from_parts(41_467_020, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 927 - .saturating_add(Weight::from_parts(94_698, 0).saturating_mul(s.into())) + // Standard Error: 716 + .saturating_add(Weight::from_parts(90_922, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `6811` - // Minimum execution time: 24_296_000 picoseconds. - Weight::from_parts(25_023_749, 0) + // Minimum execution time: 21_891_000 picoseconds. + Weight::from_parts(22_563_240, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 504 - .saturating_add(Weight::from_parts(84_010, 0).saturating_mul(s.into())) + // Standard Error: 568 + .saturating_add(Weight::from_parts(83_269, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `520 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 44_965_000 picoseconds. - Weight::from_parts(46_528_960, 0) + // Minimum execution time: 41_267_000 picoseconds. + Weight::from_parts(42_346_960, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 787 - .saturating_add(Weight::from_parts(90_262, 0).saturating_mul(s.into())) + // Standard Error: 606 + .saturating_add(Weight::from_parts(85_093, 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 92caaa381c..bd0acee940 100644 --- a/runtime/development/src/weights/pallet_oracle_collection.rs +++ b/runtime/development/src/weights/pallet_oracle_collection.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_oracle_collection` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_oracle_collection // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_oracle_collection.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_oracle_collection.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,73 +31,73 @@ use core::marker::PhantomData; /// Weight functions for `pallet_oracle_collection`. pub struct WeightInfo(PhantomData); impl pallet_oracle_collection::WeightInfo for WeightInfo { - /// Storage: Permissions Permission (r:1 w:0) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, 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(3116), added: 5591, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, 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(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_865_000 picoseconds. - Weight::from_parts(28_313_405, 0) + // Minimum execution time: 24_276_000 picoseconds. + Weight::from_parts(24_755_058, 0) .saturating_add(Weight::from_parts(0, 3693)) - // Standard Error: 8_302 - .saturating_add(Weight::from_parts(1_508_067, 0).saturating_mul(n.into())) + // Standard Error: 8_436 + .saturating_add(Weight::from_parts(511_561, 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(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(7542), added: 10017, mode: MaxEncodedLen) - /// Storage: OraclePriceCollection CollectionInfo (r:0 w:1) - /// Proof: OraclePriceCollection CollectionInfo (max_values: None, max_size: Some(3058), added: 5533, mode: MaxEncodedLen) + /// Storage: `PoolSystem::NotedChange` (r:1 w:1) + /// 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(7542), added: 10017, mode: `MaxEncodedLen`) + /// Storage: `OraclePriceCollection::CollectionInfo` (r:0 w:1) + /// 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: `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())) + // Estimated: `8649` + // Minimum execution time: 35_065_000 picoseconds. + Weight::from_parts(35_541_621, 0) + .saturating_add(Weight::from_parts(0, 8649)) + // Standard Error: 8_931 + .saturating_add(Weight::from_parts(522_188, 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: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(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(7542), added: 10017, 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: `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(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: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `OraclePriceCollection::Collection` (r:0 w:1) + /// 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 * (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) + // Minimum execution time: 129_342_000 picoseconds. + Weight::from_parts(130_825_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())) + // Standard Error: 15_277_105 + .saturating_add(Weight::from_parts(473_216_566, 0).saturating_mul(n.into())) + // Standard Error: 756_691 + .saturating_add(Weight::from_parts(30_611_211, 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()))) diff --git a/runtime/development/src/weights/pallet_oracle_feed.rs b/runtime/development/src/weights/pallet_oracle_feed.rs index 305a11dbc2..8bd62c36d7 100644 --- a/runtime/development/src/weights/pallet_oracle_feed.rs +++ b/runtime/development/src/weights/pallet_oracle_feed.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_oracle_feed` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_oracle_feed // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_oracle_feed.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_oracle_feed.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,32 +31,32 @@ use core::marker::PhantomData; /// Weight functions for `pallet_oracle_feed`. pub struct WeightInfo(PhantomData); impl pallet_oracle_feed::WeightInfo for WeightInfo { - /// Storage: OraclePriceFeed FedValues (r:1 w:1) - /// Proof: OraclePriceFeed FedValues (max_values: None, max_size: Some(711), added: 3186, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, 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: `OraclePriceFeed::FedValues` (r:1 w:1) + /// Proof: `OraclePriceFeed::FedValues` (`max_values`: None, `max_size`: Some(711), added: 3186, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn feed_with_fee() -> Weight { // Proof Size summary in bytes: // Measured: `387` // Estimated: `4176` - // Minimum execution time: 64_792_000 picoseconds. - Weight::from_parts(65_763_000, 0) + // Minimum execution time: 50_644_000 picoseconds. + Weight::from_parts(51_506_000, 0) .saturating_add(Weight::from_parts(0, 4176)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: OraclePriceFeed FedValues (r:1 w:1) - /// Proof: OraclePriceFeed FedValues (max_values: None, max_size: Some(711), added: 3186, 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: `OraclePriceFeed::FedValues` (r:1 w:1) + /// Proof: `OraclePriceFeed::FedValues` (`max_values`: None, `max_size`: Some(711), added: 3186, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn feed_without_fee() -> Weight { // Proof Size summary in bytes: // Measured: `413` // Estimated: `4176` - // Minimum execution time: 22_802_000 picoseconds. - Weight::from_parts(23_564_000, 0) + // Minimum execution time: 19_166_000 picoseconds. + Weight::from_parts(19_607_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 a7abfd1c6e..fb6f1f781c 100644 --- a/runtime/development/src/weights/pallet_order_book.rs +++ b/runtime/development/src/weights/pallet_order_book.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_order_book` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_order_book // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_order_book.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_order_book.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,94 +31,94 @@ use core::marker::PhantomData; /// Weight functions for `pallet_order_book`. pub struct WeightInfo(PhantomData); impl pallet_order_book::WeightInfo for WeightInfo { - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrderBook OrderIdNonceStore (r:1 w:1) - /// Proof: OrderBook OrderIdNonceStore (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:1 w:1) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrderBook Orders (r:0 w:1) - /// Proof: OrderBook Orders (max_values: None, max_size: Some(171), added: 2646, mode: MaxEncodedLen) - /// Storage: OrderBook UserOrders (r:0 w:1) - /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `OrderBook::OrderIdNonceStore` (r:1 w:1) + /// Proof: `OrderBook::OrderIdNonceStore` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:1 w:1) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrderBook::Orders` (r:0 w:1) + /// Proof: `OrderBook::Orders` (`max_values`: None, `max_size`: Some(171), added: 2646, mode: `MaxEncodedLen`) + /// Storage: `OrderBook::UserOrders` (r:0 w:1) + /// Proof: `OrderBook::UserOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) fn place_order() -> Weight { // Proof Size summary in bytes: - // 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)) + // Measured: `692` + // Estimated: `4407` + // Minimum execution time: 45_916_000 picoseconds. + Weight::from_parts(47_449_000, 0) + .saturating_add(Weight::from_parts(0, 4407)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: OrderBook Orders (r:1 w:1) - /// Proof: OrderBook Orders (max_values: None, max_size: Some(171), added: 2646, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrmlTokens Accounts (r:1 w:1) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) + /// Storage: `OrderBook::Orders` (r:1 w:1) + /// Proof: `OrderBook::Orders` (`max_values`: None, `max_size`: Some(171), added: 2646, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:1 w:1) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) fn update_order() -> Weight { // Proof Size summary in bytes: - // 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)) + // Measured: `896` + // Estimated: `4407` + // Minimum execution time: 44_593_000 picoseconds. + Weight::from_parts(45_495_000, 0) + .saturating_add(Weight::from_parts(0, 4407)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: OrderBook Orders (r:1 w:1) - /// Proof: OrderBook Orders (max_values: None, max_size: Some(171), added: 2646, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:1 w:1) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrderBook UserOrders (r:0 w:1) - /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) + /// Storage: `OrderBook::Orders` (r:1 w:1) + /// Proof: `OrderBook::Orders` (`max_values`: None, `max_size`: Some(171), added: 2646, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:1 w:1) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `OrderBook::UserOrders` (r:0 w:1) + /// Proof: `OrderBook::UserOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) fn cancel_order() -> Weight { // Proof Size summary in bytes: - // 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)) + // Measured: `896` + // Estimated: `4407` + // Minimum execution time: 47_599_000 picoseconds. + Weight::from_parts(48_360_000, 0) + .saturating_add(Weight::from_parts(0, 4407)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: OrderBook Orders (r:1 w:1) - /// Proof: OrderBook Orders (max_values: None, max_size: Some(171), added: 2646, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrderBook MarketFeederId (r:1 w:0) - /// Proof: OrderBook MarketFeederId (max_values: Some(1), max_size: Some(604), added: 1099, mode: MaxEncodedLen) - /// Storage: OraclePriceFeed FedValues (r:1 w:0) - /// Proof: OraclePriceFeed FedValues (max_values: None, max_size: Some(711), added: 3186, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:4 w:4) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Swaps OrderIdToSwapId (r:1 w:0) - /// Proof: Swaps OrderIdToSwapId (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen) - /// Storage: OrderBook UserOrders (r:0 w:1) - /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) + /// Storage: `OrderBook::Orders` (r:1 w:1) + /// Proof: `OrderBook::Orders` (`max_values`: None, `max_size`: Some(171), added: 2646, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:2 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `OrderBook::MarketFeederId` (r:1 w:0) + /// Proof: `OrderBook::MarketFeederId` (`max_values`: Some(1), `max_size`: Some(604), added: 1099, mode: `MaxEncodedLen`) + /// Storage: `OraclePriceFeed::FedValues` (r:1 w:0) + /// Proof: `OraclePriceFeed::FedValues` (`max_values`: None, `max_size`: Some(711), added: 3186, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:4 w:4) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Swaps::OrderIdToSwapId` (r:1 w:0) + /// Proof: `Swaps::OrderIdToSwapId` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `OrderBook::UserOrders` (r:0 w:1) + /// Proof: `OrderBook::UserOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) fn fill_order() -> Weight { // Proof Size summary in bytes: - // Measured: `2137` + // Measured: `1628` // Estimated: `11406` - // Minimum execution time: 163_798_000 picoseconds. - Weight::from_parts(167_515_000, 0) + // Minimum execution time: 148_507_000 picoseconds. + Weight::from_parts(150_471_000, 0) .saturating_add(Weight::from_parts(0, 11406)) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(8)) } - /// Storage: OrderBook MarketFeederId (r:0 w:1) - /// Proof: OrderBook MarketFeederId (max_values: Some(1), max_size: Some(604), added: 1099, mode: MaxEncodedLen) + /// Storage: `OrderBook::MarketFeederId` (r:0 w:1) + /// Proof: `OrderBook::MarketFeederId` (`max_values`: Some(1), `max_size`: Some(604), added: 1099, mode: `MaxEncodedLen`) fn set_market_feeder() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_483_000 picoseconds. - Weight::from_parts(13_014_000, 0) + // Minimum execution time: 8_285_000 picoseconds. + Weight::from_parts(8_867_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 9f22845b4a..5f7fd5cc64 100644 --- a/runtime/development/src/weights/pallet_permissions.rs +++ b/runtime/development/src/weights/pallet_permissions.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_permissions` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_permissions // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_permissions.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_permissions.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,82 +31,82 @@ use core::marker::PhantomData; /// Weight functions for `pallet_permissions`. pub struct WeightInfo(PhantomData); impl pallet_permissions::WeightInfo for WeightInfo { - /// Storage: Permissions PermissionCount (r:1 w:1) - /// Proof: Permissions PermissionCount (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - /// Storage: Permissions Permission (r:1 w:1) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Storage: `Permissions::PermissionCount` (r:1 w:1) + /// Proof: `Permissions::PermissionCount` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `Permissions::Permission` (r:1 w:1) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) fn add_as_admin() -> Weight { // Proof Size summary in bytes: // Measured: `3` // Estimated: `3693` - // Minimum execution time: 20_308_000 picoseconds. - Weight::from_parts(21_210_000, 0) + // Minimum execution time: 16_992_000 picoseconds. + Weight::from_parts(17_683_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Permissions Permission (r:2 w:1) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: Permissions PermissionCount (r:1 w:1) - /// Proof: Permissions PermissionCount (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:2 w:1) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `Permissions::PermissionCount` (r:1 w:1) + /// Proof: `Permissions::PermissionCount` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) fn add_as_editor() -> Weight { // Proof Size summary in bytes: // Measured: `162` // Estimated: `6396` - // Minimum execution time: 28_213_000 picoseconds. - Weight::from_parts(28_814_000, 0) + // Minimum execution time: 24_876_000 picoseconds. + Weight::from_parts(25_528_000, 0) .saturating_add(Weight::from_parts(0, 6396)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Permissions PermissionCount (r:1 w:1) - /// Proof: Permissions PermissionCount (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - /// Storage: Permissions Permission (r:1 w:1) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Storage: `Permissions::PermissionCount` (r:1 w:1) + /// Proof: `Permissions::PermissionCount` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `Permissions::Permission` (r:1 w:1) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) fn remove_as_admin() -> Weight { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3693` - // Minimum execution time: 23_554_000 picoseconds. - Weight::from_parts(24_205_000, 0) + // Minimum execution time: 20_128_000 picoseconds. + Weight::from_parts(20_548_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Permissions Permission (r:2 w:1) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: Permissions PermissionCount (r:1 w:1) - /// Proof: Permissions PermissionCount (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:2 w:1) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `Permissions::PermissionCount` (r:1 w:1) + /// Proof: `Permissions::PermissionCount` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) fn remove_as_editor() -> Weight { // Proof Size summary in bytes: // Measured: `256` // Estimated: `6396` - // Minimum execution time: 30_557_000 picoseconds. - Weight::from_parts(31_018_000, 0) + // Minimum execution time: 27_151_000 picoseconds. + Weight::from_parts(27_842_000, 0) .saturating_add(Weight::from_parts(0, 6396)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Permissions Permission (r:1 w:1) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:1) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) fn purge() -> Weight { // Proof Size summary in bytes: // Measured: `146` // Estimated: `3693` - // Minimum execution time: 20_549_000 picoseconds. - Weight::from_parts(20_999_000, 0) + // Minimum execution time: 17_081_000 picoseconds. + Weight::from_parts(17_573_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Permissions Permission (r:1 w:1) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:1) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) fn admin_purge() -> Weight { // Proof Size summary in bytes: // Measured: `146` // Estimated: `3693` - // Minimum execution time: 21_009_000 picoseconds. - Weight::from_parts(21_631_000, 0) + // Minimum execution time: 17_492_000 picoseconds. + Weight::from_parts(18_124_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 ebd7e24a9c..a02e2d1026 100644 --- a/runtime/development/src/weights/pallet_pool_fees.rs +++ b/runtime/development/src/weights/pallet_pool_fees.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_pool_fees` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_pool_fees // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_pool_fees.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_pool_fees.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,122 +31,122 @@ use core::marker::PhantomData; /// Weight functions for `pallet_pool_fees`. pub struct WeightInfo(PhantomData); 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: Permissions Permission (r:1 w:0) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: PoolFees LastFeeId (r:1 w:1) - /// Proof: PoolFees LastFeeId (max_values: Some(1), max_size: Some(8), added: 503, 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(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: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::LastFeeId` (r:1 w:1) + /// Proof: `PoolFees::LastFeeId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, 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(5184), added: 7659, mode: `MaxEncodedLen`) fn propose_new_fee() -> Weight { // Proof Size summary in bytes: // Measured: `581` // Estimated: `4278` - // Minimum execution time: 42_871_000 picoseconds. - Weight::from_parts(43_642_000, 0) + // Minimum execution time: 35_577_000 picoseconds. + Weight::from_parts(36_578_000, 0) .saturating_add(Weight::from_parts(0, 4278)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } - /// 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(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) - /// Proof: PoolFees FeeIds (max_values: None, max_size: Some(843), added: 3318, mode: MaxEncodedLen) - /// Storage: PoolFees ActiveFees (r:1 w:1) - /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) + /// 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(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) + /// Proof: `PoolFees::FeeIds` (`max_values`: None, `max_size`: Some(843), added: 3318, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::ActiveFees` (r:1 w:1) + /// Proof: `PoolFees::ActiveFees` (`max_values`: None, `max_size`: Some(14043), added: 16518, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 99]`. fn apply_new_fee(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1395 + n * (137 ±0)` // Estimated: `17508` - // Minimum execution time: 54_252_000 picoseconds. - Weight::from_parts(54_430_369, 0) + // Minimum execution time: 56_726_000 picoseconds. + Weight::from_parts(57_282_882, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 1_919 - .saturating_add(Weight::from_parts(295_209, 0).saturating_mul(n.into())) + // Standard Error: 1_865 + .saturating_add(Weight::from_parts(289_067, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: PoolFees FeeIdsToPoolBucket (r:1 w:1) - /// Proof: PoolFees FeeIdsToPoolBucket (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) - /// Storage: PoolFees ActiveFees (r:1 w:1) - /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) - /// Storage: PoolFees FeeIds (r:1 w:1) - /// Proof: PoolFees FeeIds (max_values: None, max_size: Some(843), added: 3318, 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::ActiveFees` (r:1 w:1) + /// Proof: `PoolFees::ActiveFees` (`max_values`: None, `max_size`: Some(14043), added: 16518, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::FeeIds` (r:1 w:1) + /// Proof: `PoolFees::FeeIds` (`max_values`: None, `max_size`: Some(843), added: 3318, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 100]`. fn remove_fee(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `709 + n * (136 ±0)` // Estimated: `17508` - // Minimum execution time: 36_939_000 picoseconds. - Weight::from_parts(37_417_528, 0) + // Minimum execution time: 34_966_000 picoseconds. + Weight::from_parts(37_186_153, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 3_755 - .saturating_add(Weight::from_parts(415_086, 0).saturating_mul(n.into())) + // Standard Error: 3_901 + .saturating_add(Weight::from_parts(428_616, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: PoolFees FeeIdsToPoolBucket (r:1 w:0) - /// Proof: PoolFees FeeIdsToPoolBucket (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) - /// Storage: PoolFees ActiveFees (r:1 w:1) - /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) + /// Storage: `PoolFees::FeeIdsToPoolBucket` (r:1 w:0) + /// Proof: `PoolFees::FeeIdsToPoolBucket` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::ActiveFees` (r:1 w:1) + /// Proof: `PoolFees::ActiveFees` (`max_values`: None, `max_size`: Some(14043), added: 16518, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 99]`. fn charge_fee(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `795 + n * (129 ±0)` // Estimated: `17508` - // Minimum execution time: 26_860_000 picoseconds. - Weight::from_parts(26_714_451, 0) + // Minimum execution time: 24_425_000 picoseconds. + Weight::from_parts(24_164_408, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 1_782 - .saturating_add(Weight::from_parts(266_514, 0).saturating_mul(n.into())) + // Standard Error: 2_222 + .saturating_add(Weight::from_parts(262_898, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: PoolFees FeeIdsToPoolBucket (r:1 w:0) - /// Proof: PoolFees FeeIdsToPoolBucket (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) - /// Storage: PoolFees ActiveFees (r:1 w:1) - /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) + /// Storage: `PoolFees::FeeIdsToPoolBucket` (r:1 w:0) + /// Proof: `PoolFees::FeeIdsToPoolBucket` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::ActiveFees` (r:1 w:1) + /// Proof: `PoolFees::ActiveFees` (`max_values`: None, `max_size`: Some(14043), added: 16518, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 99]`. fn uncharge_fee(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `795 + n * (129 ±0)` // Estimated: `17508` - // Minimum execution time: 26_590_000 picoseconds. - Weight::from_parts(25_909_323, 0) + // Minimum execution time: 23_915_000 picoseconds. + Weight::from_parts(23_620_971, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 2_074 - .saturating_add(Weight::from_parts(264_449, 0).saturating_mul(n.into())) + // Standard Error: 2_185 + .saturating_add(Weight::from_parts(260_376, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: PoolFees PortfolioValuation (r:1 w:1) - /// Proof: PoolFees PortfolioValuation (max_values: None, max_size: Some(4850), added: 7325, 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: PoolFees AssetsUnderManagement (r:1 w:0) - /// Proof: PoolFees AssetsUnderManagement (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) - /// Storage: PoolFees ActiveFees (r:1 w:1) - /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) + /// Storage: `PoolSystem::Pool` (r:1 w:0) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::PortfolioValuation` (r:1 w:1) + /// Proof: `PoolFees::PortfolioValuation` (`max_values`: None, `max_size`: Some(4850), added: 7325, 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: `PoolFees::AssetsUnderManagement` (r:1 w:0) + /// Proof: `PoolFees::AssetsUnderManagement` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::ActiveFees` (r:1 w:1) + /// Proof: `PoolFees::ActiveFees` (`max_values`: None, `max_size`: Some(14043), added: 16518, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 100]`. fn update_portfolio_valuation(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `603 + n * (124 ±0)` // Estimated: `17508` - // Minimum execution time: 48_390_000 picoseconds. - Weight::from_parts(41_924_329, 0) + // Minimum execution time: 42_099_000 picoseconds. + Weight::from_parts(39_371_621, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 5_097 - .saturating_add(Weight::from_parts(6_031_986, 0).saturating_mul(n.into())) + // Standard Error: 3_636 + .saturating_add(Weight::from_parts(2_980_612, 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 7e7a0934f9..83b032d6bc 100644 --- a/runtime/development/src/weights/pallet_pool_registry.rs +++ b/runtime/development/src/weights/pallet_pool_registry.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_pool_registry` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_pool_registry // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_pool_registry.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_pool_registry.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,171 +31,171 @@ use core::marker::PhantomData; /// Weight functions for `pallet_pool_registry`. pub struct WeightInfo(PhantomData); impl pallet_pool_registry::WeightInfo for WeightInfo { - /// Storage: PoolRegistry Pools (r:1 w:1) - /// Proof: PoolRegistry Pools (max_values: None, max_size: Some(25), added: 2500, mode: MaxEncodedLen) - /// Storage: PoolSystem Pool (r:1 w:1) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:6 w:5) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: PoolSystem AccountDeposit (r:1 w:1) - /// Proof: PoolSystem AccountDeposit (max_values: None, max_size: Some(64), added: 2539, 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: PoolFees LastFeeId (r:1 w:1) - /// Proof: PoolFees LastFeeId (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: PoolFees FeeIdsToPoolBucket (r:100 w:100) - /// Proof: PoolFees FeeIdsToPoolBucket (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) - /// Storage: PoolFees FeeIds (r:1 w:1) - /// Proof: PoolFees FeeIds (max_values: None, max_size: Some(843), added: 3318, mode: MaxEncodedLen) - /// Storage: PoolFees ActiveFees (r:1 w:1) - /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) - /// Storage: Permissions PermissionCount (r:1 w:1) - /// Proof: Permissions PermissionCount (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) - /// Storage: Permissions Permission (r:1 w:1) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: Loans WriteOffPolicy (r:0 w:1) - /// Proof: Loans WriteOffPolicy (max_values: None, max_size: Some(535), added: 3010, mode: MaxEncodedLen) - /// Storage: PoolSystem PoolDeposit (r:0 w:1) - /// Proof: PoolSystem PoolDeposit (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) + /// Storage: `PoolRegistry::Pools` (r:1 w:1) + /// Proof: `PoolRegistry::Pools` (`max_values`: None, `max_size`: Some(25), added: 2500, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:1) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:6 w:5) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::AccountDeposit` (r:1 w:1) + /// Proof: `PoolSystem::AccountDeposit` (`max_values`: None, `max_size`: Some(64), added: 2539, 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: `PoolFees::LastFeeId` (r:1 w:1) + /// Proof: `PoolFees::LastFeeId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::FeeIdsToPoolBucket` (r:100 w:100) + /// Proof: `PoolFees::FeeIdsToPoolBucket` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::FeeIds` (r:1 w:1) + /// Proof: `PoolFees::FeeIds` (`max_values`: None, `max_size`: Some(843), added: 3318, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::ActiveFees` (r:1 w:1) + /// Proof: `PoolFees::ActiveFees` (`max_values`: None, `max_size`: Some(14043), added: 16518, mode: `MaxEncodedLen`) + /// Storage: `Permissions::PermissionCount` (r:1 w:1) + /// Proof: `Permissions::PermissionCount` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `Permissions::Permission` (r:1 w:1) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `Loans::WriteOffPolicy` (r:0 w:1) + /// Proof: `Loans::WriteOffPolicy` (`max_values`: None, `max_size`: Some(5126), added: 7601, mode: `MaxEncodedLen`) + /// Storage: `PoolRegistry::PoolMetadata` (r:0 w:1) + /// Proof: `PoolRegistry::PoolMetadata` (`max_values`: None, `max_size`: Some(71), added: 2546, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::PoolDeposit` (r:0 w:1) + /// Proof: `PoolSystem::PoolDeposit` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 5]`. /// The range of component `m` is `[0, 100]`. fn register(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `757 + n * (5 ±0)` - // Estimated: `17508 + m * (2508 ±0) + n * (2479 ±0)` - // Minimum execution time: 199_996_000 picoseconds. - Weight::from_parts(80_455_940, 0) + // Measured: `595` + // Estimated: `17508 + m * (2508 ±0) + n * (3417 ±0)` + // Minimum execution time: 207_187_000 picoseconds. + Weight::from_parts(134_932_487, 0) .saturating_add(Weight::from_parts(0, 17508)) - // Standard Error: 89_402 - .saturating_add(Weight::from_parts(27_223_509, 0).saturating_mul(m.into())) + // Standard Error: 83_180 + .saturating_add(Weight::from_parts(24_022_038, 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()))) - .saturating_add(T::DbWeight::get().writes(11)) + .saturating_add(T::DbWeight::get().writes(12)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(m.into()))) .saturating_add(Weight::from_parts(0, 2508).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 2479).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 3417).saturating_mul(n.into())) } - /// Storage: Permissions Permission (r:1 w:0) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: PoolSystem EpochExecution (r:1 w:0) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, 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: 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) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::EpochExecution` (r:1 w:0) + /// Proof: `PoolSystem::EpochExecution` (`max_values`: None, `max_size`: Some(754), added: 3229, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:0) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, 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: `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(1504), added: 3979, 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: `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) + // Minimum execution time: 60_493_000 picoseconds. + Weight::from_parts(50_920_021, 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())) + // Standard Error: 34_654 + .saturating_add(Weight::from_parts(2_983_125, 0).saturating_mul(n.into())) + // Standard Error: 1_581 + .saturating_add(Weight::from_parts(208_639, 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())) } - /// Storage: Permissions Permission (r:1 w:0) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: PoolSystem EpochExecution (r:1 w:0) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) - /// Storage: PoolSystem Pool (r:1 w:1) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, 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: Investments ActiveRedeemOrders (r:5 w:0) - /// 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) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::EpochExecution` (r:1 w:0) + /// Proof: `PoolSystem::EpochExecution` (`max_values`: None, `max_size`: Some(754), added: 3229, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:1) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, 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: `Investments::ActiveRedeemOrders` (r:5 w:0) + /// Proof: `Investments::ActiveRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:5 w:1) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, 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(1504), added: 3979, 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: `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) + // Measured: `960 + m * (124 ±0) + n * (200 ±0)` + // Estimated: `17508 + n * (3417 ±0)` + // Minimum execution time: 100_818_000 picoseconds. + Weight::from_parts(70_751_268, 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()))) + // Standard Error: 41_555 + .saturating_add(Weight::from_parts(10_532_795, 0).saturating_mul(n.into())) + // Standard Error: 1_896 + .saturating_add(Weight::from_parts(220_140, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().reads((2_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())) + .saturating_add(Weight::from_parts(0, 3417).saturating_mul(n.into())) } - /// Storage: PoolSystem Pool (r:1 w:1) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: PoolSystem EpochExecution (r:1 w:0) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) - /// Storage: PoolSystem ScheduledUpdate (r:1 w:1) - /// Proof: PoolSystem ScheduledUpdate (max_values: None, max_size: Some(1019), added: 3494, 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: Investments ActiveRedeemOrders (r:5 w:0) - /// 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::Pool` (r:1 w:1) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::EpochExecution` (r:1 w:0) + /// Proof: `PoolSystem::EpochExecution` (`max_values`: None, `max_size`: Some(754), added: 3229, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::ScheduledUpdate` (r:1 w:1) + /// Proof: `PoolSystem::ScheduledUpdate` (`max_values`: None, `max_size`: Some(1504), added: 3979, 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: `Investments::ActiveRedeemOrders` (r:5 w:0) + /// Proof: `Investments::ActiveRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:5 w:1) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// 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: `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) + // Measured: `948 + m * (124 ±0) + n * (227 ±0)` + // Estimated: `17508 + n * (3417 ±0)` + // Minimum execution time: 92_523_000 picoseconds. + Weight::from_parts(62_401_403, 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()))) + // Standard Error: 45_703 + .saturating_add(Weight::from_parts(11_004_977, 0).saturating_mul(n.into())) + // Standard Error: 2_085 + .saturating_add(Weight::from_parts(214_718, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().reads((2_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())) + .saturating_add(Weight::from_parts(0, 3417).saturating_mul(n.into())) } - /// Storage: Permissions Permission (r:1 w:0) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: PoolRegistry PoolMetadata (r:0 w:1) - /// Proof: PoolRegistry PoolMetadata (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolRegistry::PoolMetadata` (r:0 w:1) + /// Proof: `PoolRegistry::PoolMetadata` (`max_values`: None, `max_size`: Some(71), added: 2546, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 46]`. /// The range of component `m` is `[0, 100]`. fn set_metadata(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `146` // Estimated: `3693` - // Minimum execution time: 22_473_000 picoseconds. - Weight::from_parts(22_771_703, 0) + // Minimum execution time: 18_926_000 picoseconds. + Weight::from_parts(19_576_499, 0) .saturating_add(Weight::from_parts(0, 3693)) - // 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())) + // Standard Error: 670 + .saturating_add(Weight::from_parts(8_248, 0).saturating_mul(n.into())) + // Standard Error: 311 + .saturating_add(Weight::from_parts(21_318, 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 71093e4310..abf51c4efc 100644 --- a/runtime/development/src/weights/pallet_pool_system.rs +++ b/runtime/development/src/weights/pallet_pool_system.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_pool_system` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_pool_system // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_pool_system.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_pool_system.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,253 +31,259 @@ use core::marker::PhantomData; /// Weight functions for `pallet_pool_system`. pub struct WeightInfo(PhantomData); impl pallet_pool_system::WeightInfo for WeightInfo { - /// Storage: Permissions Permission (r:1 w:0) - /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) - /// Storage: PoolSystem Pool (r:1 w:1) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:1) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) /// The range of component `m` is `[0, 100]`. fn set_max_reserve(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `592` + // Measured: `554` // Estimated: `4278` - // Minimum execution time: 28_233_000 picoseconds. - Weight::from_parts(28_951_685, 0) + // Minimum execution time: 24_495_000 picoseconds. + Weight::from_parts(25_394_511, 0) .saturating_add(Weight::from_parts(0, 4278)) - // Standard Error: 408 - .saturating_add(Weight::from_parts(28_142, 0).saturating_mul(m.into())) + // Standard Error: 442 + .saturating_add(Weight::from_parts(28_512, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: PoolSystem Pool (r:1 w:1) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: PoolSystem EpochExecution (r:1 w:0) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, 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:1 w:0) - /// 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) - /// Proof: PoolFees AssetsUnderManagement (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) - /// Storage: PoolFees ActiveFees (r:1 w:1) - /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) - /// Storage: OrmlTokens TotalIssuance (r:5 w:0) - /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: Investments ActiveInvestOrders (r:5 w:5) - /// Proof: Investments ActiveInvestOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InProcessingInvestOrders (r:5 w:5) - /// Proof: Investments InProcessingInvestOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InvestOrderId (r:5 w:5) - /// Proof: Investments InvestOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Investments ActiveRedeemOrders (r:5 w:5) - /// Proof: Investments ActiveRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InProcessingRedeemOrders (r:5 w:5) - /// Proof: Investments InProcessingRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments RedeemOrderId (r:5 w:5) - /// Proof: Investments RedeemOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:5 w:0) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: Investments ClearedInvestOrders (r:0 w:5) - /// Proof: Investments ClearedInvestOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) - /// Storage: Investments ClearedRedeemOrders (r:0 w:5) - /// Proof: Investments ClearedRedeemOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:1) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::EpochExecution` (r:1 w:0) + /// Proof: `PoolSystem::EpochExecution` (`max_values`: None, `max_size`: Some(754), added: 3229, 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:1 w:0) + /// 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) + /// Proof: `PoolFees::AssetsUnderManagement` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::ActiveFees` (r:1 w:1) + /// Proof: `PoolFees::ActiveFees` (`max_values`: None, `max_size`: Some(14043), added: 16518, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::TotalIssuance` (r:5 w:0) + /// Proof: `OrmlTokens::TotalIssuance` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Investments::ActiveInvestOrders` (r:5 w:5) + /// Proof: `Investments::ActiveInvestOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InProcessingInvestOrders` (r:5 w:5) + /// Proof: `Investments::InProcessingInvestOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InvestOrderId` (r:5 w:5) + /// Proof: `Investments::InvestOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Investments::ActiveRedeemOrders` (r:5 w:5) + /// Proof: `Investments::ActiveRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InProcessingRedeemOrders` (r:5 w:5) + /// Proof: `Investments::InProcessingRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::RedeemOrderId` (r:5 w:5) + /// Proof: `Investments::RedeemOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:5 w:0) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `Investments::ClearedInvestOrders` (r:0 w:5) + /// Proof: `Investments::ClearedInvestOrders` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `Investments::ClearedRedeemOrders` (r:0 w:5) + /// Proof: `Investments::ClearedRedeemOrders` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 5]`. /// The range of component `m` is `[1, 100]`. fn close_epoch_no_orders(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1425 + m * (124 ±0) + n * (175 ±0)` + // Measured: `1216 + m * (124 ±0) + n * (133 ±0)` // Estimated: `27515 + n * (2604 ±0)` - // Minimum execution time: 488_026_000 picoseconds. - Weight::from_parts(85_726_776, 0) + // Minimum execution time: 436_896_000 picoseconds. + Weight::from_parts(81_585_373, 0) .saturating_add(Weight::from_parts(0, 27515)) - // 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)) + // Standard Error: 123_362 + .saturating_add(Weight::from_parts(71_083_398, 0).saturating_mul(n.into())) + // Standard Error: 5_697 + .saturating_add(Weight::from_parts(3_386_226, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((8_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((8_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 2604).saturating_mul(n.into())) } - /// Storage: PoolSystem Pool (r:1 w:1) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: PoolSystem EpochExecution (r:1 w:1) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, 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:1 w:0) - /// 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) - /// Proof: PoolFees AssetsUnderManagement (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) - /// Storage: PoolFees ActiveFees (r:1 w:1) - /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) - /// Storage: OrmlTokens TotalIssuance (r:5 w:0) - /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: Investments ActiveInvestOrders (r:5 w:5) - /// Proof: Investments ActiveInvestOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InProcessingInvestOrders (r:5 w:5) - /// Proof: Investments InProcessingInvestOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InvestOrderId (r:5 w:5) - /// Proof: Investments InvestOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Investments ActiveRedeemOrders (r:5 w:5) - /// Proof: Investments ActiveRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InProcessingRedeemOrders (r:5 w:5) - /// Proof: Investments InProcessingRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments RedeemOrderId (r:5 w:5) - /// Proof: Investments RedeemOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:1) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::EpochExecution` (r:1 w:1) + /// Proof: `PoolSystem::EpochExecution` (`max_values`: None, `max_size`: Some(754), added: 3229, 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:1 w:0) + /// 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) + /// Proof: `PoolFees::AssetsUnderManagement` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::ActiveFees` (r:1 w:1) + /// Proof: `PoolFees::ActiveFees` (`max_values`: None, `max_size`: Some(14043), added: 16518, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::TotalIssuance` (r:5 w:0) + /// Proof: `OrmlTokens::TotalIssuance` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Investments::ActiveInvestOrders` (r:5 w:5) + /// Proof: `Investments::ActiveInvestOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InProcessingInvestOrders` (r:5 w:5) + /// Proof: `Investments::InProcessingInvestOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InvestOrderId` (r:5 w:5) + /// Proof: `Investments::InvestOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Investments::ActiveRedeemOrders` (r:5 w:5) + /// Proof: `Investments::ActiveRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InProcessingRedeemOrders` (r:5 w:5) + /// Proof: `Investments::InProcessingRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::RedeemOrderId` (r:5 w:5) + /// Proof: `Investments::RedeemOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 5]`. /// The range of component `m` is `[0, 100]`. fn close_epoch_no_execution(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1276 + m * (124 ±0) + n * (133 ±0)` + // Measured: `1428 + m * (124 ±0) + n * (133 ±0)` // Estimated: `27515 + n * (2531 ±0)` - // Minimum execution time: 247_905_000 picoseconds. - Weight::from_parts(89_711_306, 0) + // Minimum execution time: 223_157_000 picoseconds. + Weight::from_parts(91_267_466, 0) .saturating_add(Weight::from_parts(0, 27515)) - // 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)) + // Standard Error: 84_017 + .saturating_add(Weight::from_parts(27_905_302, 0).saturating_mul(n.into())) + // Standard Error: 3_834 + .saturating_add(Weight::from_parts(3_184_077, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 2531).saturating_mul(n.into())) } - /// Storage: PoolSystem Pool (r:1 w:1) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: PoolSystem EpochExecution (r:1 w:0) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, 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:1 w:0) - /// 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) - /// Proof: PoolFees AssetsUnderManagement (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) - /// Storage: PoolFees ActiveFees (r:1 w:1) - /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) - /// Storage: OrmlTokens TotalIssuance (r:5 w:1) - /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: Investments ActiveInvestOrders (r:5 w:5) - /// Proof: Investments ActiveInvestOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InProcessingInvestOrders (r:5 w:5) - /// Proof: Investments InProcessingInvestOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InvestOrderId (r:5 w:5) - /// Proof: Investments InvestOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Investments ActiveRedeemOrders (r:5 w:5) - /// Proof: Investments ActiveRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InProcessingRedeemOrders (r:5 w:5) - /// Proof: Investments InProcessingRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments RedeemOrderId (r:5 w:5) - /// Proof: Investments RedeemOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:7 w:3) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Investments ClearedInvestOrders (r:0 w:5) - /// Proof: Investments ClearedInvestOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) - /// Storage: Investments ClearedRedeemOrders (r:0 w:5) - /// Proof: Investments ClearedRedeemOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:1) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::EpochExecution` (r:1 w:0) + /// Proof: `PoolSystem::EpochExecution` (`max_values`: None, `max_size`: Some(754), added: 3229, 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:1 w:0) + /// 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) + /// Proof: `PoolFees::AssetsUnderManagement` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::ActiveFees` (r:1 w:1) + /// Proof: `PoolFees::ActiveFees` (`max_values`: None, `max_size`: Some(14043), added: 16518, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::TotalIssuance` (r:5 w:1) + /// Proof: `OrmlTokens::TotalIssuance` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Investments::ActiveInvestOrders` (r:5 w:5) + /// Proof: `Investments::ActiveInvestOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InProcessingInvestOrders` (r:5 w:5) + /// Proof: `Investments::InProcessingInvestOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InvestOrderId` (r:5 w:5) + /// Proof: `Investments::InvestOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Investments::ActiveRedeemOrders` (r:5 w:5) + /// Proof: `Investments::ActiveRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InProcessingRedeemOrders` (r:5 w:5) + /// Proof: `Investments::InProcessingRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::RedeemOrderId` (r:5 w:5) + /// Proof: `Investments::RedeemOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:7 w:3) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:2 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Investments::ClearedInvestOrders` (r:0 w:5) + /// Proof: `Investments::ClearedInvestOrders` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `Investments::ClearedRedeemOrders` (r:0 w:5) + /// Proof: `Investments::ClearedRedeemOrders` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 5]`. /// The range of component `m` is `[0, 100]`. fn close_epoch_execute(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2462 + m * (124 ±0) + n * (197 ±0)` - // Estimated: `27515 + m * (124 ±0) + n * (2604 ±0)` - // Minimum execution time: 599_265_000 picoseconds. - Weight::from_parts(196_920_651, 0) + // Measured: `2120 + m * (124 ±0) + n * (167 ±0)` + // Estimated: `27515 + n * (2604 ±0)` + // Minimum execution time: 531_753_000 picoseconds. + Weight::from_parts(177_037_674, 0) .saturating_add(Weight::from_parts(0, 27515)) - // 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)) + // Standard Error: 151_845 + .saturating_add(Weight::from_parts(73_612_531, 0).saturating_mul(n.into())) + // Standard Error: 6_929 + .saturating_add(Weight::from_parts(3_395_975, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().reads((8_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(10)) .saturating_add(T::DbWeight::get().writes((8_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 124).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 2604).saturating_mul(n.into())) } - /// Storage: PoolSystem EpochExecution (r:1 w:1) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, 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::EpochExecution` (r:1 w:1) + /// Proof: `PoolSystem::EpochExecution` (`max_values`: None, `max_size`: Some(754), added: 3229, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:0) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// 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 submit_solution(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `821 + m * (124 ±0) + n * (249 ±0)` // Estimated: `17508` - // Minimum execution time: 41_467_000 picoseconds. - Weight::from_parts(36_167_525, 0) + // Minimum execution time: 39_494_000 picoseconds. + Weight::from_parts(34_485_549, 0) .saturating_add(Weight::from_parts(0, 17508)) - // 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())) + // Standard Error: 33_558 + .saturating_add(Weight::from_parts(1_408_318, 0).saturating_mul(n.into())) + // Standard Error: 1_531 + .saturating_add(Weight::from_parts(202_749, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: PoolSystem EpochExecution (r:1 w:1) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) - /// Storage: PoolSystem Pool (r:1 w:1) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: PoolFees ActiveFees (r:1 w:1) - /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) - /// Storage: Investments InProcessingInvestOrders (r:5 w:5) - /// Proof: Investments InProcessingInvestOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:7 w:3) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: OrmlTokens TotalIssuance (r:1 w:1) - /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: Investments InvestOrderId (r:5 w:0) - /// Proof: Investments InvestOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Investments ActiveInvestOrders (r:5 w:5) - /// Proof: Investments ActiveInvestOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments InProcessingRedeemOrders (r:5 w:5) - /// Proof: Investments InProcessingRedeemOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Investments RedeemOrderId (r:5 w:0) - /// Proof: Investments RedeemOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Investments ActiveRedeemOrders (r:5 w:5) - /// Proof: Investments ActiveRedeemOrders (max_values: None, max_size: Some(56), added: 2531, 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: Investments ClearedInvestOrders (r:0 w:5) - /// Proof: Investments ClearedInvestOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) - /// Storage: Investments ClearedRedeemOrders (r:0 w:5) - /// Proof: Investments ClearedRedeemOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) + /// Storage: `Permissions::Permission` (r:1 w:0) + /// Proof: `Permissions::Permission` (`max_values`: None, `max_size`: Some(228), added: 2703, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::EpochExecution` (r:1 w:1) + /// Proof: `PoolSystem::EpochExecution` (`max_values`: None, `max_size`: Some(754), added: 3229, mode: `MaxEncodedLen`) + /// Storage: `PoolSystem::Pool` (r:1 w:1) + /// Proof: `PoolSystem::Pool` (`max_values`: None, `max_size`: Some(813), added: 3288, mode: `MaxEncodedLen`) + /// Storage: `PoolFees::ActiveFees` (r:1 w:1) + /// Proof: `PoolFees::ActiveFees` (`max_values`: None, `max_size`: Some(14043), added: 16518, mode: `MaxEncodedLen`) + /// Storage: `Investments::InProcessingInvestOrders` (r:5 w:5) + /// Proof: `Investments::InProcessingInvestOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:7 w:3) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:2 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::TotalIssuance` (r:1 w:1) + /// Proof: `OrmlTokens::TotalIssuance` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Investments::InvestOrderId` (r:5 w:0) + /// Proof: `Investments::InvestOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Investments::ActiveInvestOrders` (r:5 w:5) + /// Proof: `Investments::ActiveInvestOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::InProcessingRedeemOrders` (r:5 w:5) + /// Proof: `Investments::InProcessingRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Investments::RedeemOrderId` (r:5 w:0) + /// Proof: `Investments::RedeemOrderId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Investments::ActiveRedeemOrders` (r:5 w:5) + /// Proof: `Investments::ActiveRedeemOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, 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: `Investments::ClearedInvestOrders` (r:0 w:5) + /// Proof: `Investments::ClearedInvestOrders` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `Investments::ClearedRedeemOrders` (r:0 w:5) + /// Proof: `Investments::ClearedRedeemOrders` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 5]`. /// The range of component `m` is `[0, 100]`. fn execute_epoch(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2359 + m * (124 ±0) + n * (671 ±0)` - // Estimated: `17508 + m * (124 ±0) + n * (2604 ±0)` - // Minimum execution time: 255_491_000 picoseconds. - Weight::from_parts(159_932_357, 0) + // Measured: `2042 + m * (124 ±0) + n * (633 ±0)` + // Estimated: `17508 + n * (2604 ±0)` + // Minimum execution time: 241_661_000 picoseconds. + Weight::from_parts(150_024_240, 0) .saturating_add(Weight::from_parts(0, 17508)) - // 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)) + // Standard Error: 92_293 + .saturating_add(Weight::from_parts(55_452_128, 0).saturating_mul(n.into())) + // Standard Error: 4_211 + .saturating_add(Weight::from_parts(392_999, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(9)) .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 124).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 2604).saturating_mul(n.into())) } } diff --git a/runtime/development/src/weights/pallet_preimage.rs b/runtime/development/src/weights/pallet_preimage.rs index b83edd57e2..f7f83d8228 100644 --- a/runtime/development/src/weights/pallet_preimage.rs +++ b/runtime/development/src/weights/pallet_preimage.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_preimage` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_preimage // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_preimage.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_preimage.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,173 +31,219 @@ use core::marker::PhantomData; /// Weight functions for `pallet_preimage`. pub struct WeightInfo(PhantomData); impl pallet_preimage::WeightInfo for WeightInfo { - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `178` - // Estimated: `3556` - // Minimum execution time: 41_548_000 picoseconds. - Weight::from_parts(547_954_960, 0) - .saturating_add(Weight::from_parts(0, 3556)) - // 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)) + // Measured: `76` + // Estimated: `3568` + // Minimum execution time: 67_957_000 picoseconds. + Weight::from_parts(68_688_000, 0) + .saturating_add(Weight::from_parts(0, 3568)) + // Standard Error: 10 + .saturating_add(Weight::from_parts(2_734, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 22_382_000 picoseconds. - Weight::from_parts(22_813_000, 0) + // Minimum execution time: 22_232_000 picoseconds. + Weight::from_parts(22_442_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 4 - .saturating_add(Weight::from_parts(2_665, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Standard Error: 9 + .saturating_add(Weight::from_parts(2_861, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 21_560_000 picoseconds. - Weight::from_parts(59_253_289, 0) + // Minimum execution time: 21_240_000 picoseconds. + Weight::from_parts(21_380_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 8 - .saturating_add(Weight::from_parts(2_620, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Standard Error: 10 + .saturating_add(Weight::from_parts(2_811, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `324` - // Estimated: `3556` - // 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)) + // Measured: `277` + // Estimated: `3568` + // Minimum execution time: 67_567_000 picoseconds. + Weight::from_parts(71_203_000, 0) + .saturating_add(Weight::from_parts(0, 3568)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 27_011_000 picoseconds. - Weight::from_parts(31_429_000, 0) + // Minimum execution time: 29_836_000 picoseconds. + Weight::from_parts(31_940_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `222` // Estimated: `3556` - // Minimum execution time: 23_394_000 picoseconds. - Weight::from_parts(28_213_000, 0) + // Minimum execution time: 22_872_000 picoseconds. + Weight::from_parts(24_416_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 13_114_000 picoseconds. - Weight::from_parts(14_517_000, 0) + // Minimum execution time: 17_282_000 picoseconds. + Weight::from_parts(18_875_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3556` - // Minimum execution time: 19_617_000 picoseconds. - Weight::from_parts(20_849_000, 0) + // Minimum execution time: 18_846_000 picoseconds. + Weight::from_parts(19_627_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_requested_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 11_482_000 picoseconds. - Weight::from_parts(11_903_000, 0) + // Minimum execution time: 13_816_000 picoseconds. + Weight::from_parts(14_387_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unrequest_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 26_269_000 picoseconds. - Weight::from_parts(30_888_000, 0) + // Minimum execution time: 25_207_000 picoseconds. + Weight::from_parts(26_880_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn unrequest_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 11_612_000 picoseconds. - Weight::from_parts(12_053_000, 0) + // Minimum execution time: 13_846_000 picoseconds. + Weight::from_parts(14_167_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn unrequest_multi_referenced_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 11_431_000 picoseconds. - Weight::from_parts(11_793_000, 0) + // Minimum execution time: 13_835_000 picoseconds. + Weight::from_parts(14_246_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - - fn ensure_updated(_: u32) -> cumulus_primitives_core::Weight { - Weight::default() - } + /// Storage: `Preimage::StatusFor` (r:1023 w:1023) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1023 w:1023) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1023 w:1023) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:0 w:1023) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// The range of component `n` is `[1, 1024]`. + fn ensure_updated(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `404 + n * (227 ±0)` + // Estimated: `990 + n * (2603 ±0)` + // Minimum execution time: 77_144_000 picoseconds. + Weight::from_parts(77_675_000, 0) + .saturating_add(Weight::from_parts(0, 990)) + // Standard Error: 35_892 + .saturating_add(Weight::from_parts(75_015_178, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_parts(0, 2603).saturating_mul(n.into())) + } } diff --git a/runtime/development/src/weights/pallet_proxy.rs b/runtime/development/src/weights/pallet_proxy.rs index 63d6da424a..416c369eb9 100644 --- a/runtime/development/src/weights/pallet_proxy.rs +++ b/runtime/development/src/weights/pallet_proxy.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_proxy` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_proxy // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_proxy.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_proxy.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,172 +31,172 @@ use core::marker::PhantomData; /// Weight functions for `pallet_proxy`. pub struct WeightInfo(PhantomData); impl pallet_proxy::WeightInfo for WeightInfo { - /// Storage: Proxy Proxies (r:1 w:0) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:0) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. fn proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 22_021_000 picoseconds. - Weight::from_parts(22_864_348, 0) + // Minimum execution time: 18_384_000 picoseconds. + Weight::from_parts(19_097_838, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_185 - .saturating_add(Weight::from_parts(52_255, 0).saturating_mul(p.into())) + // Standard Error: 1_242 + .saturating_add(Weight::from_parts(47_304, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } - /// Storage: Proxy Proxies (r:1 w:0) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:0) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `620 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 51_607_000 picoseconds. - Weight::from_parts(51_796_899, 0) + // Minimum execution time: 48_761_000 picoseconds. + Weight::from_parts(49_720_241, 0) .saturating_add(Weight::from_parts(0, 5698)) - // 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())) + // Standard Error: 4_236 + .saturating_add(Weight::from_parts(198_243, 0).saturating_mul(a.into())) + // Standard Error: 4_377 + .saturating_add(Weight::from_parts(27_827, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn remove_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `535 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 33_192_000 picoseconds. - Weight::from_parts(34_247_959, 0) + // Minimum execution time: 31_219_000 picoseconds. + Weight::from_parts(32_252_523, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 2_051 - .saturating_add(Weight::from_parts(211_748, 0).saturating_mul(a.into())) + // Standard Error: 1_985 + .saturating_add(Weight::from_parts(226_389, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn reject_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `535 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 32_881_000 picoseconds. - Weight::from_parts(34_081_692, 0) + // Minimum execution time: 30_968_000 picoseconds. + Weight::from_parts(32_225_799, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 2_117 - .saturating_add(Weight::from_parts(214_356, 0).saturating_mul(a.into())) + // Standard Error: 1_898 + .saturating_add(Weight::from_parts(222_682, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Proxies (r:1 w:0) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:0) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn announce(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `552 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 45_746_000 picoseconds. - Weight::from_parts(46_034_362, 0) + // Minimum execution time: 41_467_000 picoseconds. + Weight::from_parts(43_094_252, 0) .saturating_add(Weight::from_parts(0, 5698)) - // 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())) + // Standard Error: 4_013 + .saturating_add(Weight::from_parts(218_559, 0).saturating_mul(a.into())) + // Standard Error: 4_146 + .saturating_add(Weight::from_parts(44_158, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Proxies (r:1 w:1) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:1) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. fn add_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 34_856_000 picoseconds. - Weight::from_parts(35_665_629, 0) + // Minimum execution time: 29_695_000 picoseconds. + Weight::from_parts(30_725_974, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_181 - .saturating_add(Weight::from_parts(42_996, 0).saturating_mul(p.into())) + // Standard Error: 1_268 + .saturating_add(Weight::from_parts(41_910, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Proxy Proxies (r:1 w:1) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:1) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. fn remove_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 34_365_000 picoseconds. - Weight::from_parts(36_021_565, 0) + // Minimum execution time: 29_635_000 picoseconds. + Weight::from_parts(31_078_426, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 2_305 - .saturating_add(Weight::from_parts(42_028, 0).saturating_mul(p.into())) + // Standard Error: 2_453 + .saturating_add(Weight::from_parts(33_692, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Proxy Proxies (r:1 w:1) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:1) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. fn remove_proxies(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 31_048_000 picoseconds. - Weight::from_parts(31_959_271, 0) + // Minimum execution time: 28_854_000 picoseconds. + Weight::from_parts(29_891_464, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_370 - .saturating_add(Weight::from_parts(41_038, 0).saturating_mul(p.into())) + // Standard Error: 1_510 + .saturating_add(Weight::from_parts(34_316, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Proxy Proxies (r:1 w:1) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:1) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. fn create_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `305` // Estimated: `4706` - // Minimum execution time: 38_021_000 picoseconds. - Weight::from_parts(39_065_754, 0) + // Minimum execution time: 31_980_000 picoseconds. + Weight::from_parts(33_124_220, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_468 - .saturating_add(Weight::from_parts(17_337, 0).saturating_mul(p.into())) + // Standard Error: 1_545 + .saturating_add(Weight::from_parts(9_586, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Proxy Proxies (r:1 w:1) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:1) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 30]`. fn kill_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `330 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 32_300_000 picoseconds. - Weight::from_parts(33_718_715, 0) + // Minimum execution time: 29_976_000 picoseconds. + Weight::from_parts(31_111_792, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_720 - .saturating_add(Weight::from_parts(29_996, 0).saturating_mul(p.into())) + // Standard Error: 1_519 + .saturating_add(Weight::from_parts(40_969, 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 db89aba8fe..8e7c1cf3bd 100644 --- a/runtime/development/src/weights/pallet_remarks.rs +++ b/runtime/development/src/weights/pallet_remarks.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_remarks` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_remarks // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_remarks.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_remarks.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -37,10 +36,10 @@ impl pallet_remarks::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 16_872_000 picoseconds. - Weight::from_parts(17_442_789, 0) + // Minimum execution time: 12_233_000 picoseconds. + Weight::from_parts(12_745_452, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_718 - .saturating_add(Weight::from_parts(120_160, 0).saturating_mul(n.into())) + // Standard Error: 2_323 + .saturating_add(Weight::from_parts(129_352, 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 cc29d05c60..83f01b7679 100644 --- a/runtime/development/src/weights/pallet_restricted_tokens.rs +++ b/runtime/development/src/weights/pallet_restricted_tokens.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_restricted_tokens` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_restricted_tokens // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_restricted_tokens.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_restricted_tokens.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,157 +31,157 @@ use core::marker::PhantomData; /// Weight functions for `pallet_restricted_tokens`. pub struct WeightInfo(PhantomData); impl pallet_restricted_tokens::WeightInfo for WeightInfo { - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:2 w:0) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_native() -> Weight { // Proof Size summary in bytes: // Measured: `505` // Estimated: `6124` - // Minimum execution time: 93_275_000 picoseconds. - Weight::from_parts(94_888_000, 0) + // Minimum execution time: 82_273_000 picoseconds. + Weight::from_parts(83_316_000, 0) .saturating_add(Weight::from_parts(0, 6124)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:2 w:2) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:2 w:0) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:2 w:2) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_other() -> Weight { // Proof Size summary in bytes: - // Measured: `1507` + // Measured: `856` // Estimated: `6198` - // Minimum execution time: 86_031_000 picoseconds. - Weight::from_parts(87_334_000, 0) + // Minimum execution time: 66_654_000 picoseconds. + Weight::from_parts(67_506_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:2 w:0) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive_native() -> Weight { // Proof Size summary in bytes: // Measured: `505` // Estimated: `6124` - // Minimum execution time: 80_842_000 picoseconds. - Weight::from_parts(81_703_000, 0) + // Minimum execution time: 71_644_000 picoseconds. + Weight::from_parts(73_167_000, 0) .saturating_add(Weight::from_parts(0, 6124)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:2 w:2) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:2 w:0) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:2 w:2) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive_other() -> Weight { // Proof Size summary in bytes: - // Measured: `1404` + // Measured: `753` // Estimated: `6198` - // Minimum execution time: 81_634_000 picoseconds. - Weight::from_parts(82_725_000, 0) + // Minimum execution time: 61_605_000 picoseconds. + Weight::from_parts(63_288_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:2 w:0) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_all_native() -> Weight { // Proof Size summary in bytes: // Measured: `505` // Estimated: `6124` - // Minimum execution time: 96_992_000 picoseconds. - Weight::from_parts(98_805_000, 0) + // Minimum execution time: 85_871_000 picoseconds. + Weight::from_parts(87_754_000, 0) .saturating_add(Weight::from_parts(0, 6124)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: OrmlTokens Accounts (r:2 w:2) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `OrmlTokens::Accounts` (r:2 w:2) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:2 w:0) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_all_other() -> Weight { // Proof Size summary in bytes: - // Measured: `1507` + // Measured: `856` // Estimated: `6198` - // Minimum execution time: 90_630_000 picoseconds. - Weight::from_parts(91_722_000, 0) + // Minimum execution time: 70_893_000 picoseconds. + Weight::from_parts(71_895_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_transfer_native() -> Weight { // Proof Size summary in bytes: // Measured: `259` // Estimated: `3593` - // Minimum execution time: 85_660_000 picoseconds. - Weight::from_parts(86_452_000, 0) + // Minimum execution time: 72_526_000 picoseconds. + Weight::from_parts(74_039_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: OrmlTokens Accounts (r:2 w:2) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `OrmlTokens::Accounts` (r:2 w:2) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_transfer_other() -> Weight { // Proof Size summary in bytes: - // Measured: `1261` + // Measured: `610` // Estimated: `6198` - // Minimum execution time: 77_095_000 picoseconds. - Weight::from_parts(78_347_000, 0) + // Minimum execution time: 53_661_000 picoseconds. + Weight::from_parts(55_263_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Balances Holds (r:1 w:1) - /// Proof: Balances Holds (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn set_balance_native() -> Weight { // Proof Size summary in bytes: - // Measured: `298` - // Estimated: `3674` - // Minimum execution time: 169_979_000 picoseconds. - Weight::from_parts(171_382_000, 0) - .saturating_add(Weight::from_parts(0, 3674)) + // Measured: `300` + // Estimated: `3593` + // Minimum execution time: 157_094_000 picoseconds. + Weight::from_parts(159_549_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: OrmlTokens Accounts (r:1 w:1) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrmlTokens TotalIssuance (r:1 w:1) - /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `OrmlTokens::Accounts` (r:1 w:1) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:1 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::TotalIssuance` (r:1 w:1) + /// Proof: `OrmlTokens::TotalIssuance` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn set_balance_other() -> Weight { // Proof Size summary in bytes: - // Measured: `1000` - // Estimated: `4465` - // Minimum execution time: 118_192_000 picoseconds. - Weight::from_parts(119_845_000, 0) - .saturating_add(Weight::from_parts(0, 4465)) + // Measured: `400` + // Estimated: `4407` + // Minimum execution time: 91_301_000 picoseconds. + Weight::from_parts(92_442_000, 0) + .saturating_add(Weight::from_parts(0, 4407)) .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 6470dd3235..41579f944a 100644 --- a/runtime/development/src/weights/pallet_scheduler.rs +++ b/runtime/development/src/weights/pallet_scheduler.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_scheduler` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_scheduler // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_scheduler.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_scheduler.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,30 +31,30 @@ use core::marker::PhantomData; /// Weight functions for `pallet_scheduler`. pub struct WeightInfo(PhantomData); impl pallet_scheduler::WeightInfo for WeightInfo { - /// Storage: Scheduler IncompleteSince (r:1 w:1) - /// Proof: Scheduler IncompleteSince (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: `Scheduler::IncompleteSince` (r:1 w:1) + /// Proof: `Scheduler::IncompleteSince` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn service_agendas_base() -> Weight { // Proof Size summary in bytes: // Measured: `31` // Estimated: `1489` - // Minimum execution time: 4_890_000 picoseconds. - Weight::from_parts(5_160_000, 0) + // Minimum execution time: 3_968_000 picoseconds. + Weight::from_parts(4_148_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 4_869_000 picoseconds. - Weight::from_parts(7_401_777, 0) + // Minimum execution time: 5_249_000 picoseconds. + Weight::from_parts(8_455_668, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_942 - .saturating_add(Weight::from_parts(1_180_604, 0).saturating_mul(s.into())) + // Standard Error: 3_978 + .saturating_add(Weight::from_parts(613_461, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -63,36 +62,38 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_465_000 picoseconds. - Weight::from_parts(8_646_000, 0) + // Minimum execution time: 4_970_000 picoseconds. + Weight::from_parts(5_120_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: Preimage PreimageFor (r:1 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: Measured) - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::PreimageFor` (r:1 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `Measured`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `213 + s * (1 ±0)` // Estimated: `3678 + s * (1 ±0)` - // Minimum execution time: 28_544_000 picoseconds. - Weight::from_parts(52_629_661, 0) + // Minimum execution time: 25_228_000 picoseconds. + Weight::from_parts(25_808_000, 0) .saturating_add(Weight::from_parts(0, 3678)) - // Standard Error: 8 - .saturating_add(Weight::from_parts(1_037, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Standard Error: 14 + .saturating_add(Weight::from_parts(1_379, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) } - /// Storage: Scheduler Lookup (r:0 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn service_task_named() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_439_000 picoseconds. - Weight::from_parts(10_840_000, 0) + // Minimum execution time: 7_264_000 picoseconds. + Weight::from_parts(7_554_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -100,89 +101,89 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_456_000 picoseconds. - Weight::from_parts(8_747_000, 0) + // Minimum execution time: 4_899_000 picoseconds. + Weight::from_parts(5_200_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_448_000 picoseconds. - Weight::from_parts(4_699_000, 0) + // Minimum execution time: 3_887_000 picoseconds. + Weight::from_parts(4_138_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_288_000 picoseconds. - Weight::from_parts(4_559_000, 0) + // Minimum execution time: 3_867_000 picoseconds. + Weight::from_parts(4_028_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 19_115_000 picoseconds. - Weight::from_parts(21_727_436, 0) + // Minimum execution time: 14_648_000 picoseconds. + Weight::from_parts(17_990_542, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_706 - .saturating_add(Weight::from_parts(1_182_303, 0).saturating_mul(s.into())) + // Standard Error: 4_276 + .saturating_add(Weight::from_parts(629_105, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) - /// Storage: Scheduler Lookup (r:0 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 25_217_000 picoseconds. - Weight::from_parts(21_904_236, 0) + // Minimum execution time: 20_208_000 picoseconds. + Weight::from_parts(18_944_972, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 5_129 - .saturating_add(Weight::from_parts(2_160_535, 0).saturating_mul(s.into())) + // Standard Error: 5_325 + .saturating_add(Weight::from_parts(974_711, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `255 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 23_675_000 picoseconds. - Weight::from_parts(27_184_135, 0) + // Minimum execution time: 19_917_000 picoseconds. + Weight::from_parts(24_367_159, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 4_101 - .saturating_add(Weight::from_parts(1_211_083, 0).saturating_mul(s.into())) + // Standard Error: 4_143 + .saturating_add(Weight::from_parts(664_976, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `281 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 26_840_000 picoseconds. - Weight::from_parts(24_464_029, 0) + // Minimum execution time: 23_364_000 picoseconds. + Weight::from_parts(22_474_466, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 4_805 - .saturating_add(Weight::from_parts(2_194_904, 0).saturating_mul(s.into())) + // Standard Error: 5_379 + .saturating_add(Weight::from_parts(1_009_547, 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 270db5fca0..e5e44ff9f0 100644 --- a/runtime/development/src/weights/pallet_session.rs +++ b/runtime/development/src/weights/pallet_session.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_session` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_session // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_session.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_session.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,30 +31,30 @@ use core::marker::PhantomData; /// Weight functions for `pallet_session`. pub struct WeightInfo(PhantomData); impl pallet_session::WeightInfo for WeightInfo { - /// Storage: Session NextKeys (r:1 w:1) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: Session KeyOwner (r:1 w:1) - /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) + /// Storage: `Session::NextKeys` (r:1 w:1) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Session::KeyOwner` (r:1 w:1) + /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_keys() -> Weight { // Proof Size summary in bytes: // Measured: `308` // Estimated: `3773` - // Minimum execution time: 26_599_000 picoseconds. - Weight::from_parts(27_121_000, 0) + // Minimum execution time: 29_145_000 picoseconds. + Weight::from_parts(29_686_000, 0) .saturating_add(Weight::from_parts(0, 3773)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Session NextKeys (r:1 w:1) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: Session KeyOwner (r:0 w:1) - /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) + /// Storage: `Session::NextKeys` (r:1 w:1) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Session::KeyOwner` (r:0 w:1) + /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn purge_keys() -> Weight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 17_763_000 picoseconds. - Weight::from_parts(18_334_000, 0) + // Minimum execution time: 18_775_000 picoseconds. + Weight::from_parts(19_285_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 df4b27dcae..245c250d58 100644 --- a/runtime/development/src/weights/pallet_timestamp.rs +++ b/runtime/development/src/weights/pallet_timestamp.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_timestamp` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_timestamp // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_timestamp.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_timestamp.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,16 +31,16 @@ use core::marker::PhantomData; /// Weight functions for `pallet_timestamp`. pub struct WeightInfo(PhantomData); impl pallet_timestamp::WeightInfo for WeightInfo { - /// Storage: Timestamp Now (r:1 w:1) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Aura CurrentSlot (r:1 w:0) - /// Proof: Aura CurrentSlot (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: `Timestamp::Now` (r:1 w:1) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Aura::CurrentSlot` (r:1 w:0) + /// Proof: `Aura::CurrentSlot` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn set() -> Weight { // Proof Size summary in bytes: - // Measured: `256` + // Measured: `223` // Estimated: `1493` - // Minimum execution time: 12_534_000 picoseconds. - Weight::from_parts(12_884_000, 0) + // Minimum execution time: 10_469_000 picoseconds. + Weight::from_parts(10_830_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 +49,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `128` // Estimated: `0` - // Minimum execution time: 5_220_000 picoseconds. - Weight::from_parts(5_310_000, 0) + // Minimum execution time: 4_629_000 picoseconds. + Weight::from_parts(4_799_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 cdfacd2ca9..a949d39389 100644 --- a/runtime/development/src/weights/pallet_token_mux.rs +++ b/runtime/development/src/weights/pallet_token_mux.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_token_mux` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_token_mux // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_token_mux.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_token_mux.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,62 +31,62 @@ use core::marker::PhantomData; /// Weight functions for `pallet_token_mux`. pub struct WeightInfo(PhantomData); impl pallet_token_mux::WeightInfo for WeightInfo { - /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrmlTokens Accounts (r:3 w:3) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: OrmlTokens TotalIssuance (r:1 w:1) - /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `OrmlAssetRegistry::Metadata` (r:2 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:3 w:3) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::TotalIssuance` (r:1 w:1) + /// Proof: `OrmlTokens::TotalIssuance` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `1357` + // Measured: `690` // Estimated: `8802` - // Minimum execution time: 119_644_000 picoseconds. - Weight::from_parts(120_776_000, 0) + // Minimum execution time: 99_926_000 picoseconds. + Weight::from_parts(100_939_000, 0) .saturating_add(Weight::from_parts(0, 8802)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) } - /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrmlTokens Accounts (r:3 w:3) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlTokens TotalIssuance (r:1 w:1) - /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `OrmlAssetRegistry::Metadata` (r:2 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:3 w:3) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::TotalIssuance` (r:1 w:1) + /// Proof: `OrmlTokens::TotalIssuance` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn burn() -> Weight { // Proof Size summary in bytes: - // Measured: `1567` + // Measured: `980` // Estimated: `8802` - // Minimum execution time: 105_257_000 picoseconds. - Weight::from_parts(106_230_000, 0) + // Minimum execution time: 94_646_000 picoseconds. + Weight::from_parts(95_629_000, 0) .saturating_add(Weight::from_parts(0, 8802)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: OrderBook Orders (r:1 w:1) - /// Proof: OrderBook Orders (max_values: None, max_size: Some(171), added: 2646, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrmlTokens Accounts (r:4 w:4) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrmlTokens TotalIssuance (r:1 w:1) - /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Swaps OrderIdToSwapId (r:1 w:0) - /// Proof: Swaps OrderIdToSwapId (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen) - /// Storage: OrderBook UserOrders (r:0 w:1) - /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) + /// Storage: `OrderBook::Orders` (r:1 w:1) + /// Proof: `OrderBook::Orders` (`max_values`: None, `max_size`: Some(171), added: 2646, mode: `MaxEncodedLen`) + /// Storage: `OrmlAssetRegistry::Metadata` (r:2 w:0) + /// Proof: `OrmlAssetRegistry::Metadata` (`max_values`: None, `max_size`: Some(942), added: 3417, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::Accounts` (r:4 w:4) + /// Proof: `OrmlTokens::Accounts` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) + /// Storage: `OrmlTokens::TotalIssuance` (r:1 w:1) + /// Proof: `OrmlTokens::TotalIssuance` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Swaps::OrderIdToSwapId` (r:1 w:0) + /// Proof: `Swaps::OrderIdToSwapId` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `OrderBook::UserOrders` (r:0 w:1) + /// Proof: `OrderBook::UserOrders` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) fn match_swap() -> Weight { // Proof Size summary in bytes: - // Measured: `1993` + // Measured: `1326` // Estimated: `11406` - // Minimum execution time: 207_028_000 picoseconds. - Weight::from_parts(209_022_000, 0) + // Minimum execution time: 179_345_000 picoseconds. + Weight::from_parts(181_790_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 218946cd5f..36bcc8c220 100644 --- a/runtime/development/src/weights/pallet_transfer_allowlist.rs +++ b/runtime/development/src/weights/pallet_transfer_allowlist.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_transfer_allowlist` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_transfer_allowlist // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_transfer_allowlist.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_transfer_allowlist.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,183 +31,183 @@ use core::marker::PhantomData; /// Weight functions for `pallet_transfer_allowlist`. pub struct WeightInfo(PhantomData); impl pallet_transfer_allowlist::WeightInfo for WeightInfo { - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) - /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - /// Storage: Fees FeeBalances (r:1 w:0) - /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Holds (r:1 w:1) - /// Proof: Balances Holds (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `TransferAllowList::AccountCurrencyTransferAllowance` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferAllowance` (`max_values`: None, `max_size`: Some(701), added: 3176, mode: `MaxEncodedLen`) + /// Storage: `Fees::FeeBalances` (r:1 w:0) + /// Proof: `Fees::FeeBalances` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`) fn add_transfer_allowance_no_existing_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `603` - // Estimated: `3674` - // Minimum execution time: 85_090_000 picoseconds. - Weight::from_parts(85_961_000, 0) - .saturating_add(Weight::from_parts(0, 3674)) + // Measured: `570` + // Estimated: `4166` + // Minimum execution time: 89_497_000 picoseconds. + Weight::from_parts(91_170_000, 0) + .saturating_add(Weight::from_parts(0, 4166)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) - /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - /// Storage: Fees FeeBalances (r:1 w:0) - /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Holds (r:1 w:1) - /// Proof: Balances Holds (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `TransferAllowList::AccountCurrencyTransferAllowance` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferAllowance` (`max_values`: None, `max_size`: Some(701), added: 3176, mode: `MaxEncodedLen`) + /// Storage: `Fees::FeeBalances` (r:1 w:0) + /// Proof: `Fees::FeeBalances` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`) fn add_transfer_allowance_existing_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `697` - // Estimated: `3674` - // Minimum execution time: 87_604_000 picoseconds. - Weight::from_parts(89_237_000, 0) - .saturating_add(Weight::from_parts(0, 3674)) + // Measured: `664` + // Estimated: `4166` + // Minimum execution time: 91_241_000 picoseconds. + Weight::from_parts(93_384_000, 0) + .saturating_add(Weight::from_parts(0, 4166)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) fn add_allowance_delay_no_existing_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `246` // Estimated: `3557` - // Minimum execution time: 19_227_000 picoseconds. - Weight::from_parts(19_547_000, 0) + // Minimum execution time: 16_420_000 picoseconds. + Weight::from_parts(17_363_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) fn add_allowance_delay_existing_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `370` // Estimated: `3557` - // Minimum execution time: 21_681_000 picoseconds. - Weight::from_parts(22_151_000, 0) + // Minimum execution time: 19_176_000 picoseconds. + Weight::from_parts(19_786_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) fn toggle_allowance_delay_once_future_modifiable() -> Weight { // Proof Size summary in bytes: // Measured: `340` // Estimated: `3557` - // Minimum execution time: 21_551_000 picoseconds. - Weight::from_parts(21_971_000, 0) + // Minimum execution time: 18_474_000 picoseconds. + Weight::from_parts(19_256_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) fn update_allowance_delay() -> Weight { // Proof Size summary in bytes: // Measured: `344` // Estimated: `3557` - // Minimum execution time: 21_591_000 picoseconds. - Weight::from_parts(22_161_000, 0) + // Minimum execution time: 18_866_000 picoseconds. + Weight::from_parts(19_306_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) fn purge_allowance_delay_no_remaining_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `344` // Estimated: `3557` - // Minimum execution time: 21_440_000 picoseconds. - Weight::from_parts(21_971_000, 0) + // Minimum execution time: 18_594_000 picoseconds. + Weight::from_parts(19_056_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) fn purge_allowance_delay_remaining_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `378` // Estimated: `3557` - // Minimum execution time: 22_642_000 picoseconds. - Weight::from_parts(23_174_000, 0) + // Minimum execution time: 19_146_000 picoseconds. + Weight::from_parts(19_897_000, 0) .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) - /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:0) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `TransferAllowList::AccountCurrencyTransferAllowance` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferAllowance` (`max_values`: None, `max_size`: Some(701), added: 3176, mode: `MaxEncodedLen`) fn remove_transfer_allowance_delay_present() -> Weight { // Proof Size summary in bytes: // Measured: `473` - // Estimated: `3597` - // Minimum execution time: 32_411_000 picoseconds. - Weight::from_parts(33_603_000, 0) - .saturating_add(Weight::from_parts(0, 3597)) + // Estimated: `4166` + // Minimum execution time: 30_778_000 picoseconds. + Weight::from_parts(31_509_000, 0) + .saturating_add(Weight::from_parts(0, 4166)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) - /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:0) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `TransferAllowList::AccountCurrencyTransferAllowance` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferAllowance` (`max_values`: None, `max_size`: Some(701), added: 3176, mode: `MaxEncodedLen`) fn remove_transfer_allowance_no_delay() -> Weight { // Proof Size summary in bytes: // Measured: `469` - // Estimated: `3597` - // Minimum execution time: 32_952_000 picoseconds. - Weight::from_parts(33_864_000, 0) - .saturating_add(Weight::from_parts(0, 3597)) + // Estimated: `4166` + // Minimum execution time: 30_928_000 picoseconds. + Weight::from_parts(31_579_000, 0) + .saturating_add(Weight::from_parts(0, 4166)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - /// Storage: Fees FeeBalances (r:1 w:0) - /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Holds (r:1 w:1) - /// Proof: Balances Holds (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferAllowance` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferAllowance` (`max_values`: None, `max_size`: Some(701), added: 3176, mode: `MaxEncodedLen`) + /// Storage: `Fees::FeeBalances` (r:1 w:0) + /// Proof: `Fees::FeeBalances` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) fn purge_transfer_allowance_no_remaining_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `879` - // Estimated: `3674` - // Minimum execution time: 79_720_000 picoseconds. - Weight::from_parts(81_352_000, 0) - .saturating_add(Weight::from_parts(0, 3674)) + // Measured: `848` + // Estimated: `4166` + // Minimum execution time: 84_217_000 picoseconds. + Weight::from_parts(85_830_000, 0) + .saturating_add(Weight::from_parts(0, 4166)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - /// Storage: Fees FeeBalances (r:1 w:0) - /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Holds (r:1 w:1) - /// Proof: Balances Holds (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) + /// Storage: `TransferAllowList::AccountCurrencyTransferAllowance` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferAllowance` (`max_values`: None, `max_size`: Some(701), added: 3176, mode: `MaxEncodedLen`) + /// Storage: `Fees::FeeBalances` (r:1 w:0) + /// Proof: `Fees::FeeBalances` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`) + /// Storage: `TransferAllowList::AccountCurrencyTransferCountDelay` (r:1 w:1) + /// Proof: `TransferAllowList::AccountCurrencyTransferCountDelay` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) fn purge_transfer_allowance_remaining_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `918` - // Estimated: `3674` - // Minimum execution time: 79_259_000 picoseconds. - Weight::from_parts(80_852_000, 0) - .saturating_add(Weight::from_parts(0, 3674)) + // Measured: `887` + // Estimated: `4166` + // Minimum execution time: 83_276_000 picoseconds. + Weight::from_parts(84_749_000, 0) + .saturating_add(Weight::from_parts(0, 4166)) .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 deleted file mode 100644 index 54f4091f70..0000000000 --- a/runtime/development/src/weights/pallet_treasury.rs +++ /dev/null @@ -1,139 +0,0 @@ - -//! Autogenerated weights for `pallet_treasury` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! 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 - -// Executed Command: -// target/release/centrifuge-chain -// benchmark -// pallet -// --chain=development-local -// --steps=50 -// --repeat=20 -// --pallet=pallet_treasury -// --extrinsic=* -// --execution=wasm -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_treasury.rs - -#![cfg_attr(rustfmt, rustfmt_skip)] -#![allow(unused_parens)] -#![allow(unused_imports)] -#![allow(missing_docs)] - -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; - -/// Weight functions for `pallet_treasury`. -pub struct WeightInfo(PhantomData); -impl pallet_treasury::WeightInfo for WeightInfo { - fn spend() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `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) - /// Proof: Treasury ProposalCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Treasury Proposals (r:0 w:1) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - fn propose_spend() -> Weight { - // Proof Size summary in bytes: - // Measured: `144` - // Estimated: `1489` - // 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)) - } - /// Storage: Treasury Proposals (r:1 w:1) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn reject_proposal() -> Weight { - // Proof Size summary in bytes: - // Measured: `405` - // Estimated: `6196` - // 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)) - } - /// Storage: Treasury Proposals (r:1 w:0) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) - /// The range of component `p` is `[0, 99]`. - fn approve_proposal(p: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `470 + p * (8 ±0)` - // Estimated: `3573` - // Minimum execution time: 13_426_000 picoseconds. - Weight::from_parts(15_919_766, 0) - .saturating_add(Weight::from_parts(0, 3573)) - // 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)) - } - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) - fn remove_approval() -> Weight { - // Proof Size summary in bytes: - // Measured: `127` - // Estimated: `1887` - // 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)) - } - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Treasury Deactivated (r:1 w:1) - /// Proof: Treasury Deactivated (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) - /// Storage: Treasury Proposals (r:100 w:0) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - /// The range of component `p` is `[0, 100]`. - fn on_initialize_proposals(p: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `230 + p * (120 ±0)` - // Estimated: `3593 + p * (2583 ±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_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)) - .saturating_add(Weight::from_parts(0, 2583).saturating_mul(p.into())) - } - - fn spend_local() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn payout() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn check_status() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn void_spend() -> cumulus_primitives_core::Weight { - Weight::default() - } -} diff --git a/runtime/development/src/weights/pallet_uniques.rs b/runtime/development/src/weights/pallet_uniques.rs index 60aa2c77ce..94833ecc03 100644 --- a/runtime/development/src/weights/pallet_uniques.rs +++ b/runtime/development/src/weights/pallet_uniques.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_uniques` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_uniques // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_uniques.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_uniques.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,66 +31,66 @@ use core::marker::PhantomData; /// Weight functions for `pallet_uniques`. pub struct WeightInfo(PhantomData); impl pallet_uniques::WeightInfo for WeightInfo { - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques ClassAccount (r:0 w:1) - /// Proof: Uniques ClassAccount (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassAccount` (r:0 w:1) + /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `282` + // Measured: `249` // Estimated: `3647` - // Minimum execution time: 41_568_000 picoseconds. - Weight::from_parts(42_650_000, 0) + // Minimum execution time: 36_659_000 picoseconds. + Weight::from_parts(37_541_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques ClassAccount (r:0 w:1) - /// Proof: Uniques ClassAccount (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassAccount` (r:0 w:1) + /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) fn force_create() -> Weight { // Proof Size summary in bytes: - // Measured: `142` + // Measured: `109` // Estimated: `3647` - // Minimum execution time: 20_178_000 picoseconds. - Weight::from_parts(20_719_000, 0) + // Minimum execution time: 16_871_000 picoseconds. + Weight::from_parts(17_242_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques Asset (r:1001 w:1000) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: Uniques InstanceMetadataOf (r:1000 w:1000) - /// Proof: Uniques InstanceMetadataOf (max_values: None, max_size: Some(331), added: 2806, mode: MaxEncodedLen) - /// Storage: Uniques Attribute (r:1000 w:1000) - /// Proof: Uniques Attribute (max_values: None, max_size: Some(605), added: 3080, mode: MaxEncodedLen) - /// Storage: Uniques ClassAccount (r:0 w:1) - /// Proof: Uniques ClassAccount (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) - /// Storage: Uniques ClassMetadataOf (r:0 w:1) - /// Proof: Uniques ClassMetadataOf (max_values: None, max_size: Some(299), added: 2774, mode: MaxEncodedLen) - /// Storage: Uniques Account (r:0 w:1000) - /// Proof: Uniques Account (max_values: None, max_size: Some(104), added: 2579, mode: MaxEncodedLen) - /// Storage: Uniques CollectionMaxSupply (r:0 w:1) - /// Proof: Uniques CollectionMaxSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1001 w:1000) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Storage: `Uniques::InstanceMetadataOf` (r:1000 w:1000) + /// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(331), added: 2806, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Attribute` (r:1000 w:1000) + /// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(605), added: 3080, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassAccount` (r:0 w:1) + /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassMetadataOf` (r:0 w:1) + /// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(299), added: 2774, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1000) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) + /// Storage: `Uniques::CollectionMaxSupply` (r:0 w:1) + /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 1000]`. /// The range of component `m` is `[0, 1000]`. /// The range of component `a` is `[0, 1000]`. fn destroy(n: u32, m: u32, a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `544 + a * (346 ±0) + m * (69 ±0) + n * (88 ±0)` + // 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: 2_994_634_000 picoseconds. - Weight::from_parts(3_046_591_000, 0) + // Minimum execution time: 3_004_732_000 picoseconds. + Weight::from_parts(3_014_581_000, 0) .saturating_add(Weight::from_parts(0, 3647)) - // 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())) + // Standard Error: 29_103 + .saturating_add(Weight::from_parts(10_066_324, 0).saturating_mul(n.into())) + // Standard Error: 29_103 + .saturating_add(Weight::from_parts(276_468, 0).saturating_mul(m.into())) + // Standard Error: 29_103 + .saturating_add(Weight::from_parts(519_952, 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()))) @@ -104,344 +103,346 @@ impl pallet_uniques::WeightInfo for WeightInfo { .saturating_add(Weight::from_parts(0, 2806).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 2613).saturating_mul(n.into())) } - /// Storage: Uniques Asset (r:1 w:1) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques CollectionMaxSupply (r:1 w:0) - /// Proof: Uniques CollectionMaxSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - /// Storage: Uniques Account (r:0 w:1) - /// Proof: Uniques Account (max_values: None, max_size: Some(104), added: 2579, mode: MaxEncodedLen) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0) + /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) fn mint() -> Weight { // Proof Size summary in bytes: - // Measured: `386` + // Measured: `353` // Estimated: `3647` - // Minimum execution time: 51_677_000 picoseconds. - Weight::from_parts(52_789_000, 0) + // Minimum execution time: 46_878_000 picoseconds. + Weight::from_parts(47_749_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques Asset (r:1 w:1) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: Uniques Account (r:0 w:1) - /// Proof: Uniques Account (max_values: None, max_size: Some(104), added: 2579, mode: MaxEncodedLen) - /// Storage: Uniques ItemPriceOf (r:0 w:1) - /// Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`) fn burn() -> Weight { // Proof Size summary in bytes: - // Measured: `549` + // Measured: `516` // Estimated: `3647` - // Minimum execution time: 53_360_000 picoseconds. - Weight::from_parts(54_733_000, 0) + // Minimum execution time: 49_442_000 picoseconds. + Weight::from_parts(50_063_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: Uniques Class (r:1 w:0) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques Asset (r:1 w:1) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: Uniques Account (r:0 w:2) - /// Proof: Uniques Account (max_values: None, max_size: Some(104), added: 2579, mode: MaxEncodedLen) - /// Storage: Uniques ItemPriceOf (r:0 w:1) - /// Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:2) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `549` + // Measured: `516` // Estimated: `3647` - // Minimum execution time: 38_362_000 picoseconds. - Weight::from_parts(39_454_000, 0) + // Minimum execution time: 37_399_000 picoseconds. + Weight::from_parts(37_761_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques Asset (r:5000 w:5000) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:5000 w:5000) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) /// The range of component `i` is `[0, 5000]`. fn redeposit(i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `854 + i * (88 ±0)` + // Measured: `821 + i * (88 ±0)` // Estimated: `3647 + i * (2613 ±0)` - // Minimum execution time: 19_847_000 picoseconds. - Weight::from_parts(20_017_000, 0) + // Minimum execution time: 16_952_000 picoseconds. + Weight::from_parts(17_132_000, 0) .saturating_add(Weight::from_parts(0, 3647)) - // Standard Error: 17_851 - .saturating_add(Weight::from_parts(24_502_247, 0).saturating_mul(i.into())) + // Standard Error: 14_760 + .saturating_add(Weight::from_parts(22_704_797, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) .saturating_add(Weight::from_parts(0, 2613).saturating_mul(i.into())) } - /// Storage: Uniques Asset (r:1 w:1) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: Uniques Class (r:1 w:0) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) fn freeze() -> Weight { // Proof Size summary in bytes: - // Measured: `549` + // Measured: `516` // Estimated: `3647` - // Minimum execution time: 25_357_000 picoseconds. - Weight::from_parts(26_129_000, 0) + // Minimum execution time: 23_314_000 picoseconds. + Weight::from_parts(23_925_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques Asset (r:1 w:1) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: Uniques Class (r:1 w:0) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) fn thaw() -> Weight { // Proof Size summary in bytes: - // Measured: `549` + // Measured: `516` // Estimated: `3647` - // Minimum execution time: 25_237_000 picoseconds. - Weight::from_parts(25_919_000, 0) + // Minimum execution time: 23_103_000 picoseconds. + Weight::from_parts(23_533_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) fn freeze_collection() -> Weight { // Proof Size summary in bytes: - // Measured: `386` + // Measured: `353` // Estimated: `3647` - // Minimum execution time: 18_294_000 picoseconds. - Weight::from_parts(18_946_000, 0) + // Minimum execution time: 15_069_000 picoseconds. + Weight::from_parts(15_489_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) fn thaw_collection() -> Weight { // Proof Size summary in bytes: - // Measured: `386` + // Measured: `353` // Estimated: `3647` - // Minimum execution time: 18_464_000 picoseconds. - Weight::from_parts(18_945_000, 0) + // Minimum execution time: 14_888_000 picoseconds. + Weight::from_parts(15_269_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques OwnershipAcceptance (r:1 w:1) - /// Proof: Uniques OwnershipAcceptance (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques ClassAccount (r:0 w:2) - /// Proof: Uniques ClassAccount (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) + /// Storage: `Uniques::OwnershipAcceptance` (r:1 w:1) + /// Proof: `Uniques::OwnershipAcceptance` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassAccount` (r:0 w:2) + /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) fn transfer_ownership() -> Weight { // Proof Size summary in bytes: - // Measured: `464` + // Measured: `638` // Estimated: `3647` - // Minimum execution time: 29_846_000 picoseconds. - Weight::from_parts(30_377_000, 0) + // Minimum execution time: 33_433_000 picoseconds. + Weight::from_parts(34_204_000, 0) .saturating_add(Weight::from_parts(0, 3647)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) fn set_team() -> Weight { // Proof Size summary in bytes: - // Measured: `386` + // Measured: `353` // Estimated: `3647` - // Minimum execution time: 18_705_000 picoseconds. - Weight::from_parts(19_086_000, 0) + // Minimum execution time: 15_369_000 picoseconds. + Weight::from_parts(15_860_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques ClassAccount (r:0 w:1) - /// Proof: Uniques ClassAccount (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassAccount` (r:0 w:1) + /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) fn force_item_status() -> Weight { // Proof Size summary in bytes: - // Measured: `386` + // Measured: `353` // Estimated: `3647` - // Minimum execution time: 23_423_000 picoseconds. - Weight::from_parts(23_874_000, 0) + // Minimum execution time: 20_008_000 picoseconds. + Weight::from_parts(20_518_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques InstanceMetadataOf (r:1 w:0) - /// Proof: Uniques InstanceMetadataOf (max_values: None, max_size: Some(331), added: 2806, mode: MaxEncodedLen) - /// Storage: Uniques Attribute (r:1 w:1) - /// Proof: Uniques Attribute (max_values: None, max_size: Some(605), added: 3080, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::InstanceMetadataOf` (r:1 w:0) + /// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(331), added: 2806, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Attribute` (r:1 w:1) + /// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(605), added: 3080, mode: `MaxEncodedLen`) fn set_attribute() -> Weight { // Proof Size summary in bytes: - // Measured: `808` + // Measured: `775` // Estimated: `4070` - // Minimum execution time: 57_478_000 picoseconds. - Weight::from_parts(58_800_000, 0) + // Minimum execution time: 53_901_000 picoseconds. + Weight::from_parts(54_763_000, 0) .saturating_add(Weight::from_parts(0, 4070)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques InstanceMetadataOf (r:1 w:0) - /// Proof: Uniques InstanceMetadataOf (max_values: None, max_size: Some(331), added: 2806, mode: MaxEncodedLen) - /// Storage: Uniques Attribute (r:1 w:1) - /// Proof: Uniques Attribute (max_values: None, max_size: Some(605), added: 3080, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::InstanceMetadataOf` (r:1 w:0) + /// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(331), added: 2806, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Attribute` (r:1 w:1) + /// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(605), added: 3080, mode: `MaxEncodedLen`) fn clear_attribute() -> Weight { // Proof Size summary in bytes: - // Measured: `1440` + // Measured: `1407` // Estimated: `4070` - // Minimum execution time: 55_735_000 picoseconds. - Weight::from_parts(56_746_000, 0) + // Minimum execution time: 51_977_000 picoseconds. + Weight::from_parts(52_808_000, 0) .saturating_add(Weight::from_parts(0, 4070)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques InstanceMetadataOf (r:1 w:1) - /// Proof: Uniques InstanceMetadataOf (max_values: None, max_size: Some(331), added: 2806, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::InstanceMetadataOf` (r:1 w:1) + /// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(331), added: 2806, mode: `MaxEncodedLen`) fn set_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `452` + // Measured: `419` // Estimated: `3796` - // Minimum execution time: 42_850_000 picoseconds. - Weight::from_parts(43_713_000, 0) + // Minimum execution time: 37_340_000 picoseconds. + Weight::from_parts(38_342_000, 0) .saturating_add(Weight::from_parts(0, 3796)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques InstanceMetadataOf (r:1 w:1) - /// Proof: Uniques InstanceMetadataOf (max_values: None, max_size: Some(331), added: 2806, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::InstanceMetadataOf` (r:1 w:1) + /// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(331), added: 2806, mode: `MaxEncodedLen`) fn clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `808` + // Measured: `775` // Estimated: `3796` - // Minimum execution time: 43_983_000 picoseconds. - Weight::from_parts(44_734_000, 0) + // Minimum execution time: 38_502_000 picoseconds. + Weight::from_parts(39_594_000, 0) .saturating_add(Weight::from_parts(0, 3796)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Uniques Class (r:1 w:1) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques ClassMetadataOf (r:1 w:1) - /// Proof: Uniques ClassMetadataOf (max_values: None, max_size: Some(299), added: 2774, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassMetadataOf` (r:1 w:1) + /// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(299), added: 2774, mode: `MaxEncodedLen`) fn set_collection_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `386` + // Measured: `353` // Estimated: `3764` - // Minimum execution time: 44_613_000 picoseconds. - Weight::from_parts(45_415_000, 0) + // Minimum execution time: 39_264_000 picoseconds. + Weight::from_parts(40_305_000, 0) .saturating_add(Weight::from_parts(0, 3764)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Uniques Class (r:1 w:0) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques ClassMetadataOf (r:1 w:1) - /// Proof: Uniques ClassMetadataOf (max_values: None, max_size: Some(299), added: 2774, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ClassMetadataOf` (r:1 w:1) + /// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(299), added: 2774, mode: `MaxEncodedLen`) fn clear_collection_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `709` + // Measured: `676` // Estimated: `3764` - // Minimum execution time: 42_430_000 picoseconds. - Weight::from_parts(43_561_000, 0) + // Minimum execution time: 37_700_000 picoseconds. + Weight::from_parts(38_221_000, 0) .saturating_add(Weight::from_parts(0, 3764)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques Class (r:1 w:0) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques Asset (r:1 w:1) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) fn approve_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `549` + // Measured: `516` // Estimated: `3647` - // Minimum execution time: 26_480_000 picoseconds. - Weight::from_parts(26_881_000, 0) + // Minimum execution time: 23_664_000 picoseconds. + Weight::from_parts(24_105_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques Class (r:1 w:0) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques Asset (r:1 w:1) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) + /// Storage: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) fn cancel_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `582` + // Measured: `549` // Estimated: `3647` - // Minimum execution time: 26_219_000 picoseconds. - Weight::from_parts(26_991_000, 0) + // Minimum execution time: 23_874_000 picoseconds. + Weight::from_parts(24_255_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques OwnershipAcceptance (r:1 w:1) - /// Proof: Uniques OwnershipAcceptance (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) + /// Storage: `Uniques::OwnershipAcceptance` (r:1 w:1) + /// Proof: `Uniques::OwnershipAcceptance` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) fn set_accept_ownership() -> Weight { // Proof Size summary in bytes: - // Measured: `142` + // Measured: `109` // Estimated: `3521` - // Minimum execution time: 20_528_000 picoseconds. - Weight::from_parts(21_240_000, 0) + // Minimum execution time: 17_633_000 picoseconds. + Weight::from_parts(18_184_000, 0) .saturating_add(Weight::from_parts(0, 3521)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques CollectionMaxSupply (r:1 w:1) - /// Proof: Uniques CollectionMaxSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - /// Storage: Uniques Class (r:1 w:0) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) + /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:1) + /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) fn set_collection_max_supply() -> Weight { // Proof Size summary in bytes: - // Measured: `386` + // Measured: `353` // Estimated: `3647` - // Minimum execution time: 22_943_000 picoseconds. - Weight::from_parts(23_514_000, 0) + // Minimum execution time: 19_627_000 picoseconds. + Weight::from_parts(20_148_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques Asset (r:1 w:0) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: Uniques ItemPriceOf (r:0 w:1) - /// Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen) + /// Storage: `Uniques::Asset` (r:1 w:0) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`) fn set_price() -> Weight { // Proof Size summary in bytes: - // Measured: `376` + // Measured: `343` // Estimated: `3603` - // Minimum execution time: 22_092_000 picoseconds. - Weight::from_parts(22_502_000, 0) + // Minimum execution time: 18_915_000 picoseconds. + Weight::from_parts(19_457_000, 0) .saturating_add(Weight::from_parts(0, 3603)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Uniques Asset (r:1 w:1) - /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: Uniques ItemPriceOf (r:1 w:1) - /// Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen) - /// Storage: Uniques Class (r:1 w:0) - /// Proof: Uniques Class (max_values: None, max_size: Some(182), added: 2657, mode: MaxEncodedLen) - /// Storage: Uniques Account (r:0 w:2) - /// Proof: Uniques Account (max_values: None, max_size: Some(104), added: 2579, mode: MaxEncodedLen) + /// Storage: `Uniques::Asset` (r:1 w:1) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Storage: `Uniques::ItemPriceOf` (r:1 w:1) + /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Class` (r:1 w:0) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:2) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) fn buy_item() -> Weight { // Proof Size summary in bytes: - // Measured: `678` + // Measured: `645` // Estimated: `3647` - // Minimum execution time: 54_151_000 picoseconds. - Weight::from_parts(54_973_000, 0) + // Minimum execution time: 47_038_000 picoseconds. + Weight::from_parts(48_631_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 cecb4fa49a..dd180f3c76 100644 --- a/runtime/development/src/weights/pallet_utility.rs +++ b/runtime/development/src/weights/pallet_utility.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_utility` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_utility // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_utility.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_utility.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -37,18 +36,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_179_000 picoseconds. - Weight::from_parts(10_449_000, 0) + // Minimum execution time: 6_852_000 picoseconds. + Weight::from_parts(3_779_214, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 5_057 - .saturating_add(Weight::from_parts(8_509_036, 0).saturating_mul(c.into())) + // Standard Error: 2_185 + .saturating_add(Weight::from_parts(4_705_310, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_905_000 picoseconds. - Weight::from_parts(8_125_000, 0) + // Minimum execution time: 6_613_000 picoseconds. + Weight::from_parts(7_043_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -56,18 +55,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_309_000 picoseconds. - Weight::from_parts(26_318_204, 0) + // Minimum execution time: 6_603_000 picoseconds. + Weight::from_parts(6_813_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 5_214 - .saturating_add(Weight::from_parts(8_861_852, 0).saturating_mul(c.into())) + // Standard Error: 1_474 + .saturating_add(Weight::from_parts(5_109_510, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_876_000 picoseconds. - Weight::from_parts(14_467_000, 0) + // Minimum execution time: 9_368_000 picoseconds. + Weight::from_parts(9_769_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -75,10 +74,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_259_000 picoseconds. - Weight::from_parts(10_529_000, 0) + // Minimum execution time: 6_812_000 picoseconds. + Weight::from_parts(7_053_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_695 - .saturating_add(Weight::from_parts(8_495_881, 0).saturating_mul(c.into())) + // Standard Error: 1_310 + .saturating_add(Weight::from_parts(4_734_507, 0).saturating_mul(c.into())) } } diff --git a/runtime/development/src/weights/pallet_vesting.rs b/runtime/development/src/weights/pallet_vesting.rs index fabf138ed7..4defe13506 100644 --- a/runtime/development/src/weights/pallet_vesting.rs +++ b/runtime/development/src/weights/pallet_vesting.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_vesting` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_vesting // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_vesting.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_vesting.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,196 +31,214 @@ use core::marker::PhantomData; /// Weight functions for `pallet_vesting`. pub struct WeightInfo(PhantomData); impl pallet_vesting::WeightInfo for WeightInfo { - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(157), added: 2632, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. - /// The range of component `s` is `[1, 28]`. + /// The range of component `s` is `[1, 3]`. fn vest_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `305 + l * (25 ±0) + s * (36 ±0)` + // Measured: `269 + l * (25 ±0) + s * (37 ±0)` // Estimated: `4764` - // Minimum execution time: 45_906_000 picoseconds. - Weight::from_parts(45_306_801, 0) + // Minimum execution time: 39_564_000 picoseconds. + Weight::from_parts(39_981_239, 0) .saturating_add(Weight::from_parts(0, 4764)) - // 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())) + // Standard Error: 1_037 + .saturating_add(Weight::from_parts(43_712, 0).saturating_mul(l.into())) + // Standard Error: 19_876 + .saturating_add(Weight::from_parts(229_682, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(157), added: 2632, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. - /// The range of component `s` is `[1, 28]`. + /// The range of component `s` is `[1, 3]`. fn vest_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `305 + l * (25 ±0) + s * (36 ±0)` + // Measured: `269 + l * (25 ±0) + s * (37 ±0)` // Estimated: `4764` - // Minimum execution time: 51_837_000 picoseconds. - Weight::from_parts(52_154_167, 0) + // Minimum execution time: 41_808_000 picoseconds. + Weight::from_parts(43_269_209, 0) .saturating_add(Weight::from_parts(0, 4764)) - // 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())) + // Standard Error: 1_148 + .saturating_add(Weight::from_parts(40_780, 0).saturating_mul(l.into())) + // Standard Error: 22_013 + .saturating_add(Weight::from_parts(93_733, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(157), added: 2632, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. - /// The range of component `s` is `[1, 28]`. + /// The range of component `s` is `[1, 3]`. fn vest_other_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `408 + l * (25 ±0) + s * (36 ±0)` + // Measured: `372 + l * (25 ±0) + s * (37 ±0)` // Estimated: `4764` - // Minimum execution time: 47_980_000 picoseconds. - Weight::from_parts(47_314_080, 0) + // Minimum execution time: 41_467_000 picoseconds. + Weight::from_parts(41_941_236, 0) .saturating_add(Weight::from_parts(0, 4764)) - // 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())) + // Standard Error: 1_114 + .saturating_add(Weight::from_parts(44_127, 0).saturating_mul(l.into())) + // Standard Error: 21_345 + .saturating_add(Weight::from_parts(397_753, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(157), added: 2632, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. - /// The range of component `s` is `[1, 28]`. + /// The range of component `s` is `[1, 3]`. fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `408 + l * (25 ±0) + s * (36 ±0)` + // Measured: `372 + l * (25 ±0) + s * (37 ±0)` // Estimated: `4764` - // Minimum execution time: 53_660_000 picoseconds. - Weight::from_parts(54_119_133, 0) + // Minimum execution time: 44_693_000 picoseconds. + Weight::from_parts(45_550_838, 0) .saturating_add(Weight::from_parts(0, 4764)) - // 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())) + // Standard Error: 1_152 + .saturating_add(Weight::from_parts(42_064, 0).saturating_mul(l.into())) + // Standard Error: 22_075 + .saturating_add(Weight::from_parts(232_605, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(157), added: 2632, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. - /// The range of component `s` is `[0, 27]`. + /// The range of component `s` is `[0, 2]`. fn vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `512 + l * (25 ±0) + s * (36 ±0)` + // Measured: `283 + l * (25 ±0) + s * (134 ±0)` // Estimated: `4764` - // Minimum execution time: 103_073_000 picoseconds. - Weight::from_parts(104_737_511, 0) + // Minimum execution time: 93_545_000 picoseconds. + Weight::from_parts(92_993_209, 0) .saturating_add(Weight::from_parts(0, 4764)) - // 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())) + // Standard Error: 1_581 + .saturating_add(Weight::from_parts(61_450, 0).saturating_mul(l.into())) + // Standard Error: 30_294 + .saturating_add(Weight::from_parts(1_040_335, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(157), added: 2632, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. - /// The range of component `s` is `[0, 27]`. + /// The range of component `s` is `[0, 2]`. fn force_vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `652 + l * (25 ±0) + s * (36 ±0)` + // Measured: `423 + l * (25 ±0) + s * (134 ±0)` // Estimated: `6196` - // Minimum execution time: 105_879_000 picoseconds. - Weight::from_parts(106_705_022, 0) + // Minimum execution time: 95_989_000 picoseconds. + Weight::from_parts(95_019_286, 0) .saturating_add(Weight::from_parts(0, 6196)) - // 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())) + // Standard Error: 2_465 + .saturating_add(Weight::from_parts(86_005, 0).saturating_mul(l.into())) + // Standard Error: 47_232 + .saturating_add(Weight::from_parts(2_593_636, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(157), added: 2632, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. - /// The range of component `s` is `[2, 28]`. + /// The range of component `s` is `[2, 3]`. fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `407 + l * (25 ±0) + s * (36 ±0)` + // Measured: `374 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 49_543_000 picoseconds. - Weight::from_parts(49_143_417, 0) + // Minimum execution time: 41_888_000 picoseconds. + Weight::from_parts(42_630_812, 0) .saturating_add(Weight::from_parts(0, 4764)) - // 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())) + // Standard Error: 1_054 + .saturating_add(Weight::from_parts(55_222, 0).saturating_mul(l.into())) + // Standard Error: 33_643 + .saturating_add(Weight::from_parts(196_992, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(157), added: 2632, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. - /// The range of component `s` is `[2, 28]`. + /// The range of component `s` is `[2, 3]`. fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `407 + l * (25 ±0) + s * (36 ±0)` + // Measured: `374 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 55_093_000 picoseconds. - Weight::from_parts(54_734_655, 0) + // Minimum execution time: 44_733_000 picoseconds. + Weight::from_parts(45_724_733, 0) .saturating_add(Weight::from_parts(0, 4764)) - // 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())) + // Standard Error: 1_061 + .saturating_add(Weight::from_parts(46_527, 0).saturating_mul(l.into())) + // Standard Error: 33_842 + .saturating_add(Weight::from_parts(193_383, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(157), added: 2632, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `l` is `[0, 49]`. + /// The range of component `s` is `[2, 3]`. + fn force_remove_vesting_schedule(l: u32, _s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `479 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `4764` + // Minimum execution time: 47_398_000 picoseconds. + Weight::from_parts(49_317_822, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 1_305 + .saturating_add(Weight::from_parts(43_381, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - - fn force_remove_vesting_schedule(_: u32, _: u32) -> cumulus_primitives_core::Weight { - Weight::default() - } } diff --git a/runtime/development/src/weights/pallet_xcm.rs b/runtime/development/src/weights/pallet_xcm.rs index 79671573aa..ff8118d8bd 100644 --- a/runtime/development/src/weights/pallet_xcm.rs +++ b/runtime/development/src/weights/pallet_xcm.rs @@ -1,25 +1,24 @@ //! Autogenerated weights for `pallet_xcm` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-06-07, 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 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("centrifuge-local")`, DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=development-local +// --chain=centrifuge-local // --steps=50 // --repeat=20 // --pallet=pallet_xcm // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_xcm.rs +// --output=/tmp/runtime/centrifuge/src/weights/pallet_xcm.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,54 +31,48 @@ use core::marker::PhantomData; /// Weight functions for `pallet_xcm`. pub struct WeightInfo(PhantomData); impl pallet_xcm::WeightInfo for WeightInfo { - /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem HostConfiguration (r:1 w:0) - /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn send() -> Weight { // Proof Size summary in bytes: - // Measured: `311` - // Estimated: `3776` - // 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)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: ParachainInfo ParachainId (r:1 w:0) - /// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry LocationToAssetId (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry LocationToAssetId (max_values: None, max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn teleport_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `351` - // Estimated: `3816` - // 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)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: ParachainInfo ParachainId (r:1 w:0) - /// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry LocationToAssetId (r:1 w:0) - /// Proof Skipped: OrmlAssetRegistry LocationToAssetId (max_values: None, max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn reserve_transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `351` - // Estimated: `3816` - // 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)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: Benchmark Override (r:0 w:0) - /// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn transfer_assets() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn execute() -> Weight { // Proof Size summary in bytes: // Measured: `0` @@ -88,201 +81,156 @@ impl pallet_xcm::WeightInfo for WeightInfo { Weight::from_parts(18_446_744_073_709_551_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: PolkadotXcm SupportedVersion (r:0 w:1) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_xcm_version() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_796_000 picoseconds. - Weight::from_parts(14_317_000, 0) + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) .saturating_add(Weight::from_parts(0, 0)) - .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: PolkadotXcm SafeXcmVersion (r:0 w:1) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) fn force_default_xcm_version() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_578_000 picoseconds. - Weight::from_parts(4_739_000, 0) + // Minimum execution time: 3_717_000 picoseconds. + Weight::from_parts(3_967_000, 0) .saturating_add(Weight::from_parts(0, 0)) - .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: PolkadotXcm VersionNotifiers (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm QueryCounter (r:1 w:1) - /// Proof Skipped: PolkadotXcm QueryCounter (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem HostConfiguration (r:1 w:0) - /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm Queries (r:0 w:1) - /// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_subscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `311` - // Estimated: `3776` - // 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)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: PolkadotXcm VersionNotifiers (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem HostConfiguration (r:1 w:0) - /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm Queries (r:0 w:1) - /// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_unsubscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `493` - // Estimated: `3958` - // 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)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: PolkadotXcm XcmExecutionSuspended (r:0 w:1) - /// Proof Skipped: PolkadotXcm XcmExecutionSuspended (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1) + /// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn force_suspension() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_629_000 picoseconds. - Weight::from_parts(4_799_000, 0) + // Minimum execution time: 3_877_000 picoseconds. + Weight::from_parts(4_147_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: PolkadotXcm SupportedVersion (r:4 w:2) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::SupportedVersion` (r:5 w:2) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_supported_version() -> Weight { // Proof Size summary in bytes: - // Measured: `235` - // Estimated: `11125` - // 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)) + // Measured: `22` + // Estimated: `13387` + // Minimum execution time: 26_810_000 picoseconds. + Weight::from_parts(27_190_000, 0) + .saturating_add(Weight::from_parts(0, 13387)) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: PolkadotXcm VersionNotifiers (r:4 w:2) - /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::VersionNotifiers` (r:5 w:2) + /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notifiers() -> Weight { // Proof Size summary in bytes: - // Measured: `239` - // Estimated: `11129` - // 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)) + // Measured: `26` + // Estimated: `13391` + // Minimum execution time: 27_080_000 picoseconds. + Weight::from_parts(27_462_000, 0) + .saturating_add(Weight::from_parts(0, 13391)) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: PolkadotXcm VersionNotifyTargets (r:5 w:0) - /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn already_notified_target() -> Weight { // Proof Size summary in bytes: - // Measured: `246` - // Estimated: `13611` - // 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)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 25_000_000 picoseconds. + Weight::from_parts(25_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: PolkadotXcm VersionNotifyTargets (r:2 w:1) - /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem HostConfiguration (r:1 w:0) - /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn notify_current_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `378` - // Estimated: `6318` - // 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)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 325_000_000 picoseconds. + Weight::from_parts(325_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: PolkadotXcm VersionNotifyTargets (r:3 w:0) - /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:4 w:0) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn notify_target_migration_fail() -> Weight { // Proof Size summary in bytes: - // Measured: `206` - // Estimated: `8621` - // 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)) + // Measured: `69` + // Estimated: `10959` + // Minimum execution time: 19_667_000 picoseconds. + Weight::from_parts(20_097_000, 0) + .saturating_add(Weight::from_parts(0, 10959)) + .saturating_add(T::DbWeight::get().reads(4)) } - /// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2) - /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:2) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notify_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `246` - // Estimated: `11136` - // 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)) + // Measured: `33` + // Estimated: `13398` + // Minimum execution time: 26_430_000 picoseconds. + Weight::from_parts(26_980_000, 0) + .saturating_add(Weight::from_parts(0, 13398)) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2) - /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem HostConfiguration (r:1 w:0) - /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_and_notify_old_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `454` - // Estimated: `11344` - // 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)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 325_000_000 picoseconds. + Weight::from_parts(325_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) + /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::Queries` (r:0 w:1) + /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn new_query() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `1485` + // Minimum execution time: 3_717_000 picoseconds. + Weight::from_parts(3_967_000, 0) + .saturating_add(Weight::from_parts(0, 1485)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `PolkadotXcm::Queries` (r:1 w:1) + /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn take_response() -> Weight { + // Proof Size summary in bytes: + // Measured: `7576` + // Estimated: `11041` + // Minimum execution time: 43_632_000 picoseconds. + Weight::from_parts(44_152_000, 0) + .saturating_add(Weight::from_parts(0, 11041)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - - fn transfer_assets() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn new_query() -> cumulus_primitives_core::Weight { - Weight::default() - } - - fn take_response() -> cumulus_primitives_core::Weight { - Weight::default() - } } diff --git a/runtime/integration-tests/Cargo.toml b/runtime/integration-tests/Cargo.toml index a10cd5ca18..47d561f010 100644 --- a/runtime/integration-tests/Cargo.toml +++ b/runtime/integration-tests/Cargo.toml @@ -7,9 +7,10 @@ license.workspace = true homepage.workspace = true repository.workspace = true documentation.workspace = true +build = "build.rs" [dependencies] -ethabi = { workspace = true, features = ["std"] } +ethabi = { workspace = true, features = ["std", "full-serde"] } ethereum = { workspace = true, features = ["std"] } fudge = { workspace = true } fudge-core = { workspace = true } @@ -18,6 +19,7 @@ hex-literal = { workspace = true } lazy_static = { workspace = true } parity-scale-codec = { workspace = true } serde = { workspace = true } +serde_json = { workspace = true } thiserror = { workspace = true } tokio = { workspace = true } tracing-subscriber = { workspace = true } @@ -66,6 +68,7 @@ staging-xcm-executor = { workspace = true, features = ["std"] } orml-traits = { workspace = true, features = ["std"] } +fp-evm = { workspace = true, features = ["std"] } fp-self-contained = { workspace = true, features = ["std"] } # Locals @@ -136,6 +139,7 @@ pallet-session = { workspace = true, features = ["std"] } pallet-sudo = { workspace = true, features = ["std"] } pallet-swaps = { workspace = true, features = ["std"] } pallet-timestamp = { workspace = true, features = ["std"] } +pallet-token-mux = { workspace = true, features = ["std"] } pallet-transaction-payment = { workspace = true, features = ["std"] } pallet-transfer-allowlist = { workspace = true, features = ["std"] } pallet-treasury = { workspace = true, features = ["std"] } diff --git a/runtime/integration-tests/build.rs b/runtime/integration-tests/build.rs new file mode 100644 index 0000000000..ca1ae85d68 --- /dev/null +++ b/runtime/integration-tests/build.rs @@ -0,0 +1,114 @@ +// 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 std::{env, fs, path::PathBuf, process::Command}; + +const LP_SOL_SOURCES: &str = "LP_SOL_SOURCES"; + +fn main() { + let paths = fs::read_dir("./submodules/") + .expect("Submodules directory must exist for integration-tests"); + let out_dir = env::var("OUT_DIR").expect("Cargo sets OUT_DIR environment variable. qed."); + + /* + match Command::new("git") + .args(&["pull", "--all", "--recurse-submodules=yes"]) + .output() + { + Ok(o) if o.status.success() => {} + Ok(o) => { + println!( + "cargo:warning=Git fetch failed with: \n - status: {}\n -stderr: {}", + o.status, + String::from_utf8(o.stderr).expect("stderr is utf-8 encoded. qed.") + ); + } + Err(err) => { + println!("cargo:warning=Failed to execute git command: {}", err); + } + } + */ + + let mut verified_dir = Vec::new(); + for path in paths { + if let Ok(dir_entry) = path.as_ref() { + if dir_entry + .metadata() + .map(|meta| meta.is_dir()) + .unwrap_or(false) + { + verified_dir.push( + fs::canonicalize(dir_entry.path()).expect("Failed to find absolute path."), + ); + } + } + } + + for path in verified_dir { + env::set_current_dir(&path).unwrap(); + let mut out_dir_build = PathBuf::from(out_dir.clone()); + + let parent = path + .components() + .last() + .expect("Repository itself has components. qed") + .as_os_str() + .to_str() + .expect("OsStr is utf-8. qed"); + + out_dir_build.push(parent); + let out_dir_build = out_dir_build + .as_os_str() + .to_str() + .expect("OsStr is utf-8. qed"); + + match Command::new("forge") + .args(["build", "--out", out_dir_build]) + .output() + { + Ok(o) if o.status.success() => { + let source = match parent { + "liquidity-pools" => { + println!( + "cargo::warning=Build liquidity-pools Solidity contracts. Stored at {} ", + out_dir_build + ); + + LP_SOL_SOURCES + } + _ => { + println!( + "cargo::warning=Unknown solidity source build. Name: {}", + parent + ); + println!( + "cargo::warning=No environment variable for sources set. Artifacts stored under: {}", + out_dir_build + ); + continue; + } + }; + + println!("cargo:rustc-env={}={}", source, out_dir_build); + } + Ok(o) => { + println!( + "cargo::warning=forge build failed with: \n - status: {}\n -stderr: {}", + o.status, + String::from_utf8(o.stderr).expect("stderr is utf-8 encoded. qed.") + ); + } + Err(err) => { + println!("cargo::warning=Failed to execute git command: {}", err); + } + } + } +} diff --git a/runtime/integration-tests/src/generic/cases/ethereum_transaction.rs b/runtime/integration-tests/src/generic/cases/ethereum_transaction.rs index a008a1533c..bdf4c43bbe 100644 --- a/runtime/integration-tests/src/generic/cases/ethereum_transaction.rs +++ b/runtime/integration-tests/src/generic/cases/ethereum_transaction.rs @@ -25,7 +25,7 @@ use crate::generic::{ // } pub const TEST_CONTRACT_CODE: &str = "608060405234801561001057600080fd5b50610113806100206000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c8063c2985578146037578063febb0f7e146057575b600080fd5b603d605f565b604051808215151515815260200191505060405180910390f35b605d6068565b005b60006001905090565b600060db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f6572726f725f6d7367000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b56fea2646970667358221220fde68a3968e0e99b16fabf9b2997a78218b32214031f8e07e2c502daf603a69e64736f6c63430006060033"; -#[test_runtimes([development])] +#[test_runtimes(all)] fn call() { RuntimeEnv::::default().parachain_state_mut(|| { // Addresses must be high enough to not map to the precompile space. diff --git a/runtime/integration-tests/src/generic/cases/investments.rs b/runtime/integration-tests/src/generic/cases/investments.rs index 946d98a779..3f2869ff3e 100644 --- a/runtime/integration-tests/src/generic/cases/investments.rs +++ b/runtime/integration-tests/src/generic/cases/investments.rs @@ -20,7 +20,7 @@ use crate::{ self, currency::{cfg, usd6, CurrencyInfo, Usd6}, genesis::{self, Genesis}, - POOL_MIN_EPOCH_TIME, + pool::POOL_MIN_EPOCH_TIME, }, }, utils::accounts::Keyring, @@ -51,12 +51,12 @@ mod common { env.parachain_state_mut(|| { // Create a pool utils::give_balance::(POOL_ADMIN.id(), T::PoolDeposit::get()); - utils::create_empty_pool::(POOL_ADMIN.id(), POOL_A, Usd6.id()); + utils::pool::create_empty::(POOL_ADMIN.id(), POOL_A, Usd6.id()); // Grant permissions let tranche_id = T::Api::tranche_id(POOL_A, 0).unwrap(); let tranche_investor = PoolRole::TrancheInvestor(tranche_id, Seconds::MAX); - utils::give_pool_role::(INVESTOR.id(), POOL_A, tranche_investor); + utils::pool::give_role::(INVESTOR.id(), POOL_A, tranche_investor); }); env @@ -98,7 +98,7 @@ fn investment_portfolio_single_tranche() { // Execute epoch to move pending to claimable pool currency env.pass(Blocks::BySeconds(POOL_MIN_EPOCH_TIME)); env.parachain_state_mut(|| { - utils::close_pool_epoch::(POOL_ADMIN.id(), POOL_A); + utils::pool::close_epoch::(POOL_ADMIN.id(), POOL_A); }); investment_portfolio = env.parachain_state_mut(|| T::Api::investment_portfolio(INVESTOR.id())); assert_eq!( @@ -142,7 +142,7 @@ fn investment_portfolio_single_tranche() { // Execute epoch to move pending tranche tokens to claimable pool currency env.pass(Blocks::BySeconds(POOL_MIN_EPOCH_TIME)); env.parachain_state_mut(|| { - utils::close_pool_epoch::(POOL_ADMIN.id(), POOL_A); + utils::pool::close_epoch::(POOL_ADMIN.id(), POOL_A); }); investment_portfolio = env.parachain_state_mut(|| T::Api::investment_portfolio(INVESTOR.id())); assert_eq!( diff --git a/runtime/integration-tests/src/generic/cases/liquidity_pools.rs b/runtime/integration-tests/src/generic/cases/liquidity_pools.rs index 6c84dadfe2..2abe1e5295 100644 --- a/runtime/integration-tests/src/generic/cases/liquidity_pools.rs +++ b/runtime/integration-tests/src/generic/cases/liquidity_pools.rs @@ -64,8 +64,8 @@ use crate::{ env::{Blocks, Env}, envs::fudge_env::{handle::FudgeHandle, FudgeEnv, FudgeRelayRuntime, FudgeSupport}, utils::{ - democracy::execute_via_democracy, evm::mint_balance_into_derived_account, genesis, - genesis::Genesis, xcm::enable_para_to_sibling_communication, + democracy::execute_via_democracy, genesis, genesis::Genesis, + xcm::enable_para_to_sibling_communication, }, }, utils::{accounts::Keyring, orml_asset_registry}, @@ -550,7 +550,7 @@ mod development { DEFAULT_VALIDITY, )), ) { - crate::generic::utils::give_pool_role::( + crate::generic::utils::pool::give_role::( investor.clone(), pool_id, PoolRole::TrancheInvestor(default_tranche_id::(pool_id), DEFAULT_VALIDITY), @@ -646,7 +646,7 @@ mod development { ); // Make investor the MembersListAdmin of this Pool - crate::generic::utils::give_pool_role::( + crate::generic::utils::pool::give_role::( investor.clone(), pool_id, PoolRole::TrancheInvestor(default_tranche_id::(pool_id), DEFAULT_VALIDITY), @@ -960,7 +960,7 @@ mod development { ); // Whitelist destination as TrancheInvestor of this Pool - crate::generic::utils::give_pool_role::( + crate::generic::utils::pool::give_role::( AccountConverter::convert(new_member.clone()), pool_id, PoolRole::TrancheInvestor(default_tranche_id::(pool_id), DEFAULT_VALIDITY), @@ -4259,7 +4259,7 @@ mod development { // Whitelist destination as TrancheInvestor of this Pool let valid_until = u64::MAX; - crate::generic::utils::give_pool_role::( + crate::generic::utils::pool::give_role::( AccountConverter::convert(dest_address.clone()), pool_id, PoolRole::TrancheInvestor(default_tranche_id::(pool_id), valid_until), @@ -4373,7 +4373,7 @@ mod development { )); // Whitelist destination as TrancheInvestor of this Pool - crate::generic::utils::give_pool_role::( + crate::generic::utils::pool::give_role::( receiver.clone(), pool_id, PoolRole::TrancheInvestor(default_tranche_id::(pool_id), valid_until), @@ -4425,12 +4425,12 @@ mod development { assert!(pallet_pool_system::Pallet::::pool(invalid_pool_id).is_none()); // Make Keyring::Bob the MembersListAdmin of both pools - crate::generic::utils::give_pool_role::( + crate::generic::utils::pool::give_role::( Keyring::Bob.into(), valid_pool_id, PoolRole::InvestorAdmin, ); - crate::generic::utils::give_pool_role::( + crate::generic::utils::pool::give_role::( Keyring::Bob.into(), invalid_pool_id, PoolRole::InvestorAdmin, @@ -4438,12 +4438,12 @@ mod development { // Give Keyring::Bob investor role for (valid_pool_id, invalid_tranche_id) and // (invalid_pool_id, valid_tranche_id) - crate::generic::utils::give_pool_role::( + crate::generic::utils::pool::give_role::( AccountConverter::convert(dest_address.clone()), invalid_pool_id, PoolRole::TrancheInvestor(valid_tranche_id, valid_until), ); - crate::generic::utils::give_pool_role::( + crate::generic::utils::pool::give_role::( AccountConverter::convert(dest_address.clone()), valid_pool_id, PoolRole::TrancheInvestor(invalid_tranche_id, valid_until), @@ -4541,7 +4541,7 @@ mod development { ); }); - let sender = Keyring::Alice.to_account_id(); + let sender = Keyring::Alice.id(); let gateway_sender = env.parachain_state(|| { ::Sender::get() }); @@ -4553,8 +4553,8 @@ mod development { let msg = LiquidityPoolMessage::Transfer { currency: 0, - sender: Keyring::Alice.to_account_id().into(), - receiver: Keyring::Bob.to_account_id().into(), + sender: Keyring::Alice.id().into(), + receiver: Keyring::Bob.id().into(), amount: 1_000u128, }; @@ -4591,11 +4591,14 @@ mod development { assert_ok!(env.parachain_state_mut(|| { // Note how both the target address and the gateway sender need to have some // balance. - mint_balance_into_derived_account::( + crate::generic::utils::evm::mint_balance_into_derived_account::( axelar_contract_address, cfg(1_000_000_000), ); - mint_balance_into_derived_account::(gateway_sender_h160, cfg(1_000_000)); + crate::generic::utils::evm::mint_balance_into_derived_account::( + gateway_sender_h160, + cfg(1_000_000), + ); as OutboundQueue>::submit( sender.clone(), @@ -5210,7 +5213,7 @@ mod altair { PalletInstance(PoolPalletIndex::get()), GeneralKey { length: tranche_id.len() as u8, - data: vec_to_fixed_array(tranche_id.to_vec()), + data: vec_to_fixed_array(tranche_id), }, ], ); @@ -5870,7 +5873,7 @@ mod centrifuge { .add(genesis::balances::(cfg(TRANSFER_AMOUNT + 10))) .add(orml_tokens::GenesisConfig:: { balances: vec![( - Keyring::Alice.to_account_id(), + Keyring::Alice.id(), USDC, T::ExistentialDeposit::get() + usdc(TRANSFER_AMOUNT), )], @@ -5887,16 +5890,14 @@ mod centrifuge { pallet_transfer_allowlist::Pallet::::add_transfer_allowance( RawOrigin::Signed(Keyring::Alice.into()).into(), FilterCurrency::All, - RestrictedTransferLocation::Local(Keyring::Bob.to_account_id()) + RestrictedTransferLocation::Local(Keyring::Bob.id()) ) ); ( - pallet_balances::Pallet::::free_balance(&Keyring::Alice.to_account_id()), - pallet_balances::Pallet::::free_balance(&Keyring::Bob.to_account_id()), - pallet_balances::Pallet::::free_balance( - &Keyring::Charlie.to_account_id(), - ), + pallet_balances::Pallet::::free_balance(&Keyring::Alice.id()), + pallet_balances::Pallet::::free_balance(&Keyring::Bob.id()), + pallet_balances::Pallet::::free_balance(&Keyring::Charlie.id()), ) }); @@ -5915,11 +5916,11 @@ mod centrifuge { // Restrict also CFG local env.parachain_state(|| { let after_transfer_alice = - pallet_balances::Pallet::::free_balance(&Keyring::Alice.to_account_id()); + pallet_balances::Pallet::::free_balance(&Keyring::Alice.id()); let after_transfer_bob = - pallet_balances::Pallet::::free_balance(&Keyring::Bob.to_account_id()); + pallet_balances::Pallet::::free_balance(&Keyring::Bob.id()); let after_transfer_charlie = - pallet_balances::Pallet::::free_balance(&Keyring::Charlie.to_account_id()); + pallet_balances::Pallet::::free_balance(&Keyring::Charlie.id()); assert_eq!( after_transfer_alice, @@ -5937,7 +5938,7 @@ mod centrifuge { .add(genesis::balances::(cfg(TRANSFER_AMOUNT + 10))) .add(orml_tokens::GenesisConfig:: { balances: vec![( - Keyring::Alice.to_account_id(), + Keyring::Alice.id(), USDC, T::ExistentialDeposit::get() + usdc(TRANSFER_AMOUNT), )], @@ -5951,7 +5952,7 @@ mod centrifuge { pallet_transfer_allowlist::Pallet::::add_transfer_allowance( RawOrigin::Signed(Keyring::Alice.into()).into(), FilterCurrency::All, - RestrictedTransferLocation::Local(Keyring::Bob.to_account_id()) + RestrictedTransferLocation::Local(Keyring::Bob.id()) ) ); }); @@ -5961,11 +5962,11 @@ mod centrifuge { register_usdc::(1000); let pre_transfer_alice = - orml_tokens::Pallet::::free_balance(USDC, &Keyring::Alice.to_account_id()); + orml_tokens::Pallet::::free_balance(USDC, &Keyring::Alice.id()); let pre_transfer_bob = - orml_tokens::Pallet::::free_balance(USDC, &Keyring::Bob.to_account_id()); + orml_tokens::Pallet::::free_balance(USDC, &Keyring::Bob.id()); let pre_transfer_charlie = - orml_tokens::Pallet::::free_balance(USDC, &Keyring::Charlie.to_account_id()); + orml_tokens::Pallet::::free_balance(USDC, &Keyring::Charlie.id()); assert_noop!( pallet_restricted_tokens::Pallet::::transfer( @@ -5978,9 +5979,9 @@ mod centrifuge { ); let after_transfer_alice = - orml_tokens::Pallet::::free_balance(USDC, &Keyring::Alice.to_account_id()); + orml_tokens::Pallet::::free_balance(USDC, &Keyring::Alice.id()); let after_transfer_charlie = - orml_tokens::Pallet::::free_balance(USDC, &Keyring::Charlie.to_account_id()); + orml_tokens::Pallet::::free_balance(USDC, &Keyring::Charlie.id()); assert_eq!(after_transfer_alice, pre_transfer_alice); assert_eq!(after_transfer_charlie, pre_transfer_charlie); @@ -5993,11 +5994,11 @@ mod centrifuge { ),); let after_transfer_alice = - orml_tokens::Pallet::::free_balance(USDC, &Keyring::Alice.to_account_id()); + orml_tokens::Pallet::::free_balance(USDC, &Keyring::Alice.id()); let after_transfer_bob = - orml_tokens::Pallet::::free_balance(USDC, &Keyring::Bob.to_account_id()); + orml_tokens::Pallet::::free_balance(USDC, &Keyring::Bob.id()); let after_transfer_charlie = - orml_tokens::Pallet::::free_balance(USDC, &Keyring::Charlie.to_account_id()); + orml_tokens::Pallet::::free_balance(USDC, &Keyring::Charlie.id()); assert_eq!( after_transfer_alice, @@ -6013,11 +6014,11 @@ mod centrifuge { register_cfg::(2031); let pre_transfer_alice = - pallet_balances::Pallet::::free_balance(&Keyring::Alice.to_account_id()); + pallet_balances::Pallet::::free_balance(&Keyring::Alice.id()); let pre_transfer_bob = - pallet_balances::Pallet::::free_balance(&Keyring::Bob.to_account_id()); + pallet_balances::Pallet::::free_balance(&Keyring::Bob.id()); let pre_transfer_charlie = - pallet_balances::Pallet::::free_balance(&Keyring::Charlie.to_account_id()); + pallet_balances::Pallet::::free_balance(&Keyring::Charlie.id()); assert_noop!( pallet_restricted_tokens::Pallet::::transfer( @@ -6030,9 +6031,9 @@ mod centrifuge { ); let after_transfer_alice = - pallet_balances::Pallet::::free_balance(&Keyring::Alice.to_account_id()); + pallet_balances::Pallet::::free_balance(&Keyring::Alice.id()); let after_transfer_charlie = - pallet_balances::Pallet::::free_balance(&Keyring::Charlie.to_account_id()); + pallet_balances::Pallet::::free_balance(&Keyring::Charlie.id()); assert_eq!(after_transfer_alice, pre_transfer_alice); assert_eq!(after_transfer_charlie, pre_transfer_charlie); @@ -6045,11 +6046,11 @@ mod centrifuge { ),); let after_transfer_alice = - pallet_balances::Pallet::::free_balance(&Keyring::Alice.to_account_id()); + pallet_balances::Pallet::::free_balance(&Keyring::Alice.id()); let after_transfer_bob = - pallet_balances::Pallet::::free_balance(&Keyring::Bob.to_account_id()); + pallet_balances::Pallet::::free_balance(&Keyring::Bob.id()); let after_transfer_charlie = - pallet_balances::Pallet::::free_balance(&Keyring::Charlie.to_account_id()); + pallet_balances::Pallet::::free_balance(&Keyring::Charlie.id()); assert_eq!( after_transfer_alice, @@ -6067,7 +6068,7 @@ mod centrifuge { .add(genesis::balances::(cfg(10))) .add(orml_tokens::GenesisConfig:: { balances: vec![( - Keyring::Alice.to_account_id(), + Keyring::Alice.id(), LP_ETH_USDC, T::ExistentialDeposit::get() + lp_eth_usdc(TRANSFER_AMOUNT), )], @@ -6078,23 +6079,17 @@ mod centrifuge { env.parachain_state_mut(|| { register_lp_eth_usdc::(); - let pre_transfer_alice = orml_tokens::Pallet::::free_balance( - LP_ETH_USDC, - &Keyring::Alice.to_account_id(), - ); - let pre_transfer_bob = orml_tokens::Pallet::::free_balance( - LP_ETH_USDC, - &Keyring::Bob.to_account_id(), - ); - let pre_transfer_charlie = orml_tokens::Pallet::::free_balance( - LP_ETH_USDC, - &Keyring::Charlie.to_account_id(), - ); + let pre_transfer_alice = + orml_tokens::Pallet::::free_balance(LP_ETH_USDC, &Keyring::Alice.id()); + let pre_transfer_bob = + orml_tokens::Pallet::::free_balance(LP_ETH_USDC, &Keyring::Bob.id()); + let pre_transfer_charlie = + orml_tokens::Pallet::::free_balance(LP_ETH_USDC, &Keyring::Charlie.id()); add_allowance::( Keyring::Alice, LP_ETH_USDC, - RestrictedTransferLocation::Local(Keyring::Bob.to_account_id()), + RestrictedTransferLocation::Local(Keyring::Bob.id()), ); assert_noop!( @@ -6107,14 +6102,10 @@ mod centrifuge { pallet_restricted_tokens::Error::::PreConditionsNotMet ); - let after_transfer_alice = orml_tokens::Pallet::::free_balance( - LP_ETH_USDC, - &Keyring::Alice.to_account_id(), - ); - let after_transfer_charlie = orml_tokens::Pallet::::free_balance( - LP_ETH_USDC, - &Keyring::Charlie.to_account_id(), - ); + let after_transfer_alice = + orml_tokens::Pallet::::free_balance(LP_ETH_USDC, &Keyring::Alice.id()); + let after_transfer_charlie = + orml_tokens::Pallet::::free_balance(LP_ETH_USDC, &Keyring::Charlie.id()); assert_eq!(after_transfer_alice, pre_transfer_alice); assert_eq!(after_transfer_charlie, pre_transfer_charlie); @@ -6126,18 +6117,12 @@ mod centrifuge { lp_eth_usdc(TRANSFER_AMOUNT) ),); - let after_transfer_alice = orml_tokens::Pallet::::free_balance( - LP_ETH_USDC, - &Keyring::Alice.to_account_id(), - ); - let after_transfer_bob = orml_tokens::Pallet::::free_balance( - LP_ETH_USDC, - &Keyring::Bob.to_account_id(), - ); - let after_transfer_charlie = orml_tokens::Pallet::::free_balance( - LP_ETH_USDC, - &Keyring::Charlie.to_account_id(), - ); + let after_transfer_alice = + orml_tokens::Pallet::::free_balance(LP_ETH_USDC, &Keyring::Alice.id()); + let after_transfer_bob = + orml_tokens::Pallet::::free_balance(LP_ETH_USDC, &Keyring::Bob.id()); + let after_transfer_charlie = + orml_tokens::Pallet::::free_balance(LP_ETH_USDC, &Keyring::Charlie.id()); assert_eq!( after_transfer_alice, @@ -6158,7 +6143,7 @@ mod centrifuge { .add(genesis::balances::(cfg(10))) .add(orml_tokens::GenesisConfig:: { balances: vec![( - Keyring::Alice.to_account_id(), + Keyring::Alice.id(), LP_ETH_USDC, T::ExistentialDeposit::get() + lp_eth_usdc(TRANSFER_AMOUNT), )], @@ -6208,9 +6193,8 @@ mod centrifuge { ); let receiver = H160::from_slice( - &>::as_ref( - &Keyring::Charlie.to_account_id(), - )[0..20], + &>::as_ref(&Keyring::Charlie.id()) + [0..20], ); let domain_address = DomainAddress::EVM(1, receiver.into()); @@ -6254,7 +6238,7 @@ mod centrifuge { .add(genesis::balances::(cfg(10))) .add(orml_tokens::GenesisConfig:: { balances: vec![( - Keyring::Alice.to_account_id(), + Keyring::Alice.id(), USDC, T::ExistentialDeposit::get() + usdc(TRANSFER_AMOUNT), )], @@ -6266,16 +6250,16 @@ mod centrifuge { register_usdc::(1000); let pre_transfer_alice = - orml_tokens::Pallet::::free_balance(USDC, &Keyring::Alice.to_account_id()); + orml_tokens::Pallet::::free_balance(USDC, &Keyring::Alice.id()); let pre_transfer_bob = - orml_tokens::Pallet::::free_balance(USDC, &Keyring::Bob.to_account_id()); + orml_tokens::Pallet::::free_balance(USDC, &Keyring::Bob.id()); let pre_transfer_charlie = - orml_tokens::Pallet::::free_balance(USDC, &Keyring::Charlie.to_account_id()); + orml_tokens::Pallet::::free_balance(USDC, &Keyring::Charlie.id()); add_allowance::( Keyring::Alice, USDC, - RestrictedTransferLocation::Local(Keyring::Bob.to_account_id()), + RestrictedTransferLocation::Local(Keyring::Bob.id()), ); assert_noop!( @@ -6289,9 +6273,9 @@ mod centrifuge { ); let after_transfer_alice = - orml_tokens::Pallet::::free_balance(USDC, &Keyring::Alice.to_account_id()); + orml_tokens::Pallet::::free_balance(USDC, &Keyring::Alice.id()); let after_transfer_charlie = - orml_tokens::Pallet::::free_balance(USDC, &Keyring::Charlie.to_account_id()); + orml_tokens::Pallet::::free_balance(USDC, &Keyring::Charlie.id()); assert_eq!(after_transfer_alice, pre_transfer_alice); assert_eq!(after_transfer_charlie, pre_transfer_charlie); @@ -6304,11 +6288,11 @@ mod centrifuge { ),); let after_transfer_alice = - orml_tokens::Pallet::::free_balance(USDC, &Keyring::Alice.to_account_id()); + orml_tokens::Pallet::::free_balance(USDC, &Keyring::Alice.id()); let after_transfer_bob = - orml_tokens::Pallet::::free_balance(USDC, &Keyring::Bob.to_account_id()); + orml_tokens::Pallet::::free_balance(USDC, &Keyring::Bob.id()); let after_transfer_charlie = - orml_tokens::Pallet::::free_balance(USDC, &Keyring::Charlie.to_account_id()); + orml_tokens::Pallet::::free_balance(USDC, &Keyring::Charlie.id()); assert_eq!( after_transfer_alice, @@ -6404,7 +6388,7 @@ mod centrifuge { .add(genesis::balances::(cfg(10))) .add(orml_tokens::GenesisConfig:: { balances: vec![( - Keyring::Alice.to_account_id(), + Keyring::Alice.id(), DOT_ASSET_ID, T::ExistentialDeposit::get() + dot(TRANSFER_AMOUNT), )], @@ -6415,23 +6399,17 @@ mod centrifuge { env.parachain_state_mut(|| { register_dot::(); - let pre_transfer_alice = orml_tokens::Pallet::::free_balance( - DOT_ASSET_ID, - &Keyring::Alice.to_account_id(), - ); - let pre_transfer_bob = orml_tokens::Pallet::::free_balance( - DOT_ASSET_ID, - &Keyring::Bob.to_account_id(), - ); - let pre_transfer_charlie = orml_tokens::Pallet::::free_balance( - DOT_ASSET_ID, - &Keyring::Charlie.to_account_id(), - ); + let pre_transfer_alice = + orml_tokens::Pallet::::free_balance(DOT_ASSET_ID, &Keyring::Alice.id()); + let pre_transfer_bob = + orml_tokens::Pallet::::free_balance(DOT_ASSET_ID, &Keyring::Bob.id()); + let pre_transfer_charlie = + orml_tokens::Pallet::::free_balance(DOT_ASSET_ID, &Keyring::Charlie.id()); add_allowance::( Keyring::Alice, DOT_ASSET_ID, - RestrictedTransferLocation::Local(Keyring::Bob.to_account_id()), + RestrictedTransferLocation::Local(Keyring::Bob.id()), ); assert_noop!( @@ -6444,14 +6422,10 @@ mod centrifuge { pallet_restricted_tokens::Error::::PreConditionsNotMet ); - let after_transfer_alice = orml_tokens::Pallet::::free_balance( - DOT_ASSET_ID, - &Keyring::Alice.to_account_id(), - ); - let after_transfer_charlie = orml_tokens::Pallet::::free_balance( - DOT_ASSET_ID, - &Keyring::Charlie.to_account_id(), - ); + let after_transfer_alice = + orml_tokens::Pallet::::free_balance(DOT_ASSET_ID, &Keyring::Alice.id()); + let after_transfer_charlie = + orml_tokens::Pallet::::free_balance(DOT_ASSET_ID, &Keyring::Charlie.id()); assert_eq!(after_transfer_alice, pre_transfer_alice); assert_eq!(after_transfer_charlie, pre_transfer_charlie); @@ -6463,18 +6437,12 @@ mod centrifuge { dot(TRANSFER_AMOUNT) ),); - let after_transfer_alice = orml_tokens::Pallet::::free_balance( - DOT_ASSET_ID, - &Keyring::Alice.to_account_id(), - ); - let after_transfer_bob = orml_tokens::Pallet::::free_balance( - DOT_ASSET_ID, - &Keyring::Bob.to_account_id(), - ); - let after_transfer_charlie = orml_tokens::Pallet::::free_balance( - DOT_ASSET_ID, - &Keyring::Charlie.to_account_id(), - ); + let after_transfer_alice = + orml_tokens::Pallet::::free_balance(DOT_ASSET_ID, &Keyring::Alice.id()); + let after_transfer_bob = + orml_tokens::Pallet::::free_balance(DOT_ASSET_ID, &Keyring::Bob.id()); + let after_transfer_charlie = + orml_tokens::Pallet::::free_balance(DOT_ASSET_ID, &Keyring::Charlie.id()); assert_eq!( after_transfer_alice, diff --git a/runtime/integration-tests/src/generic/cases/loans.rs b/runtime/integration-tests/src/generic/cases/loans.rs index 4c506c77d1..61f6ce7349 100644 --- a/runtime/integration-tests/src/generic/cases/loans.rs +++ b/runtime/integration-tests/src/generic/cases/loans.rs @@ -42,7 +42,7 @@ use crate::{ self, currency::{self, cfg, usd6, CurrencyInfo, Usd6}, genesis::{self, Genesis}, - POOL_MIN_EPOCH_TIME, + pool::POOL_MIN_EPOCH_TIME, }, }, utils::accounts::Keyring, @@ -84,19 +84,19 @@ mod common { env.parachain_state_mut(|| { // Creating a pool utils::give_balance::(POOL_ADMIN.id(), T::PoolDeposit::get()); - utils::create_empty_pool::(POOL_ADMIN.id(), POOL_A, Usd6.id()); + utils::pool::create_empty::(POOL_ADMIN.id(), POOL_A, Usd6.id()); // Setting borrower - utils::give_pool_role::(BORROWER.id(), POOL_A, PoolRole::Borrower); + utils::pool::give_role::(BORROWER.id(), POOL_A, PoolRole::Borrower); utils::give_nft::(BORROWER.id(), NFT_A); // Setting a loan admin - utils::give_pool_role::(LOAN_ADMIN.id(), POOL_A, PoolRole::LoanAdmin); + utils::pool::give_role::(LOAN_ADMIN.id(), POOL_A, PoolRole::LoanAdmin); // Funding a pool let tranche_id = T::Api::tranche_id(POOL_A, 0).unwrap(); let tranche_investor = PoolRole::TrancheInvestor(tranche_id, Seconds::MAX); - utils::give_pool_role::(INVESTOR.id(), POOL_A, tranche_investor); + utils::pool::give_role::(INVESTOR.id(), POOL_A, tranche_investor); utils::give_tokens::(INVESTOR.id(), Usd6.id(), EXPECTED_POOL_BALANCE); utils::invest::(INVESTOR.id(), POOL_A, tranche_id, EXPECTED_POOL_BALANCE); }); @@ -105,7 +105,7 @@ mod common { env.parachain_state_mut(|| { // New epoch with the investor funds available - utils::close_pool_epoch::(POOL_ADMIN.id(), POOL_A); + utils::pool::close_epoch::(POOL_ADMIN.id(), POOL_A); }); env diff --git a/runtime/integration-tests/src/generic/cases/lp/investments.rs b/runtime/integration-tests/src/generic/cases/lp/investments.rs new file mode 100644 index 0000000000..773524a346 --- /dev/null +++ b/runtime/integration-tests/src/generic/cases/lp/investments.rs @@ -0,0 +1,747 @@ +// 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::{Balance, OrderId}; +use ethabi::{Token, Uint}; +use pallet_investments::OrderOf; +use sp_core::U256; +use sp_runtime::traits::Zero; + +use crate::{ + generic::{ + cases::lp::{ + self, names, setup_full, + utils::{pool_c_tranche_1_id, Decoder}, + DECIMALS_6, POOL_C, + }, + config::Runtime, + env::{Blocks, Env, EnvEvmExtension, EvmEnv}, + }, + utils::accounts::Keyring, +}; + +const DEFAULT_INVESTMENT_AMOUNT: Balance = 100 * DECIMALS_6; + +mod utils { + use cfg_primitives::{AccountId, Balance}; + use cfg_traits::{investments::TrancheCurrency, HasLocalAssetRepresentation}; + use ethabi::Token; + use pallet_foreign_investments::Action; + use pallet_liquidity_pools::{GeneralCurrencyIndexOf, GeneralCurrencyIndexType}; + use sp_core::U256; + + use crate::{ + generic::{ + cases::lp::{investments::DEFAULT_INVESTMENT_AMOUNT, names, utils::Decoder}, + config::Runtime, + env::EvmEnv, + utils::{collect_investments, pool::close_epoch}, + }, + utils::accounts::Keyring, + }; + + pub fn index_lp(evm: &mut impl EvmEnv, name: &str) -> GeneralCurrencyIndexType { + Decoder::::decode(&evm.view( + Keyring::Alice, + names::POOL_MANAGER, + "currencyAddressToId", + Some(&[Token::Address(evm.deployed(name).address)]), + )) + } + + pub fn currency_index( + currency_id: ::CurrencyId, + ) -> GeneralCurrencyIndexType { + GeneralCurrencyIndexOf::::try_from(currency_id) + .unwrap() + .index + } + + pub fn investment_id( + pool: T::PoolId, + tranche: T::TrancheId, + ) -> ::TrancheCurrency { + ::TrancheCurrency::generate(pool, tranche) + } + + // TODO: CHANGE EVM TO BE ENVIRONMENTAL AND MAKE TRAIT NON SELF BUT RATHER GET + // THAT ENVIRONMENTAL! + pub fn invest(evm: &mut impl EvmEnv, who: Keyring, lp_pool: &str) { + evm.call( + who, + U256::zero(), + lp_pool, + "requestDeposit", + Some(&[ + Token::Uint(DEFAULT_INVESTMENT_AMOUNT.into()), + Token::Address(who.into()), + Token::Address(who.into()), + Token::Bytes(Default::default()), + ]), + ) + .unwrap(); + } + + pub fn cancel(evm: &mut impl EvmEnv, who: Keyring, lp_pool: &str) { + evm.call(who, U256::zero(), lp_pool, "cancelDepositRequest", None) + .unwrap(); + } + + pub fn decrease( + evm: &mut impl EvmEnv, + who: Keyring, + lp_pool: &str, + amount: Balance, + ) { + evm.call( + who, + U256::zero(), + lp_pool, + "decreaseDepositRequest", + Some(&[Token::Uint(amount.into())]), + ) + .unwrap(); + } + + pub fn close_and_collect( + investor: AccountId, + pool: ::PoolId, + tranche: ::TrancheId, + ) { + close_epoch::(Keyring::Admin.id(), pool); + // NOTE: We are collecting for the remote accounts only here. + collect_investments::(investor, pool, tranche); + } + + pub fn fulfill_swap( + investor: AccountId, + pool: ::PoolId, + tranche: ::TrancheId, + action: Action, + amount: Option<::BalanceOut>, + ) { + let order = pallet_order_book::Orders::::get( + pallet_swaps::SwapIdToOrderId::::get(( + investor, + (investment_id::(pool, tranche), action), + )) + .expect("Nothing to match"), + ) + .unwrap(); + + let from = &order.currency_out; + let to = &order.currency_in; + let needs_token_mux = match ( + HasLocalAssetRepresentation::>::is_local_representation_of(to, from).unwrap(), + HasLocalAssetRepresentation::>::is_local_representation_of(from, to).unwrap(), + ) { + (true, true) => unreachable!("Currencies should never be local of locals."), + (false, false) => false, + (true, false) => true, + (false, true) => true, + }; + + if needs_token_mux { + pallet_token_mux::Pallet::::match_swap( + Keyring::Alice.as_origin::(), + order.order_id, + amount.unwrap_or(order.amount_out), + ) + .unwrap(); + } else { + // TODO: Need to move tokens to Centrifuge first IIRC + // (i.e. FRAX, DAI, USDC) and then match. Best would be + // to move them during start-up, swap some USDC against + // LocalUSDC so that Alice holds it all. + } + } +} + +mod with_pool_currency { + use super::{utils, *}; + use crate::generic::cases::lp::utils as lp_utils; + + #[test_runtimes(all)] + fn currency_invest() { + let mut env = setup_full::(); + env.state_mut(|evm| { + utils::invest(evm, Keyring::TrancheInvestor(1), names::POOL_C_T_1_USDC); + }); + + env.state(|evm| { + assert_eq!( + pallet_investments::InvestOrders::::get( + lp::utils::remote_account_of::(Keyring::TrancheInvestor(1)), + utils::investment_id::(POOL_C, pool_c_tranche_1_id::()) + ), + Some(OrderOf::::new( + DEFAULT_INVESTMENT_AMOUNT, + OrderId::zero() + )) + ); + + assert_eq!( + Decoder::::decode(&evm.view( + Keyring::TrancheInvestor(1), + names::POOL_C_T_1_USDC, + "pendingDepositRequest", + Some(&[ + Token::Uint(Uint::zero()), + Token::Address(Keyring::TrancheInvestor(1).into()), + ]), + )), + DEFAULT_INVESTMENT_AMOUNT + ); + }); + } + + #[test_runtimes(all)] + fn currency_collect() { + let mut env = setup_full::(); + env.state_mut(|evm| { + utils::invest(evm, Keyring::TrancheInvestor(1), names::POOL_C_T_1_USDC); + }); + // Needed to get passed min_epoch_time + env.pass(Blocks::ByNumber(1)); + env.state_mut(|_evm| { + utils::close_and_collect::( + lp::utils::remote_account_of::(Keyring::TrancheInvestor(1)), + POOL_C, + pool_c_tranche_1_id::(), + ); + + lp_utils::process_outbound::(lp_utils::verify_outbound_success::); + }); + + env.state_mut(|evm| { + assert_eq!( + pallet_investments::InvestOrders::::get( + lp::utils::remote_account_of::(Keyring::TrancheInvestor(1)), + utils::investment_id::(POOL_C, pool_c_tranche_1_id::()) + ), + None + ); + + evm.call( + Keyring::TrancheInvestor(1), + U256::zero(), + names::POOL_C_T_1_USDC, + "deposit", + Some(&[ + Token::Uint(Decoder::::decode(&evm.view( + Keyring::TrancheInvestor(1), + names::POOL_C_T_1_USDC, + "maxDeposit", + Some(&[Token::Address(Keyring::TrancheInvestor(1).into())]), + ))), + Token::Address(Keyring::TrancheInvestor(1).into()), + ]), + ) + .unwrap(); + + assert_eq!( + Decoder::::decode(&evm.view( + Keyring::TrancheInvestor(1), + names::POOL_C_T_1, + "balanceOf", + Some(&[Token::Address(Keyring::TrancheInvestor(1).into())]), + )), + // Same amount as price is 1. + DEFAULT_INVESTMENT_AMOUNT + ); + + assert_eq!( + Decoder::::decode(&evm.view( + Keyring::TrancheInvestor(1), + names::POOL_C_T_1_USDC, + "maxDeposit", + Some(&[Token::Address(Keyring::TrancheInvestor(1).into())]), + )), + 0 + ); + }); + } + + #[test_runtimes(all)] + fn invest_cancel_full() { + let mut env = setup_full::(); + env.state_mut(|evm| { + utils::invest(evm, Keyring::TrancheInvestor(1), names::POOL_C_T_1_USDC); + }); + + env.state(|evm| { + assert_eq!( + pallet_investments::InvestOrders::::get( + lp::utils::remote_account_of::(Keyring::TrancheInvestor(1)), + utils::investment_id::(POOL_C, pool_c_tranche_1_id::()) + ), + Some(OrderOf::::new( + DEFAULT_INVESTMENT_AMOUNT, + OrderId::zero() + )) + ); + + assert_eq!( + Decoder::::decode(&evm.view( + Keyring::TrancheInvestor(1), + names::POOL_C_T_1_USDC, + "pendingDepositRequest", + Some(&[ + Token::Uint(Uint::zero()), + Token::Address(Keyring::TrancheInvestor(1).into()), + ]), + )), + DEFAULT_INVESTMENT_AMOUNT + ); + }); + + env.state_mut(|evm| { + utils::cancel(evm, Keyring::TrancheInvestor(1), names::POOL_C_T_1_USDC); + + assert_eq!( + pallet_investments::InvestOrders::::get( + lp::utils::remote_account_of::(Keyring::TrancheInvestor(1)), + utils::investment_id::(POOL_C, pool_c_tranche_1_id::()) + ), + None + ); + + lp_utils::process_outbound::(lp_utils::verify_outbound_success::); + + assert_eq!( + Decoder::::decode(&evm.view( + Keyring::TrancheInvestor(1), + names::POOL_C_T_1_USDC, + "pendingDepositRequest", + Some(&[ + Token::Uint(Uint::zero()), + Token::Address(Keyring::TrancheInvestor(1).into()), + ]), + )), + 0 + ); + }); + } +} + +mod with_foreign_currency { + use cfg_types::fixed_point::Quantity; + use cfg_utils::vec_to_fixed_array; + use pallet_foreign_investments::Action; + use pallet_liquidity_pools::MessageOf; + use sp_runtime::{ + traits::{EnsureFixedPointNumber, EnsureSub, One}, + FixedPointNumber, + }; + + use super::{utils, *}; + use crate::generic::cases::lp::{ + investments::utils::close_and_collect, utils as lp_utils, utils::pool_a_tranche_1_id, + POOL_A, + }; + + #[test_runtimes(all)] + fn invest_cancel_full_before_swap() { + let mut env = setup_full::(); + env.state_mut(|evm| { + utils::invest(evm, Keyring::TrancheInvestor(1), names::POOL_A_T_1_USDC); + }); + + env.state(|evm| { + assert_eq!( + pallet_investments::InvestOrders::::get( + lp::utils::remote_account_of::(Keyring::TrancheInvestor(1)), + utils::investment_id::(POOL_A, pool_c_tranche_1_id::()) + ), + None, + ); + + assert_eq!( + Decoder::::decode(&evm.view( + Keyring::TrancheInvestor(1), + names::POOL_A_T_1_USDC, + "pendingDepositRequest", + Some(&[ + Token::Uint(Uint::zero()), + Token::Address(Keyring::TrancheInvestor(1).into()), + ]), + )), + DEFAULT_INVESTMENT_AMOUNT + ); + }); + + env.state_mut(|evm| { + utils::cancel(evm, Keyring::TrancheInvestor(1), names::POOL_A_T_1_USDC); + + assert_eq!( + pallet_investments::InvestOrders::::get( + lp::utils::remote_account_of::(Keyring::TrancheInvestor(1)), + utils::investment_id::(POOL_A, pool_c_tranche_1_id::()) + ), + None + ); + + lp_utils::process_outbound::(lp_utils::verify_outbound_success::); + + assert_eq!( + Decoder::::decode(&evm.view( + Keyring::TrancheInvestor(1), + names::POOL_A_T_1_USDC, + "pendingDepositRequest", + Some(&[ + Token::Uint(Uint::zero()), + Token::Address(Keyring::TrancheInvestor(1).into()), + ]), + )), + 0 + ); + }); + } + + #[test_runtimes(all)] + fn invest_cancel_full_after_swap() { + let mut env = setup_full::(); + env.state_mut(|evm| { + utils::invest(evm, Keyring::TrancheInvestor(1), names::POOL_A_T_1_USDC); + utils::fulfill_swap::( + lp::utils::remote_account_of::(Keyring::TrancheInvestor(1)), + POOL_A, + pool_a_tranche_1_id::(), + Action::Investment, + None, + ); + }); + + env.state(|evm| { + assert_eq!( + pallet_investments::InvestOrders::::get( + lp::utils::remote_account_of::(Keyring::TrancheInvestor(1)), + utils::investment_id::(POOL_A, pool_a_tranche_1_id::()) + ), + Some(OrderOf::::new( + DEFAULT_INVESTMENT_AMOUNT, + OrderId::zero() + )) + ); + + assert_eq!( + Decoder::::decode(&evm.view( + Keyring::TrancheInvestor(1), + names::POOL_A_T_1_USDC, + "pendingDepositRequest", + Some(&[ + Token::Uint(Uint::zero()), + Token::Address(Keyring::TrancheInvestor(1).into()), + ]), + )), + DEFAULT_INVESTMENT_AMOUNT + ); + }); + + env.state_mut(|evm| { + utils::cancel(evm, Keyring::TrancheInvestor(1), names::POOL_A_T_1_USDC); + + assert_eq!( + pallet_investments::InvestOrders::::get( + lp::utils::remote_account_of::(Keyring::TrancheInvestor(1)), + utils::investment_id::(POOL_A, pool_a_tranche_1_id::()) + ), + None + ); + + utils::fulfill_swap::( + lp::utils::remote_account_of::(Keyring::TrancheInvestor(1)), + POOL_A, + pool_a_tranche_1_id::(), + Action::Investment, + None, + ); + + lp_utils::process_outbound::(|msg| { + assert_eq!( + msg, + MessageOf::::ExecutedDecreaseInvestOrder { + pool_id: POOL_A, + tranche_id: pool_a_tranche_1_id::(), + investor: vec_to_fixed_array(lp::utils::remote_account_of::( + Keyring::TrancheInvestor(1) + )), + currency: utils::index_lp(evm, names::USDC), + currency_payout: DEFAULT_INVESTMENT_AMOUNT, + remaining_invest_amount: 0, + } + ) + }); + + assert_eq!( + Decoder::::decode(&evm.view( + Keyring::TrancheInvestor(1), + names::POOL_A_T_1_USDC, + "pendingDepositRequest", + Some(&[ + Token::Uint(Uint::zero()), + Token::Address(Keyring::TrancheInvestor(1).into()), + ]), + )), + 0 + ); + }); + } + + #[test_runtimes(all)] + fn invest_cancel_full_after_swap_partially() { + let mut env = setup_full::(); + let part = Quantity::checked_from_rational(1, 2).unwrap(); + let partial_amount = part.ensure_mul_int(DEFAULT_INVESTMENT_AMOUNT).unwrap(); + + env.state_mut(|evm| { + utils::invest(evm, Keyring::TrancheInvestor(1), names::POOL_A_T_1_USDC); + utils::fulfill_swap::( + lp::utils::remote_account_of::(Keyring::TrancheInvestor(1)), + POOL_A, + pool_a_tranche_1_id::(), + Action::Investment, + Some(partial_amount), + ); + }); + + env.state(|evm| { + assert_eq!( + pallet_investments::InvestOrders::::get( + lp::utils::remote_account_of::(Keyring::TrancheInvestor(1)), + utils::investment_id::(POOL_A, pool_a_tranche_1_id::()) + ), + Some(OrderOf::::new(partial_amount, OrderId::zero())) + ); + + assert_eq!( + Decoder::::decode(&evm.view( + Keyring::TrancheInvestor(1), + names::POOL_A_T_1_USDC, + "pendingDepositRequest", + Some(&[ + Token::Uint(Uint::zero()), + Token::Address(Keyring::TrancheInvestor(1).into()), + ]), + )), + DEFAULT_INVESTMENT_AMOUNT + ); + }); + + env.state_mut(|evm| { + utils::cancel(evm, Keyring::TrancheInvestor(1), names::POOL_A_T_1_USDC); + + assert_eq!( + pallet_investments::InvestOrders::::get( + lp::utils::remote_account_of::(Keyring::TrancheInvestor(1)), + utils::investment_id::(POOL_A, pool_a_tranche_1_id::()) + ), + None + ); + + assert_eq!( + Decoder::::decode(&evm.view( + Keyring::TrancheInvestor(1), + names::POOL_A_T_1_USDC, + "pendingDepositRequest", + Some(&[ + Token::Uint(Uint::zero()), + Token::Address(Keyring::TrancheInvestor(1).into()), + ]), + )), + DEFAULT_INVESTMENT_AMOUNT + ); + + utils::fulfill_swap::( + lp::utils::remote_account_of::(Keyring::TrancheInvestor(1)), + POOL_A, + pool_a_tranche_1_id::(), + Action::Investment, + None, + ); + + lp_utils::process_outbound::(|msg| { + assert_eq!( + msg, + MessageOf::::ExecutedDecreaseInvestOrder { + pool_id: POOL_A, + tranche_id: pool_a_tranche_1_id::(), + investor: vec_to_fixed_array(lp::utils::remote_account_of::( + Keyring::TrancheInvestor(1) + )), + currency: utils::index_lp(evm, names::USDC), + currency_payout: DEFAULT_INVESTMENT_AMOUNT, + remaining_invest_amount: 0, + } + ) + }); + + assert_eq!( + Decoder::::decode(&evm.view( + Keyring::TrancheInvestor(1), + names::POOL_A_T_1_USDC, + "pendingDepositRequest", + Some(&[ + Token::Uint(Uint::zero()), + Token::Address(Keyring::TrancheInvestor(1).into()), + ]), + )), + 0 + ); + }); + } + + #[test_runtimes(all)] + fn invest_cancel_full_after_swap_partially_inter_epoch_close() { + let mut env = setup_full::(); + let part = Quantity::checked_from_rational(1, 3).unwrap(); + let other_part = Quantity::one().ensure_sub(part).unwrap(); + let partial_amount = part.ensure_mul_int(DEFAULT_INVESTMENT_AMOUNT).unwrap(); + let remaining_amount = other_part + .ensure_mul_int(DEFAULT_INVESTMENT_AMOUNT) + .unwrap(); + + env.state_mut(|evm| { + utils::invest(evm, Keyring::TrancheInvestor(1), names::POOL_A_T_1_USDC); + utils::fulfill_swap::( + lp::utils::remote_account_of::(Keyring::TrancheInvestor(1)), + POOL_A, + pool_a_tranche_1_id::(), + Action::Investment, + Some(partial_amount), + ); + }); + + env.state(|evm| { + assert_eq!( + pallet_investments::InvestOrders::::get( + lp::utils::remote_account_of::(Keyring::TrancheInvestor(1)), + utils::investment_id::(POOL_A, pool_a_tranche_1_id::()) + ), + Some(OrderOf::::new(partial_amount, OrderId::zero())) + ); + + assert_eq!( + Decoder::::decode(&evm.view( + Keyring::TrancheInvestor(1), + names::POOL_A_T_1_USDC, + "pendingDepositRequest", + Some(&[ + Token::Uint(Uint::zero()), + Token::Address(Keyring::TrancheInvestor(1).into()), + ]), + )), + DEFAULT_INVESTMENT_AMOUNT + ); + }); + + env.pass(Blocks::ByNumber(1)); + + env.state_mut(|evm| { + close_and_collect::( + lp::utils::remote_account_of::(Keyring::TrancheInvestor(1)), + POOL_A, + pool_a_tranche_1_id::(), + ); + + assert_eq!( + pallet_investments::InvestOrders::::get( + lp::utils::remote_account_of::(Keyring::TrancheInvestor(1)), + utils::investment_id::(POOL_A, pool_a_tranche_1_id::()) + ), + None + ); + + lp_utils::process_outbound::(|msg| { + assert_eq!( + msg, + MessageOf::::ExecutedCollectInvest { + pool_id: POOL_A, + tranche_id: pool_a_tranche_1_id::(), + investor: vec_to_fixed_array(lp::utils::remote_account_of::( + Keyring::TrancheInvestor(1) + )), + currency: utils::index_lp(evm, names::USDC), + currency_payout: partial_amount, + tranche_tokens_payout: partial_amount, + remaining_invest_amount: remaining_amount, + } + ) + }); + + assert_eq!( + Decoder::::decode(&evm.view( + Keyring::TrancheInvestor(1), + names::POOL_A_T_1_USDC, + "pendingDepositRequest", + Some(&[ + Token::Uint(Uint::zero()), + Token::Address(Keyring::TrancheInvestor(1).into()), + ]), + )), + remaining_amount + ); + + utils::cancel(evm, Keyring::TrancheInvestor(1), names::POOL_A_T_1_USDC); + + assert_eq!( + pallet_investments::InvestOrders::::get( + lp::utils::remote_account_of::(Keyring::TrancheInvestor(1)), + utils::investment_id::(POOL_A, pool_a_tranche_1_id::()) + ), + None + ); + + assert_eq!( + Decoder::::decode(&evm.view( + Keyring::TrancheInvestor(1), + names::POOL_A_T_1_USDC, + "pendingDepositRequest", + Some(&[ + Token::Uint(Uint::zero()), + Token::Address(Keyring::TrancheInvestor(1).into()), + ]), + )), + remaining_amount + ); + + lp_utils::process_outbound::(|msg| { + assert_eq!( + msg, + MessageOf::::ExecutedDecreaseInvestOrder { + pool_id: POOL_A, + tranche_id: pool_a_tranche_1_id::(), + investor: vec_to_fixed_array(lp::utils::remote_account_of::( + Keyring::TrancheInvestor(1) + )), + currency: utils::index_lp(evm, names::USDC), + currency_payout: remaining_amount, + remaining_invest_amount: 0, + } + ) + }); + + assert_eq!( + Decoder::::decode(&evm.view( + Keyring::TrancheInvestor(1), + names::POOL_A_T_1_USDC, + "pendingDepositRequest", + Some(&[ + Token::Uint(Uint::zero()), + Token::Address(Keyring::TrancheInvestor(1).into()), + ]), + )), + 0 + ); + }); + } +} diff --git a/runtime/integration-tests/src/generic/cases/lp/mod.rs b/runtime/integration-tests/src/generic/cases/lp/mod.rs new file mode 100644 index 0000000000..d10a514f0b --- /dev/null +++ b/runtime/integration-tests/src/generic/cases/lp/mod.rs @@ -0,0 +1,1956 @@ +// 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 axelar_gateway_precompile::SourceConverter; +use cfg_primitives::{Balance, PoolId, CFG, SECONDS_PER_HOUR, SECONDS_PER_YEAR}; +use cfg_traits::Seconds; +use cfg_types::{ + domain_address::{Domain, DomainAddress}, + permissions::PoolRole, + tokens::{CrossChainTransferability, CurrencyId, CustomMetadata, LocalAssetId}, +}; +use ethabi::{ + ethereum_types::{H160, U256}, + FixedBytes, Token, Uint, +}; +use frame_support::{ + assert_ok, dispatch::RawOrigin, pallet_prelude::ConstU32, traits::OriginTrait, BoundedVec, +}; +use frame_system::pallet_prelude::OriginFor; +use hex_literal::hex; +use liquidity_pools_gateway_routers::{ + AxelarEVMRouter, DomainRouter, EVMDomain, EVMRouter, FeeValues, MAX_AXELAR_EVM_CHAIN_SIZE, +}; +use pallet_evm::FeeCalculator; +use runtime_common::account_conversion::AccountConverter; +use sp_core::Get; +use sp_runtime::traits::{BlakeTwo256, Hash}; + +use crate::{ + generic::{ + cases::lp::utils::{ + pool_a_tranche_1_id, pool_b_tranche_1_id, pool_b_tranche_2_id, Decoder, + }, + config::Runtime, + env::{Blocks, Env, EnvEvmExtension, EvmEnv}, + envs::runtime_env::RuntimeEnv, + utils::{ + currency::{register_currency, CurrencyInfo}, + genesis, + genesis::Genesis, + give_balance, + oracle::set_order_book_feeder, + tokens::evm_balances, + }, + }, + utils::accounts::{default_investors, Keyring}, +}; + +pub mod investments; +pub mod pool_management; +pub mod transfers; + +pub mod utils { + use std::{cmp::min, fmt::Debug}; + + use cfg_primitives::{Balance, TrancheId}; + use cfg_types::domain_address::DomainAddress; + use ethabi::ethereum_types::{H160, H256, U256}; + use fp_evm::CallInfo; + use frame_support::traits::{OriginTrait, PalletInfo}; + use frame_system::pallet_prelude::OriginFor; + use pallet_evm::ExecutionInfo; + use sp_core::{ByteArray, Get}; + use sp_runtime::{ + traits::{Convert, EnsureAdd}, + DispatchError, + }; + use staging_xcm::{ + v4::{ + Junction::{AccountKey20, GlobalConsensus, PalletInstance}, + NetworkId, + }, + VersionedLocation, + }; + + use crate::{ + generic::{ + cases::lp::{EVM_DOMAIN_CHAIN_ID, POOL_A, POOL_B, POOL_C}, + config::Runtime, + utils::{evm::receipt_ok, last_event, pool::get_tranche_ids}, + }, + utils::accounts::Keyring, + }; + + pub fn remote_account_of( + keyring: Keyring, + ) -> ::AccountId { + ::DomainAddressToAccountId::convert( + DomainAddress::evm(EVM_DOMAIN_CHAIN_ID, keyring.into()), + ) + } + + pub const REVERT_ERR: Result = + Err(DispatchError::Other("EVM call failed: Revert")); + + pub fn lp_asset_location(address: H160) -> VersionedLocation { + [ + PalletInstance( + ::PalletInfo::index::>() + .unwrap() + .try_into() + .unwrap(), + ), + GlobalConsensus(NetworkId::Ethereum { + chain_id: EVM_DOMAIN_CHAIN_ID, + }), + AccountKey20 { + key: address.into(), + network: None, + } + ].into() + } + + pub fn pool_a_tranche_1_id() -> TrancheId { + *get_tranche_ids::(POOL_A) + .get(0) + .expect("Pool A has one non-residuary tranche") + } + pub fn pool_b_tranche_1_id() -> TrancheId { + *get_tranche_ids::(POOL_B) + .get(0) + .expect("Pool B has two non-residuary tranches") + } + pub fn pool_b_tranche_2_id() -> TrancheId { + *get_tranche_ids::(POOL_B) + .get(1) + .expect("Pool B has two non-residuary tranches") + } + + pub fn pool_c_tranche_1_id() -> TrancheId { + *get_tranche_ids::(POOL_C) + .get(0) + .expect("Pool B has two non-residuary tranches") + } + + pub fn verify_outbound_failure_on_lp(to: H160) { + let (_tx, status, receipt) = pallet_ethereum::Pending::::get() + .last() + .expect("Queue triggered evm tx.") + .clone(); + + // The sender is the sender account on the gateway + assert_eq!( + status.from.0, + ::Sender::get().as_slice()[0..20] + ); + assert_eq!(status.to.unwrap().0, to.0); + assert!(!receipt_ok(receipt)); + assert!(matches!( + last_event::>(), + pallet_liquidity_pools_gateway::Event::::OutboundMessageExecutionFailure { .. } + )); + } + + pub fn verify_outbound_success( + _: ::Message, + ) { + assert!(matches!( + last_event::>(), + pallet_liquidity_pools_gateway::Event::::OutboundMessageExecutionSuccess { .. } + )); + } + + pub fn process_outbound( + mut verifier: impl FnMut(::Message), + ) { + let msgs = pallet_liquidity_pools_gateway::OutboundMessageQueue::::iter() + .map(|(nonce, (_, _, msg))| (nonce, msg)) + .collect::>(); + + // The function should panic if there is nothing to be processed. + assert!(msgs.len() > 0); + + msgs.into_iter().for_each(|(nonce, msg)| { + pallet_liquidity_pools_gateway::Pallet::::process_outbound_message( + OriginFor::::signed(Keyring::Alice.into()), + nonce, + ) + .unwrap(); + + verifier(msg); + }); + } + + pub fn to_fixed_array(src: &[u8]) -> [u8; S] { + let mut dest = [0; S]; + let len = min(src.len(), S); + dest[..len].copy_from_slice(&src[..len]); + + dest + } + + pub fn as_h160_32bytes(who: Keyring) -> [u8; 32] { + let mut address = [0u8; 32]; + address[..20].copy_from_slice(H160::from(who).as_bytes()); + address + } + + trait Input { + fn input(&self) -> &[u8]; + } + + impl Input for Vec { + fn input(&self) -> &[u8] { + self.as_slice() + } + } + + impl Input for Result, E> { + fn input(&self) -> &[u8] { + match self { + Ok(arr) => arr.as_slice(), + Err(e) => panic!("Input received error: {:?}", e), + } + } + } + + impl Input for Result>, E> { + fn input(&self) -> &[u8] { + match self { + Ok(arr) => arr.value.as_slice(), + Err(e) => panic!("Input received error: {:?}", e), + } + } + } + + pub trait Decoder { + fn decode(&self) -> T; + } + + impl Decoder for T { + fn decode(&self) -> H160 { + assert_eq!(self.input().len(), 32usize); + + H160::from(to_fixed_array(&self.input()[12..])) + } + } + + impl Decoder for T { + fn decode(&self) -> H256 { + assert_eq!(self.input().len(), 32usize); + + H256::from(to_fixed_array(self.input())) + } + } + + impl Decoder for T { + fn decode(&self) -> bool { + assert!(self.input().len() == 32); + + // In EVM the last byte of the U256 is set to 1 if true else to false + self.input()[31] == 1u8 + } + } + + impl Decoder for T { + fn decode(&self) -> Balance { + assert_eq!(self.input().len(), 32usize); + + Balance::from_be_bytes(to_fixed_array(&self.input()[16..])) + } + } + + impl Decoder for T { + fn decode(&self) -> U256 { + match self.input().len() { + 1 => U256::from(u8::from_be_bytes(to_fixed_array(&self.input()))), + 2 => U256::from(u16::from_be_bytes(to_fixed_array(&self.input()))), + 4 => U256::from(u32::from_be_bytes(to_fixed_array(&self.input()))), + 8 => U256::from(u64::from_be_bytes(to_fixed_array(&self.input()))), + 16 => U256::from(u128::from_be_bytes(to_fixed_array(&self.input()))), + 32 => U256::from_big_endian(to_fixed_array::<32>(&self.input()).as_slice()), + _ => { + panic!("Invalid slice length for u256 derivation") + } + } + } + } + + impl Decoder<(u128, u64)> for T { + fn decode(&self) -> (u128, u64) { + assert!(self.input().len() >= 32); + + let left = &self.input()[..32]; + let right = &self.input()[32..]; + + let unsigned128 = match left.len() { + 1 => u128::from(u8::from_be_bytes(to_fixed_array(&left))), + 2 => u128::from(u16::from_be_bytes(to_fixed_array(&left))), + 4 => u128::from(u32::from_be_bytes(to_fixed_array(&left))), + 8 => u128::from(u64::from_be_bytes(to_fixed_array(&left))), + 16 => u128::from(u128::from_be_bytes(to_fixed_array(&left))), + 32 => { + let x = u128::from_be_bytes(to_fixed_array::<16>(&left[..16])); + let y = u128::from_be_bytes(to_fixed_array::<16>(&left[16..])); + x.ensure_add(y) + .expect("Price is initialized as u128 on EVM side") + } + _ => { + panic!("Invalid slice length for u128 derivation"); + } + }; + + let unsigned64 = match right.len() { + 1 => u64::from(u8::from_be_bytes(to_fixed_array(&right))), + 2 => u64::from(u16::from_be_bytes(to_fixed_array(&right))), + 4 => u64::from(u32::from_be_bytes(to_fixed_array(&right))), + 8 => u64::from_be_bytes(to_fixed_array(&right)), + // EVM stores in 32 byte slots with left-padding + 16 => u64::from_be_bytes(to_fixed_array::<8>(&right[28..])), + 32 => u64::from_be_bytes(to_fixed_array::<8>(&right[24..])), + _ => { + panic!("Invalid slice length for u64 derivation"); + } + }; + + (unsigned128, unsigned64) + } + } + + impl Decoder for T { + fn decode(&self) -> u8 { + assert_eq!(self.input().len(), 32usize); + + self.input()[31] + } + } +} + +/// A single tranched pool. +/// Pool currency: LocalUsdc +pub const POOL_A: PoolId = 1; + +/// A two tranched pool. +/// Pool currency: LocalUsdc +pub const POOL_B: PoolId = 2; + +/// A single tranched pool. +/// Pool currency: Usdc from other domain +pub const POOL_C: PoolId = 3; + +pub const DEFAULT_BALANCE: Balance = 1_000_000; +const DECIMALS_6: Balance = 1_000_000; +const DECIMALS_18: Balance = 1_000_000_000_000_000_000; +const LOCAL_ASSET_ID: LocalAssetId = LocalAssetId(1); +const INVESTOR_VALIDIDITY: Seconds = Seconds::MAX; + +pub mod contracts { + pub const POOL_MANAGER: &str = "PoolManager"; +} + +pub mod names { + pub const POOL_MANAGER: &str = "pool_manager"; + pub const USDC: &str = "usdc"; + pub const FRAX: &str = "frax"; + pub const DAI: &str = "dai"; + pub const POOL_A_T_1: &str = "lp_pool_a_tranche_1"; + pub const RM_POOL_A_T_1: &str = "rm_lp_pool_a_tranche_1"; + pub const POOL_A_T_1_DAI: &str = "lp_pool_a_tranche_1_dai"; + pub const POOL_A_T_1_FRAX: &str = "lp_pool_a_tranche_1_frax"; + pub const POOL_A_T_1_USDC: &str = "lp_pool_a_tranche_1_usdc"; + + pub const POOL_B_T_1: &str = "lp_pool_b_tranche_1"; + pub const RM_POOL_B_T_1: &str = "rm_lp_pool_b_tranche_1"; + pub const POOL_B_T_1_DAI: &str = "lp_pool_b_tranche_1_dai"; + pub const POOL_B_T_1_FRAX: &str = "lp_pool_b_tranche_1_frax"; + pub const POOL_B_T_1_USDC: &str = "lp_pool_b_tranche_1_usdc"; + + pub const POOL_B_T_2: &str = "lp_pool_b_tranche_2"; + pub const RM_POOL_B_T_2: &str = "rm_lp_pool_b_tranche_2"; + pub const POOL_B_T_2_DAI: &str = "lp_pool_b_tranche_2_dai"; + pub const POOL_B_T_2_FRAX: &str = "lp_pool_b_tranche_2_frax"; + pub const POOL_B_T_2_USDC: &str = "lp_pool_b_tranche_2_usdc"; + pub const POOL_C_T_1: &str = "lp_pool_c_tranche_1"; + pub const RM_POOL_C_T_1: &str = "rm_lp_pool_c_tranche_1"; + pub const POOL_C_T_1_USDC: &str = "lp_pool_b_tranche_1_usdc"; + pub const POOL_C_T_1_FRAX: &str = "lp_pool_b_tranche_1_frax"; + pub const POOL_C_T_1_DAI: &str = "lp_pool_b_tranche_1_dai"; +} + +#[allow(non_camel_case_types)] +pub struct USDC; +impl CurrencyInfo for USDC { + fn custom(&self) -> CustomMetadata { + CustomMetadata { + pool_currency: true, + transferability: CrossChainTransferability::LiquidityPools, + permissioned: false, + mintable: false, + local_representation: Some(LOCAL_ASSET_ID), + } + } + + fn ed(&self) -> Balance { + 10_000 + } + + fn symbol(&self) -> &'static str { + "USDC" + } + + fn id(&self) -> CurrencyId { + CurrencyId::ForeignAsset(100_001) + } + + fn decimals(&self) -> u32 { + 6 + } +} + +#[allow(non_camel_case_types)] +pub struct DAI; +impl CurrencyInfo for DAI { + fn custom(&self) -> CustomMetadata { + CustomMetadata { + pool_currency: true, + transferability: CrossChainTransferability::LiquidityPools, + permissioned: false, + mintable: false, + local_representation: None, + } + } + + fn symbol(&self) -> &'static str { + "DAI" + } + + fn id(&self) -> CurrencyId { + CurrencyId::ForeignAsset(100_002) + } + + fn ed(&self) -> Balance { + 100_000_000_000_000 + } + + fn decimals(&self) -> u32 { + 18 + } +} + +#[allow(non_camel_case_types)] +pub struct FRAX; +impl CurrencyInfo for FRAX { + fn custom(&self) -> CustomMetadata { + CustomMetadata { + pool_currency: true, + transferability: CrossChainTransferability::LiquidityPools, + permissioned: false, + mintable: false, + local_representation: None, + } + } + + fn symbol(&self) -> &'static str { + "FRAX" + } + + fn id(&self) -> CurrencyId { + CurrencyId::ForeignAsset(100_003) + } + + fn ed(&self) -> Balance { + 100_000_000_000_000 + } + + fn decimals(&self) -> u32 { + 18 + } +} + +#[allow(non_camel_case_types)] +pub struct LocalUSDC; +impl CurrencyInfo for LocalUSDC { + fn custom(&self) -> CustomMetadata { + CustomMetadata { + pool_currency: true, + transferability: CrossChainTransferability::None, + permissioned: false, + mintable: false, + local_representation: None, + } + } + + fn symbol(&self) -> &'static str { + "LocalUSDC" + } + + fn id(&self) -> CurrencyId { + CurrencyId::LocalAsset(LOCAL_ASSET_ID) + } + + fn ed(&self) -> Balance { + 10_000 + } + + fn decimals(&self) -> u32 { + 6 + } +} + +/// The faked router address on the EVM side. Needed for the precompile to +/// verify the origin of messages. +/// +/// NOTE: This is NOT the real address of the +/// router, but the one we are faking on the EVM side. Hence, it is fix +/// coded here in the same way it is fixed code on the EVM testing router. +pub const EVM_LP_INSTANCE: [u8; 20] = hex!("1111111111111111111111111111111111111111"); + +/// The faked domain name the LP messages are coming from and going to. +pub const EVM_DOMAIN_STR: &str = "TestDomain"; + +/// The test domain ChainId for the tests. +pub const EVM_DOMAIN_CHAIN_ID: u64 = 1; + +pub const EVM_DOMAIN: Domain = Domain::EVM(EVM_DOMAIN_CHAIN_ID); + +pub fn setup_full() -> impl EnvEvmExtension { + setup::(|evm| { + setup_currencies(evm); + setup_pools(evm); + setup_tranches(evm); + setup_investment_currencies(evm); + setup_deploy_lps(evm); + setup_investors(evm) + }) +} + +/// Default setup required for EVM <> CFG communication +pub fn setup as EnvEvmExtension>::EvmEnv)>( + additional: F, +) -> impl EnvEvmExtension { + let mut env = RuntimeEnv::::from_parachain_storage( + Genesis::default() + .add(genesis::balances::(DEFAULT_BALANCE * CFG)) + .storage(), + ); + env.state_mut(|evm| { + evm_balances::(DEFAULT_BALANCE * CFG); + set_order_book_feeder::(T::RuntimeOriginExt::root()); + + evm.load_contracts(); + + // Fund gateway sender + give_balance::( + ::Sender::get(), + DEFAULT_BALANCE * CFG, + ); + + // Register general local pool-currency + register_currency::(LocalUSDC, |_| {}); + + /* TODO: Use that but index needed contracts afterwards + env.deploy("LocalRouterScript", "lp_deploy", Keyring::Alice, None); + env.call_mut(Keyring::Alice, Default::default(), "lp_deploy", "run", None) + .unwrap(); + */ + + // ------------------ EVM Side ----------------------- // + // The flow is based in the following code from the Solidity and needs to be + // adapted if this deployment script changes in the future + // * https://github.com/centrifuge/liquidity-pools/blob/e2c3ac92d1cea991e7e0d5f57be8658a46cbf1fe/script/Axelar.s.sol#L17-L31 + // + // PART: Deploy InvestmentManager + // * https://github.com/centrifuge/liquidity-pools/blob/e2c3ac92d1cea991e7e0d5f57be8658a46cbf1fe/script/Deployer.sol#L45-L69 + evm.deploy( + "Escrow", + "escrow", + Keyring::Alice, + Some(&[Token::Address(Keyring::Alice.into())]), + ); + evm.deploy("UserEscrow", "user_escrow", Keyring::Alice, None); + evm.deploy( + "Root", + "root", + Keyring::Alice, + Some(&[ + Token::Address(evm.deployed("escrow").address()), + Token::Uint(U256::from(48 * SECONDS_PER_HOUR)), + Token::Address(Keyring::Alice.into()), + ]), + ); + evm.deploy( + "LiquidityPoolFactory", + "lp_pool_factory", + Keyring::Alice, + Some(&[Token::Address(evm.deployed("root").address())]), + ); + evm.deploy( + "RestrictionManagerFactory", + "restriction_manager_factory", + Keyring::Alice, + Some(&[Token::Address(evm.deployed("root").address())]), + ); + evm.deploy( + "TrancheTokenFactory", + "tranche_token_factory", + Keyring::Alice, + Some(&[ + Token::Address(evm.deployed("root").address()), + Token::Address(Keyring::Alice.into()), + ]), + ); + evm.deploy( + "InvestmentManager", + "investment_manager", + Keyring::Alice, + Some(&[ + Token::Address(evm.deployed("escrow").address()), + Token::Address(evm.deployed("user_escrow").address()), + ]), + ); + evm.deploy( + contracts::POOL_MANAGER, + names::POOL_MANAGER, + Keyring::Alice, + Some(&[ + Token::Address(evm.deployed("escrow").address()), + Token::Address(evm.deployed("lp_pool_factory").address()), + Token::Address(evm.deployed("restriction_manager_factory").address()), + Token::Address(evm.deployed("tranche_token_factory").address()), + ]), + ); + evm.call( + Keyring::Alice, + Default::default(), + "lp_pool_factory", + "rely", + Some(&[Token::Address(evm.deployed("pool_manager").address())]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "tranche_token_factory", + "rely", + Some(&[Token::Address(evm.deployed("pool_manager").address())]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "restriction_manager_factory", + "rely", + Some(&[Token::Address(evm.deployed("pool_manager").address())]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "lp_pool_factory", + "rely", + Some(&[Token::Address(evm.deployed("root").address())]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "tranche_token_factory", + "rely", + Some(&[Token::Address(evm.deployed("root").address())]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "restriction_manager_factory", + "rely", + Some(&[Token::Address(evm.deployed("root").address())]), + ) + .unwrap(); + + // PART: Deploy router (using the testing LocalRouter here) + // * https://github.com/centrifuge/liquidity-pools/blob/e2c3ac92d1cea991e7e0d5f57be8658a46cbf1fe/script/Axelar.s.sol#L24 + evm.deploy("LocalRouter", "router", Keyring::Alice, None); + + // PART: Wire router + file gateway + // * https://github.com/centrifuge/liquidity-pools/blob/e2c3ac92d1cea991e7e0d5f57be8658a46cbf1fe/script/Deployer.sol#L71-L98 + evm.deploy( + "PauseAdmin", + "pause_admin", + Keyring::Alice, + Some(&[Token::Address(evm.deployed("root").address())]), + ); + evm.deploy( + "DelayedAdmin", + "delay_admin", + Keyring::Alice, + Some(&[ + Token::Address(evm.deployed("root").address()), + Token::Address(evm.deployed("pause_admin").address()), + ]), + ); + // Enable once https://github.com/foundry-rs/foundry/issues/7032 is resolved + evm.deploy( + "Gateway", + "gateway", + Keyring::Alice, + Some(&[ + Token::Address(evm.deployed("root").address()), + Token::Address(evm.deployed("investment_manager").address()), + Token::Address(evm.deployed("pool_manager").address()), + Token::Address(evm.deployed("router").address()), + ]), + ); + // Wire admins + evm.call( + Keyring::Alice, + Default::default(), + "pause_admin", + "rely", + Some(&[Token::Address(evm.deployed("delay_admin").address())]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "root", + "rely", + Some(&[Token::Address(evm.deployed("pause_admin").address())]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "root", + "rely", + Some(&[Token::Address(evm.deployed("delay_admin").address())]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "root", + "rely", + Some(&[Token::Address(evm.deployed("gateway").address())]), + ) + .unwrap(); + // Wire gateway + evm.call( + Keyring::Alice, + Default::default(), + "pool_manager", + "file", + Some(&[ + Token::FixedBytes("investmentManager".as_bytes().to_vec()), + Token::Address(evm.deployed("investment_manager").address()), + ]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "investment_manager", + "file", + Some(&[ + Token::FixedBytes("poolManager".as_bytes().to_vec()), + Token::Address(evm.deployed("pool_manager").address()), + ]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "investment_manager", + "file", + Some(&[ + Token::FixedBytes("gateway".as_bytes().to_vec()), + Token::Address(evm.deployed("gateway").address()), + ]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "pool_manager", + "file", + Some(&[ + Token::FixedBytes("gateway".as_bytes().to_vec()), + Token::Address(evm.deployed("gateway").address()), + ]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "investment_manager", + "rely", + Some(&[Token::Address(evm.deployed("root").address())]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "investment_manager", + "rely", + Some(&[Token::Address(evm.deployed("pool_manager").address())]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "pool_manager", + "rely", + Some(&[Token::Address(evm.deployed("root").address())]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "gateway", + "rely", + Some(&[Token::Address(evm.deployed("root").address())]), + ) + .unwrap(); + /* NOTE: This rely is NOT needed as the LocalRouter is not permissioned + evm.call( + Keyring::Alice, + Default::default(), + "router", + "rely", + Some(&[Token::Address(evm.deployed("root").address())]), + ) + .unwrap(); + */ + evm.call( + Keyring::Alice, + Default::default(), + "escrow", + "rely", + Some(&[Token::Address(evm.deployed("root").address())]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "escrow", + "rely", + Some(&[Token::Address(evm.deployed("investment_manager").address())]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "user_escrow", + "rely", + Some(&[Token::Address(evm.deployed("root").address())]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "user_escrow", + "rely", + Some(&[Token::Address(evm.deployed("investment_manager").address())]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "escrow", + "rely", + Some(&[Token::Address(evm.deployed("pool_manager").address())]), + ) + .unwrap(); + + // PART: File LocalRouter + evm.call( + Keyring::Alice, + Default::default(), + "router", + "file", + Some(&[ + Token::FixedBytes("gateway".as_bytes().to_vec()), + Token::Address(evm.deployed("gateway").address()), + ]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "router", + "file", + Some(&[ + Token::FixedBytes("sourceChain".as_bytes().to_vec()), + Token::String(EVM_DOMAIN_STR.to_string()), + ]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "router", + "file", + Some(&[ + Token::FixedBytes("sourceAddress".as_bytes().to_vec()), + // FIXME: Use EVM_LP_INSTANCE + Token::String("0x1111111111111111111111111111111111111111".into()), + // Token::String(evm.deployed("router").address().to_string()), + ]), + ) + .unwrap(); + + // PART: Give admin access - Keyring::Admin in our case + // * https://github.com/centrifuge/liquidity-pools/blob/e2c3ac92d1cea991e7e0d5f57be8658a46cbf1fe/script/Deployer.sol#L100-L106 + evm.call( + Keyring::Alice, + Default::default(), + "delay_admin", + "rely", + Some(&[Token::Address(Keyring::Admin.into())]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "pause_admin", + "addPauser", + Some(&[Token::Address(Keyring::Admin.into())]), + ) + .unwrap(); + + // PART: Remove deployer access + // * https://github.com/centrifuge/liquidity-pools/blob/e2c3ac92d1cea991e7e0d5f57be8658a46cbf1fe/script/Deployer.sol#L108-L121 + /* NOTE: This rely is NOT needed as the LocalRouter is not permissioned + evm.call( + Keyring::Alice, + Default::default(), + "router", + "deny", + Some(&[Token::Address(Keyring::Alice.into())]), + ) + .unwrap(); + */ + evm.call( + Keyring::Alice, + Default::default(), + "lp_pool_factory", + "deny", + Some(&[Token::Address(Keyring::Alice.into())]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "tranche_token_factory", + "deny", + Some(&[Token::Address(Keyring::Alice.into())]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "restriction_manager_factory", + "deny", + Some(&[Token::Address(Keyring::Alice.into())]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "root", + "deny", + Some(&[Token::Address(Keyring::Alice.into())]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "investment_manager", + "deny", + Some(&[Token::Address(Keyring::Alice.into())]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "pool_manager", + "deny", + Some(&[Token::Address(Keyring::Alice.into())]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "escrow", + "deny", + Some(&[Token::Address(Keyring::Alice.into())]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "user_escrow", + "deny", + Some(&[Token::Address(Keyring::Alice.into())]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "gateway", + "deny", + Some(&[Token::Address(Keyring::Alice.into())]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "pause_admin", + "deny", + Some(&[Token::Address(Keyring::Alice.into())]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + "delay_admin", + "deny", + Some(&[Token::Address(Keyring::Alice.into())]), + ) + .unwrap(); + + // ------------------ Substrate Side ----------------------- // + // Create router + let (base_fee, _) = ::FeeCalculator::min_gas_price(); + + let evm_domain = EVMDomain { + target_contract_address: evm.deployed("router").address(), + target_contract_hash: BlakeTwo256::hash_of(&evm.deployed("router").deployed_bytecode), + fee_values: FeeValues { + value: sp_core::U256::zero(), + // FIXME: Diverges from prod (500_000) + gas_limit: sp_core::U256::from(500_000_000), + gas_price: sp_core::U256::from(base_fee), + }, + }; + + let axelar_evm_router = AxelarEVMRouter::::new( + EVMRouter::new(evm_domain), + BoundedVec::>::try_from( + EVM_DOMAIN_STR.as_bytes().to_vec(), + ) + .unwrap(), + evm.deployed("router").address(), + ); + + assert_ok!( + pallet_liquidity_pools_gateway::Pallet::::set_domain_router( + RawOrigin::Root.into(), + Domain::EVM(EVM_DOMAIN_CHAIN_ID), + DomainRouter::::AxelarEVM(axelar_evm_router), + ) + ); + + assert_ok!(pallet_liquidity_pools_gateway::Pallet::::add_instance( + RawOrigin::Root.into(), + DomainAddress::evm(EVM_DOMAIN_CHAIN_ID, EVM_LP_INSTANCE) + )); + + assert_ok!(axelar_gateway_precompile::Pallet::::set_gateway( + RawOrigin::Root.into(), + evm.deployed("router").address() + )); + + assert_ok!(axelar_gateway_precompile::Pallet::::set_converter( + RawOrigin::Root.into(), + BlakeTwo256::hash(EVM_DOMAIN_STR.as_bytes()), + SourceConverter::new(EVM_DOMAIN), + )); + + additional(evm); + }); + + env.pass(Blocks::ByNumber(1)); + env +} + +/// Enables USDC, DAI and FRAX as investment currencies for both pools A nand B. +pub fn setup_investment_currencies(_evm: &mut impl EvmEnv) { + for currency in [DAI.id(), FRAX.id(), USDC.id()] { + for pool in [POOL_A, POOL_B, POOL_C] { + assert_ok!( + pallet_liquidity_pools::Pallet::::allow_investment_currency( + OriginFor::::signed(Keyring::Admin.into()), + pool, + currency, + ), + ); + } + } + utils::process_outbound::(utils::verify_outbound_success::) +} + +/// Deploys both Liquidity Pools for USDC, DAI and FRAX by calling +/// `DeployLiquidityPool` for each possible triplet of pool, tranche and +/// investment currency id. +/// +/// NOTE: EVM Side +pub fn setup_deploy_lps(evm: &mut impl EvmEnv) { + let lp_name = |pool, tranche, currency| -> &str { + match (pool, tranche, currency) { + (POOL_A, tranche, "usdc") if tranche == utils::pool_a_tranche_1_id::() => { + names::POOL_A_T_1_USDC + } + (POOL_B, tranche, "usdc") if tranche == utils::pool_b_tranche_1_id::() => { + names::POOL_B_T_1_USDC + } + (POOL_B, tranche, "usdc") if tranche == utils::pool_b_tranche_2_id::() => { + names::POOL_B_T_2_USDC + } + (POOL_C, tranche, "usdc") if tranche == utils::pool_c_tranche_1_id::() => { + names::POOL_C_T_1_USDC + } + + (POOL_A, tranche, "frax") if tranche == utils::pool_a_tranche_1_id::() => { + names::POOL_A_T_1_FRAX + } + (POOL_B, tranche, "frax") if tranche == utils::pool_b_tranche_1_id::() => { + names::POOL_B_T_1_FRAX + } + (POOL_B, tranche, "frax") if tranche == utils::pool_b_tranche_2_id::() => { + names::POOL_B_T_2_FRAX + } + (POOL_C, tranche, "frax") if tranche == utils::pool_c_tranche_1_id::() => { + names::POOL_C_T_1_FRAX + } + + (POOL_A, tranche, "dai") if tranche == utils::pool_a_tranche_1_id::() => { + names::POOL_A_T_1_DAI + } + (POOL_B, tranche, "dai") if tranche == utils::pool_b_tranche_1_id::() => { + names::POOL_B_T_1_DAI + } + (POOL_B, tranche, "dai") if tranche == utils::pool_b_tranche_2_id::() => { + names::POOL_B_T_2_DAI + } + (POOL_C, tranche, "dai") if tranche == utils::pool_c_tranche_1_id::() => { + names::POOL_C_T_1_DAI + } + + (_, _, _) => { + unimplemented!("pool, tranche, currency combination does not have a name.") + } + } + }; + + for (pool, tranche_id) in [ + (POOL_A, utils::pool_a_tranche_1_id::()), + (POOL_B, utils::pool_b_tranche_1_id::()), + (POOL_B, utils::pool_b_tranche_2_id::()), + (POOL_C, utils::pool_c_tranche_1_id::()), + ] { + for currency in ["usdc", "frax", "dai"] { + evm.call( + Keyring::Alice, + Default::default(), + "pool_manager", + "deployLiquidityPool", + Some(&[ + Token::Uint(Uint::from(pool)), + Token::FixedBytes(FixedBytes::from(tranche_id)), + Token::Address(evm.deployed(currency).address()), + ]), + ) + .unwrap(); + + evm.register( + lp_name(pool, tranche_id, currency), + "LiquidityPool", + Decoder::::decode( + &evm.view( + Keyring::Alice, + "pool_manager", + "getLiquidityPool", + Some(&[ + Token::Uint(Uint::from(pool)), + Token::FixedBytes(FixedBytes::from(tranche_id)), + Token::Address(evm.deployed(currency).address()), + ]), + ) + .unwrap() + .value, + ), + ); + } + } +} + +/// Initiates tranches on EVM via `DeployTranche` contract and then sends +/// `add_tranche(pool, tranche_id)` messages for a total of three tranches of +/// pool A and B. +pub fn setup_tranches(evm: &mut impl EvmEnv) { + // AddTranche 1 of A + let tranche_id = { + let tranche_id = utils::pool_a_tranche_1_id::(); + assert_ok!(pallet_liquidity_pools::Pallet::::add_tranche( + OriginFor::::signed(Keyring::Admin.into()), + POOL_A, + tranche_id, + Domain::EVM(EVM_DOMAIN_CHAIN_ID) + )); + + utils::process_outbound::(utils::verify_outbound_success::); + + tranche_id + }; + evm.call( + Keyring::Alice, + Default::default(), + "pool_manager", + "deployTranche", + Some(&[ + Token::Uint(Uint::from(POOL_A)), + Token::FixedBytes(FixedBytes::from(tranche_id)), + ]), + ) + .unwrap(); + evm.register( + names::POOL_A_T_1, + "TrancheToken", + Decoder::::decode( + &evm.view( + Keyring::Alice, + "pool_manager", + "getTrancheToken", + Some(&[ + Token::Uint(POOL_A.into()), + Token::FixedBytes(tranche_id.to_vec()), + ]), + ) + .unwrap() + .value, + ), + ); + evm.register( + names::RM_POOL_A_T_1, + "RestrictionManager", + Decoder::::decode( + &evm.view( + Keyring::Alice, + names::POOL_A_T_1, + "restrictionManager", + None, + ) + .unwrap() + .value, + ), + ); + + // AddTranche 1 of B + let tranche_id = { + let tranche_id = utils::pool_b_tranche_1_id::(); + assert_ok!(pallet_liquidity_pools::Pallet::::add_tranche( + OriginFor::::signed(Keyring::Admin.into()), + POOL_B, + tranche_id, + Domain::EVM(EVM_DOMAIN_CHAIN_ID) + )); + + utils::process_outbound::(utils::verify_outbound_success::); + + tranche_id + }; + evm.call( + Keyring::Alice, + Default::default(), + "pool_manager", + "deployTranche", + Some(&[ + Token::Uint(Uint::from(POOL_B)), + Token::FixedBytes(FixedBytes::from(tranche_id)), + ]), + ) + .unwrap(); + evm.register( + names::POOL_B_T_1, + "TrancheToken", + Decoder::::decode( + &evm.view( + Keyring::Alice, + "pool_manager", + "getTrancheToken", + Some(&[ + Token::Uint(POOL_B.into()), + Token::FixedBytes(tranche_id.to_vec()), + ]), + ) + .unwrap() + .value, + ), + ); + evm.register( + names::RM_POOL_B_T_1, + "RestrictionManager", + Decoder::::decode( + &evm.view( + Keyring::Alice, + names::POOL_B_T_1, + "restrictionManager", + None, + ) + .unwrap() + .value, + ), + ); + + // AddTranche 2 of B + let tranche_id = { + let tranche_id = utils::pool_b_tranche_2_id::(); + assert_ok!(pallet_liquidity_pools::Pallet::::add_tranche( + OriginFor::::signed(Keyring::Admin.into()), + POOL_B, + utils::pool_b_tranche_2_id::(), + Domain::EVM(EVM_DOMAIN_CHAIN_ID) + )); + + utils::process_outbound::(utils::verify_outbound_success::); + + tranche_id + }; + evm.call( + Keyring::Alice, + Default::default(), + "pool_manager", + "deployTranche", + Some(&[ + Token::Uint(Uint::from(POOL_B)), + Token::FixedBytes(FixedBytes::from(tranche_id)), + ]), + ) + .unwrap(); + evm.register( + names::POOL_B_T_2, + "TrancheToken", + Decoder::::decode( + &evm.view( + Keyring::Alice, + "pool_manager", + "getTrancheToken", + Some(&[ + Token::Uint(POOL_B.into()), + Token::FixedBytes(tranche_id.to_vec()), + ]), + ) + .unwrap() + .value, + ), + ); + evm.register( + names::RM_POOL_B_T_2, + "RestrictionManager", + Decoder::::decode( + &evm.view( + Keyring::Alice, + names::POOL_B_T_2, + "restrictionManager", + None, + ) + .unwrap() + .value, + ), + ); + + // AddTranche 1 of C + let tranche_id = { + let tranche_id = utils::pool_c_tranche_1_id::(); + assert_ok!(pallet_liquidity_pools::Pallet::::add_tranche( + OriginFor::::signed(Keyring::Admin.into()), + POOL_C, + tranche_id, + Domain::EVM(EVM_DOMAIN_CHAIN_ID) + )); + + utils::process_outbound::(utils::verify_outbound_success::); + + tranche_id + }; + evm.call( + Keyring::Alice, + Default::default(), + "pool_manager", + "deployTranche", + Some(&[ + Token::Uint(Uint::from(POOL_C)), + Token::FixedBytes(FixedBytes::from(tranche_id)), + ]), + ) + .unwrap(); + evm.register( + names::POOL_C_T_1, + "TrancheToken", + Decoder::::decode( + &evm.view( + Keyring::Alice, + "pool_manager", + "getTrancheToken", + Some(&[ + Token::Uint(POOL_C.into()), + Token::FixedBytes(tranche_id.to_vec()), + ]), + ) + .unwrap() + .value, + ), + ); + evm.register( + names::RM_POOL_C_T_1, + "RestrictionManager", + Decoder::::decode( + &evm.view( + Keyring::Alice, + names::POOL_C_T_1, + "restrictionManager", + None, + ) + .unwrap() + .value, + ), + ); +} + +/// Create two pools A, B and send `add_pool` message to EVM +/// * Pool A with 1 tranche +/// * Pool B with 2 tranches +pub fn setup_pools(_evm: &mut impl EvmEnv) { + crate::generic::utils::pool::create_one_tranched::( + Keyring::Admin.into(), + POOL_A, + LocalUSDC.id(), + ); + + assert_ok!(pallet_liquidity_pools::Pallet::::add_pool( + OriginFor::::signed(Keyring::Admin.into()), + POOL_A, + Domain::EVM(EVM_DOMAIN_CHAIN_ID) + )); + + utils::process_outbound::(utils::verify_outbound_success::); + + crate::generic::utils::pool::create_two_tranched::( + Keyring::Admin.into(), + POOL_B, + LocalUSDC.id(), + ); + + assert_ok!(pallet_liquidity_pools::Pallet::::add_pool( + OriginFor::::signed(Keyring::Admin.into()), + POOL_B, + Domain::EVM(EVM_DOMAIN_CHAIN_ID) + )); + + crate::generic::utils::pool::create_one_tranched::(Keyring::Admin.into(), POOL_C, USDC.id()); + + assert_ok!(pallet_liquidity_pools::Pallet::::add_pool( + OriginFor::::signed(Keyring::Admin.into()), + POOL_C, + Domain::EVM(EVM_DOMAIN_CHAIN_ID) + )); + + utils::process_outbound::(utils::verify_outbound_success::); +} + +/// Create 3x ERC-20 currencies as Stablecoins on EVM, register them on +/// Centrifuge Chain and trigger `AddCurrency` from Centrifuge Chain to EVM +pub fn setup_currencies(evm: &mut impl EvmEnv) { + // EVM: Create currencies + // NOTE: Called by Keyring::Admin, as admin controls all in this setup + evm.deploy( + "ERC20", + names::USDC, + Keyring::Admin, + Some(&[Token::Uint(Uint::from(6))]), + ); + evm.call( + Keyring::Admin, + Default::default(), + names::USDC, + "file", + Some(&[ + Token::FixedBytes("name".as_bytes().to_vec()), + Token::String("USD Coin".to_string()), + ]), + ) + .unwrap(); + evm.call( + Keyring::Admin, + Default::default(), + names::USDC, + "file", + Some(&[ + Token::FixedBytes("symbol".as_bytes().to_vec()), + Token::String("USDC".to_string()), + ]), + ) + .unwrap(); + evm.call( + Keyring::Admin, + Default::default(), + names::USDC, + "mint", + Some(&[ + Token::Address(Keyring::Alice.into()), + Token::Uint(U256::from(DEFAULT_BALANCE * DECIMALS_6)), + ]), + ) + .unwrap(); + evm.call( + Keyring::Admin, + Default::default(), + names::USDC, + "mint", + Some(&[ + Token::Address(Keyring::Bob.into()), + Token::Uint(U256::from(DEFAULT_BALANCE * DECIMALS_6)), + ]), + ) + .unwrap(); + evm.call( + Keyring::Admin, + Default::default(), + names::USDC, + "mint", + Some(&[ + Token::Address(Keyring::Charlie.into()), + Token::Uint(U256::from(DEFAULT_BALANCE * DECIMALS_6)), + ]), + ) + .unwrap(); + + evm.deploy( + "ERC20", + "frax", + Keyring::Admin, + Some(&[Token::Uint(Uint::from(18))]), + ); + evm.call( + Keyring::Admin, + Default::default(), + "frax", + "file", + Some(&[ + Token::FixedBytes("name".as_bytes().to_vec()), + Token::String("Frax Coin".to_string()), + ]), + ) + .unwrap(); + evm.call( + Keyring::Admin, + Default::default(), + "frax", + "file", + Some(&[ + Token::FixedBytes("symbol".as_bytes().to_vec()), + Token::String("FRAX".to_string()), + ]), + ) + .unwrap(); + evm.call( + Keyring::Admin, + Default::default(), + "frax", + "mint", + Some(&[ + Token::Address(Keyring::Alice.into()), + Token::Uint(U256::from(DEFAULT_BALANCE * DECIMALS_6)), + ]), + ) + .unwrap(); + evm.call( + Keyring::Admin, + Default::default(), + "frax", + "mint", + Some(&[ + Token::Address(Keyring::Bob.into()), + Token::Uint(U256::from(DEFAULT_BALANCE * DECIMALS_6)), + ]), + ) + .unwrap(); + evm.call( + Keyring::Admin, + Default::default(), + "frax", + "mint", + Some(&[ + Token::Address(Keyring::Charlie.into()), + Token::Uint(U256::from(DEFAULT_BALANCE * DECIMALS_6)), + ]), + ) + .unwrap(); + + evm.deploy( + "ERC20", + "dai", + Keyring::Admin, + Some(&[Token::Uint(Uint::from(18))]), + ); + evm.call( + Keyring::Admin, + Default::default(), + "dai", + "file", + Some(&[ + Token::FixedBytes("name".as_bytes().to_vec()), + Token::String("Dai Coin".to_string()), + ]), + ) + .unwrap(); + evm.call( + Keyring::Admin, + Default::default(), + "dai", + "file", + Some(&[ + Token::FixedBytes("symbol".as_bytes().to_vec()), + Token::String("DAI".to_string()), + ]), + ) + .unwrap(); + evm.call( + Keyring::Admin, + Default::default(), + "dai", + "mint", + Some(&[ + Token::Address(Keyring::Alice.into()), + Token::Uint(U256::from(DEFAULT_BALANCE * DECIMALS_6)), + ]), + ) + .unwrap(); + evm.call( + Keyring::Admin, + Default::default(), + "dai", + "mint", + Some(&[ + Token::Address(Keyring::Bob.into()), + Token::Uint(U256::from(DEFAULT_BALANCE * DECIMALS_6)), + ]), + ) + .unwrap(); + evm.call( + Keyring::Admin, + Default::default(), + "dai", + "mint", + Some(&[ + Token::Address(Keyring::Charlie.into()), + Token::Uint(U256::from(DEFAULT_BALANCE * DECIMALS_6)), + ]), + ) + .unwrap(); + + // Centrifuge Chain: Register currencies and trigger `AddCurrency` + register_currency::(USDC, |meta| { + meta.location = Some(utils::lp_asset_location::( + evm.deployed("usdc").address(), + )); + }); + + register_currency::(DAI, |meta| { + meta.location = Some(utils::lp_asset_location::(evm.deployed("dai").address())); + }); + + register_currency::(FRAX, |meta| { + meta.location = Some(utils::lp_asset_location::( + evm.deployed("frax").address(), + )); + }); + + assert_ok!(pallet_liquidity_pools::Pallet::::add_currency( + OriginFor::::signed(Keyring::Alice.into()), + USDC.id() + )); + assert_ok!(pallet_liquidity_pools::Pallet::::add_currency( + OriginFor::::signed(Keyring::Alice.into()), + DAI.id() + )); + assert_ok!(pallet_liquidity_pools::Pallet::::add_currency( + OriginFor::::signed(Keyring::Alice.into()), + FRAX.id() + )); + + utils::process_outbound::(utils::verify_outbound_success::); +} + +/// Sets up investors for all tranches in Pool A and B on +/// Centrifuge Chain as well as EVM. Also mints default balance on both sides. +pub fn setup_investors(evm: &mut impl EvmEnv) { + default_investors().into_iter().for_each(|investor| { + // Allow investor to locally invest + crate::generic::utils::pool::give_role::( + investor.into(), + POOL_A, + PoolRole::TrancheInvestor(pool_a_tranche_1_id::(), SECONDS_PER_YEAR), + ); + // Centrifuge Chain setup: Add permissions and dispatch LP message + crate::generic::utils::pool::give_role::( + AccountConverter::convert_evm_address(EVM_DOMAIN_CHAIN_ID, investor.into()), + POOL_A, + PoolRole::TrancheInvestor(pool_a_tranche_1_id::(), SECONDS_PER_YEAR), + ); + assert_ok!(pallet_liquidity_pools::Pallet::::update_member( + investor.as_origin(), + POOL_A, + pool_a_tranche_1_id::(), + DomainAddress::evm(EVM_DOMAIN_CHAIN_ID, investor.into()), + SECONDS_PER_YEAR, + )); + + // Allow investor to locally invest + crate::generic::utils::pool::give_role::( + investor.into(), + POOL_B, + PoolRole::TrancheInvestor(pool_b_tranche_1_id::(), SECONDS_PER_YEAR), + ); + crate::generic::utils::pool::give_role::( + AccountConverter::convert_evm_address(EVM_DOMAIN_CHAIN_ID, investor.into()), + POOL_B, + PoolRole::TrancheInvestor(pool_b_tranche_1_id::(), SECONDS_PER_YEAR), + ); + assert_ok!(pallet_liquidity_pools::Pallet::::update_member( + investor.as_origin(), + POOL_B, + pool_b_tranche_1_id::(), + DomainAddress::evm(EVM_DOMAIN_CHAIN_ID, investor.into()), + SECONDS_PER_YEAR, + )); + + // Allow investor to locally invest + crate::generic::utils::pool::give_role::( + investor.into(), + POOL_B, + PoolRole::TrancheInvestor(pool_b_tranche_2_id::(), SECONDS_PER_YEAR), + ); + crate::generic::utils::pool::give_role::( + AccountConverter::convert_evm_address(EVM_DOMAIN_CHAIN_ID, investor.into()), + POOL_B, + PoolRole::TrancheInvestor(pool_b_tranche_2_id::(), SECONDS_PER_YEAR), + ); + assert_ok!(pallet_liquidity_pools::Pallet::::update_member( + investor.as_origin(), + POOL_B, + pool_b_tranche_2_id::(), + DomainAddress::evm(EVM_DOMAIN_CHAIN_ID, investor.into()), + SECONDS_PER_YEAR, + )); + + // Allow investor to locally invest + crate::generic::utils::pool::give_role::( + investor.into(), + POOL_C, + PoolRole::TrancheInvestor(utils::pool_c_tranche_1_id::(), SECONDS_PER_YEAR), + ); + crate::generic::utils::pool::give_role::( + AccountConverter::convert_evm_address(EVM_DOMAIN_CHAIN_ID, investor.into()), + POOL_C, + PoolRole::TrancheInvestor(utils::pool_c_tranche_1_id::(), SECONDS_PER_YEAR), + ); + assert_ok!(pallet_liquidity_pools::Pallet::::update_member( + investor.as_origin(), + POOL_C, + utils::pool_c_tranche_1_id::(), + DomainAddress::evm(EVM_DOMAIN_CHAIN_ID, investor.into()), + SECONDS_PER_YEAR, + )); + + // Fund investor on EVM side + evm.call( + Keyring::Admin, + Default::default(), + "usdc", + "mint", + Some(&[ + Token::Address(investor.into()), + Token::Uint(U256::from(DEFAULT_BALANCE * DECIMALS_6)), + ]), + ) + .unwrap(); + evm.call( + Keyring::Admin, + Default::default(), + "frax", + "mint", + Some(&[ + Token::Address(investor.into()), + Token::Uint(U256::from(DEFAULT_BALANCE * DECIMALS_6)), + ]), + ) + .unwrap(); + evm.call( + Keyring::Admin, + Default::default(), + "dai", + "mint", + Some(&[ + Token::Address(investor.into()), + Token::Uint(U256::from(DEFAULT_BALANCE * DECIMALS_6)), + ]), + ) + .unwrap(); + + // Approve stable transfers on EVM side + + // Pool A - Tranche 1 + evm.call( + investor, + Default::default(), + "usdc", + "approve", + Some(&[ + Token::Address(evm.deployed(names::POOL_A_T_1_USDC).address()), + Token::Uint(U256::from(DEFAULT_BALANCE * DECIMALS_6)), + ]), + ) + .unwrap(); + evm.call( + investor, + Default::default(), + "dai", + "approve", + Some(&[ + Token::Address(evm.deployed(names::POOL_A_T_1_DAI).address()), + Token::Uint(U256::from(DEFAULT_BALANCE * DECIMALS_6)), + ]), + ) + .unwrap(); + evm.call( + investor, + Default::default(), + "frax", + "approve", + Some(&[ + Token::Address(evm.deployed(names::POOL_A_T_1_FRAX).address()), + Token::Uint(U256::from(DEFAULT_BALANCE * DECIMALS_6)), + ]), + ) + .unwrap(); + + // Pool B - Tranche 1 + evm.call( + investor, + Default::default(), + "usdc", + "approve", + Some(&[ + Token::Address(evm.deployed(names::POOL_B_T_1_USDC).address()), + Token::Uint(U256::from(DEFAULT_BALANCE * DECIMALS_6)), + ]), + ) + .unwrap(); + evm.call( + investor, + Default::default(), + "dai", + "approve", + Some(&[ + Token::Address(evm.deployed(names::POOL_B_T_1_DAI).address()), + Token::Uint(U256::from(DEFAULT_BALANCE * DECIMALS_6)), + ]), + ) + .unwrap(); + evm.call( + investor, + Default::default(), + "frax", + "approve", + Some(&[ + Token::Address(evm.deployed(names::POOL_B_T_1_FRAX).address()), + Token::Uint(U256::from(DEFAULT_BALANCE * DECIMALS_6)), + ]), + ) + .unwrap(); + + // Pool B - Tranche 2 + evm.call( + investor, + Default::default(), + "usdc", + "approve", + Some(&[ + Token::Address(evm.deployed(names::POOL_B_T_2_USDC).address()), + Token::Uint(U256::from(DEFAULT_BALANCE * DECIMALS_6)), + ]), + ) + .unwrap(); + evm.call( + investor, + Default::default(), + "dai", + "approve", + Some(&[ + Token::Address(evm.deployed(names::POOL_B_T_2_DAI).address()), + Token::Uint(U256::from(DEFAULT_BALANCE * DECIMALS_6)), + ]), + ) + .unwrap(); + evm.call( + investor, + Default::default(), + "frax", + "approve", + Some(&[ + Token::Address(evm.deployed(names::POOL_B_T_2_FRAX).address()), + Token::Uint(U256::from(DEFAULT_BALANCE * DECIMALS_6)), + ]), + ) + .unwrap(); + + // Pool C - Tranche 1 + evm.call( + investor, + Default::default(), + "usdc", + "approve", + Some(&[ + Token::Address(evm.deployed(names::POOL_C_T_1_USDC).address()), + Token::Uint(U256::from(DEFAULT_BALANCE * DECIMALS_6)), + ]), + ) + .unwrap(); + evm.call( + investor, + Default::default(), + "dai", + "approve", + Some(&[ + Token::Address(evm.deployed(names::POOL_C_T_1_DAI).address()), + Token::Uint(U256::from(DEFAULT_BALANCE * DECIMALS_6)), + ]), + ) + .unwrap(); + evm.call( + investor, + Default::default(), + "frax", + "approve", + Some(&[ + Token::Address(evm.deployed(names::POOL_C_T_1_FRAX).address()), + Token::Uint(U256::from(DEFAULT_BALANCE * DECIMALS_6)), + ]), + ) + .unwrap(); + }); + + utils::process_outbound::(utils::verify_outbound_success::); +} diff --git a/runtime/integration-tests/src/generic/cases/lp/pool_management.rs b/runtime/integration-tests/src/generic/cases/lp/pool_management.rs new file mode 100644 index 0000000000..e4ec810d97 --- /dev/null +++ b/runtime/integration-tests/src/generic/cases/lp/pool_management.rs @@ -0,0 +1,606 @@ +// 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::{Balance, PoolId, SECONDS_PER_YEAR}; +use cfg_traits::{PoolMetadata, TimeAsSecs, TrancheTokenPrice}; +use cfg_types::{ + domain_address::{Domain, DomainAddress}, + permissions::PoolRole, + tokens::{CrossChainTransferability, CurrencyId, CustomMetadata}, +}; +use ethabi::{ethereum_types::H160, Token, Uint}; +use frame_support::{assert_noop, assert_ok, traits::OriginTrait}; +use frame_system::pallet_prelude::OriginFor; +use pallet_liquidity_pools::GeneralCurrencyIndexOf; +use runtime_common::account_conversion::AccountConverter; +use sp_runtime::FixedPointNumber; + +use crate::{ + generic::{ + cases::lp::{ + names, utils, + utils::{pool_a_tranche_1_id, Decoder}, + LocalUSDC, EVM_DOMAIN_CHAIN_ID, POOL_A, USDC, + }, + config::Runtime, + env::{EnvEvmExtension, EvmEnv}, + utils::currency::{register_currency, CurrencyInfo}, + }, + utils::accounts::Keyring, +}; + +#[test_runtimes(all)] +fn add_currency() { + let mut env = super::setup::(|_| {}); + + #[allow(non_camel_case_types)] + pub struct TestCurrency; + impl CurrencyInfo for TestCurrency { + fn custom(&self) -> CustomMetadata { + CustomMetadata { + pool_currency: true, + transferability: CrossChainTransferability::LiquidityPools, + permissioned: false, + mintable: false, + local_representation: None, + } + } + + fn id(&self) -> CurrencyId { + CurrencyId::ForeignAsset(200_001) + } + } + + env.state_mut(|evm| { + evm.deploy( + "ERC20", + "test_erc20", + Keyring::Admin, + Some(&[Token::Uint(Uint::from(TestCurrency.decimals()))]), + ); + + register_currency::(TestCurrency, |meta| { + meta.location = Some(utils::lp_asset_location::( + evm.deployed("test_erc20").address(), + )); + }); + + assert_ok!(pallet_liquidity_pools::Pallet::::add_currency( + OriginFor::::signed(Keyring::Alice.into()), + TestCurrency.id() + )); + + utils::process_outbound::(utils::verify_outbound_success::) + }); + + let index = GeneralCurrencyIndexOf::::try_from(TestCurrency.id()).unwrap(); + + env.state_mut(|evm| { + // Verify the test currencies are correctly added to the pool manager + assert_eq!( + Decoder::::decode( + &evm.view( + Keyring::Alice, + "pool_manager", + "currencyIdToAddress", + Some(&[Token::Uint(Uint::from(index.index))]) + ) + .unwrap() + .value + ), + evm.deployed("test_erc20").address() + ); + + assert_eq!( + Decoder::::decode( + &evm.view( + Keyring::Alice, + "pool_manager", + "currencyAddressToId", + Some(&[Token::Address(evm.deployed("test_erc20").address())]), + ) + .unwrap() + .value + ), + index.index + ); + }); + + env.state_mut(|evm| { + assert_ok!(pallet_liquidity_pools::Pallet::::add_currency( + OriginFor::::signed(Keyring::Alice.into()), + TestCurrency.id() + )); + + utils::process_outbound::(|_| { + utils::verify_outbound_failure_on_lp::(evm.deployed("router").address()) + }); + }); +} + +#[test_runtimes(all)] +fn add_pool() { + let mut env = super::setup::(|_| {}); + const POOL: PoolId = 1; + + env.state_mut(|evm| { + crate::generic::utils::pool::create_one_tranched::( + Keyring::Admin.into(), + POOL, + LocalUSDC.id(), + ); + + assert_ok!(pallet_liquidity_pools::Pallet::::add_pool( + OriginFor::::signed(Keyring::Admin.into()), + POOL, + Domain::EVM(EVM_DOMAIN_CHAIN_ID) + )); + + utils::process_outbound::(utils::verify_outbound_success::); + + let creation_time = as TimeAsSecs>::now(); + + // Compare the pool.created_at field that is returned + let evm_pool_time = Decoder::::decode( + &evm.view( + Keyring::Alice, + "pool_manager", + "pools", + Some(&[Token::Uint(Uint::from(POOL))]), + ) + .unwrap() + .value, + ); + assert_eq!(evm_pool_time, Uint::from(creation_time)); + }); + + env.state_mut(|evm| { + assert_ok!(pallet_liquidity_pools::Pallet::::add_pool( + T::RuntimeOriginExt::signed(Keyring::Admin.into()), + POOL, + Domain::EVM(EVM_DOMAIN_CHAIN_ID) + )); + + utils::process_outbound::(|_| { + utils::verify_outbound_failure_on_lp::(evm.deployed("router").address()) + }); + }); +} + +#[test_runtimes(all)] +fn add_tranche() { + let mut env = super::setup::(|evm| { + super::setup_currencies(evm); + super::setup_pools(evm); + }); + + env.state(|evm| { + assert_eq!( + evm.call( + Keyring::Alice, + Default::default(), + "pool_manager", + "deployTranche", + Some(&[ + Token::Uint(Uint::from(POOL_A)), + Token::FixedBytes(pool_a_tranche_1_id::().to_vec()), + ]), + ), + utils::REVERT_ERR + ); + }); + + env.state_mut(|_| { + assert_ok!(pallet_liquidity_pools::Pallet::::add_tranche( + OriginFor::::signed(Keyring::Admin.into()), + POOL_A, + pool_a_tranche_1_id::(), + Domain::EVM(EVM_DOMAIN_CHAIN_ID) + )); + + utils::process_outbound::(utils::verify_outbound_success::); + }); + + env.state_mut(|evm| { + // Tranche id does not exist before adding and deploying tranche + assert_eq!( + Decoder::::decode( + &evm.view( + Keyring::Alice, + "pool_manager", + "getTrancheToken", + Some(&[ + Token::Uint(Uint::from(POOL_A)), + Token::FixedBytes(pool_a_tranche_1_id::().to_vec()), + ]), + ) + .unwrap() + .value, + ), + [0u8; 20].into() + ); + + assert_ok!(evm.call( + Keyring::Alice, + Default::default(), + "pool_manager", + "deployTranche", + Some(&[ + Token::Uint(Uint::from(POOL_A)), + Token::FixedBytes(pool_a_tranche_1_id::().to_vec()), + ]), + )); + assert_ne!( + Decoder::::decode( + &evm.view( + Keyring::Alice, + "pool_manager", + "getTrancheToken", + Some(&[ + Token::Uint(Uint::from(POOL_A)), + Token::FixedBytes(pool_a_tranche_1_id::().to_vec()), + ]), + ) + .unwrap() + .value, + ), + [0u8; 20].into() + ); + }); +} + +#[test_runtimes(all)] +fn allow_investment_currency() { + let mut env = super::setup::(|evm| { + super::setup_currencies(evm); + super::setup_pools(evm); + super::setup_tranches(evm); + }); + + env.state(|evm| { + assert!(!Decoder::::decode( + &evm.view( + Keyring::Alice, + "pool_manager", + "isAllowedAsInvestmentCurrency", + Some(&[ + Token::Uint(Uint::from(POOL_A)), + Token::Address(evm.deployed("usdc").address()), + ]), + ) + .unwrap() + .value, + )); + }); + + env.state_mut(|_evm| { + assert_ok!( + pallet_liquidity_pools::Pallet::::allow_investment_currency( + OriginFor::::signed(Keyring::Admin.into()), + POOL_A, + USDC.id(), + ), + ); + utils::process_outbound::(utils::verify_outbound_success::); + }); + + env.state(|evm| { + assert!(Decoder::::decode( + &evm.view( + Keyring::Alice, + "pool_manager", + "isAllowedAsInvestmentCurrency", + Some(&[ + Token::Uint(Uint::from(POOL_A)), + Token::Address(evm.deployed("usdc").address()), + ]), + ) + .unwrap() + .value, + )); + }); +} + +#[test_runtimes(all)] +fn disallow_investment_currency() { + let mut env = super::setup::(|evm| { + super::setup_currencies(evm); + super::setup_pools(evm); + super::setup_tranches(evm); + super::setup_investment_currencies(evm); + }); + + env.state(|evm| { + assert!(Decoder::::decode( + &evm.view( + Keyring::Alice, + "pool_manager", + "isAllowedAsInvestmentCurrency", + Some(&[ + Token::Uint(Uint::from(POOL_A)), + Token::Address(evm.deployed("usdc").address()), + ]), + ) + .unwrap() + .value, + )); + }); + + env.state_mut(|_evm| { + assert_ok!( + pallet_liquidity_pools::Pallet::::disallow_investment_currency( + OriginFor::::signed(Keyring::Admin.into()), + POOL_A, + USDC.id() + ), + ); + utils::process_outbound::(utils::verify_outbound_success::); + }); + + env.state(|evm| { + assert!(!Decoder::::decode( + &evm.view( + Keyring::Alice, + "pool_manager", + "isAllowedAsInvestmentCurrency", + Some(&[ + Token::Uint(Uint::from(POOL_A)), + Token::Address(evm.deployed("usdc").address()), + ]), + ) + .unwrap() + .value, + )); + }); +} + +#[test_runtimes(all)] +fn update_member() { + let mut env = super::setup::(|evm| { + super::setup_currencies(evm); + super::setup_pools(evm); + super::setup_tranches(evm); + super::setup_investment_currencies(evm); + super::setup_deploy_lps(evm); + }); + + env.state(|evm| { + assert!(!Decoder::::decode( + &evm.view( + Keyring::Alice, + names::RM_POOL_A_T_1, + "hasMember", + Some(&[Token::Address(Keyring::Bob.into())]), + ) + .unwrap() + .value + )); + }); + + env.state_mut(|_| { + crate::generic::utils::pool::give_role::( + AccountConverter::convert_evm_address(EVM_DOMAIN_CHAIN_ID, Keyring::Bob.into()), + POOL_A, + PoolRole::TrancheInvestor(pool_a_tranche_1_id::(), SECONDS_PER_YEAR), + ); + + // Address given MUST match derived allowlisted address for that domain + assert_noop!( + pallet_liquidity_pools::Pallet::::update_member( + Keyring::Bob.as_origin(), + POOL_A, + pool_a_tranche_1_id::(), + DomainAddress::evm(EVM_DOMAIN_CHAIN_ID, Keyring::Alice.into()), + SECONDS_PER_YEAR, + ), + pallet_liquidity_pools::Error::::InvestorDomainAddressNotAMember + ); + + assert_ok!(pallet_liquidity_pools::Pallet::::update_member( + Keyring::Bob.as_origin(), + POOL_A, + pool_a_tranche_1_id::(), + DomainAddress::evm(EVM_DOMAIN_CHAIN_ID, Keyring::Bob.into()), + SECONDS_PER_YEAR, + )); + + utils::process_outbound::(utils::verify_outbound_success::); + }); + + env.state(|evm| { + assert!(Decoder::::decode( + &evm.view( + Keyring::Alice, + names::RM_POOL_A_T_1, + "hasMember", + Some(&[Token::Address(Keyring::Bob.into())]), + ) + .unwrap() + .value + )); + + assert!(!Decoder::::decode( + &evm.view( + Keyring::Alice, + names::RM_POOL_A_T_1, + "hasMember", + Some(&[Token::Address(Keyring::Alice.into())]), + ) + .unwrap() + .value + )); + }); +} + +#[test_runtimes(all)] +fn update_tranche_token_metadata() { + let mut env = super::setup::(|evm| { + super::setup_currencies(evm); + super::setup_pools(evm); + super::setup_tranches(evm); + }); + + let decimals_new = 42; + let name_new = b"NEW_NAME".to_vec(); + let symbol_new = b"NEW_SYMBOL".to_vec(); + + let (decimals_old, name_evm, symbol_evm) = env.state(|evm| { + let meta = orml_asset_registry::module::Metadata::::get(CurrencyId::Tranche( + POOL_A, + pool_a_tranche_1_id::(), + )) + .unwrap(); + assert!(meta.name.is_empty()); + assert!(meta.symbol.is_empty()); + + let decimals = Decoder::::decode( + &evm.view(Keyring::Alice, names::POOL_A_T_1, "decimals", Some(&[])) + .unwrap() + .value, + ); + + // name and decimals are of EVM type String + let name = &evm + .view(Keyring::Alice, names::POOL_A_T_1, "name", Some(&[])) + .unwrap() + .value; + let symbol = &evm + .view(Keyring::Alice, names::POOL_A_T_1, "symbol", Some(&[])) + .unwrap() + .value; + assert_eq!(u32::from(decimals), meta.decimals); + + (meta.decimals, name.clone(), symbol.clone()) + }); + + env.state_mut(|_evm| { + assert_ok!( + pallet_pool_registry::Pallet::::update_tranche_token_metadata( + POOL_A, + pool_a_tranche_1_id::().into(), + Some(decimals_new.clone()), + Some(name_new.clone()), + Some(symbol_new.clone()), + None, + None, + None + ), + ); + + assert_ok!( + pallet_liquidity_pools::Pallet::::update_tranche_token_metadata( + OriginFor::::signed(Keyring::Alice.into()), + POOL_A, + pool_a_tranche_1_id::(), + Domain::EVM(EVM_DOMAIN_CHAIN_ID) + ) + ); + utils::process_outbound::(utils::verify_outbound_success::); + }); + + env.state(|evm| { + // Decimals cannot be changed + let decimals = u32::from(Decoder::::decode( + &evm.view(Keyring::Alice, names::POOL_A_T_1, "decimals", Some(&[])) + .unwrap() + .value, + )); + assert_ne!(decimals, decimals_new); + assert_eq!(decimals, decimals_old); + + // name and decimals are of EVM type String + let name = &evm + .view(Keyring::Alice, names::POOL_A_T_1, "name", Some(&[])) + .unwrap() + .value; + let symbol = &evm + .view(Keyring::Alice, names::POOL_A_T_1, "symbol", Some(&[])) + .unwrap() + .value; + + assert_ne!(*name, name_evm); + assert_ne!(*symbol, symbol_evm); + + // contained in slice [64..71] + assert!(name.windows(name_new.len()).any(|w| w == name_new)); + assert!(symbol.windows(symbol_new.len()).any(|w| w == symbol_new)); + }); +} + +#[test_runtimes(all)] +fn update_tranche_token_price() { + let mut env = super::setup::(|evm| { + super::setup_currencies(evm); + super::setup_pools(evm); + super::setup_tranches(evm); + }); + + // Neither price nor computed exists yet + env.state(|evm| { + let (price_evm, computed_evm) = Decoder::<(u128, u64)>::decode( + &evm.view( + Keyring::Alice, + "pool_manager", + "getTrancheTokenPrice", + Some(&[ + Token::Uint(Uint::from(POOL_A)), + Token::FixedBytes(pool_a_tranche_1_id::().to_vec()), + Token::Address(evm.deployed("usdc").address()), + ]), + ) + .unwrap() + .value, + ); + + assert_eq!(price_evm, 0); + assert_eq!(computed_evm, 0); + }); + + let pre_price_cfg = env.state_mut(|_evm| { + let price = as TrancheTokenPrice< + ::AccountId, + CurrencyId, + >>::get(POOL_A, pool_a_tranche_1_id::()) + .unwrap(); + + assert_ok!(pallet_liquidity_pools::Pallet::::update_token_price( + OriginFor::::signed(Keyring::Alice.into()), + POOL_A, + pool_a_tranche_1_id::(), + USDC.id(), + Domain::EVM(EVM_DOMAIN_CHAIN_ID) + )); + utils::process_outbound::(utils::verify_outbound_success::); + + price + }); + + env.state(|evm| { + let (price_evm, computed_at_evm) = Decoder::<(u128, u64)>::decode( + &evm.view( + Keyring::Alice, + "pool_manager", + "getTrancheTokenPrice", + Some(&[ + Token::Uint(Uint::from(POOL_A)), + Token::FixedBytes(pool_a_tranche_1_id::().to_vec()), + Token::Address(evm.deployed("usdc").address()), + ]), + ) + .unwrap() + .value, + ); + + assert_eq!(pre_price_cfg.last_updated, computed_at_evm); + assert_eq!(price_evm, pre_price_cfg.price.into_inner()); + }); +} diff --git a/runtime/integration-tests/src/generic/cases/lp/transfers.rs b/runtime/integration-tests/src/generic/cases/lp/transfers.rs new file mode 100644 index 0000000000..af772f9f56 --- /dev/null +++ b/runtime/integration-tests/src/generic/cases/lp/transfers.rs @@ -0,0 +1,391 @@ +// 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::{Balance, PoolId}; +use cfg_traits::Seconds; +use cfg_types::{ + domain_address::{Domain, DomainAddress}, + permissions::PoolRole, + tokens::CurrencyId, +}; +use ethabi::{ethereum_types::U256, Token}; +use frame_support::{assert_noop, traits::OriginTrait}; +use frame_system::pallet_prelude::OriginFor; +use pallet_liquidity_pools::Message; +use sp_core::ByteArray; +use sp_runtime::traits::Convert; + +use crate::{ + generic::{ + cases::lp::{ + self, names, + utils::{as_h160_32bytes, pool_a_tranche_1_id, Decoder}, + LocalUSDC, DECIMALS_6, DEFAULT_BALANCE, EVM_DOMAIN_CHAIN_ID, POOL_A, USDC, + }, + config::Runtime, + env::{Blocks, Env, EnvEvmExtension, EvmEnv}, + utils::{currency::CurrencyInfo, give_tokens, invest_and_collect}, + }, + utils::accounts::Keyring, +}; + +// The default amount of invested stable coins +const AMOUNT: Balance = DEFAULT_BALANCE * DECIMALS_6; + +mod utils { + use super::*; + + pub fn prepare_hold_tt_domain(env: &mut impl EnvEvmExtension) { + env.state_mut(|evm| { + assert_eq!( + Decoder::::decode(&evm.view( + Keyring::Alice, + names::POOL_A_T_1, + "balanceOf", + Some(&[Token::Address(Keyring::TrancheInvestor(1).into())]), + )), + 0 + ); + }); + + // Invest, close epoch and collect tranche tokens with 1-to-1 conversion + env.pass(Blocks::ByNumber(2)); + env.state_mut(|_evm| { + give_tokens::(Keyring::TrancheInvestor(1).id(), LocalUSDC.id(), AMOUNT); + invest_and_collect::( + Keyring::TrancheInvestor(1).into(), + Keyring::Admin, + POOL_A, + pool_a_tranche_1_id::(), + AMOUNT, + ); + assert_eq!( + orml_tokens::Accounts::::get( + Keyring::TrancheInvestor(1).id(), + CurrencyId::Tranche(POOL_A, pool_a_tranche_1_id::()), + ) + .free, + AMOUNT + ); + }); + + env.state_mut(|_evm| { + pallet_liquidity_pools::Pallet::::transfer_tranche_tokens( + OriginFor::::signed(Keyring::TrancheInvestor(1).into()), + POOL_A, + pool_a_tranche_1_id::(), + DomainAddress::evm(EVM_DOMAIN_CHAIN_ID, Keyring::TrancheInvestor(1).into()), + AMOUNT, + ) + .unwrap(); + lp::utils::process_outbound::(lp::utils::verify_outbound_success::); + }); + + env.state(|evm| { + assert_eq!( + Decoder::::decode(&evm.view( + Keyring::Alice, + names::POOL_A_T_1, + "balanceOf", + Some(&[Token::Address(Keyring::TrancheInvestor(1).into())]), + )), + AMOUNT + ); + }); + } + + pub fn prepare_hold_usdc_local(env: &mut impl EnvEvmExtension) { + env.state_mut(|evm| { + evm.call( + Keyring::Alice, + Default::default(), + names::USDC, + "approve", + Some(&[ + Token::Address(evm.deployed(names::POOL_MANAGER).address()), + Token::Uint(U256::from(AMOUNT)), + ]), + ) + .unwrap(); + evm.call( + Keyring::Alice, + Default::default(), + names::POOL_MANAGER, + "transfer", + Some(&[ + Token::Address(evm.deployed(names::USDC).address()), + Token::FixedBytes(Keyring::Ferdie.id().to_raw_vec()), + Token::Uint(U256::from(AMOUNT)), + ]), + ) + .unwrap(); + + assert_eq!( + orml_tokens::Accounts::::get(Keyring::Ferdie.id(), USDC.id()).free, + AMOUNT + ); + }); + } +} + +#[test_runtimes(all)] +fn transfer_tokens_from_local() { + let mut env = super::setup_full::(); + utils::prepare_hold_usdc_local::(&mut env); + + env.state_mut(|_evm| { + let call = pallet_liquidity_pools::Pallet::::transfer( + OriginFor::::signed(Keyring::Ferdie.into()), + USDC.id(), + DomainAddress::evm(EVM_DOMAIN_CHAIN_ID, Keyring::Ferdie.into()), + AMOUNT, + ); + call.unwrap(); + lp::utils::process_outbound::(lp::utils::verify_outbound_success::); + }); + + env.state(|evm| { + assert_eq!( + Decoder::::decode(&evm.view( + Keyring::Alice, + "usdc", + "balanceOf", + Some(&[Token::Address(Keyring::Ferdie.into())]), + )), + AMOUNT + ); + }); +} + +#[test_runtimes(all)] +fn transfer_tranche_tokens_from_local() { + let mut env = super::setup_full::(); + + env.state_mut(|evm| { + assert_eq!( + Decoder::::decode( + &evm.view( + Keyring::Alice, + names::POOL_A_T_1, + "balanceOf", + Some(&[Token::Address(Keyring::TrancheInvestor(1).into())]), + ) + .unwrap() + .value, + ), + 0 + ); + }); + + // Invest, close epoch and collect tranche tokens with 1-to-1 conversion + env.pass(Blocks::ByNumber(2)); + env.state_mut(|_evm| { + give_tokens::(Keyring::TrancheInvestor(1).id(), LocalUSDC.id(), AMOUNT); + invest_and_collect::( + Keyring::TrancheInvestor(1).into(), + Keyring::Admin, + POOL_A, + pool_a_tranche_1_id::(), + AMOUNT, + ); + }); + + env.state_mut(|_evm| { + pallet_liquidity_pools::Pallet::::transfer_tranche_tokens( + OriginFor::::signed(Keyring::TrancheInvestor(1).into()), + POOL_A, + pool_a_tranche_1_id::(), + DomainAddress::evm(EVM_DOMAIN_CHAIN_ID, Keyring::TrancheInvestor(1).into()), + AMOUNT, + ) + .unwrap(); + lp::utils::process_outbound::(lp::utils::verify_outbound_success::); + }); + + env.state(|evm| { + assert_eq!( + Decoder::::decode( + &evm.view( + Keyring::Alice, + names::POOL_A_T_1, + "balanceOf", + Some(&[Token::Address(Keyring::TrancheInvestor(1).into())]), + ) + .unwrap() + .value, + ), + AMOUNT + ); + }); +} + +#[test_runtimes(all)] +fn transfer_tranche_tokens_domain_to_local_to_domain() { + let mut env = super::setup_full::(); + utils::prepare_hold_tt_domain::(&mut env); + + env.state_mut(|evm| { + evm.call( + Keyring::TrancheInvestor(1), + Default::default(), + names::POOL_A_T_1, + "approve", + Some(&[ + Token::Address(evm.deployed(names::POOL_MANAGER).address()), + Token::Uint(U256::from(AMOUNT)), + ]), + ) + .unwrap(); + evm.call( + Keyring::TrancheInvestor(1), + sp_core::U256::zero(), + names::POOL_MANAGER, + "transferTrancheTokensToEVM", + Some(&[ + Token::Uint(POOL_A.into()), + Token::FixedBytes(pool_a_tranche_1_id::().into()), + Token::Uint(EVM_DOMAIN_CHAIN_ID.into()), + Token::Address(Keyring::TrancheInvestor(2).into()), + Token::Uint(AMOUNT.into()), + ]), + ) + .unwrap(); + }); + + env.state_mut(|_evm| { + lp::utils::process_outbound::(|msg| { + assert_eq!( + msg, + Message::TransferTrancheTokens { + pool_id: POOL_A, + tranche_id: pool_a_tranche_1_id::(), + sender: + ::DomainAddressToAccountId::convert( + DomainAddress::evm( + EVM_DOMAIN_CHAIN_ID, + Keyring::TrancheInvestor(2).into() + ) + ) + .into(), + domain: Domain::EVM(EVM_DOMAIN_CHAIN_ID), + receiver: as_h160_32bytes(Keyring::TrancheInvestor(2)), + amount: AMOUNT, + } + ); + }); + }); + + env.state(|evm| { + assert_eq!( + Decoder::::decode( + &evm.view( + Keyring::Alice, + names::POOL_A_T_1, + "balanceOf", + Some(&[Token::Address(Keyring::TrancheInvestor(2).into())]), + ) + .unwrap() + .value, + ), + AMOUNT + ); + }); +} + +#[test_runtimes(all)] +fn transfer_tranche_tokens_domain_to_local() { + let mut env = super::setup_full::(); + utils::prepare_hold_tt_domain::(&mut env); + + env.state_mut(|evm| { + evm.call( + Keyring::TrancheInvestor(1), + Default::default(), + names::POOL_A_T_1, + "approve", + Some(&[ + Token::Address(evm.deployed(names::POOL_MANAGER).address()), + Token::Uint(U256::from(AMOUNT)), + ]), + ) + .unwrap(); + evm.call( + Keyring::TrancheInvestor(1), + sp_core::U256::zero(), + names::POOL_MANAGER, + "transferTrancheTokensToCentrifuge", + Some(&[ + Token::Uint(POOL_A.into()), + Token::FixedBytes(pool_a_tranche_1_id::().into()), + Token::FixedBytes(Keyring::TrancheInvestor(2).id().to_raw_vec()), + Token::Uint(AMOUNT.into()), + ]), + ) + .unwrap(); + }); + + env.state(|_evm| { + assert_eq!( + orml_tokens::Accounts::::get( + Keyring::TrancheInvestor(2).id(), + CurrencyId::Tranche(POOL_A, pool_a_tranche_1_id::()), + ) + .free, + AMOUNT + ); + }); +} + +#[test_runtimes(all)] +fn transferring_invalid_tranche_tokens_should_fail() { + const INVALID_POOL_ID: PoolId = 100; + const INVALID_TRANCHE_ID: [u8; 16] = [0; 16]; + let mut env = super::setup_full::(); + + env.state_mut(|_| { + crate::generic::utils::pool::give_role::( + lp::utils::remote_account_of::(Keyring::TrancheInvestor(1)), + POOL_A, + PoolRole::TrancheInvestor(INVALID_TRANCHE_ID, Seconds::MAX), + ); + crate::generic::utils::pool::give_role::( + lp::utils::remote_account_of::(Keyring::TrancheInvestor(1)), + INVALID_POOL_ID, + PoolRole::TrancheInvestor(INVALID_TRANCHE_ID, Seconds::MAX), + ); + }); + + let destination = DomainAddress::EVM(EVM_DOMAIN_CHAIN_ID, Keyring::TrancheInvestor(1).into()); + env.state(|_evm| { + assert_noop!( + pallet_liquidity_pools::Pallet::::transfer_tranche_tokens( + OriginFor::::signed(Keyring::TrancheInvestor(1).into()), + INVALID_POOL_ID, + INVALID_TRANCHE_ID, + destination.clone(), + AMOUNT + ), + pallet_liquidity_pools::Error::::PoolNotFound + ); + + assert_noop!( + pallet_liquidity_pools::Pallet::::transfer_tranche_tokens( + OriginFor::::signed(Keyring::TrancheInvestor(1).into()), + POOL_A, + INVALID_TRANCHE_ID, + destination, + AMOUNT + ), + pallet_liquidity_pools::Error::::TrancheNotFound + ); + }); +} diff --git a/runtime/integration-tests/src/generic/cases/precompile.rs b/runtime/integration-tests/src/generic/cases/precompile.rs index aed0baa6eb..d7f71c405a 100644 --- a/runtime/integration-tests/src/generic/cases/precompile.rs +++ b/runtime/integration-tests/src/generic/cases/precompile.rs @@ -20,13 +20,13 @@ use crate::generic::{ env::Env, envs::runtime_env::RuntimeEnv, utils::{ - self, currency::{usd18, CurrencyInfo, Usd18}, + evm, genesis::{self, Genesis}, }, }; -#[test_runtimes([development])] +#[test_runtimes(all)] fn axelar_precompile_execute() { RuntimeEnv::::from_parachain_storage( Genesis::default() @@ -48,7 +48,7 @@ fn axelar_precompile_execute() { let derived_sender_account = T::AddressMapping::into_account_id(sender_address); let derived_receiver_account = T::AddressMapping::into_account_id(receiver_address); - utils::evm::mint_balance_into_derived_account::(sender_address, 1 * CFG); + evm::mint_balance_into_derived_account::(sender_address, 1 * CFG); let general_currency_id = pallet_liquidity_pools::Pallet::::try_get_general_index(Usd18.id()).unwrap(); @@ -116,7 +116,7 @@ fn axelar_precompile_execute() { .expect("cannot encode input for test contract function"); assert_ok!(pallet_evm::Pallet::::call( - RawOrigin::Signed(derived_sender_account.clone()).into(), + RawOrigin::Root.into(), sender_address, lp_axelar_gateway, eth_function_encoded.to_vec(), diff --git a/runtime/integration-tests/src/generic/cases/restricted_transfers.rs b/runtime/integration-tests/src/generic/cases/restricted_transfers.rs index ee539b0465..ab1af8deb7 100644 --- a/runtime/integration-tests/src/generic/cases/restricted_transfers.rs +++ b/runtime/integration-tests/src/generic/cases/restricted_transfers.rs @@ -51,7 +51,7 @@ mod cfg { pallet_transfer_allowlist::Pallet::::add_transfer_allowance( RawOrigin::Signed(Keyring::Alice.into()).into(), filter, - RestrictedTransferLocation::Local(Keyring::Bob.to_account_id()) + RestrictedTransferLocation::Local(Keyring::Bob.id()) ) ); @@ -75,11 +75,9 @@ mod cfg { env.parachain_state(|| { // NOTE: The para-id is not relevant here ( - pallet_balances::Pallet::::free_balance(&Keyring::Alice.to_account_id()), - pallet_balances::Pallet::::free_balance(&Keyring::Bob.to_account_id()), - pallet_balances::Pallet::::free_balance( - &Keyring::Charlie.to_account_id(), - ), + pallet_balances::Pallet::::free_balance(&Keyring::Alice.id()), + pallet_balances::Pallet::::free_balance(&Keyring::Bob.id()), + pallet_balances::Pallet::::free_balance(&Keyring::Charlie.id()), ) }); @@ -89,11 +87,11 @@ mod cfg { env.parachain_state(|| { let after_transfer_alice = - pallet_balances::Pallet::::free_balance(&Keyring::Alice.to_account_id()); + pallet_balances::Pallet::::free_balance(&Keyring::Alice.id()); let after_transfer_bob = - pallet_balances::Pallet::::free_balance(&Keyring::Bob.to_account_id()); + pallet_balances::Pallet::::free_balance(&Keyring::Bob.id()); let after_transfer_charlie = - pallet_balances::Pallet::::free_balance(&Keyring::Charlie.to_account_id()); + pallet_balances::Pallet::::free_balance(&Keyring::Charlie.id()); assert_eq!(after_transfer_alice, pre_transfer_alice - fee); assert_eq!(after_transfer_bob, pre_transfer_bob); @@ -109,11 +107,9 @@ mod cfg { env.parachain_state(|| { // NOTE: The para-id is not relevant here ( - pallet_balances::Pallet::::free_balance(&Keyring::Alice.to_account_id()), - pallet_balances::Pallet::::free_balance(&Keyring::Bob.to_account_id()), - pallet_balances::Pallet::::free_balance( - &Keyring::Charlie.to_account_id(), - ), + pallet_balances::Pallet::::free_balance(&Keyring::Alice.id()), + pallet_balances::Pallet::::free_balance(&Keyring::Bob.id()), + pallet_balances::Pallet::::free_balance(&Keyring::Charlie.id()), ) }); @@ -123,11 +119,11 @@ mod cfg { env.parachain_state(|| { let after_transfer_alice = - pallet_balances::Pallet::::free_balance(&Keyring::Alice.to_account_id()); + pallet_balances::Pallet::::free_balance(&Keyring::Alice.id()); let after_transfer_bob = - pallet_balances::Pallet::::free_balance(&Keyring::Bob.to_account_id()); + pallet_balances::Pallet::::free_balance(&Keyring::Bob.id()); let after_transfer_charlie = - pallet_balances::Pallet::::free_balance(&Keyring::Charlie.to_account_id()); + pallet_balances::Pallet::::free_balance(&Keyring::Charlie.id()); assert_eq!(after_transfer_alice, pre_transfer_alice - fee); assert_eq!(after_transfer_bob, pre_transfer_bob); @@ -145,11 +141,9 @@ mod cfg { env.parachain_state(|| { // NOTE: The para-id is not relevant here ( - pallet_balances::Pallet::::free_balance(&Keyring::Alice.to_account_id()), - pallet_balances::Pallet::::free_balance(&Keyring::Bob.to_account_id()), - pallet_balances::Pallet::::free_balance( - &Keyring::Charlie.to_account_id(), - ), + pallet_balances::Pallet::::free_balance(&Keyring::Alice.id()), + pallet_balances::Pallet::::free_balance(&Keyring::Bob.id()), + pallet_balances::Pallet::::free_balance(&Keyring::Charlie.id()), ) }); @@ -160,11 +154,11 @@ mod cfg { env.parachain_state(|| { let after_transfer_alice = - pallet_balances::Pallet::::free_balance(&Keyring::Alice.to_account_id()); + pallet_balances::Pallet::::free_balance(&Keyring::Alice.id()); let after_transfer_bob = - pallet_balances::Pallet::::free_balance(&Keyring::Bob.to_account_id()); + pallet_balances::Pallet::::free_balance(&Keyring::Bob.id()); let after_transfer_charlie = - pallet_balances::Pallet::::free_balance(&Keyring::Charlie.to_account_id()); + pallet_balances::Pallet::::free_balance(&Keyring::Charlie.id()); assert_eq!( after_transfer_alice, @@ -183,11 +177,9 @@ mod cfg { env.parachain_state(|| { // NOTE: The para-id is not relevant here ( - pallet_balances::Pallet::::free_balance(&Keyring::Alice.to_account_id()), - pallet_balances::Pallet::::free_balance(&Keyring::Bob.to_account_id()), - pallet_balances::Pallet::::free_balance( - &Keyring::Charlie.to_account_id(), - ), + pallet_balances::Pallet::::free_balance(&Keyring::Alice.id()), + pallet_balances::Pallet::::free_balance(&Keyring::Bob.id()), + pallet_balances::Pallet::::free_balance(&Keyring::Charlie.id()), ) }); @@ -197,11 +189,11 @@ mod cfg { env.parachain_state(|| { let after_transfer_alice = - pallet_balances::Pallet::::free_balance(&Keyring::Alice.to_account_id()); + pallet_balances::Pallet::::free_balance(&Keyring::Alice.id()); let after_transfer_bob = - pallet_balances::Pallet::::free_balance(&Keyring::Bob.to_account_id()); + pallet_balances::Pallet::::free_balance(&Keyring::Bob.id()); let after_transfer_charlie = - pallet_balances::Pallet::::free_balance(&Keyring::Charlie.to_account_id()); + pallet_balances::Pallet::::free_balance(&Keyring::Charlie.id()); assert_eq!( after_transfer_alice, @@ -239,9 +231,9 @@ mod cfg { env.parachain_state(|| { // NOTE: The para-id is not relevant here ( - pallet_balances::Pallet::::free_balance(&Keyring::Alice.to_account_id()), - pallet_balances::Pallet::::free_balance(&Keyring::Bob.to_account_id()), - pallet_balances::Pallet::::free_balance(&Keyring::Charlie.to_account_id()), + pallet_balances::Pallet::::free_balance(&Keyring::Alice.id()), + pallet_balances::Pallet::::free_balance(&Keyring::Bob.id()), + pallet_balances::Pallet::::free_balance(&Keyring::Charlie.id()), ) }); @@ -249,11 +241,10 @@ mod cfg { env.parachain_state(|| { let after_transfer_alice = - pallet_balances::Pallet::::free_balance(&Keyring::Alice.to_account_id()); - let after_transfer_bob = - pallet_balances::Pallet::::free_balance(&Keyring::Bob.to_account_id()); + pallet_balances::Pallet::::free_balance(&Keyring::Alice.id()); + let after_transfer_bob = pallet_balances::Pallet::::free_balance(&Keyring::Bob.id()); let after_transfer_charlie = - pallet_balances::Pallet::::free_balance(&Keyring::Charlie.to_account_id()); + pallet_balances::Pallet::::free_balance(&Keyring::Charlie.id()); assert_eq!( after_transfer_alice, diff --git a/runtime/integration-tests/src/generic/config.rs b/runtime/integration-tests/src/generic/config.rs index df368a9015..cbb6c00aae 100644 --- a/runtime/integration-tests/src/generic/config.rs +++ b/runtime/integration-tests/src/generic/config.rs @@ -14,6 +14,7 @@ use cfg_types::{ permissions::{PermissionScope, Role}, tokens::{AssetStringLimit, CurrencyId, CustomMetadata, FilterCurrency, TrancheCurrency}, }; +use fp_evm::PrecompileSet; use fp_self_contained::{SelfContainedCall, UncheckedExtrinsic}; use frame_support::{ dispatch::{DispatchInfo, GetDispatchInfo, PostDispatchInfo, RawOrigin}, @@ -26,6 +27,7 @@ use pallet_transaction_payment::CurrencyAdapter; use parity_scale_codec::Codec; use runtime_common::{ apis, + evm::precompile::H160Addresses, fees::{DealWithFees, WeightToFee}, instances, oracle::Feeder, @@ -66,20 +68,23 @@ pub trait Runtime: CurrencyId = CurrencyId, Balance = Balance, PoolId = PoolId, + Rate = Rate, TrancheId = TrancheId, BalanceRatio = Quantity, MaxTranches = Self::MaxTranchesExt, + TrancheCurrency = TrancheCurrency, > + pallet_balances::Config + pallet_pool_registry::Config< CurrencyId = CurrencyId, PoolId = PoolId, + InterestRate = Rate, Balance = Balance, MaxTranches = Self::MaxTranchesExt, ModifyPool = pallet_pool_system::Pallet, ModifyWriteOffPolicy = pallet_loans::Pallet, > + pallet_permissions::Config> + pallet_investments::Config< - InvestmentId = TrancheCurrency, + InvestmentId = ::TrancheCurrency, Amount = Balance, BalanceRatio = Ratio, > + pallet_loans::Config< @@ -173,12 +178,21 @@ pub trait Runtime: FixedI128, SingleCurrencyMovement, >, + > + pallet_evm::Config< + Runner = pallet_evm::runner::stack::Runner, + Currency = pallet_balances::Pallet, > + pallet_block_rewards::Config< Rate = Rate, CurrencyId = CurrencyId, Balance = Balance, Rewards = pallet_rewards::Pallet, > + axelar_gateway_precompile::Config + + pallet_token_mux::Config< + BalanceIn = Balance, + BalanceOut = Balance, + CurrencyId = CurrencyId, + OrderId = OrderId, + > { /// Value to differentiate the runtime in tests. const KIND: RuntimeKind; @@ -232,6 +246,7 @@ pub trait Runtime: + TryInto> + TryInto> + TryInto + + TryInto> + TryInto> + TryInto> + TryInto> @@ -252,6 +267,8 @@ pub trait Runtime: + From> + From> + From> + + From + + From> + From> + From> + From; @@ -323,5 +340,7 @@ pub trait Runtime: type SessionKeysExt: OpaqueKeys + Member + Parameter + MaybeSerializeDeserialize; + type PrecompilesTypeExt: PrecompileSet + H160Addresses; + fn initialize_session_keys(public_id: Public) -> Self::SessionKeysExt; } diff --git a/runtime/integration-tests/src/generic/env.rs b/runtime/integration-tests/src/generic/env.rs index 153d61c658..c6e58ed7f2 100644 --- a/runtime/integration-tests/src/generic/env.rs +++ b/runtime/integration-tests/src/generic/env.rs @@ -1,6 +1,9 @@ use cfg_primitives::{Address, Balance, BlockNumber, Nonce}; use cfg_traits::{IntoSeconds, Seconds}; +use ethabi::{Log, Token}; +use pallet_evm::CallInfo; use parity_scale_codec::Encode; +use sp_core::{H160, U256}; use sp_runtime::{ generic::{Era, SignedPayload}, traits::{Block, Extrinsic}, @@ -8,7 +11,13 @@ use sp_runtime::{ }; use sp_std::ops::Range; -use crate::{generic::config::Runtime, utils::accounts::Keyring}; +use crate::{ + generic::{ + config::Runtime, + utils::evm::{ContractInfo, DeployedContractInfo}, + }, + utils::accounts::Keyring, +}; /// Used by Env::pass() to determine how many blocks should be passed #[derive(Clone)] @@ -166,6 +175,58 @@ pub trait Env: Default { fn __priv_build_block(&mut self, i: BlockNumber); } +pub trait EnvEvmExtension: Env { + type EvmEnv: EvmEnv; + + /// Allows to mutate the parachain storage state through the closure. + fn state_mut(&mut self, f: impl FnOnce(&mut Self::EvmEnv) -> R) -> R; + + /// Allows to read the parachain storage state through the closure. + fn state(&self, f: impl FnOnce(&Self::EvmEnv) -> R) -> R; +} + +pub trait EvmEnv { + fn find_events(&self, contract: impl Into, event: impl Into) -> Vec; + + fn load_contracts(&mut self) -> &mut Self; + + fn deployed(&self, name: impl Into) -> DeployedContractInfo; + + fn register( + &mut self, + name: impl Into, + contract: impl Into, + address: H160, + ) -> &mut Self; + + fn contract(&self, name: impl Into) -> ContractInfo; + + fn deploy( + &mut self, + what: impl Into + Clone, + name: impl Into, + who: Keyring, + args: Option<&[Token]>, + ) -> &mut Self; + + fn call( + &self, + caller: Keyring, + value: U256, + contract: impl Into, + function: impl Into, + args: Option<&[Token]>, + ) -> Result; + + fn view( + &self, + caller: Keyring, + contract: impl Into, + function: impl Into, + args: Option<&[Token]>, + ) -> Result; +} + pub mod utils { use super::*; @@ -193,7 +254,7 @@ pub mod utils { let signature = MultiSignature::Sr25519(raw_payload.using_encoded(|payload| who.sign(payload))); - let multi_address = (Address::Id(who.to_account_id()), signature, signed_extra); + let multi_address = (Address::Id(who.id()), signature, signed_extra); ::Extrinsic::new(runtime_call, Some(multi_address)).unwrap() } diff --git a/runtime/integration-tests/src/generic/envs/evm_env.rs b/runtime/integration-tests/src/generic/envs/evm_env.rs new file mode 100644 index 0000000000..cdcf52cc59 --- /dev/null +++ b/runtime/integration-tests/src/generic/envs/evm_env.rs @@ -0,0 +1,218 @@ +use std::{collections::HashMap, marker::PhantomData}; + +use ethabi::{ethereum_types, Log, RawLog, Token}; +use pallet_evm::{CallInfo, ExitReason, FeeCalculator, Runner}; +use sp_core::{H160, U256}; +use sp_runtime::DispatchError; + +use crate::{ + generic::{ + config::Runtime, + env, + utils::{ + evm, + evm::{ContractInfo, DeployedContractInfo}, + ESSENTIAL, + }, + }, + utils::accounts::Keyring, +}; + +const GAS_LIMIT: u64 = 105_000_000; +const VALIDATE: bool = false; +const TRANSACTIONAL: bool = true; + +pub struct EvmEnv { + sol_contracts: Option>, + deployed_contracts: HashMap, + _phantom: PhantomData, +} + +impl Default for EvmEnv { + fn default() -> Self { + EvmEnv { + sol_contracts: None, + deployed_contracts: HashMap::new(), + _phantom: Default::default(), + } + } +} + +impl env::EvmEnv for EvmEnv { + fn find_events(&self, contract: impl Into, event: impl Into) -> Vec { + let contract = self.contract(contract).contract; + let event = contract + .event(Into::::into(event).as_ref()) + .unwrap(); + + pallet_ethereum::Pending::::get() + .into_iter() + .flat_map(|(_, status, _)| status.logs) + .collect::>() + .into_iter() + .filter_map(|log| { + event + .parse_log(RawLog { + topics: log + .topics + .into_iter() + .map(|h| ethereum_types::H256::from(h.0)) + .collect(), + data: log.data, + }) + .ok() + }) + .collect() + } + + fn load_contracts(&mut self) -> &mut Self { + self.sol_contracts = Some(evm::fetch_contracts()); + self + } + + fn deployed(&self, name: impl Into) -> DeployedContractInfo { + self.deployed_contracts + .get(&name.into()) + .expect("Not deployed") + .clone() + } + + fn register( + &mut self, + name: impl Into, + contract: impl Into, + address: H160, + ) -> &mut Self { + let contract = self.contract(contract); + let runtime_code = pallet_evm::AccountCodes::::get(address); + + assert_ne!(address, H160::zero()); + + self.deployed_contracts.insert( + name.into(), + DeployedContractInfo::new( + contract.contract, + runtime_code, + ethabi::ethereum_types::H160::from(address.0), + ), + ); + self + } + + fn contract(&self, name: impl Into) -> ContractInfo { + self.sol_contracts + .as_ref() + .expect("Need to load_contracts first") + .get(&name.into()) + .expect("Unknown contract") + .clone() + } + + fn deploy( + &mut self, + what: impl Into + Clone, + name: impl Into, + who: Keyring, + args: Option<&[Token]>, + ) -> &mut Self { + let info = Self::contract(&self, what.clone()); + + let init = match (info.contract.constructor(), args) { + (None, None) => info.bytecode.to_vec(), + (Some(constructor), Some(args)) => constructor + .encode_input(info.bytecode.to_vec(), args) + .expect("Could not encode constructor and arguments."), + (Some(constructor), None) => constructor + .encode_input(info.bytecode.to_vec(), &[]) + .expect("Could not encode constructor and argument."), + (None, Some(_)) => panic!("Contract has no constructor."), + }; + + let create_info = { + let (base_fee, _) = ::FeeCalculator::min_gas_price(); + + ::Runner::create( + who.into(), + init, + 0u8.into(), + GAS_LIMIT, + Some(base_fee), + None, + None, + Vec::new(), + // NOTE: Taken from pallet-evm implementation + VALIDATE, + // NOTE: Taken from pallet-evm implementation + TRANSACTIONAL, + None, + None, + ::config(), + ) + .expect(ESSENTIAL) + }; + + self.register(name, what, create_info.value) + } + + fn call( + &self, + caller: Keyring, + value: U256, + contract: impl Into, + function: impl Into, + args: Option<&[Token]>, + ) -> Result { + let contract_info = self + .deployed_contracts + .get(&contract.into()) + .expect("Contract not deployed") + .clone(); + let input = contract_info + .contract + .functions_by_name(function.into().as_ref()) + .expect(ESSENTIAL) + .iter() + .filter_map(|f| f.encode_input(args.unwrap_or_default()).ok()) + .last() + .expect("No matching function Signature found."); + + let (base_fee, _) = ::FeeCalculator::min_gas_price(); + + let res = ::Runner::call( + caller.into(), + contract_info.address(), + input, + value, + GAS_LIMIT, + Some(base_fee), + None, + None, + Vec::new(), + // NOTE: Taken from pallet-evm implementation + VALIDATE, + // NOTE: Taken from pallet-evm implementation + TRANSACTIONAL, + None, + None, + ::config(), + ) + .map_err(|re| re.error)?; + + match res.exit_reason { + ExitReason::Succeed(_) => Ok(res), + ExitReason::Fatal(_) => Err(DispatchError::Other("EVM call failed: Fatal")), + ExitReason::Error(_) => Err(DispatchError::Other("EVM call failed: Error")), + ExitReason::Revert(_) => Err(DispatchError::Other("EVM call failed: Revert")), + } + } + + fn view( + &self, + caller: Keyring, + contract: impl Into, + function: impl Into, + args: Option<&[Token]>, + ) -> Result { + self.call(caller, U256::zero(), contract, function, args) + } +} diff --git a/runtime/integration-tests/src/generic/envs/fudge_env.rs b/runtime/integration-tests/src/generic/envs/fudge_env.rs index 7c6492d446..6233784e47 100644 --- a/runtime/integration-tests/src/generic/envs/fudge_env.rs +++ b/runtime/integration-tests/src/generic/envs/fudge_env.rs @@ -161,7 +161,7 @@ mod tests { let mut env = FudgeEnv::::from_parachain_storage( Genesis::default() .add(pallet_balances::GenesisConfig:: { - balances: vec![(Keyring::Alice.to_account_id(), 1 * CFG)], + balances: vec![(Keyring::Alice.id(), 1 * CFG)], }) .storage(), ); diff --git a/runtime/integration-tests/src/generic/envs/runtime_env.rs b/runtime/integration-tests/src/generic/envs/runtime_env.rs index 1eb704939a..3a339b8eb2 100644 --- a/runtime/integration-tests/src/generic/envs/runtime_env.rs +++ b/runtime/integration-tests/src/generic/envs/runtime_env.rs @@ -8,6 +8,7 @@ use frame_support::{ dispatch::GetDispatchInfo, inherent::{InherentData, ProvideInherent}, storage::{transactional, TransactionOutcome}, + traits::BuildGenesisConfig, }; use frame_system::LastRuntimeUpgradeInfo; use parity_scale_codec::Encode; @@ -25,7 +26,8 @@ use sp_timestamp::Timestamp; use crate::{ generic::{ config::Runtime, - env::{utils, Env}, + env::{utils, Env, EnvEvmExtension}, + envs::evm_env::EvmEnv, }, utils::accounts::Keyring, }; @@ -36,6 +38,7 @@ pub struct RuntimeEnv { parachain_ext: Rc>, sibling_ext: Rc>, pending_extrinsics: Vec<(Keyring, T::RuntimeCallExt)>, + evm: Rc>>, _config: PhantomData, } @@ -45,6 +48,22 @@ impl Default for RuntimeEnv { } } +impl EnvEvmExtension for RuntimeEnv { + type EvmEnv = EvmEnv; + + fn state_mut(&mut self, f: impl FnOnce(&mut Self::EvmEnv) -> R) -> R { + self.parachain_ext + .borrow_mut() + .execute_with(|| f(&mut *self.evm.borrow_mut())) + } + + fn state(&self, f: impl FnOnce(&Self::EvmEnv) -> R) -> R { + self.parachain_ext + .borrow_mut() + .execute_with(|| f(&*self.evm.borrow())) + } +} + impl Env for RuntimeEnv { fn from_parachain_storage(parachain_storage: Storage) -> Self { Self::from_storage(Default::default(), parachain_storage, Default::default()) @@ -59,6 +78,7 @@ impl Env for RuntimeEnv { parachain_ext: Self::build_externality(parachain_storage), sibling_ext: Self::build_externality(sibling_storage), pending_extrinsics: Vec::default(), + evm: Rc::new(RefCell::new(EvmEnv::default())), _config: PhantomData, } } @@ -72,7 +92,7 @@ impl Env for RuntimeEnv { let info = self.parachain_state(|| call.get_dispatch_info()); let extrinsic = self.parachain_state(|| { - let nonce = frame_system::Pallet::::account(who.to_account_id()).nonce; + let nonce = frame_system::Pallet::::account(who.id()).nonce; utils::create_extrinsic::(who, call, nonce) }); let len = extrinsic.encoded_size(); @@ -171,6 +191,15 @@ impl RuntimeEnv { let mut ext = sp_io::TestExternalities::new(storage); ext.execute_with(|| { + // Precompiles need to have code-set + pallet_evm::GenesisConfig:: { + accounts: runtime_common::evm::precompile::utils::precompile_account_genesis::< + T::PrecompilesTypeExt, + >(), + _marker: PhantomData::default(), + } + .build(); + // NOTE: Setting the current on-chain runtime version to the latest one, to // prevent running migrations frame_system::LastRuntimeUpgrade::::put(LastRuntimeUpgradeInfo::from( @@ -193,7 +222,7 @@ impl RuntimeEnv { for (who, call) in pending_extrinsics { let extrinsic = self.parachain_state(|| { - let nonce = frame_system::Pallet::::account(who.to_account_id()).nonce; + let nonce = frame_system::Pallet::::account(who.id()).nonce; utils::create_extrinsic::(who, call, nonce) }); @@ -201,7 +230,7 @@ impl RuntimeEnv { } } - fn prepare_block(i: BlockNumber) { + pub fn prepare_block(i: BlockNumber) { let slot = Slot::from(i as u64); let digest = Digest { logs: vec![DigestItem::PreRuntime(AURA_ENGINE_ID, slot.encode())], @@ -286,7 +315,7 @@ mod tests { let mut env = RuntimeEnv::::from_parachain_storage( Genesis::default() .add(pallet_balances::GenesisConfig:: { - balances: vec![(Keyring::Alice.to_account_id(), 1 * CFG)], + balances: vec![(Keyring::Alice.id(), 1 * CFG)], }) .storage(), ); @@ -309,7 +338,7 @@ mod tests { let mut env = RuntimeEnv::::from_parachain_storage( Genesis::default() .add(pallet_balances::GenesisConfig:: { - balances: vec![(Keyring::Alice.to_account_id(), 1 * CFG)], + balances: vec![(Keyring::Alice.id(), 1 * CFG)], }) .storage(), ); diff --git a/runtime/integration-tests/src/generic/impls.rs b/runtime/integration-tests/src/generic/impls.rs index 777f81cceb..764c40ee27 100644 --- a/runtime/integration-tests/src/generic/impls.rs +++ b/runtime/integration-tests/src/generic/impls.rs @@ -16,6 +16,7 @@ macro_rules! impl_runtime { type Api = Self; type BlockExt = $runtime_path::Block; type MaxTranchesExt = $runtime_path::MaxTranches; + type PrecompilesTypeExt = $runtime_path::Precompiles; type RuntimeCallExt = $runtime_path::RuntimeCall; type RuntimeEventExt = $runtime_path::RuntimeEvent; type RuntimeOriginExt = $runtime_path::RuntimeOrigin; diff --git a/runtime/integration-tests/src/generic/mod.rs b/runtime/integration-tests/src/generic/mod.rs index 66689ac2e7..72671baec3 100644 --- a/runtime/integration-tests/src/generic/mod.rs +++ b/runtime/integration-tests/src/generic/mod.rs @@ -1,5 +1,6 @@ pub mod env; pub mod envs { + pub mod evm_env; pub mod fudge_env; pub mod runtime_env; } @@ -16,6 +17,7 @@ mod cases { mod investments; mod liquidity_pools; mod loans; + mod lp; mod oracles; mod precompile; mod proxy; diff --git a/runtime/integration-tests/src/generic/utils/currency.rs b/runtime/integration-tests/src/generic/utils/currency.rs index 5234d8ff4b..b7484d0cd5 100644 --- a/runtime/integration-tests/src/generic/utils/currency.rs +++ b/runtime/integration-tests/src/generic/utils/currency.rs @@ -1,8 +1,8 @@ //! PLEASE be as much generic as possible because no domain or use cases are //! considered at this level. -use cfg_primitives::{conversion, Balance, CFG}; -use cfg_types::tokens::{AssetMetadata, CurrencyId, CustomMetadata}; +use cfg_primitives::{conversion, liquidity_pools::GeneralCurrencyPrefix, Balance, CFG}; +use cfg_types::tokens::{AssetMetadata, CurrencyId, CustomMetadata, GeneralCurrencyIndex}; use frame_support::{assert_ok, traits::OriginTrait}; use sp_runtime::FixedPointNumber; use staging_xcm::VersionedLocation; @@ -51,7 +51,9 @@ pub trait CurrencyInfo { None } - fn custom(&self) -> CustomMetadata; + fn custom(&self) -> CustomMetadata { + CustomMetadata::default() + } fn ed(&self) -> Balance { 0 @@ -67,6 +69,10 @@ pub trait CurrencyInfo { additional: self.custom(), } } + + fn general_currency_index(&self) -> Option> { + TryFrom::try_from(*&self.id()).ok() + } } pub fn price_to_currency>( diff --git a/runtime/integration-tests/src/generic/utils/democracy.rs b/runtime/integration-tests/src/generic/utils/democracy.rs index a5c234ada7..0edc63b782 100644 --- a/runtime/integration-tests/src/generic/utils/democracy.rs +++ b/runtime/integration-tests/src/generic/utils/democracy.rs @@ -141,7 +141,7 @@ fn execute_democracy_vote( env.pass(Blocks::UntilEvent { event: pallet_democracy::Event::::Voted { - voter: acc.to_account_id(), + voter: acc.id(), ref_index: referendum_index, vote: acc_vote, } diff --git a/runtime/integration-tests/src/generic/utils/evm.rs b/runtime/integration-tests/src/generic/utils/evm.rs new file mode 100644 index 0000000000..3a8e50a7e7 --- /dev/null +++ b/runtime/integration-tests/src/generic/utils/evm.rs @@ -0,0 +1,211 @@ +use std::{ + collections::HashMap, + fs, + path::{Path, PathBuf}, +}; + +use cfg_utils::vec_to_fixed_array; +use ethabi::{ethereum_types::H160, Contract}; +use ethereum::ReceiptV3; +use frame_support::traits::{fungible::Mutate, OriginTrait}; +use pallet_evm::FeeCalculator; +use runtime_common::account_conversion::AccountConverter; +use sp_runtime::traits::Get; + +use crate::generic::{config::Runtime, utils::ESSENTIAL}; + +/// Liquidity-Pool solidity artifacts generated by build-script. +/// All needed contracts can be loaded from here. +/// +/// This panics if the solidity contracts were not built properly. This can +/// happen if the submodule was not pulled or the forge cli has not been +/// installed locally. +pub const LP_SOL_SOURCES: &str = env!("LP_SOL_SOURCES", "Build script failed to populate environment variable LP_SOL_SOURCES pointing to missing solidity source files in the 'target/*/build/integration-tests*/out' directory required for EVM integration tests.\n\nPlease check if you have pulled the 'liquidity-pools' submodule via `git pull --recurse-submodules` and if you have installed the forge cli, e.g. check `forge -V`."); + +#[derive(Clone, Debug, PartialEq)] +pub struct DeployedContractInfo { + pub contract: Contract, + pub deployed_bytecode: Vec, + pub address: H160, +} + +impl DeployedContractInfo { + pub fn new(contract: Contract, deployed_bytecode: Vec, address: H160) -> Self { + Self { + address, + contract, + deployed_bytecode, + } + } + + pub fn address(&self) -> H160 { + H160::from(self.address) + } +} + +#[derive(Clone, Debug, PartialEq)] +pub struct ContractInfo { + pub contract: Contract, + pub bytecode: Vec, + pub deployed_bytecode: Vec, +} + +impl ContractInfo { + pub fn new(contract: Contract, bytecode: Vec, deployed_bytecode: Vec) -> Self { + Self { + contract, + bytecode, + deployed_bytecode, + } + } +} + +fn traversal(path: impl AsRef, files: &mut Vec) { + for path in fs::read_dir(path).expect("Submodules directory must exist for integration-tests") { + if let Ok(dir_entry) = path.as_ref() { + if dir_entry + .metadata() + .map(|meta| meta.is_dir()) + .unwrap_or(false) + { + traversal( + fs::canonicalize(dir_entry.path()).expect("Failed to find absolute path."), + files, + ) + } else if dir_entry + .metadata() + .map(|meta| meta.is_file()) + .unwrap_or(false) + { + files.push(dir_entry.path()) + } + } + } +} + +pub fn fetch_contracts() -> HashMap { + let mut contracts = HashMap::new(); + let mut files = Vec::new(); + traversal(LP_SOL_SOURCES, &mut files); + files.iter().for_each(|path| { + let file_name = path + .file_name() + .expect("Only files here. qed.") + .to_str() + .expect(".sol files are valid unicode. qed") + .split(".") + .collect::>(); + + let contract_name = file_name + .first() + .expect("Files are all x.json.qed") + .to_string(); + + let contract_json: serde_json::Value = + serde_json::from_reader(fs::File::open(path).expect(ESSENTIAL)).expect(ESSENTIAL); + let abi = contract_json.get("abi").expect(ESSENTIAL); + let _ = Contract::load(&mut serde_json::to_string(abi).expect(ESSENTIAL).as_bytes()) + .map_err(|e| { + println!( + "Error: Failed loading contract {}. Error: {}", + contract_name, e + ) + }) + .map(|contract| { + // NOTE: We do not care of the code is invalid for now. + let _ = hex::decode( + contract_json + .get("bytecode") + .expect(ESSENTIAL) + .get("object") + .expect(ESSENTIAL) + .as_str() + .expect(ESSENTIAL) + .trim_start_matches("0x"), + ) + .map_err(|e| { + println!( + "Error: Failed decoding contract code {}. Error: {}", + contract_name, e, + ) + }) + .and_then(|code| { + // NOTE: We do not care of the code is invalid for now. + let deployed = hex::decode( + contract_json + .get("deployedBytecode") + .expect(ESSENTIAL) + .get("object") + .expect(ESSENTIAL) + .as_str() + .expect(ESSENTIAL) + .trim_start_matches("0x"), + ) + .map_err(|e| { + println!( + "Error: Failed decoding deployed contract code {}. Error: {}", + contract_name, e, + ) + })?; + + Ok((code, deployed)) + }) + .map(|(code, deployed)| { + // NOTE: There are some overlapping contract names in the LP codebase atm, but + // non that we care about for now. If we do care, we need to have some + // prefix or sort here. + // + // For now: Use latest contract. + contracts.insert(contract_name, ContractInfo::new(contract, code, deployed)); + }); + }); + }); + + contracts +} + +pub fn receipt_ok(receipt: ReceiptV3) -> bool { + let inner = match receipt { + ReceiptV3::Legacy(inner) | ReceiptV3::EIP1559(inner) | ReceiptV3::EIP2930(inner) => inner, + }; + + inner.status_code == 1 +} + +pub fn mint_balance_into_derived_account(address: impl AsRef<[u8]>, balance: u128) { + let chain_id = pallet_evm_chain_id::Pallet::::get(); + let derived_account = + AccountConverter::convert_evm_address(chain_id, vec_to_fixed_array(address)); + pallet_balances::Pallet::::mint_into(&derived_account.into(), balance) + .expect("Minting into derived EVM accounf failed."); +} + +pub fn deploy_contract(address: impl AsRef<[u8]> + Clone, code: Vec) -> H160 { + let transaction_create_cost = ::config().gas_transaction_create; + let (base_fee, _) = ::FeeCalculator::min_gas_price(); + + pallet_evm::Pallet::::create( + T::RuntimeOriginExt::root(), + H160::from(vec_to_fixed_array(address)), + code, + sp_core::U256::from(0), + transaction_create_cost * 10, + sp_core::U256::from(base_fee + 10), + None, + None, + Vec::new(), + ) + .unwrap(); + + match frame_system::Pallet::::events() + .pop() + .expect("Event is deposited lastly there if create does not fail.") + .event + .try_into() + .map_err(|_| ()) + .expect("Last event is coming from pallet-evm") + { + pallet_evm::Event::::Created { address } => H160::from(address.0), + _ => panic!("Last event is Created event. qed"), + } +} diff --git a/runtime/integration-tests/src/generic/utils/genesis.rs b/runtime/integration-tests/src/generic/utils/genesis.rs index 87996e34d8..65a52e786b 100644 --- a/runtime/integration-tests/src/generic/utils/genesis.rs +++ b/runtime/integration-tests/src/generic/utils/genesis.rs @@ -37,7 +37,9 @@ pub fn balances { balances: default_accounts() .into_iter() - .map(|keyring| (keyring.id(), balance)) + .map(Keyring::id) + .chain(default_accounts().into_iter().map(Keyring::id_ed25519)) + .map(|id| (id, balance)) .collect(), } } @@ -48,14 +50,15 @@ pub fn tokens( orml_tokens::GenesisConfig:: { balances: default_accounts() .into_iter() - .map(|keyring| { + .map(Keyring::id) + .chain(default_accounts().into_iter().map(Keyring::id_ed25519)) + .flat_map(|account_id| { values .clone() .into_iter() - .map(|(curency_id, balance)| (keyring.id(), curency_id, balance)) + .map(|(curency_id, balance)| (account_id.clone(), curency_id, balance)) .collect::>() }) - .flatten() .collect(), } } @@ -77,7 +80,7 @@ pub fn council_members( ) -> impl BuildStorage { pallet_collective::GenesisConfig:: { phantom: Default::default(), - members: members.into_iter().map(|acc| acc.id()).collect(), + members: members.into_iter().map(|acc| acc.id().into()).collect(), } } @@ -95,7 +98,7 @@ pub fn session_keys() -> impl BuildStorage { pallet_session::GenesisConfig:: { keys: default_accounts() .into_iter() - .map(|acc| (acc.id(), acc.id(), T::initialize_session_keys(acc.public()))) + .map(|acc| (acc.id(), acc.id(), T::initialize_session_keys(acc.into()))) .collect(), } } diff --git a/runtime/integration-tests/src/generic/utils/mod.rs b/runtime/integration-tests/src/generic/utils/mod.rs index 9434463aca..992b4916ec 100644 --- a/runtime/integration-tests/src/generic/utils/mod.rs +++ b/runtime/integration-tests/src/generic/utils/mod.rs @@ -10,7 +10,10 @@ pub mod currency; pub mod democracy; +pub mod evm; pub mod genesis; +pub mod pool; +pub mod tokens; pub mod xcm; use cfg_primitives::{AccountId, Balance, CollectionId, ItemId, PoolId, TrancheId}; @@ -18,25 +21,20 @@ use cfg_traits::{investments::TrancheCurrency as _, Seconds, TimeAsSecs}; use cfg_types::{ fixed_point::Ratio, oracles::OracleKey, - permissions::{PermissionScope, PoolRole, Role}, - pools::TrancheMetadata, tokens::{CurrencyId, TrancheCurrency}, }; -use frame_support::{traits::fungible::Mutate, BoundedVec}; use frame_system::RawOrigin; -use pallet_evm::FeeCalculator; use pallet_oracle_collection::types::CollectionInfo; -use pallet_pool_system::tranches::{TrancheInput, TrancheType}; -use runtime_common::{account_conversion::AccountConverter, oracle::Feeder}; -use sp_core::{H160, U256}; -use sp_runtime::{ - traits::{Get, One, StaticLookup}, - Perquintill, -}; +use runtime_common::oracle::Feeder; +use sp_runtime::traits::StaticLookup; -use crate::generic::config::{Runtime, RuntimeKind}; +use crate::{ + generic::{config::Runtime, utils::pool::close_epoch}, + utils::accounts::Keyring, +}; -pub const POOL_MIN_EPOCH_TIME: Seconds = 24; +pub const ESSENTIAL: &str = + "Essential part of the test codebase failed. Assumed infallible under sane circumstances"; pub fn now_secs() -> Seconds { as TimeAsSecs>::now() @@ -53,6 +51,19 @@ where .flatten() } +pub fn last_event() -> E +where + T::RuntimeEventExt: TryInto, +{ + frame_system::Pallet::::events() + .pop() + .unwrap() + .event + .try_into() + .ok() + .unwrap() +} + pub fn give_nft(dest: AccountId, (collection_id, item_id): (CollectionId, ItemId)) { pallet_uniques::Pallet::::force_create( RawOrigin::Root.into(), @@ -93,68 +104,6 @@ pub fn give_tokens(dest: AccountId, currency_id: CurrencyId, amount: .unwrap(); } -pub fn give_pool_role(dest: AccountId, pool_id: PoolId, role: PoolRole) { - pallet_permissions::Pallet::::add( - RawOrigin::Root.into(), - Role::PoolRole(role), - dest, - PermissionScope::Pool(pool_id), - Role::PoolRole(role), - ) - .unwrap(); -} - -pub fn create_empty_pool(admin: AccountId, pool_id: PoolId, currency_id: CurrencyId) { - pallet_pool_registry::Pallet::::register( - match T::KIND { - RuntimeKind::Development => RawOrigin::Signed(admin.clone()).into(), - _ => RawOrigin::Root.into(), - }, - admin, - pool_id, - vec![ - TrancheInput { - tranche_type: TrancheType::Residual, - seniority: None, - metadata: TrancheMetadata { - token_name: BoundedVec::default(), - token_symbol: BoundedVec::default(), - }, - }, - TrancheInput { - tranche_type: TrancheType::NonResidual { - interest_rate_per_sec: One::one(), - min_risk_buffer: Perquintill::from_percent(0), - }, - seniority: None, - metadata: TrancheMetadata { - token_name: BoundedVec::default(), - token_symbol: BoundedVec::default(), - }, - }, - ], - currency_id, - Balance::MAX, - None, - BoundedVec::default(), - vec![], - ) - .unwrap(); - - // In order to later close the epoch fastly, - // we mofify here that requirement to significalty reduce the testing time. - // The only way to do it is breaking the integration tests rules mutating - // this state directly. - pallet_pool_system::Pool::::mutate(pool_id, |pool| { - pool.as_mut().unwrap().parameters.min_epoch_time = POOL_MIN_EPOCH_TIME; - }); -} - -pub fn close_pool_epoch(admin: AccountId, pool_id: PoolId) { - pallet_pool_system::Pallet::::close_epoch(RawOrigin::Signed(admin.clone()).into(), pool_id) - .unwrap(); -} - pub fn invest( investor: AccountId, pool_id: PoolId, @@ -207,6 +156,18 @@ pub fn collect_redemptions( .unwrap(); } +pub fn invest_and_collect( + investor: AccountId, + admin: Keyring, + pool_id: PoolId, + tranche_id: TrancheId, + amount: Balance, +) { + invest::(investor.clone(), pool_id, tranche_id, amount); + close_epoch::(admin.into(), pool_id); + collect_investments::(investor, pool_id, tranche_id); +} + pub fn last_change_id() -> T::Hash { find_event::(|e| match e { pallet_pool_system::Event::::ProposedChange { change_id, .. } => Some(change_id), @@ -216,8 +177,18 @@ pub fn last_change_id() -> T::Hash { } pub mod oracle { + use frame_support::traits::OriginTrait; + use super::*; + pub fn set_order_book_feeder(origin: T::RuntimeOriginExt) { + pallet_order_book::Pallet::::set_market_feeder( + T::RuntimeOriginExt::root(), + Feeder(origin.into_caller()), + ) + .unwrap() + } + pub fn feed_from_root(key: OracleKey, value: Ratio) { pallet_oracle_feed::Pallet::::feed(RawOrigin::Root.into(), key, value).unwrap(); } @@ -255,46 +226,3 @@ pub mod oracle { .unwrap(); } } - -pub mod evm { - use super::*; - - pub fn mint_balance_into_derived_account( - address: H160, - balance: Balance, - ) -> Balance { - let chain_id = pallet_evm_chain_id::Pallet::::get(); - let derived_account = - AccountConverter::convert_evm_address(chain_id, address.to_fixed_bytes()); - - pallet_balances::Pallet::::mint_into(&derived_account.into(), balance).unwrap() - } - - pub fn deploy_contract(address: H160, code: Vec) -> H160 { - let chain_id = pallet_evm_chain_id::Pallet::::get(); - let derived_address = - AccountConverter::convert_evm_address(chain_id, address.to_fixed_bytes()); - - let transaction_create_cost = T::config().gas_transaction_create; - let (base_fee, _) = T::FeeCalculator::min_gas_price(); - - pallet_evm::Pallet::::create( - RawOrigin::from(Some(derived_address)).into(), - address, - code, - U256::from(0), - transaction_create_cost * 10, - U256::from(base_fee + 10), - None, - None, - Vec::new(), - ) - .unwrap(); - - // returns the contract address - pallet_evm::AccountCodes::::iter() - .find(|(_address, code)| code.len() > 0) - .unwrap() - .0 - } -} diff --git a/runtime/integration-tests/src/generic/utils/pool.rs b/runtime/integration-tests/src/generic/utils/pool.rs new file mode 100644 index 0000000000..f22f10fe8d --- /dev/null +++ b/runtime/integration-tests/src/generic/utils/pool.rs @@ -0,0 +1,142 @@ +// 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 cfg_primitives::{AccountId, Balance, PoolId, TrancheId}; +use cfg_traits::Seconds; +use cfg_types::{ + fixed_point::Rate, + permissions::{PermissionScope, PoolRole, Role}, + pools::TrancheMetadata, + tokens::CurrencyId, +}; +use frame_support::{dispatch::RawOrigin, BoundedVec}; +use pallet_pool_system::tranches::{TrancheInput, TrancheType}; +use sp_runtime::{ + traits::{CheckedAdd, One}, + FixedPointNumber, FixedPointOperand, Perquintill, +}; + +use crate::generic::config::{Runtime, RuntimeKind}; + +pub const POOL_MIN_EPOCH_TIME: Seconds = 24; + +pub fn currency(pool_id: T::PoolId) -> T::CurrencyId { + pallet_pool_system::Pool::::get(pool_id) + .expect("Pool does not exist") + .currency +} + +pub fn give_role(dest: AccountId, pool_id: PoolId, role: PoolRole) { + pallet_permissions::Pallet::::add( + RawOrigin::Root.into(), + Role::PoolRole(role), + dest, + PermissionScope::Pool(pool_id), + Role::PoolRole(role), + ) + .unwrap(); +} + +pub fn create_empty(admin: AccountId, pool_id: PoolId, currency_id: CurrencyId) { + create::( + admin, + pool_id, + currency_id, + [(Rate::one(), Perquintill::zero())], + ) +} + +pub fn interest_rate(percent: P) -> Rate { + Rate::one() + .checked_add(&Rate::checked_from_rational(percent, 100).unwrap()) + .unwrap() +} + +pub fn create_two_tranched(admin: AccountId, pool_id: PoolId, currency_id: CurrencyId) { + create::( + admin, + pool_id, + currency_id, + [(interest_rate(5), Perquintill::zero())], + ) +} + +pub fn create_one_tranched(admin: AccountId, pool_id: PoolId, currency_id: CurrencyId) { + create::(admin, pool_id, currency_id, []) +} + +pub fn create( + admin: AccountId, + pool_id: PoolId, + currency_id: CurrencyId, + non_residual_tranches: impl IntoIterator, +) { + let mut tranches = vec![TrancheInput:: { + tranche_type: TrancheType::Residual, + seniority: None, + metadata: TrancheMetadata { + token_name: BoundedVec::default(), + token_symbol: BoundedVec::default(), + }, + }]; + + tranches.extend(non_residual_tranches.into_iter().map( + |(interest_rate_per_sec, min_risk_buffer)| TrancheInput { + tranche_type: TrancheType::NonResidual { + interest_rate_per_sec, + min_risk_buffer, + }, + seniority: None, + metadata: TrancheMetadata { + token_name: BoundedVec::default(), + token_symbol: BoundedVec::default(), + }, + }, + )); + + pallet_pool_registry::Pallet::::register( + match T::KIND { + RuntimeKind::Development => RawOrigin::Signed(admin.clone()).into(), + _ => RawOrigin::Root.into(), + }, + admin, + pool_id, + tranches, + currency_id, + Balance::MAX, + None, + BoundedVec::default(), + vec![], + ) + .unwrap(); + + // In order to later close the epoch fastly, + // we mofify here that requirement to significalty reduce the testing time. + // The only way to do it is breaking the integration tests rules mutating + // this state directly. + pallet_pool_system::Pool::::mutate(pool_id, |pool| { + pool.as_mut().unwrap().parameters.min_epoch_time = POOL_MIN_EPOCH_TIME; + }); +} + +pub fn close_epoch(admin: AccountId, pool_id: PoolId) { + pallet_pool_system::Pallet::::close_epoch(RawOrigin::Signed(admin.clone()).into(), pool_id) + .unwrap(); +} + +pub fn get_tranche_ids(pool_id: PoolId) -> Vec { + pallet_pool_system::Pool::::get(pool_id) + .unwrap() + .tranches + .ids + .into_inner() +} diff --git a/runtime/integration-tests/src/generic/utils/tokens.rs b/runtime/integration-tests/src/generic/utils/tokens.rs new file mode 100644 index 0000000000..8ea7ab93d2 --- /dev/null +++ b/runtime/integration-tests/src/generic/utils/tokens.rs @@ -0,0 +1,43 @@ +// 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. + +//! Time balances and tokens +use cfg_primitives::Balance; +use cfg_types::tokens::CurrencyId; +use frame_support::traits::{fungible::Mutate as _, fungibles::Mutate as _}; + +use crate::{generic::config::Runtime, utils::accounts::default_accounts}; + +pub fn evm_balances(balance: Balance) { + let mut accounts = Vec::new(); + accounts.extend( + default_accounts() + .into_iter() + .map(|k| pallet_balances::Pallet::::mint_into(&k.id_ecdsa::(), balance)), + ); +} + +pub fn evm_tokens(values: Vec<(CurrencyId, Balance)>) { + default_accounts().into_iter().for_each(|keyring| { + values + .clone() + .into_iter() + .for_each(|(curency_id, balance)| { + let _ = orml_tokens::Pallet::::mint_into( + curency_id, + &keyring.id_ecdsa::(), + balance, + ) + .expect("Failed minting tokens into EVM default wallets"); + }); + }); +} diff --git a/runtime/integration-tests/src/utils/accounts.rs b/runtime/integration-tests/src/utils/accounts.rs index 0b38d5f9de..46f28d84b8 100644 --- a/runtime/integration-tests/src/utils/accounts.rs +++ b/runtime/integration-tests/src/utils/accounts.rs @@ -10,10 +10,11 @@ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. -use sp_core::{ - sr25519::{Pair, Public, Signature}, - Pair as PairT, -}; +// NOTE: Taken mostly from paritytech-substrate + +use ethabi::ethereum_types::{H160, H256}; +use frame_support::traits::OriginTrait; +use sp_core::{ecdsa, ed25519, sr25519, Hasher, Pair as PairT}; use sp_runtime::AccountId32; /// Set of test accounts. @@ -31,38 +32,66 @@ pub enum Keyring { } impl Keyring { - pub fn to_account_id(self) -> AccountId32 { - self.public().0.into() + pub fn id(self) -> AccountId32 { + let pair: sr25519::Pair = self.into(); + pair.public().into() } - /// Shorter alias for `to_account_id()` - pub fn id(self) -> AccountId32 { - self.to_account_id() + pub fn id_ed25519(self) -> AccountId32 { + let pair: ed25519::Pair = self.into(); + pair.public().into() } - pub fn sign(self, msg: &[u8]) -> Signature { - Pair::from(self).sign(msg) + /// NOTE: Needs to be executed in an externalities environment + pub fn id_ecdsa(self) -> AccountId32 { + runtime_common::account_conversion::AccountConverter::into_account_id::(self.into()) } - pub fn pair(self) -> Pair { - let path = match self { - Keyring::Admin => "Admin".to_owned(), - Keyring::TrancheInvestor(tranche_index) => format!("Tranche{tranche_index}"), - Keyring::Alice => "Alice".to_owned(), - Keyring::Bob => "Bob".to_owned(), - Keyring::Charlie => "Charlie".to_owned(), - Keyring::Dave => "Dave".to_owned(), - Keyring::Eve => "Eve".to_owned(), - Keyring::Ferdie => "Ferdie".to_owned(), - Keyring::Custom(derivation_path) => derivation_path.to_owned(), - }; + pub fn as_multi(self) -> sp_runtime::MultiSigner { + let pair: sr25519::Pair = self.into(); + pair.public().into() + } - Pair::from_string(&format!("//{}", path.as_str()), None) - .expect("static values are known good; qed") + pub fn as_multi_ed25519(self) -> sp_runtime::MultiSigner { + let pair: ed25519::Pair = self.into(); + pair.public().into() } - pub fn public(self) -> Public { - self.pair().public() + pub fn as_multi_ecdsa(self) -> sp_runtime::MultiSigner { + let pair: ecdsa::Pair = self.into(); + pair.public().into() + } + + pub fn sign(self, msg: &[u8]) -> sr25519::Signature { + let pair: sr25519::Pair = self.into(); + pair.sign(msg) + } + + pub fn sign_ed25519(self, msg: &[u8]) -> ed25519::Signature { + let pair: ed25519::Pair = self.into(); + pair.sign(msg) + } + + pub fn sign_ecdsa(self, msg: &[u8]) -> ecdsa::Signature { + let pair: ecdsa::Pair = self.into(); + pair.sign(msg) + } + + pub fn as_origin>(self) -> T { + OriginTrait::signed(self.id()) + } + + pub fn as_origin_ed25519>(self) -> T { + OriginTrait::signed(self.id_ed25519()) + } + + pub fn as_origin_ecdsa< + R: pallet_evm_chain_id::Config, + T: OriginTrait, + >( + self, + ) -> T { + OriginTrait::signed(self.id_ecdsa::()) } pub fn to_seed(self) -> String { @@ -79,21 +108,34 @@ impl Keyring { }; format!("//{}", path.as_str()) } +} - /// Create a crypto `Pair` from a numeric value. - pub fn numeric(idx: usize) -> Pair { - Pair::from_string(&format!("//{}", idx), None).expect("numeric values are known good; qed") +impl From for AccountId32 { + fn from(value: Keyring) -> Self { + value.id() } +} - /// Get account id of a `numeric` account. - pub fn numeric_id(idx: usize) -> AccountId32 { - (*Self::numeric(idx).public().as_array_ref()).into() +impl From for [u8; 32] { + fn from(value: Keyring) -> Self { + value.id().into() } } -impl From for sp_runtime::MultiSigner { - fn from(x: Keyring) -> Self { - sp_runtime::MultiSigner::Sr25519(x.into()) +impl From for H160 { + fn from(value: Keyring) -> Self { + H160::from(H256::from( + sp_core::KeccakHasher::hash(&Into::::into(value).public().as_ref()).0, + )) + } +} + +impl From for [u8; 20] { + fn from(value: Keyring) -> Self { + sp_core::H160::from(sp_core::H256::from(sp_core::KeccakHasher::hash( + &Into::::into(value).public().as_ref(), + ))) + .0 } } @@ -103,9 +145,44 @@ impl From for sp_runtime::MultiAddress { } } +impl From for sr25519::Public { + fn from(k: Keyring) -> Self { + Into::::into(k).public() + } +} + +impl From for sr25519::Pair { + fn from(k: Keyring) -> Self { + sr25519::Pair::from_string(&k.to_seed(), None).expect("static values are known good; qed") + } +} + +impl From for ed25519::Public { + fn from(k: Keyring) -> Self { + Into::::into(k).public() + } +} + +impl From for ed25519::Pair { + fn from(k: Keyring) -> Self { + ed25519::Pair::from_string(&k.to_seed(), None).expect("static values are known good; qed") + } +} + +impl From for ecdsa::Public { + fn from(k: Keyring) -> Self { + Into::::into(k).public() + } +} + +impl From for ecdsa::Pair { + fn from(k: Keyring) -> Self { + ecdsa::Pair::from_string(&k.to_seed(), None).expect("static values are known good; qed") + } +} + #[derive(Debug)] pub struct ParseKeyringError; - impl std::fmt::Display for ParseKeyringError { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { write!(f, "ParseKeyringError") @@ -149,30 +226,6 @@ pub fn default_investors() -> Vec { (0..=50).map(Keyring::TrancheInvestor).collect() } -impl From for AccountId32 { - fn from(k: Keyring) -> Self { - k.to_account_id() - } -} - -impl From for Public { - fn from(k: Keyring) -> Self { - k.pair().public() - } -} - -impl From for Pair { - fn from(k: Keyring) -> Self { - k.pair() - } -} - -impl From for [u8; 32] { - fn from(k: Keyring) -> Self { - k.pair().public().0 - } -} - #[cfg(test)] mod tests { use sp_core::{sr25519::Pair, Pair as PairT}; @@ -184,17 +237,17 @@ mod tests { assert!(Pair::verify( &Keyring::Alice.sign(b"I am Alice!"), b"I am Alice!", - &Keyring::Alice.public(), + &Keyring::Alice.into(), )); assert!(!Pair::verify( &Keyring::Alice.sign(b"I am Alice!"), b"I am Bob!", - &Keyring::Alice.public(), + &Keyring::Alice.into(), )); assert!(!Pair::verify( &Keyring::Alice.sign(b"I am Alice!"), b"I am Alice!", - &Keyring::Bob.public(), + &Keyring::Bob.into(), )); } } diff --git a/runtime/integration-tests/submodules/liquidity-pools b/runtime/integration-tests/submodules/liquidity-pools new file mode 160000 index 0000000000..987cd7d0d5 --- /dev/null +++ b/runtime/integration-tests/submodules/liquidity-pools @@ -0,0 +1 @@ +Subproject commit 987cd7d0d586e21b881dd47b0caabbbde591acb8 diff --git a/scripts/export_parachain_files.sh b/scripts/export_parachain_files.sh index 74b8ebbce2..8fef73db32 100755 --- a/scripts/export_parachain_files.sh +++ b/scripts/export_parachain_files.sh @@ -25,5 +25,5 @@ if [[ $should_build == "true" ]]; then fi echo "Exporting State & Wasm" -$PWD/target/release/centrifuge-chain export-genesis-head --chain node/res/$chain_name-spec-raw.json > $chain_name-genesis-state +$PWD/target/release/centrifuge-chain export-genesis-state --chain node/res/$chain_name-spec-raw.json > $chain_name-genesis-state $PWD/target/release/centrifuge-chain export-genesis-wasm --chain node/res/$chain_name-spec-raw.json > $chain_name-genesis-wasm diff --git a/scripts/init.sh b/scripts/init.sh index 5f38851df3..e86b83ce7a 100755 --- a/scripts/init.sh +++ b/scripts/init.sh @@ -74,10 +74,10 @@ onboard-parachain) wasm_location="$onboard_dir/${parachain}-${para_id}.wasm" if [ "$docker_onboard" == "true" ]; then - genesis=$(docker run centrifugeio/centrifuge-chain:${cc_docker_image_tag} export-genesis-head --chain="${parachain}") + genesis=$(docker run centrifugeio/centrifuge-chain:${cc_docker_image_tag} export-genesis-state --chain="${parachain}") docker run centrifugeio/centrifuge-chain:${cc_docker_image_tag} export-genesis-wasm --chain="${parachain}" > $wasm_location else - genesis=$(./target/release/centrifuge-chain export-genesis-head --chain="${parachain}") + genesis=$(./target/release/centrifuge-chain export-genesis-state --chain="${parachain}") ./target/release/centrifuge-chain export-genesis-wasm --chain="${parachain}" > $wasm_location fi