From ddb0249ddfc0b97698a23470ac6b6d01aec9ec83 Mon Sep 17 00:00:00 2001 From: Erwan Renaut <73958772+renauter@users.noreply.github.com> Date: Fri, 23 Feb 2024 14:22:51 -0300 Subject: [PATCH 01/12] switch shell from dash to bash --- .github/workflows/060_generate_benchmark_weights.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/060_generate_benchmark_weights.yml b/.github/workflows/060_generate_benchmark_weights.yml index 872ae8712..e149d0c30 100644 --- a/.github/workflows/060_generate_benchmark_weights.yml +++ b/.github/workflows/060_generate_benchmark_weights.yml @@ -48,6 +48,7 @@ jobs: cargo build --profile=production --features runtime-benchmarks - name: Run benchmarking + shell: bash run: | cd substrate-node for weights_rs_file in ./pallets/*/src/weights.rs From fe7ad695c40d40b826725ec432ca4d88b4e7bad3 Mon Sep 17 00:00:00 2001 From: Erwan Renaut <73958772+renauter@users.noreply.github.com> Date: Fri, 23 Feb 2024 15:22:22 -0300 Subject: [PATCH 02/12] update 060_generate_benchmark_weights.yml --- .github/workflows/060_generate_benchmark_weights.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/060_generate_benchmark_weights.yml b/.github/workflows/060_generate_benchmark_weights.yml index e149d0c30..c2c882683 100644 --- a/.github/workflows/060_generate_benchmark_weights.yml +++ b/.github/workflows/060_generate_benchmark_weights.yml @@ -22,7 +22,7 @@ jobs: exit 1 - name: Checkout the repo - uses: actions/checkout@v3 + uses: actions/checkout@master - name: Chown user run: | @@ -73,3 +73,4 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} message: 'chore(pallets): update benchmark `weights.rs` files ${date}' branch: ${{ github.ref_name }} + directory: './substrate-node/' From 6f38681af5a74d448fcd08d337812a5bed0e3a15 Mon Sep 17 00:00:00 2001 From: Erwan Renaut <73958772+renauter@users.noreply.github.com> Date: Fri, 23 Feb 2024 16:16:32 -0300 Subject: [PATCH 03/12] add force push --- .github/workflows/060_generate_benchmark_weights.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/060_generate_benchmark_weights.yml b/.github/workflows/060_generate_benchmark_weights.yml index c2c882683..d00ded076 100644 --- a/.github/workflows/060_generate_benchmark_weights.yml +++ b/.github/workflows/060_generate_benchmark_weights.yml @@ -74,3 +74,4 @@ jobs: message: 'chore(pallets): update benchmark `weights.rs` files ${date}' branch: ${{ github.ref_name }} directory: './substrate-node/' + force: true From a3bb3eaff4e500d038f60bc63b468f5c6d134b3e Mon Sep 17 00:00:00 2001 From: Erwan Renaut <73958772+renauter@users.noreply.github.com> Date: Fri, 23 Feb 2024 17:38:28 -0300 Subject: [PATCH 04/12] Update 060_generate_benchmark_weights.yml --- .github/workflows/060_generate_benchmark_weights.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/060_generate_benchmark_weights.yml b/.github/workflows/060_generate_benchmark_weights.yml index d00ded076..6a15ae447 100644 --- a/.github/workflows/060_generate_benchmark_weights.yml +++ b/.github/workflows/060_generate_benchmark_weights.yml @@ -66,6 +66,12 @@ jobs: --output ./pallets/"$pal_name"/src/weights.rs \ --template ./.maintain/frame-weight-template.hbs done + + - name: Git check + run: | + pwd + ls -a + git status - name: Commit & Push changes uses: actions-js/push@master From 67701b64dd68f34e5d57dc3f5249951743129c67 Mon Sep 17 00:00:00 2001 From: Erwan Renaut <73958772+renauter@users.noreply.github.com> Date: Mon, 26 Feb 2024 09:50:12 -0300 Subject: [PATCH 05/12] git check --- .github/workflows/060_generate_benchmark_weights.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/060_generate_benchmark_weights.yml b/.github/workflows/060_generate_benchmark_weights.yml index 6a15ae447..29123b779 100644 --- a/.github/workflows/060_generate_benchmark_weights.yml +++ b/.github/workflows/060_generate_benchmark_weights.yml @@ -42,6 +42,13 @@ jobs: key: ${{ runner.os }}-tfchain-build-cache-${{ hashFiles('**/Cargo.lock') }} restore-keys: ${{ runner.os }}-tfchain-build-cache + - name: Git check + run: | + pwd + ls -a + git config --global --add safe.directory /__w/tfchain/tfchain + git status + - name: Build run: | cd substrate-node @@ -71,6 +78,7 @@ jobs: run: | pwd ls -a + git config --global --add safe.directory /__w/tfchain/tfchain git status - name: Commit & Push changes From 981868646462d05353558d4723855176d48e08ef Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 26 Feb 2024 13:10:31 +0000 Subject: [PATCH 06/12] chore(pallets): update benchmark `weights.rs` files ${date} --- .../pallets/pallet-burning/src/weights.rs | 42 +- .../pallets/pallet-dao/src/weights.rs | 214 +-- .../pallets/pallet-kvstore/src/weights.rs | 50 +- .../pallet-smart-contract/src/weights.rs | 1332 +++++++++-------- .../pallets/pallet-tfgrid/src/weights.rs | 1068 ++++++------- .../pallets/pallet-tft-bridge/src/weights.rs | 360 ++--- .../pallets/pallet-tft-price/src/weights.rs | 138 +- .../pallets/pallet-validator/src/weights.rs | 226 +-- .../substrate-validator-set/src/weights.rs | 96 +- 9 files changed, 1786 insertions(+), 1740 deletions(-) diff --git a/substrate-node/pallets/pallet-burning/src/weights.rs b/substrate-node/pallets/pallet-burning/src/weights.rs index 9d39aecf7..b4e3ea62c 100644 --- a/substrate-node/pallets/pallet-burning/src/weights.rs +++ b/substrate-node/pallets/pallet-burning/src/weights.rs @@ -2,26 +2,26 @@ //! Autogenerated weights for pallet_burning //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-02-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ragnar`, CPU: `Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `7c9e9392584e`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// ../target/release/tfchain +// ./target/production/tfchain // benchmark // pallet // --chain=dev -// --pallet=pallet_burning +// --wasm-execution=compiled +// --pallet=pallet-burning // --extrinsic=* // --steps=50 // --repeat=20 -// --execution=wasm // --heap-pages=409 // --output -// ../pallets/pallet-burning/src/weights.rs +// ./pallets/pallet-burning/src/weights.rs // --template -// ./frame-weight-template.hbs +// ./.maintain/frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -39,14 +39,14 @@ pub trait WeightInfo { /// Weights for pallet_burning using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { - /// Storage: BurningModule Burns (r:1 w:1) - /// Proof Skipped: BurningModule Burns (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `BurningModule::Burns` (r:1 w:1) + /// Proof: `BurningModule::Burns` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn burn_tft() -> Weight { // Proof Size summary in bytes: - // Measured: `142` - // Estimated: `1627` - // Minimum execution time: 48_921_000 picoseconds. - Weight::from_parts(49_647_000, 1627) + // Measured: `109` + // Estimated: `1594` + // Minimum execution time: 26_189_000 picoseconds. + Weight::from_parts(26_710_000, 1594) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -54,15 +54,15 @@ impl WeightInfo for SubstrateWeight { // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: BurningModule Burns (r:1 w:1) - /// Proof Skipped: BurningModule Burns (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `BurningModule::Burns` (r:1 w:1) + /// Proof: `BurningModule::Burns` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn burn_tft() -> Weight { // Proof Size summary in bytes: - // Measured: `142` - // Estimated: `1627` - // Minimum execution time: 48_921_000 picoseconds. - Weight::from_parts(49_647_000, 1627) + // Measured: `109` + // Estimated: `1594` + // Minimum execution time: 26_189_000 picoseconds. + Weight::from_parts(26_710_000, 1594) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } -} \ No newline at end of file +} diff --git a/substrate-node/pallets/pallet-dao/src/weights.rs b/substrate-node/pallets/pallet-dao/src/weights.rs index f97d29ba3..965111109 100644 --- a/substrate-node/pallets/pallet-dao/src/weights.rs +++ b/substrate-node/pallets/pallet-dao/src/weights.rs @@ -2,26 +2,26 @@ //! Autogenerated weights for pallet_dao //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-02-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ragnar`, CPU: `Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `7c9e9392584e`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// ../target/release/tfchain +// ./target/production/tfchain // benchmark // pallet // --chain=dev -// --pallet=pallet_dao +// --wasm-execution=compiled +// --pallet=pallet-dao // --extrinsic=* // --steps=50 // --repeat=20 -// --execution=wasm // --heap-pages=409 // --output -// ../pallets/pallet-dao/src/weights.rs +// ./pallets/pallet-dao/src/weights.rs // --template -// ./frame-weight-template.hbs +// ./.maintain/frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -42,77 +42,77 @@ pub trait WeightInfo { /// Weights for pallet_dao using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { - /// Storage: CouncilMembership Members (r:1 w:0) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Dao ProposalOf (r:1 w:1) - /// Proof Skipped: Dao ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Dao ProposalCount (r:1 w:1) - /// Proof Skipped: Dao ProposalCount (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Dao ProposalList (r:1 w:1) - /// Proof Skipped: Dao ProposalList (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Dao Voting (r:0 w:1) - /// Proof Skipped: Dao Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Dao Proposals (r:0 w:1) - /// Proof Skipped: Dao Proposals (max_values: None, max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Members` (r:1 w:0) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Dao::ProposalOf` (r:1 w:1) + /// Proof: `Dao::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dao::ProposalCount` (r:1 w:1) + /// Proof: `Dao::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Dao::ProposalList` (r:1 w:1) + /// Proof: `Dao::ProposalList` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Dao::Voting` (r:0 w:1) + /// Proof: `Dao::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dao::Proposals` (r:0 w:1) + /// Proof: `Dao::Proposals` (`max_values`: None, `max_size`: None, mode: `Measured`) fn propose() -> Weight { // Proof Size summary in bytes: - // Measured: `240` + // Measured: `208` // Estimated: `4687` - // Minimum execution time: 36_618_000 picoseconds. - Weight::from_parts(37_170_000, 4687) + // Minimum execution time: 30_828_000 picoseconds. + Weight::from_parts(31_480_000, 4687) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: TfgridModule Farms (r:1 w:0) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Twins (r:1 w:0) - /// Proof Skipped: TfgridModule Twins (max_values: None, max_size: None, mode: Measured) - /// Storage: Dao Proposals (r:1 w:0) - /// Proof Skipped: Dao Proposals (max_values: None, max_size: None, mode: Measured) - /// Storage: Dao Voting (r:1 w:1) - /// Proof Skipped: Dao Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Dao FarmWeight (r:1 w:0) - /// Proof Skipped: Dao FarmWeight (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::Farms` (r:1 w:0) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Twins` (r:1 w:0) + /// Proof: `TfgridModule::Twins` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dao::Proposals` (r:1 w:0) + /// Proof: `Dao::Proposals` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dao::Voting` (r:1 w:1) + /// Proof: `Dao::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dao::FarmWeight` (r:1 w:0) + /// Proof: `Dao::FarmWeight` (`max_values`: None, `max_size`: None, mode: `Measured`) fn vote() -> Weight { // Proof Size summary in bytes: // Measured: `979` // Estimated: `4444` - // Minimum execution time: 43_016_000 picoseconds. - Weight::from_parts(43_672_000, 4444) + // Minimum execution time: 42_109_000 picoseconds. + Weight::from_parts(43_242_000, 4444) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: CouncilMembership Members (r:1 w:0) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Dao Proposals (r:1 w:0) - /// Proof Skipped: Dao Proposals (max_values: None, max_size: None, mode: Measured) - /// Storage: Dao Voting (r:1 w:1) - /// Proof Skipped: Dao Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Members` (r:1 w:0) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Dao::Proposals` (r:1 w:0) + /// Proof: `Dao::Proposals` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dao::Voting` (r:1 w:1) + /// Proof: `Dao::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) fn veto() -> Weight { // Proof Size summary in bytes: - // Measured: `519` + // Measured: `487` // Estimated: `4687` - // Minimum execution time: 31_000_000 picoseconds. - Weight::from_parts(31_599_000, 4687) + // Minimum execution time: 17_753_000 picoseconds. + Weight::from_parts(18_295_000, 4687) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: CouncilMembership Members (r:1 w:0) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Dao Voting (r:1 w:1) - /// Proof Skipped: Dao Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Dao ProposalList (r:1 w:1) - /// Proof Skipped: Dao ProposalList (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Dao Proposals (r:0 w:1) - /// Proof Skipped: Dao Proposals (max_values: None, max_size: None, mode: Measured) - /// Storage: Dao ProposalOf (r:0 w:1) - /// Proof Skipped: Dao ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Members` (r:1 w:0) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Dao::Voting` (r:1 w:1) + /// Proof: `Dao::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dao::ProposalList` (r:1 w:1) + /// Proof: `Dao::ProposalList` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Dao::Proposals` (r:0 w:1) + /// Proof: `Dao::Proposals` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dao::ProposalOf` (r:0 w:1) + /// Proof: `Dao::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) fn close() -> Weight { // Proof Size summary in bytes: - // Measured: `501` + // Measured: `469` // Estimated: `4687` - // Minimum execution time: 40_325_000 picoseconds. - Weight::from_parts(43_227_000, 4687) + // Minimum execution time: 23_665_000 picoseconds. + Weight::from_parts(24_106_000, 4687) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -120,78 +120,78 @@ impl WeightInfo for SubstrateWeight { // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: CouncilMembership Members (r:1 w:0) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Dao ProposalOf (r:1 w:1) - /// Proof Skipped: Dao ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Dao ProposalCount (r:1 w:1) - /// Proof Skipped: Dao ProposalCount (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Dao ProposalList (r:1 w:1) - /// Proof Skipped: Dao ProposalList (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Dao Voting (r:0 w:1) - /// Proof Skipped: Dao Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Dao Proposals (r:0 w:1) - /// Proof Skipped: Dao Proposals (max_values: None, max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Members` (r:1 w:0) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Dao::ProposalOf` (r:1 w:1) + /// Proof: `Dao::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dao::ProposalCount` (r:1 w:1) + /// Proof: `Dao::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Dao::ProposalList` (r:1 w:1) + /// Proof: `Dao::ProposalList` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Dao::Voting` (r:0 w:1) + /// Proof: `Dao::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dao::Proposals` (r:0 w:1) + /// Proof: `Dao::Proposals` (`max_values`: None, `max_size`: None, mode: `Measured`) fn propose() -> Weight { // Proof Size summary in bytes: - // Measured: `240` + // Measured: `208` // Estimated: `4687` - // Minimum execution time: 36_618_000 picoseconds. - Weight::from_parts(37_170_000, 4687) + // Minimum execution time: 30_828_000 picoseconds. + Weight::from_parts(31_480_000, 4687) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } - /// Storage: TfgridModule Farms (r:1 w:0) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Twins (r:1 w:0) - /// Proof Skipped: TfgridModule Twins (max_values: None, max_size: None, mode: Measured) - /// Storage: Dao Proposals (r:1 w:0) - /// Proof Skipped: Dao Proposals (max_values: None, max_size: None, mode: Measured) - /// Storage: Dao Voting (r:1 w:1) - /// Proof Skipped: Dao Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Dao FarmWeight (r:1 w:0) - /// Proof Skipped: Dao FarmWeight (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::Farms` (r:1 w:0) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Twins` (r:1 w:0) + /// Proof: `TfgridModule::Twins` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dao::Proposals` (r:1 w:0) + /// Proof: `Dao::Proposals` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dao::Voting` (r:1 w:1) + /// Proof: `Dao::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dao::FarmWeight` (r:1 w:0) + /// Proof: `Dao::FarmWeight` (`max_values`: None, `max_size`: None, mode: `Measured`) fn vote() -> Weight { // Proof Size summary in bytes: // Measured: `979` // Estimated: `4444` - // Minimum execution time: 43_016_000 picoseconds. - Weight::from_parts(43_672_000, 4444) + // Minimum execution time: 42_109_000 picoseconds. + Weight::from_parts(43_242_000, 4444) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: CouncilMembership Members (r:1 w:0) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Dao Proposals (r:1 w:0) - /// Proof Skipped: Dao Proposals (max_values: None, max_size: None, mode: Measured) - /// Storage: Dao Voting (r:1 w:1) - /// Proof Skipped: Dao Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Members` (r:1 w:0) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Dao::Proposals` (r:1 w:0) + /// Proof: `Dao::Proposals` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dao::Voting` (r:1 w:1) + /// Proof: `Dao::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) fn veto() -> Weight { // Proof Size summary in bytes: - // Measured: `519` + // Measured: `487` // Estimated: `4687` - // Minimum execution time: 31_000_000 picoseconds. - Weight::from_parts(31_599_000, 4687) + // Minimum execution time: 17_753_000 picoseconds. + Weight::from_parts(18_295_000, 4687) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: CouncilMembership Members (r:1 w:0) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Dao Voting (r:1 w:1) - /// Proof Skipped: Dao Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Dao ProposalList (r:1 w:1) - /// Proof Skipped: Dao ProposalList (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Dao Proposals (r:0 w:1) - /// Proof Skipped: Dao Proposals (max_values: None, max_size: None, mode: Measured) - /// Storage: Dao ProposalOf (r:0 w:1) - /// Proof Skipped: Dao ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Members` (r:1 w:0) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Dao::Voting` (r:1 w:1) + /// Proof: `Dao::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dao::ProposalList` (r:1 w:1) + /// Proof: `Dao::ProposalList` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Dao::Proposals` (r:0 w:1) + /// Proof: `Dao::Proposals` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dao::ProposalOf` (r:0 w:1) + /// Proof: `Dao::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) fn close() -> Weight { // Proof Size summary in bytes: - // Measured: `501` + // Measured: `469` // Estimated: `4687` - // Minimum execution time: 40_325_000 picoseconds. - Weight::from_parts(43_227_000, 4687) + // Minimum execution time: 23_665_000 picoseconds. + Weight::from_parts(24_106_000, 4687) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } -} \ No newline at end of file +} diff --git a/substrate-node/pallets/pallet-kvstore/src/weights.rs b/substrate-node/pallets/pallet-kvstore/src/weights.rs index 664d718a7..5b7231cbd 100644 --- a/substrate-node/pallets/pallet-kvstore/src/weights.rs +++ b/substrate-node/pallets/pallet-kvstore/src/weights.rs @@ -2,26 +2,26 @@ //! Autogenerated weights for pallet_kvstore //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-02-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ragnar`, CPU: `Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `7c9e9392584e`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// ../target/release/tfchain +// ./target/production/tfchain // benchmark // pallet // --chain=dev -// --pallet=pallet_kvstore +// --wasm-execution=compiled +// --pallet=pallet-kvstore // --extrinsic=* // --steps=50 // --repeat=20 -// --execution=wasm // --heap-pages=409 // --output -// ../pallets/pallet-kvstore/src/weights.rs +// ./pallets/pallet-kvstore/src/weights.rs // --template -// ./frame-weight-template.hbs +// ./.maintain/frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -40,24 +40,24 @@ pub trait WeightInfo { /// Weights for pallet_kvstore using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { - /// Storage: TFKVStore TFKVStore (r:0 w:1) - /// Proof Skipped: TFKVStore TFKVStore (max_values: None, max_size: None, mode: Measured) + /// Storage: `TFKVStore::TFKVStore` (r:0 w:1) + /// Proof: `TFKVStore::TFKVStore` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_031_000 picoseconds. - Weight::from_parts(15_410_000, 0) + // Minimum execution time: 7_033_000 picoseconds. + Weight::from_parts(7_264_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TFKVStore TFKVStore (r:1 w:1) - /// Proof Skipped: TFKVStore TFKVStore (max_values: None, max_size: None, mode: Measured) + /// Storage: `TFKVStore::TFKVStore` (r:1 w:1) + /// Proof: `TFKVStore::TFKVStore` (`max_values`: None, `max_size`: None, mode: `Measured`) fn delete() -> Weight { // Proof Size summary in bytes: // Measured: `146` // Estimated: `3611` - // Minimum execution time: 23_038_000 picoseconds. - Weight::from_parts(23_587_000, 3611) + // Minimum execution time: 12_573_000 picoseconds. + Weight::from_parts(12_684_000, 3611) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -65,25 +65,25 @@ impl WeightInfo for SubstrateWeight { // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: TFKVStore TFKVStore (r:0 w:1) - /// Proof Skipped: TFKVStore TFKVStore (max_values: None, max_size: None, mode: Measured) + /// Storage: `TFKVStore::TFKVStore` (r:0 w:1) + /// Proof: `TFKVStore::TFKVStore` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_031_000 picoseconds. - Weight::from_parts(15_410_000, 0) + // Minimum execution time: 7_033_000 picoseconds. + Weight::from_parts(7_264_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TFKVStore TFKVStore (r:1 w:1) - /// Proof Skipped: TFKVStore TFKVStore (max_values: None, max_size: None, mode: Measured) + /// Storage: `TFKVStore::TFKVStore` (r:1 w:1) + /// Proof: `TFKVStore::TFKVStore` (`max_values`: None, `max_size`: None, mode: `Measured`) fn delete() -> Weight { // Proof Size summary in bytes: // Measured: `146` // Estimated: `3611` - // Minimum execution time: 23_038_000 picoseconds. - Weight::from_parts(23_587_000, 3611) + // Minimum execution time: 12_573_000 picoseconds. + Weight::from_parts(12_684_000, 3611) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } -} \ No newline at end of file +} diff --git a/substrate-node/pallets/pallet-smart-contract/src/weights.rs b/substrate-node/pallets/pallet-smart-contract/src/weights.rs index cb4119f02..04f9860de 100644 --- a/substrate-node/pallets/pallet-smart-contract/src/weights.rs +++ b/substrate-node/pallets/pallet-smart-contract/src/weights.rs @@ -2,21 +2,21 @@ //! Autogenerated weights for pallet_smart_contract //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-14, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-02-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `R1-HP-ProBook-630-G8`, CPU: `11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `7c9e9392584e`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// ./target/release/tfchain +// ./target/production/tfchain // benchmark // pallet // --chain=dev -// --pallet=pallet_smart_contract +// --wasm-execution=compiled +// --pallet=pallet-smart-contract // --extrinsic=* // --steps=50 // --repeat=20 -// --execution=wasm // --heap-pages=409 // --output // ./pallets/pallet-smart-contract/src/weights.rs @@ -61,473 +61,494 @@ pub trait WeightInfo { /// Weights for pallet_smart_contract using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Nodes (r:1 w:0) - /// Proof Skipped: TfgridModule Nodes (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodePower (r:1 w:0) - /// Proof Skipped: TfgridModule NodePower (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Farms (r:1 w:1) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ActiveRentContractForNode (r:1 w:0) - /// Proof Skipped: SmartContractModule ActiveRentContractForNode (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule DedicatedNodesExtraFee (r:1 w:0) - /// Proof Skipped: SmartContractModule DedicatedNodesExtraFee (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractIDByNodeIDAndHash (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractIDByNodeIDAndHash (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractID (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractID (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: SmartContractModule BillingFrequency (r:1 w:0) - /// Proof Skipped: SmartContractModule BillingFrequency (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractsToBillAt (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractsToBillAt (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: SmartContractModule ActiveNodeContracts (r:1 w:1) - /// Proof Skipped: SmartContractModule ActiveNodeContracts (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule Contracts (r:0 w:1) - /// Proof Skipped: SmartContractModule Contracts (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractBillingInformationByID (r:0 w:1) - /// Proof Skipped: SmartContractModule ContractBillingInformationByID (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractLock (r:0 w:1) - /// Proof Skipped: SmartContractModule ContractLock (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Nodes` (r:1 w:0) + /// Proof: `TfgridModule::Nodes` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodePower` (r:1 w:0) + /// Proof: `TfgridModule::NodePower` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Farms` (r:1 w:1) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::DedicatedNodesExtraFee` (r:1 w:0) + /// Proof: `SmartContractModule::DedicatedNodesExtraFee` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveRentContractForNode` (r:1 w:0) + /// Proof: `SmartContractModule::ActiveRentContractForNode` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractIDByNodeIDAndHash` (r:1 w:1) + /// Proof: `SmartContractModule::ContractIDByNodeIDAndHash` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractID` (r:1 w:1) + /// Proof: `SmartContractModule::ContractID` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::BillingFrequency` (r:1 w:0) + /// Proof: `SmartContractModule::BillingFrequency` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractsToBillAt` (r:1 w:1) + /// Proof: `SmartContractModule::ContractsToBillAt` (`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: `SmartContractModule::ActiveNodeContracts` (r:1 w:1) + /// Proof: `SmartContractModule::ActiveNodeContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::Contracts` (r:0 w:1) + /// Proof: `SmartContractModule::Contracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractBillingInformationByID` (r:0 w:1) + /// Proof: `SmartContractModule::ContractBillingInformationByID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractLock` (r:0 w:1) + /// Proof: `SmartContractModule::ContractLock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_node_contract() -> Weight { // Proof Size summary in bytes: // Measured: `868` // Estimated: `4333` - // Minimum execution time: 119_629_000 picoseconds. - Weight::from_parts(124_124_000, 4333) + // Minimum execution time: 77_466_000 picoseconds. + Weight::from_parts(78_619_000, 4333) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } - /// Storage: SmartContractModule Contracts (r:1 w:1) - /// Proof Skipped: SmartContractModule Contracts (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Twins (r:1 w:0) - /// Proof Skipped: TfgridModule Twins (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ActiveNodeContracts (r:1 w:1) - /// Proof Skipped: SmartContractModule ActiveNodeContracts (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractIDByNodeIDAndHash (r:0 w:2) - /// Proof Skipped: SmartContractModule ContractIDByNodeIDAndHash (max_values: None, max_size: None, mode: Measured) + /// Storage: `SmartContractModule::Contracts` (r:1 w:1) + /// Proof: `SmartContractModule::Contracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Twins` (r:1 w:0) + /// Proof: `TfgridModule::Twins` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveNodeContracts` (r:1 w:1) + /// Proof: `SmartContractModule::ActiveNodeContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractIDByNodeIDAndHash` (r:0 w:2) + /// Proof: `SmartContractModule::ContractIDByNodeIDAndHash` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_node_contract() -> Weight { // Proof Size summary in bytes: // Measured: `892` // Estimated: `4357` - // Minimum execution time: 64_128_000 picoseconds. - Weight::from_parts(67_016_000, 4357) + // Minimum execution time: 25_668_000 picoseconds. + Weight::from_parts(43_753_000, 4357) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: SmartContractModule Contracts (r:1 w:1) - /// Proof Skipped: SmartContractModule Contracts (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Twins (r:1 w:0) - /// Proof Skipped: TfgridModule Twins (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ActiveNodeContracts (r:1 w:1) - /// Proof Skipped: SmartContractModule ActiveNodeContracts (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule TwinBoundedAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinBoundedAccountID (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: SmartContractModule ContractLock (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractLock (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule PricingPolicies (r:1 w:0) - /// Proof Skipped: TfgridModule PricingPolicies (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule BillingFrequency (r:1 w:0) - /// Proof Skipped: SmartContractModule BillingFrequency (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractsToBillAt (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractsToBillAt (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractBillingInformationByID (r:0 w:1) - /// Proof Skipped: SmartContractModule ContractBillingInformationByID (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule NodeContractResources (r:0 w:1) - /// Proof Skipped: SmartContractModule NodeContractResources (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractIDByNodeIDAndHash (r:0 w:1) - /// Proof Skipped: SmartContractModule ContractIDByNodeIDAndHash (max_values: None, max_size: None, mode: Measured) + /// Storage: `SmartContractModule::Contracts` (r:1 w:1) + /// Proof: `SmartContractModule::Contracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Twins` (r:1 w:0) + /// Proof: `TfgridModule::Twins` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveNodeContracts` (r:1 w:1) + /// Proof: `SmartContractModule::ActiveNodeContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::TwinBoundedAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinBoundedAccountID` (`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: `SmartContractModule::ContractLock` (r:1 w:1) + /// Proof: `SmartContractModule::ContractLock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::PricingPolicies` (r:1 w:0) + /// Proof: `TfgridModule::PricingPolicies` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::BillingFrequency` (r:1 w:0) + /// Proof: `SmartContractModule::BillingFrequency` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractsToBillAt` (r:1 w:1) + /// Proof: `SmartContractModule::ContractsToBillAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractBillingInformationByID` (r:0 w:1) + /// Proof: `SmartContractModule::ContractBillingInformationByID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::NodeContractResources` (r:0 w:1) + /// Proof: `SmartContractModule::NodeContractResources` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractIDByNodeIDAndHash` (r:0 w:1) + /// Proof: `SmartContractModule::ContractIDByNodeIDAndHash` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_contract() -> Weight { // Proof Size summary in bytes: // Measured: `1203` // Estimated: `4668` - // Minimum execution time: 134_164_000 picoseconds. - Weight::from_parts(138_183_000, 4668) + // Minimum execution time: 58_550_000 picoseconds. + Weight::from_parts(59_442_000, 4668) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractIDByNameRegistration (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractIDByNameRegistration (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractID (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractID (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: SmartContractModule BillingFrequency (r:1 w:0) - /// Proof Skipped: SmartContractModule BillingFrequency (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractsToBillAt (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractsToBillAt (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: SmartContractModule Contracts (r:0 w:1) - /// Proof Skipped: SmartContractModule Contracts (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractLock (r:0 w:1) - /// Proof Skipped: SmartContractModule ContractLock (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractIDByNameRegistration` (r:1 w:1) + /// Proof: `SmartContractModule::ContractIDByNameRegistration` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractID` (r:1 w:1) + /// Proof: `SmartContractModule::ContractID` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::BillingFrequency` (r:1 w:0) + /// Proof: `SmartContractModule::BillingFrequency` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractsToBillAt` (r:1 w:1) + /// Proof: `SmartContractModule::ContractsToBillAt` (`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: `SmartContractModule::Contracts` (r:0 w:1) + /// Proof: `SmartContractModule::Contracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractLock` (r:0 w:1) + /// Proof: `SmartContractModule::ContractLock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_name_contract() -> Weight { // Proof Size summary in bytes: // Measured: `340` // Estimated: `3805` - // Minimum execution time: 54_724_000 picoseconds. - Weight::from_parts(57_496_000, 3805) + // Minimum execution time: 23_835_000 picoseconds. + Weight::from_parts(24_346_000, 3805) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: SmartContractModule Contracts (r:1 w:1) - /// Proof Skipped: SmartContractModule Contracts (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Twins (r:1 w:0) - /// Proof Skipped: TfgridModule Twins (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule TwinBoundedAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinBoundedAccountID (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: SmartContractModule ContractLock (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractLock (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule PricingPolicies (r:1 w:0) - /// Proof Skipped: TfgridModule PricingPolicies (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule BillingFrequency (r:1 w:0) - /// Proof Skipped: SmartContractModule BillingFrequency (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractsToBillAt (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractsToBillAt (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractIDByNameRegistration (r:0 w:1) - /// Proof Skipped: SmartContractModule ContractIDByNameRegistration (max_values: None, max_size: None, mode: Measured) + /// Storage: `SmartContractModule::Contracts` (r:1 w:1) + /// Proof: `SmartContractModule::Contracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Twins` (r:1 w:0) + /// Proof: `TfgridModule::Twins` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::TwinBoundedAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinBoundedAccountID` (`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: `SmartContractModule::ContractLock` (r:1 w:1) + /// Proof: `SmartContractModule::ContractLock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::PricingPolicies` (r:1 w:0) + /// Proof: `TfgridModule::PricingPolicies` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::BillingFrequency` (r:1 w:0) + /// Proof: `SmartContractModule::BillingFrequency` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractsToBillAt` (r:1 w:1) + /// Proof: `SmartContractModule::ContractsToBillAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractIDByNameRegistration` (r:0 w:1) + /// Proof: `SmartContractModule::ContractIDByNameRegistration` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_name_contract() -> Weight { // Proof Size summary in bytes: // Measured: `919` // Estimated: `4384` - // Minimum execution time: 101_753_000 picoseconds. - Weight::from_parts(105_128_000, 4384) + // Minimum execution time: 44_905_000 picoseconds. + Weight::from_parts(45_816_000, 4384) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodeIdByTwinID (r:1 w:0) - /// Proof Skipped: TfgridModule NodeIdByTwinID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Nodes (r:1 w:0) - /// Proof Skipped: TfgridModule Nodes (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Farms (r:1 w:0) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule PricingPolicies (r:1 w:0) - /// Proof Skipped: TfgridModule PricingPolicies (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule Contracts (r:1 w:0) - /// Proof Skipped: SmartContractModule Contracts (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractBillingInformationByID (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractBillingInformationByID (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodeIdByTwinID` (r:1 w:0) + /// Proof: `TfgridModule::NodeIdByTwinID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Nodes` (r:1 w:0) + /// Proof: `TfgridModule::Nodes` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Farms` (r:1 w:0) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::PricingPolicies` (r:1 w:0) + /// Proof: `TfgridModule::PricingPolicies` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::Contracts` (r:1 w:0) + /// Proof: `SmartContractModule::Contracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractBillingInformationByID` (r:1 w:1) + /// Proof: `SmartContractModule::ContractBillingInformationByID` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_nru_reports() -> Weight { // Proof Size summary in bytes: // Measured: `1292` // Estimated: `4757` - // Minimum execution time: 77_126_000 picoseconds. - Weight::from_parts(79_222_000, 4757) + // Minimum execution time: 37_071_000 picoseconds. + Weight::from_parts(37_641_000, 4757) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodeIdByTwinID (r:1 w:0) - /// Proof Skipped: TfgridModule NodeIdByTwinID (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule Contracts (r:1 w:0) - /// Proof Skipped: SmartContractModule Contracts (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule NodeContractResources (r:0 w:1) - /// Proof Skipped: SmartContractModule NodeContractResources (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodeIdByTwinID` (r:1 w:0) + /// Proof: `TfgridModule::NodeIdByTwinID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::Contracts` (r:1 w:0) + /// Proof: `SmartContractModule::Contracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::NodeContractResources` (r:0 w:1) + /// Proof: `SmartContractModule::NodeContractResources` (`max_values`: None, `max_size`: None, mode: `Measured`) fn report_contract_resources() -> Weight { // Proof Size summary in bytes: // Measured: `771` // Estimated: `4236` - // Minimum execution time: 47_460_000 picoseconds. - Weight::from_parts(48_914_000, 4236) + // Minimum execution time: 22_703_000 picoseconds. + Weight::from_parts(23_094_000, 4236) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: SmartContractModule ActiveRentContractForNode (r:1 w:1) - /// Proof Skipped: SmartContractModule ActiveRentContractForNode (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Nodes (r:1 w:0) - /// Proof Skipped: TfgridModule Nodes (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Farms (r:1 w:0) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodePower (r:1 w:0) - /// Proof Skipped: TfgridModule NodePower (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ActiveNodeContracts (r:1 w:0) - /// Proof Skipped: SmartContractModule ActiveNodeContracts (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractID (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractID (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: SmartContractModule BillingFrequency (r:1 w:0) - /// Proof Skipped: SmartContractModule BillingFrequency (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractsToBillAt (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractsToBillAt (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: SmartContractModule Contracts (r:0 w:1) - /// Proof Skipped: SmartContractModule Contracts (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractLock (r:0 w:1) - /// Proof Skipped: SmartContractModule ContractLock (max_values: None, max_size: None, mode: Measured) + /// Storage: `SmartContractModule::ActiveRentContractForNode` (r:1 w:1) + /// Proof: `SmartContractModule::ActiveRentContractForNode` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Nodes` (r:1 w:0) + /// Proof: `TfgridModule::Nodes` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Farms` (r:1 w:0) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveNodeContracts` (r:1 w:0) + /// Proof: `SmartContractModule::ActiveNodeContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractID` (r:1 w:1) + /// Proof: `SmartContractModule::ContractID` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::BillingFrequency` (r:1 w:0) + /// Proof: `SmartContractModule::BillingFrequency` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractsToBillAt` (r:1 w:1) + /// Proof: `SmartContractModule::ContractsToBillAt` (`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: `SmartContractModule::Contracts` (r:0 w:1) + /// Proof: `SmartContractModule::Contracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractLock` (r:0 w:1) + /// Proof: `SmartContractModule::ContractLock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_rent_contract() -> Weight { // Proof Size summary in bytes: - // Measured: `868` - // Estimated: `4333` - // Minimum execution time: 78_140_000 picoseconds. - Weight::from_parts(81_100_000, 4333) - .saturating_add(T::DbWeight::get().reads(10_u64)) + // Measured: `776` + // Estimated: `4241` + // Minimum execution time: 33_834_000 picoseconds. + Weight::from_parts(34_626_000, 4241) + .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: SmartContractModule Contracts (r:1 w:1) - /// Proof Skipped: SmartContractModule Contracts (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Twins (r:1 w:0) - /// Proof Skipped: TfgridModule Twins (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ActiveNodeContracts (r:1 w:0) - /// Proof Skipped: SmartContractModule ActiveNodeContracts (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule TwinBoundedAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinBoundedAccountID (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: SmartContractModule ContractLock (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractLock (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule PricingPolicies (r:1 w:0) - /// Proof Skipped: TfgridModule PricingPolicies (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule DedicatedNodesExtraFee (r:1 w:0) - /// Proof Skipped: SmartContractModule DedicatedNodesExtraFee (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule BillingFrequency (r:1 w:0) - /// Proof Skipped: SmartContractModule BillingFrequency (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractsToBillAt (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractsToBillAt (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ActiveRentContractForNode (r:0 w:1) - /// Proof Skipped: SmartContractModule ActiveRentContractForNode (max_values: None, max_size: None, mode: Measured) + /// Storage: `SmartContractModule::Contracts` (r:1 w:1) + /// Proof: `SmartContractModule::Contracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Twins` (r:1 w:0) + /// Proof: `TfgridModule::Twins` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveNodeContracts` (r:1 w:0) + /// Proof: `SmartContractModule::ActiveNodeContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Nodes` (r:1 w:0) + /// Proof: `TfgridModule::Nodes` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodePower` (r:1 w:0) + /// Proof: `TfgridModule::NodePower` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::TwinBoundedAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinBoundedAccountID` (`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: `SmartContractModule::ContractLock` (r:1 w:1) + /// Proof: `SmartContractModule::ContractLock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::PricingPolicies` (r:1 w:0) + /// Proof: `TfgridModule::PricingPolicies` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::DedicatedNodesExtraFee` (r:1 w:0) + /// Proof: `SmartContractModule::DedicatedNodesExtraFee` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::BillingFrequency` (r:1 w:0) + /// Proof: `SmartContractModule::BillingFrequency` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractsToBillAt` (r:1 w:1) + /// Proof: `SmartContractModule::ContractsToBillAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveRentContractForNode` (r:0 w:1) + /// Proof: `SmartContractModule::ActiveRentContractForNode` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_rent_contract() -> Weight { // Proof Size summary in bytes: - // Measured: `1071` - // Estimated: `4536` - // Minimum execution time: 114_334_000 picoseconds. - Weight::from_parts(118_126_000, 4536) - .saturating_add(T::DbWeight::get().reads(10_u64)) + // Measured: `1284` + // Estimated: `4749` + // Minimum execution time: 58_010_000 picoseconds. + Weight::from_parts(58_931_000, 4749) + .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: SmartContractModule SolutionProviderID (r:1 w:1) - /// Proof Skipped: SmartContractModule SolutionProviderID (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: SmartContractModule SolutionProviders (r:0 w:1) - /// Proof Skipped: SmartContractModule SolutionProviders (max_values: None, max_size: None, mode: Measured) + /// Storage: `SmartContractModule::SolutionProviderID` (r:1 w:1) + /// Proof: `SmartContractModule::SolutionProviderID` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::SolutionProviders` (r:0 w:1) + /// Proof: `SmartContractModule::SolutionProviders` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_solution_provider() -> Weight { // Proof Size summary in bytes: // Measured: `37` // Estimated: `1522` - // Minimum execution time: 24_361_000 picoseconds. - Weight::from_parts(25_532_000, 1522) + // Minimum execution time: 9_629_000 picoseconds. + Weight::from_parts(9_729_000, 1522) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: SmartContractModule SolutionProviders (r:1 w:1) - /// Proof Skipped: SmartContractModule SolutionProviders (max_values: None, max_size: None, mode: Measured) + /// Storage: `SmartContractModule::SolutionProviders` (r:1 w:1) + /// Proof: `SmartContractModule::SolutionProviders` (`max_values`: None, `max_size`: None, mode: `Measured`) fn approve_solution_provider() -> Weight { // Proof Size summary in bytes: // Measured: `215` // Estimated: `3680` - // Minimum execution time: 28_651_000 picoseconds. - Weight::from_parts(29_486_000, 3680) + // Minimum execution time: 12_483_000 picoseconds. + Weight::from_parts(12_875_000, 3680) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: SmartContractModule Contracts (r:1 w:0) - /// Proof Skipped: SmartContractModule Contracts (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Twins (r:1 w:0) - /// Proof Skipped: TfgridModule Twins (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: TfgridModule TwinBoundedAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinBoundedAccountID (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: SmartContractModule ContractLock (r:1 w:0) - /// Proof Skipped: SmartContractModule ContractLock (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule PricingPolicies (r:1 w:0) - /// Proof Skipped: TfgridModule PricingPolicies (max_values: None, max_size: None, mode: Measured) + /// Storage: `SmartContractModule::Contracts` (r:1 w:0) + /// Proof: `SmartContractModule::Contracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Twins` (r:1 w:0) + /// Proof: `TfgridModule::Twins` (`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: `TfgridModule::TwinBoundedAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinBoundedAccountID` (`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: `SmartContractModule::ContractLock` (r:1 w:1) + /// Proof: `SmartContractModule::ContractLock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::PricingPolicies` (r:1 w:0) + /// Proof: `TfgridModule::PricingPolicies` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractBillingInformationByID` (r:1 w:1) + /// Proof: `SmartContractModule::ContractBillingInformationByID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Nodes` (r:1 w:0) + /// Proof: `TfgridModule::Nodes` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::NodeContractResources` (r:1 w:0) + /// Proof: `SmartContractModule::NodeContractResources` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveRentContractForNode` (r:1 w:0) + /// Proof: `SmartContractModule::ActiveRentContractForNode` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TFTPriceModule::AverageTftPrice` (r:1 w:0) + /// Proof: `TFTPriceModule::AverageTftPrice` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTPriceModule::MinTftPrice` (r:1 w:0) + /// Proof: `TFTPriceModule::MinTftPrice` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTPriceModule::MaxTftPrice` (r:1 w:0) + /// Proof: `TFTPriceModule::MaxTftPrice` (`max_values`: Some(1), `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(49), added: 2524, mode: `MaxEncodedLen`) fn bill_contract_for_block() -> Weight { // Proof Size summary in bytes: - // Measured: `1216` - // Estimated: `4681` - // Minimum execution time: 56_839_000 picoseconds. - Weight::from_parts(58_569_000, 4681) - .saturating_add(T::DbWeight::get().reads(7_u64)) + // Measured: `1608` + // Estimated: `5073` + // Minimum execution time: 77_637_000 picoseconds. + Weight::from_parts(78_679_000, 5073) + .saturating_add(T::DbWeight::get().reads(16_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:2 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ServiceContractID (r:1 w:1) - /// Proof Skipped: SmartContractModule ServiceContractID (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: SmartContractModule ServiceContracts (r:0 w:1) - /// Proof Skipped: SmartContractModule ServiceContracts (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:2 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ServiceContractID` (r:1 w:1) + /// Proof: `SmartContractModule::ServiceContractID` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ServiceContracts` (r:0 w:1) + /// Proof: `SmartContractModule::ServiceContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) fn service_contract_create() -> Weight { // Proof Size summary in bytes: // Measured: `395` // Estimated: `6335` - // Minimum execution time: 40_172_000 picoseconds. - Weight::from_parts(41_719_000, 6335) + // Minimum execution time: 18_054_000 picoseconds. + Weight::from_parts(18_635_000, 6335) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ServiceContracts (r:1 w:1) - /// Proof Skipped: SmartContractModule ServiceContracts (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ServiceContracts` (r:1 w:1) + /// Proof: `SmartContractModule::ServiceContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) fn service_contract_set_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `489` // Estimated: `3954` - // Minimum execution time: 35_442_000 picoseconds. - Weight::from_parts(36_518_000, 3954) + // Minimum execution time: 16_201_000 picoseconds. + Weight::from_parts(16_742_000, 3954) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ServiceContracts (r:1 w:1) - /// Proof Skipped: SmartContractModule ServiceContracts (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ServiceContracts` (r:1 w:1) + /// Proof: `SmartContractModule::ServiceContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) fn service_contract_set_fees() -> Weight { // Proof Size summary in bytes: // Measured: `489` // Estimated: `3954` - // Minimum execution time: 34_663_000 picoseconds. - Weight::from_parts(35_371_000, 3954) + // Minimum execution time: 15_980_000 picoseconds. + Weight::from_parts(16_321_000, 3954) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ServiceContracts (r:1 w:1) - /// Proof Skipped: SmartContractModule ServiceContracts (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ServiceContracts` (r:1 w:1) + /// Proof: `SmartContractModule::ServiceContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) fn service_contract_approve() -> Weight { // Proof Size summary in bytes: // Measured: `502` // Estimated: `3967` - // Minimum execution time: 34_967_000 picoseconds. - Weight::from_parts(36_503_000, 3967) + // Minimum execution time: 16_251_000 picoseconds. + Weight::from_parts(16_572_000, 3967) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ServiceContracts (r:1 w:1) - /// Proof Skipped: SmartContractModule ServiceContracts (max_values: None, max_size: None, mode: Measured) + /// Storage: `SmartContractModule::ServiceContracts` (r:1 w:1) + /// Proof: `SmartContractModule::ServiceContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) fn service_contract_reject() -> Weight { // Proof Size summary in bytes: // Measured: `502` // Estimated: `3967` - // Minimum execution time: 36_210_000 picoseconds. - Weight::from_parts(37_826_000, 3967) + // Minimum execution time: 16_801_000 picoseconds. + Weight::from_parts(17_022_000, 3967) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ServiceContracts (r:1 w:1) - /// Proof Skipped: SmartContractModule ServiceContracts (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ServiceContracts` (r:1 w:1) + /// Proof: `SmartContractModule::ServiceContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) fn service_contract_cancel() -> Weight { // Proof Size summary in bytes: // Measured: `502` // Estimated: `3967` - // Minimum execution time: 33_426_000 picoseconds. - Weight::from_parts(34_600_000, 3967) + // Minimum execution time: 15_720_000 picoseconds. + Weight::from_parts(16_040_000, 3967) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ServiceContracts (r:1 w:1) - /// Proof Skipped: SmartContractModule ServiceContracts (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: TfgridModule Twins (r:2 w:0) - /// Proof Skipped: TfgridModule Twins (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: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ServiceContracts` (r:1 w:1) + /// Proof: `SmartContractModule::ServiceContracts` (`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: `TfgridModule::Twins` (r:2 w:0) + /// Proof: `TfgridModule::Twins` (`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`) fn service_contract_bill() -> Weight { // Proof Size summary in bytes: // Measured: `841` // Estimated: `6781` - // Minimum execution time: 61_064_000 picoseconds. - Weight::from_parts(64_267_000, 6781) + // Minimum execution time: 29_455_000 picoseconds. + Weight::from_parts(29_997_000, 6781) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: SmartContractModule BillingFrequency (r:1 w:1) - /// Proof Skipped: SmartContractModule BillingFrequency (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `SmartContractModule::BillingFrequency` (r:1 w:1) + /// Proof: `SmartContractModule::BillingFrequency` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn change_billing_frequency() -> Weight { // Proof Size summary in bytes: // Measured: `37` // Estimated: `1522` - // Minimum execution time: 17_066_000 picoseconds. - Weight::from_parts(17_649_000, 1522) + // Minimum execution time: 7_524_000 picoseconds. + Weight::from_parts(8_185_000, 1522) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: SmartContractModule SolutionProviders (r:1 w:0) - /// Proof Skipped: SmartContractModule SolutionProviders (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule Contracts (r:1 w:1) - /// Proof Skipped: SmartContractModule Contracts (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) + /// Storage: `SmartContractModule::SolutionProviders` (r:1 w:0) + /// Proof: `SmartContractModule::SolutionProviders` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::Contracts` (r:1 w:1) + /// Proof: `SmartContractModule::Contracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) fn attach_solution_provider_id() -> Weight { // Proof Size summary in bytes: // Measured: `971` // Estimated: `4436` - // Minimum execution time: 44_207_000 picoseconds. - Weight::from_parts(46_180_000, 4436) + // Minimum execution time: 21_420_000 picoseconds. + Weight::from_parts(21_801_000, 4436) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Nodes (r:1 w:0) - /// Proof Skipped: TfgridModule Nodes (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Farms (r:1 w:0) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ActiveRentContractForNode (r:1 w:0) - /// Proof Skipped: SmartContractModule ActiveRentContractForNode (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ActiveNodeContracts (r:1 w:0) - /// Proof Skipped: SmartContractModule ActiveNodeContracts (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule DedicatedNodesExtraFee (r:0 w:1) - /// Proof Skipped: SmartContractModule DedicatedNodesExtraFee (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Nodes` (r:1 w:0) + /// Proof: `TfgridModule::Nodes` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Farms` (r:1 w:0) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveNodeContracts` (r:1 w:0) + /// Proof: `SmartContractModule::ActiveNodeContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveRentContractForNode` (r:1 w:0) + /// Proof: `SmartContractModule::ActiveRentContractForNode` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::DedicatedNodesExtraFee` (r:0 w:1) + /// Proof: `SmartContractModule::DedicatedNodesExtraFee` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_dedicated_node_extra_fee() -> Weight { // Proof Size summary in bytes: // Measured: `733` // Estimated: `4198` - // Minimum execution time: 46_778_000 picoseconds. - Weight::from_parts(48_978_000, 4198) + // Minimum execution time: 22_602_000 picoseconds. + Weight::from_parts(22_923_000, 4198) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: SmartContractModule Contracts (r:1 w:1) - /// Proof Skipped: SmartContractModule Contracts (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ActiveNodeContracts (r:1 w:1) - /// Proof Skipped: SmartContractModule ActiveNodeContracts (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Twins (r:1 w:0) - /// Proof Skipped: TfgridModule Twins (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule TwinBoundedAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinBoundedAccountID (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: SmartContractModule ContractLock (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractLock (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule PricingPolicies (r:1 w:0) - /// Proof Skipped: TfgridModule PricingPolicies (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule BillingFrequency (r:1 w:0) - /// Proof Skipped: SmartContractModule BillingFrequency (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractsToBillAt (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractsToBillAt (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractBillingInformationByID (r:0 w:1) - /// Proof Skipped: SmartContractModule ContractBillingInformationByID (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule NodeContractResources (r:0 w:1) - /// Proof Skipped: SmartContractModule NodeContractResources (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractIDByNodeIDAndHash (r:0 w:1) - /// Proof Skipped: SmartContractModule ContractIDByNodeIDAndHash (max_values: None, max_size: None, mode: Measured) + /// Storage: `SmartContractModule::Contracts` (r:1 w:1) + /// Proof: `SmartContractModule::Contracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveNodeContracts` (r:1 w:1) + /// Proof: `SmartContractModule::ActiveNodeContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Twins` (r:1 w:0) + /// Proof: `TfgridModule::Twins` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::TwinBoundedAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinBoundedAccountID` (`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: `SmartContractModule::ContractLock` (r:1 w:1) + /// Proof: `SmartContractModule::ContractLock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::PricingPolicies` (r:1 w:0) + /// Proof: `TfgridModule::PricingPolicies` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::BillingFrequency` (r:1 w:0) + /// Proof: `SmartContractModule::BillingFrequency` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractsToBillAt` (r:1 w:1) + /// Proof: `SmartContractModule::ContractsToBillAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractBillingInformationByID` (r:0 w:1) + /// Proof: `SmartContractModule::ContractBillingInformationByID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::NodeContractResources` (r:0 w:1) + /// Proof: `SmartContractModule::NodeContractResources` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractIDByNodeIDAndHash` (r:0 w:1) + /// Proof: `SmartContractModule::ContractIDByNodeIDAndHash` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_contract_collective() -> Weight { // Proof Size summary in bytes: // Measured: `1203` // Estimated: `4668` - // Minimum execution time: 90_735_000 picoseconds. - Weight::from_parts(92_827_000, 4668) + // Minimum execution time: 56_386_000 picoseconds. + Weight::from_parts(57_248_000, 4668) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -535,474 +556,495 @@ impl WeightInfo for SubstrateWeight { // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Nodes (r:1 w:0) - /// Proof Skipped: TfgridModule Nodes (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodePower (r:1 w:0) - /// Proof Skipped: TfgridModule NodePower (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Farms (r:1 w:1) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ActiveRentContractForNode (r:1 w:0) - /// Proof Skipped: SmartContractModule ActiveRentContractForNode (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule DedicatedNodesExtraFee (r:1 w:0) - /// Proof Skipped: SmartContractModule DedicatedNodesExtraFee (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractIDByNodeIDAndHash (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractIDByNodeIDAndHash (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractID (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractID (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: SmartContractModule BillingFrequency (r:1 w:0) - /// Proof Skipped: SmartContractModule BillingFrequency (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractsToBillAt (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractsToBillAt (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: SmartContractModule ActiveNodeContracts (r:1 w:1) - /// Proof Skipped: SmartContractModule ActiveNodeContracts (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule Contracts (r:0 w:1) - /// Proof Skipped: SmartContractModule Contracts (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractBillingInformationByID (r:0 w:1) - /// Proof Skipped: SmartContractModule ContractBillingInformationByID (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractLock (r:0 w:1) - /// Proof Skipped: SmartContractModule ContractLock (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Nodes` (r:1 w:0) + /// Proof: `TfgridModule::Nodes` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodePower` (r:1 w:0) + /// Proof: `TfgridModule::NodePower` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Farms` (r:1 w:1) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::DedicatedNodesExtraFee` (r:1 w:0) + /// Proof: `SmartContractModule::DedicatedNodesExtraFee` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveRentContractForNode` (r:1 w:0) + /// Proof: `SmartContractModule::ActiveRentContractForNode` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractIDByNodeIDAndHash` (r:1 w:1) + /// Proof: `SmartContractModule::ContractIDByNodeIDAndHash` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractID` (r:1 w:1) + /// Proof: `SmartContractModule::ContractID` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::BillingFrequency` (r:1 w:0) + /// Proof: `SmartContractModule::BillingFrequency` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractsToBillAt` (r:1 w:1) + /// Proof: `SmartContractModule::ContractsToBillAt` (`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: `SmartContractModule::ActiveNodeContracts` (r:1 w:1) + /// Proof: `SmartContractModule::ActiveNodeContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::Contracts` (r:0 w:1) + /// Proof: `SmartContractModule::Contracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractBillingInformationByID` (r:0 w:1) + /// Proof: `SmartContractModule::ContractBillingInformationByID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractLock` (r:0 w:1) + /// Proof: `SmartContractModule::ContractLock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_node_contract() -> Weight { // Proof Size summary in bytes: // Measured: `868` // Estimated: `4333` - // Minimum execution time: 119_629_000 picoseconds. - Weight::from_parts(124_124_000, 4333) + // Minimum execution time: 77_466_000 picoseconds. + Weight::from_parts(78_619_000, 4333) .saturating_add(RocksDbWeight::get().reads(12_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } - /// Storage: SmartContractModule Contracts (r:1 w:1) - /// Proof Skipped: SmartContractModule Contracts (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Twins (r:1 w:0) - /// Proof Skipped: TfgridModule Twins (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ActiveNodeContracts (r:1 w:1) - /// Proof Skipped: SmartContractModule ActiveNodeContracts (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractIDByNodeIDAndHash (r:0 w:2) - /// Proof Skipped: SmartContractModule ContractIDByNodeIDAndHash (max_values: None, max_size: None, mode: Measured) + /// Storage: `SmartContractModule::Contracts` (r:1 w:1) + /// Proof: `SmartContractModule::Contracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Twins` (r:1 w:0) + /// Proof: `TfgridModule::Twins` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveNodeContracts` (r:1 w:1) + /// Proof: `SmartContractModule::ActiveNodeContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractIDByNodeIDAndHash` (r:0 w:2) + /// Proof: `SmartContractModule::ContractIDByNodeIDAndHash` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_node_contract() -> Weight { // Proof Size summary in bytes: // Measured: `892` // Estimated: `4357` - // Minimum execution time: 64_128_000 picoseconds. - Weight::from_parts(67_016_000, 4357) + // Minimum execution time: 25_668_000 picoseconds. + Weight::from_parts(43_753_000, 4357) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } - /// Storage: SmartContractModule Contracts (r:1 w:1) - /// Proof Skipped: SmartContractModule Contracts (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Twins (r:1 w:0) - /// Proof Skipped: TfgridModule Twins (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ActiveNodeContracts (r:1 w:1) - /// Proof Skipped: SmartContractModule ActiveNodeContracts (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule TwinBoundedAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinBoundedAccountID (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: SmartContractModule ContractLock (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractLock (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule PricingPolicies (r:1 w:0) - /// Proof Skipped: TfgridModule PricingPolicies (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule BillingFrequency (r:1 w:0) - /// Proof Skipped: SmartContractModule BillingFrequency (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractsToBillAt (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractsToBillAt (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractBillingInformationByID (r:0 w:1) - /// Proof Skipped: SmartContractModule ContractBillingInformationByID (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule NodeContractResources (r:0 w:1) - /// Proof Skipped: SmartContractModule NodeContractResources (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractIDByNodeIDAndHash (r:0 w:1) - /// Proof Skipped: SmartContractModule ContractIDByNodeIDAndHash (max_values: None, max_size: None, mode: Measured) + /// Storage: `SmartContractModule::Contracts` (r:1 w:1) + /// Proof: `SmartContractModule::Contracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Twins` (r:1 w:0) + /// Proof: `TfgridModule::Twins` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveNodeContracts` (r:1 w:1) + /// Proof: `SmartContractModule::ActiveNodeContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::TwinBoundedAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinBoundedAccountID` (`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: `SmartContractModule::ContractLock` (r:1 w:1) + /// Proof: `SmartContractModule::ContractLock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::PricingPolicies` (r:1 w:0) + /// Proof: `TfgridModule::PricingPolicies` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::BillingFrequency` (r:1 w:0) + /// Proof: `SmartContractModule::BillingFrequency` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractsToBillAt` (r:1 w:1) + /// Proof: `SmartContractModule::ContractsToBillAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractBillingInformationByID` (r:0 w:1) + /// Proof: `SmartContractModule::ContractBillingInformationByID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::NodeContractResources` (r:0 w:1) + /// Proof: `SmartContractModule::NodeContractResources` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractIDByNodeIDAndHash` (r:0 w:1) + /// Proof: `SmartContractModule::ContractIDByNodeIDAndHash` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_contract() -> Weight { // Proof Size summary in bytes: // Measured: `1203` // Estimated: `4668` - // Minimum execution time: 134_164_000 picoseconds. - Weight::from_parts(138_183_000, 4668) + // Minimum execution time: 58_550_000 picoseconds. + Weight::from_parts(59_442_000, 4668) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractIDByNameRegistration (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractIDByNameRegistration (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractID (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractID (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: SmartContractModule BillingFrequency (r:1 w:0) - /// Proof Skipped: SmartContractModule BillingFrequency (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractsToBillAt (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractsToBillAt (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: SmartContractModule Contracts (r:0 w:1) - /// Proof Skipped: SmartContractModule Contracts (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractLock (r:0 w:1) - /// Proof Skipped: SmartContractModule ContractLock (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractIDByNameRegistration` (r:1 w:1) + /// Proof: `SmartContractModule::ContractIDByNameRegistration` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractID` (r:1 w:1) + /// Proof: `SmartContractModule::ContractID` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::BillingFrequency` (r:1 w:0) + /// Proof: `SmartContractModule::BillingFrequency` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractsToBillAt` (r:1 w:1) + /// Proof: `SmartContractModule::ContractsToBillAt` (`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: `SmartContractModule::Contracts` (r:0 w:1) + /// Proof: `SmartContractModule::Contracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractLock` (r:0 w:1) + /// Proof: `SmartContractModule::ContractLock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_name_contract() -> Weight { // Proof Size summary in bytes: // Measured: `340` // Estimated: `3805` - // Minimum execution time: 54_724_000 picoseconds. - Weight::from_parts(57_496_000, 3805) + // Minimum execution time: 23_835_000 picoseconds. + Weight::from_parts(24_346_000, 3805) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } - /// Storage: SmartContractModule Contracts (r:1 w:1) - /// Proof Skipped: SmartContractModule Contracts (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Twins (r:1 w:0) - /// Proof Skipped: TfgridModule Twins (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule TwinBoundedAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinBoundedAccountID (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: SmartContractModule ContractLock (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractLock (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule PricingPolicies (r:1 w:0) - /// Proof Skipped: TfgridModule PricingPolicies (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule BillingFrequency (r:1 w:0) - /// Proof Skipped: SmartContractModule BillingFrequency (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractsToBillAt (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractsToBillAt (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractIDByNameRegistration (r:0 w:1) - /// Proof Skipped: SmartContractModule ContractIDByNameRegistration (max_values: None, max_size: None, mode: Measured) + /// Storage: `SmartContractModule::Contracts` (r:1 w:1) + /// Proof: `SmartContractModule::Contracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Twins` (r:1 w:0) + /// Proof: `TfgridModule::Twins` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::TwinBoundedAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinBoundedAccountID` (`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: `SmartContractModule::ContractLock` (r:1 w:1) + /// Proof: `SmartContractModule::ContractLock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::PricingPolicies` (r:1 w:0) + /// Proof: `TfgridModule::PricingPolicies` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::BillingFrequency` (r:1 w:0) + /// Proof: `SmartContractModule::BillingFrequency` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractsToBillAt` (r:1 w:1) + /// Proof: `SmartContractModule::ContractsToBillAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractIDByNameRegistration` (r:0 w:1) + /// Proof: `SmartContractModule::ContractIDByNameRegistration` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_name_contract() -> Weight { // Proof Size summary in bytes: // Measured: `919` // Estimated: `4384` - // Minimum execution time: 101_753_000 picoseconds. - Weight::from_parts(105_128_000, 4384) + // Minimum execution time: 44_905_000 picoseconds. + Weight::from_parts(45_816_000, 4384) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodeIdByTwinID (r:1 w:0) - /// Proof Skipped: TfgridModule NodeIdByTwinID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Nodes (r:1 w:0) - /// Proof Skipped: TfgridModule Nodes (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Farms (r:1 w:0) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule PricingPolicies (r:1 w:0) - /// Proof Skipped: TfgridModule PricingPolicies (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule Contracts (r:1 w:0) - /// Proof Skipped: SmartContractModule Contracts (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractBillingInformationByID (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractBillingInformationByID (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodeIdByTwinID` (r:1 w:0) + /// Proof: `TfgridModule::NodeIdByTwinID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Nodes` (r:1 w:0) + /// Proof: `TfgridModule::Nodes` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Farms` (r:1 w:0) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::PricingPolicies` (r:1 w:0) + /// Proof: `TfgridModule::PricingPolicies` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::Contracts` (r:1 w:0) + /// Proof: `SmartContractModule::Contracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractBillingInformationByID` (r:1 w:1) + /// Proof: `SmartContractModule::ContractBillingInformationByID` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_nru_reports() -> Weight { // Proof Size summary in bytes: // Measured: `1292` // Estimated: `4757` - // Minimum execution time: 77_126_000 picoseconds. - Weight::from_parts(79_222_000, 4757) + // Minimum execution time: 37_071_000 picoseconds. + Weight::from_parts(37_641_000, 4757) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodeIdByTwinID (r:1 w:0) - /// Proof Skipped: TfgridModule NodeIdByTwinID (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule Contracts (r:1 w:0) - /// Proof Skipped: SmartContractModule Contracts (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule NodeContractResources (r:0 w:1) - /// Proof Skipped: SmartContractModule NodeContractResources (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodeIdByTwinID` (r:1 w:0) + /// Proof: `TfgridModule::NodeIdByTwinID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::Contracts` (r:1 w:0) + /// Proof: `SmartContractModule::Contracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::NodeContractResources` (r:0 w:1) + /// Proof: `SmartContractModule::NodeContractResources` (`max_values`: None, `max_size`: None, mode: `Measured`) fn report_contract_resources() -> Weight { // Proof Size summary in bytes: // Measured: `771` // Estimated: `4236` - // Minimum execution time: 47_460_000 picoseconds. - Weight::from_parts(48_914_000, 4236) + // Minimum execution time: 22_703_000 picoseconds. + Weight::from_parts(23_094_000, 4236) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: SmartContractModule ActiveRentContractForNode (r:1 w:1) - /// Proof Skipped: SmartContractModule ActiveRentContractForNode (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Nodes (r:1 w:0) - /// Proof Skipped: TfgridModule Nodes (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Farms (r:1 w:0) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodePower (r:1 w:0) - /// Proof Skipped: TfgridModule NodePower (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ActiveNodeContracts (r:1 w:0) - /// Proof Skipped: SmartContractModule ActiveNodeContracts (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractID (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractID (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: SmartContractModule BillingFrequency (r:1 w:0) - /// Proof Skipped: SmartContractModule BillingFrequency (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractsToBillAt (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractsToBillAt (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: SmartContractModule Contracts (r:0 w:1) - /// Proof Skipped: SmartContractModule Contracts (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractLock (r:0 w:1) - /// Proof Skipped: SmartContractModule ContractLock (max_values: None, max_size: None, mode: Measured) + /// Storage: `SmartContractModule::ActiveRentContractForNode` (r:1 w:1) + /// Proof: `SmartContractModule::ActiveRentContractForNode` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Nodes` (r:1 w:0) + /// Proof: `TfgridModule::Nodes` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Farms` (r:1 w:0) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveNodeContracts` (r:1 w:0) + /// Proof: `SmartContractModule::ActiveNodeContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractID` (r:1 w:1) + /// Proof: `SmartContractModule::ContractID` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::BillingFrequency` (r:1 w:0) + /// Proof: `SmartContractModule::BillingFrequency` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractsToBillAt` (r:1 w:1) + /// Proof: `SmartContractModule::ContractsToBillAt` (`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: `SmartContractModule::Contracts` (r:0 w:1) + /// Proof: `SmartContractModule::Contracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractLock` (r:0 w:1) + /// Proof: `SmartContractModule::ContractLock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_rent_contract() -> Weight { // Proof Size summary in bytes: - // Measured: `868` - // Estimated: `4333` - // Minimum execution time: 78_140_000 picoseconds. - Weight::from_parts(81_100_000, 4333) - .saturating_add(RocksDbWeight::get().reads(10_u64)) + // Measured: `776` + // Estimated: `4241` + // Minimum execution time: 33_834_000 picoseconds. + Weight::from_parts(34_626_000, 4241) + .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } - /// Storage: SmartContractModule Contracts (r:1 w:1) - /// Proof Skipped: SmartContractModule Contracts (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Twins (r:1 w:0) - /// Proof Skipped: TfgridModule Twins (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ActiveNodeContracts (r:1 w:0) - /// Proof Skipped: SmartContractModule ActiveNodeContracts (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule TwinBoundedAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinBoundedAccountID (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: SmartContractModule ContractLock (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractLock (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule PricingPolicies (r:1 w:0) - /// Proof Skipped: TfgridModule PricingPolicies (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule DedicatedNodesExtraFee (r:1 w:0) - /// Proof Skipped: SmartContractModule DedicatedNodesExtraFee (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule BillingFrequency (r:1 w:0) - /// Proof Skipped: SmartContractModule BillingFrequency (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractsToBillAt (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractsToBillAt (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ActiveRentContractForNode (r:0 w:1) - /// Proof Skipped: SmartContractModule ActiveRentContractForNode (max_values: None, max_size: None, mode: Measured) + /// Storage: `SmartContractModule::Contracts` (r:1 w:1) + /// Proof: `SmartContractModule::Contracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Twins` (r:1 w:0) + /// Proof: `TfgridModule::Twins` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveNodeContracts` (r:1 w:0) + /// Proof: `SmartContractModule::ActiveNodeContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Nodes` (r:1 w:0) + /// Proof: `TfgridModule::Nodes` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodePower` (r:1 w:0) + /// Proof: `TfgridModule::NodePower` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::TwinBoundedAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinBoundedAccountID` (`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: `SmartContractModule::ContractLock` (r:1 w:1) + /// Proof: `SmartContractModule::ContractLock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::PricingPolicies` (r:1 w:0) + /// Proof: `TfgridModule::PricingPolicies` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::DedicatedNodesExtraFee` (r:1 w:0) + /// Proof: `SmartContractModule::DedicatedNodesExtraFee` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::BillingFrequency` (r:1 w:0) + /// Proof: `SmartContractModule::BillingFrequency` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractsToBillAt` (r:1 w:1) + /// Proof: `SmartContractModule::ContractsToBillAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveRentContractForNode` (r:0 w:1) + /// Proof: `SmartContractModule::ActiveRentContractForNode` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_rent_contract() -> Weight { // Proof Size summary in bytes: - // Measured: `1071` - // Estimated: `4536` - // Minimum execution time: 114_334_000 picoseconds. - Weight::from_parts(118_126_000, 4536) - .saturating_add(RocksDbWeight::get().reads(10_u64)) + // Measured: `1284` + // Estimated: `4749` + // Minimum execution time: 58_010_000 picoseconds. + Weight::from_parts(58_931_000, 4749) + .saturating_add(RocksDbWeight::get().reads(12_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } - /// Storage: SmartContractModule SolutionProviderID (r:1 w:1) - /// Proof Skipped: SmartContractModule SolutionProviderID (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: SmartContractModule SolutionProviders (r:0 w:1) - /// Proof Skipped: SmartContractModule SolutionProviders (max_values: None, max_size: None, mode: Measured) + /// Storage: `SmartContractModule::SolutionProviderID` (r:1 w:1) + /// Proof: `SmartContractModule::SolutionProviderID` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::SolutionProviders` (r:0 w:1) + /// Proof: `SmartContractModule::SolutionProviders` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_solution_provider() -> Weight { // Proof Size summary in bytes: // Measured: `37` // Estimated: `1522` - // Minimum execution time: 24_361_000 picoseconds. - Weight::from_parts(25_532_000, 1522) + // Minimum execution time: 9_629_000 picoseconds. + Weight::from_parts(9_729_000, 1522) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: SmartContractModule SolutionProviders (r:1 w:1) - /// Proof Skipped: SmartContractModule SolutionProviders (max_values: None, max_size: None, mode: Measured) + /// Storage: `SmartContractModule::SolutionProviders` (r:1 w:1) + /// Proof: `SmartContractModule::SolutionProviders` (`max_values`: None, `max_size`: None, mode: `Measured`) fn approve_solution_provider() -> Weight { // Proof Size summary in bytes: // Measured: `215` // Estimated: `3680` - // Minimum execution time: 28_651_000 picoseconds. - Weight::from_parts(29_486_000, 3680) + // Minimum execution time: 12_483_000 picoseconds. + Weight::from_parts(12_875_000, 3680) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: SmartContractModule Contracts (r:1 w:0) - /// Proof Skipped: SmartContractModule Contracts (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Twins (r:1 w:0) - /// Proof Skipped: TfgridModule Twins (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: TfgridModule TwinBoundedAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinBoundedAccountID (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: SmartContractModule ContractLock (r:1 w:0) - /// Proof Skipped: SmartContractModule ContractLock (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule PricingPolicies (r:1 w:0) - /// Proof Skipped: TfgridModule PricingPolicies (max_values: None, max_size: None, mode: Measured) + /// Storage: `SmartContractModule::Contracts` (r:1 w:0) + /// Proof: `SmartContractModule::Contracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Twins` (r:1 w:0) + /// Proof: `TfgridModule::Twins` (`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: `TfgridModule::TwinBoundedAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinBoundedAccountID` (`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: `SmartContractModule::ContractLock` (r:1 w:1) + /// Proof: `SmartContractModule::ContractLock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::PricingPolicies` (r:1 w:0) + /// Proof: `TfgridModule::PricingPolicies` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractBillingInformationByID` (r:1 w:1) + /// Proof: `SmartContractModule::ContractBillingInformationByID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Nodes` (r:1 w:0) + /// Proof: `TfgridModule::Nodes` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::NodeContractResources` (r:1 w:0) + /// Proof: `SmartContractModule::NodeContractResources` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveRentContractForNode` (r:1 w:0) + /// Proof: `SmartContractModule::ActiveRentContractForNode` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TFTPriceModule::AverageTftPrice` (r:1 w:0) + /// Proof: `TFTPriceModule::AverageTftPrice` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTPriceModule::MinTftPrice` (r:1 w:0) + /// Proof: `TFTPriceModule::MinTftPrice` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTPriceModule::MaxTftPrice` (r:1 w:0) + /// Proof: `TFTPriceModule::MaxTftPrice` (`max_values`: Some(1), `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(49), added: 2524, mode: `MaxEncodedLen`) fn bill_contract_for_block() -> Weight { // Proof Size summary in bytes: - // Measured: `1216` - // Estimated: `4681` - // Minimum execution time: 56_839_000 picoseconds. - Weight::from_parts(58_569_000, 4681) - .saturating_add(RocksDbWeight::get().reads(7_u64)) + // Measured: `1608` + // Estimated: `5073` + // Minimum execution time: 77_637_000 picoseconds. + Weight::from_parts(78_679_000, 5073) + .saturating_add(RocksDbWeight::get().reads(16_u64)) + .saturating_add(RocksDbWeight::get().writes(4_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:2 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ServiceContractID (r:1 w:1) - /// Proof Skipped: SmartContractModule ServiceContractID (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: SmartContractModule ServiceContracts (r:0 w:1) - /// Proof Skipped: SmartContractModule ServiceContracts (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:2 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ServiceContractID` (r:1 w:1) + /// Proof: `SmartContractModule::ServiceContractID` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ServiceContracts` (r:0 w:1) + /// Proof: `SmartContractModule::ServiceContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) fn service_contract_create() -> Weight { // Proof Size summary in bytes: // Measured: `395` // Estimated: `6335` - // Minimum execution time: 40_172_000 picoseconds. - Weight::from_parts(41_719_000, 6335) + // Minimum execution time: 18_054_000 picoseconds. + Weight::from_parts(18_635_000, 6335) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ServiceContracts (r:1 w:1) - /// Proof Skipped: SmartContractModule ServiceContracts (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ServiceContracts` (r:1 w:1) + /// Proof: `SmartContractModule::ServiceContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) fn service_contract_set_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `489` // Estimated: `3954` - // Minimum execution time: 35_442_000 picoseconds. - Weight::from_parts(36_518_000, 3954) + // Minimum execution time: 16_201_000 picoseconds. + Weight::from_parts(16_742_000, 3954) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ServiceContracts (r:1 w:1) - /// Proof Skipped: SmartContractModule ServiceContracts (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ServiceContracts` (r:1 w:1) + /// Proof: `SmartContractModule::ServiceContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) fn service_contract_set_fees() -> Weight { // Proof Size summary in bytes: // Measured: `489` // Estimated: `3954` - // Minimum execution time: 34_663_000 picoseconds. - Weight::from_parts(35_371_000, 3954) + // Minimum execution time: 15_980_000 picoseconds. + Weight::from_parts(16_321_000, 3954) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ServiceContracts (r:1 w:1) - /// Proof Skipped: SmartContractModule ServiceContracts (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ServiceContracts` (r:1 w:1) + /// Proof: `SmartContractModule::ServiceContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) fn service_contract_approve() -> Weight { // Proof Size summary in bytes: // Measured: `502` // Estimated: `3967` - // Minimum execution time: 34_967_000 picoseconds. - Weight::from_parts(36_503_000, 3967) + // Minimum execution time: 16_251_000 picoseconds. + Weight::from_parts(16_572_000, 3967) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ServiceContracts (r:1 w:1) - /// Proof Skipped: SmartContractModule ServiceContracts (max_values: None, max_size: None, mode: Measured) + /// Storage: `SmartContractModule::ServiceContracts` (r:1 w:1) + /// Proof: `SmartContractModule::ServiceContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) fn service_contract_reject() -> Weight { // Proof Size summary in bytes: // Measured: `502` // Estimated: `3967` - // Minimum execution time: 36_210_000 picoseconds. - Weight::from_parts(37_826_000, 3967) + // Minimum execution time: 16_801_000 picoseconds. + Weight::from_parts(17_022_000, 3967) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ServiceContracts (r:1 w:1) - /// Proof Skipped: SmartContractModule ServiceContracts (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ServiceContracts` (r:1 w:1) + /// Proof: `SmartContractModule::ServiceContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) fn service_contract_cancel() -> Weight { // Proof Size summary in bytes: // Measured: `502` // Estimated: `3967` - // Minimum execution time: 33_426_000 picoseconds. - Weight::from_parts(34_600_000, 3967) + // Minimum execution time: 15_720_000 picoseconds. + Weight::from_parts(16_040_000, 3967) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ServiceContracts (r:1 w:1) - /// Proof Skipped: SmartContractModule ServiceContracts (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: TfgridModule Twins (r:2 w:0) - /// Proof Skipped: TfgridModule Twins (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: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ServiceContracts` (r:1 w:1) + /// Proof: `SmartContractModule::ServiceContracts` (`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: `TfgridModule::Twins` (r:2 w:0) + /// Proof: `TfgridModule::Twins` (`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`) fn service_contract_bill() -> Weight { // Proof Size summary in bytes: // Measured: `841` // Estimated: `6781` - // Minimum execution time: 61_064_000 picoseconds. - Weight::from_parts(64_267_000, 6781) + // Minimum execution time: 29_455_000 picoseconds. + Weight::from_parts(29_997_000, 6781) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: SmartContractModule BillingFrequency (r:1 w:1) - /// Proof Skipped: SmartContractModule BillingFrequency (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `SmartContractModule::BillingFrequency` (r:1 w:1) + /// Proof: `SmartContractModule::BillingFrequency` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn change_billing_frequency() -> Weight { // Proof Size summary in bytes: // Measured: `37` // Estimated: `1522` - // Minimum execution time: 17_066_000 picoseconds. - Weight::from_parts(17_649_000, 1522) + // Minimum execution time: 7_524_000 picoseconds. + Weight::from_parts(8_185_000, 1522) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: SmartContractModule SolutionProviders (r:1 w:0) - /// Proof Skipped: SmartContractModule SolutionProviders (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule Contracts (r:1 w:1) - /// Proof Skipped: SmartContractModule Contracts (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) + /// Storage: `SmartContractModule::SolutionProviders` (r:1 w:0) + /// Proof: `SmartContractModule::SolutionProviders` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::Contracts` (r:1 w:1) + /// Proof: `SmartContractModule::Contracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) fn attach_solution_provider_id() -> Weight { // Proof Size summary in bytes: // Measured: `971` // Estimated: `4436` - // Minimum execution time: 44_207_000 picoseconds. - Weight::from_parts(46_180_000, 4436) + // Minimum execution time: 21_420_000 picoseconds. + Weight::from_parts(21_801_000, 4436) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Nodes (r:1 w:0) - /// Proof Skipped: TfgridModule Nodes (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Farms (r:1 w:0) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ActiveRentContractForNode (r:1 w:0) - /// Proof Skipped: SmartContractModule ActiveRentContractForNode (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ActiveNodeContracts (r:1 w:0) - /// Proof Skipped: SmartContractModule ActiveNodeContracts (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule DedicatedNodesExtraFee (r:0 w:1) - /// Proof Skipped: SmartContractModule DedicatedNodesExtraFee (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Nodes` (r:1 w:0) + /// Proof: `TfgridModule::Nodes` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Farms` (r:1 w:0) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveNodeContracts` (r:1 w:0) + /// Proof: `SmartContractModule::ActiveNodeContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveRentContractForNode` (r:1 w:0) + /// Proof: `SmartContractModule::ActiveRentContractForNode` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::DedicatedNodesExtraFee` (r:0 w:1) + /// Proof: `SmartContractModule::DedicatedNodesExtraFee` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_dedicated_node_extra_fee() -> Weight { // Proof Size summary in bytes: // Measured: `733` // Estimated: `4198` - // Minimum execution time: 46_778_000 picoseconds. - Weight::from_parts(48_978_000, 4198) + // Minimum execution time: 22_602_000 picoseconds. + Weight::from_parts(22_923_000, 4198) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: SmartContractModule Contracts (r:1 w:1) - /// Proof Skipped: SmartContractModule Contracts (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ActiveNodeContracts (r:1 w:1) - /// Proof Skipped: SmartContractModule ActiveNodeContracts (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Twins (r:1 w:0) - /// Proof Skipped: TfgridModule Twins (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule TwinBoundedAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinBoundedAccountID (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: SmartContractModule ContractLock (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractLock (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule PricingPolicies (r:1 w:0) - /// Proof Skipped: TfgridModule PricingPolicies (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule BillingFrequency (r:1 w:0) - /// Proof Skipped: SmartContractModule BillingFrequency (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractsToBillAt (r:1 w:1) - /// Proof Skipped: SmartContractModule ContractsToBillAt (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractBillingInformationByID (r:0 w:1) - /// Proof Skipped: SmartContractModule ContractBillingInformationByID (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule NodeContractResources (r:0 w:1) - /// Proof Skipped: SmartContractModule NodeContractResources (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ContractIDByNodeIDAndHash (r:0 w:1) - /// Proof Skipped: SmartContractModule ContractIDByNodeIDAndHash (max_values: None, max_size: None, mode: Measured) + /// Storage: `SmartContractModule::Contracts` (r:1 w:1) + /// Proof: `SmartContractModule::Contracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveNodeContracts` (r:1 w:1) + /// Proof: `SmartContractModule::ActiveNodeContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Twins` (r:1 w:0) + /// Proof: `TfgridModule::Twins` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::TwinBoundedAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinBoundedAccountID` (`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: `SmartContractModule::ContractLock` (r:1 w:1) + /// Proof: `SmartContractModule::ContractLock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::PricingPolicies` (r:1 w:0) + /// Proof: `TfgridModule::PricingPolicies` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::BillingFrequency` (r:1 w:0) + /// Proof: `SmartContractModule::BillingFrequency` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractsToBillAt` (r:1 w:1) + /// Proof: `SmartContractModule::ContractsToBillAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractBillingInformationByID` (r:0 w:1) + /// Proof: `SmartContractModule::ContractBillingInformationByID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::NodeContractResources` (r:0 w:1) + /// Proof: `SmartContractModule::NodeContractResources` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ContractIDByNodeIDAndHash` (r:0 w:1) + /// Proof: `SmartContractModule::ContractIDByNodeIDAndHash` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_contract_collective() -> Weight { // Proof Size summary in bytes: // Measured: `1203` // Estimated: `4668` - // Minimum execution time: 90_735_000 picoseconds. - Weight::from_parts(92_827_000, 4668) + // Minimum execution time: 56_386_000 picoseconds. + Weight::from_parts(57_248_000, 4668) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } -} \ No newline at end of file +} diff --git a/substrate-node/pallets/pallet-tfgrid/src/weights.rs b/substrate-node/pallets/pallet-tfgrid/src/weights.rs index f01cfff92..2582db10d 100644 --- a/substrate-node/pallets/pallet-tfgrid/src/weights.rs +++ b/substrate-node/pallets/pallet-tfgrid/src/weights.rs @@ -2,21 +2,21 @@ //! Autogenerated weights for pallet_tfgrid //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-02-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `R1-HP-ProBook-630-G8`, CPU: `11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `7c9e9392584e`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// ./target/release/tfchain +// ./target/production/tfchain // benchmark // pallet // --chain=dev -// --pallet=pallet_tfgrid +// --wasm-execution=compiled +// --pallet=pallet-tfgrid // --extrinsic=* // --steps=50 // --repeat=20 -// --execution=wasm // --heap-pages=409 // --output // ./pallets/pallet-tfgrid/src/weights.rs @@ -70,960 +70,964 @@ pub trait WeightInfo { /// Weights for pallet_tfgrid using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { - /// Storage: TfgridModule PalletVersion (r:0 w:1) - /// Proof Skipped: TfgridModule PalletVersion (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TfgridModule::PalletVersion` (r:0 w:1) + /// Proof: `TfgridModule::PalletVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_storage_version() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_385_000 picoseconds. - Weight::from_parts(5_643_000, 0) + // Minimum execution time: 3_586_000 picoseconds. + Weight::from_parts(3_777_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule FarmID (r:1 w:1) - /// Proof Skipped: TfgridModule FarmID (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Twins (r:1 w:0) - /// Proof Skipped: TfgridModule Twins (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule FarmIdByName (r:1 w:1) - /// Proof Skipped: TfgridModule FarmIdByName (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Farms (r:0 w:1) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Twins` (r:1 w:0) + /// Proof: `TfgridModule::Twins` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::FarmIdByName` (r:1 w:1) + /// Proof: `TfgridModule::FarmIdByName` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::FarmID` (r:1 w:1) + /// Proof: `TfgridModule::FarmID` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Farms` (r:0 w:1) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_farm() -> Weight { // Proof Size summary in bytes: // Measured: `496` // Estimated: `3961` - // Minimum execution time: 31_394_000 picoseconds. - Weight::from_parts(32_172_000, 3961) + // Minimum execution time: 31_820_000 picoseconds. + Weight::from_parts(32_532_000, 3961) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Farms (r:1 w:1) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule FarmIdByName (r:1 w:1) - /// Proof Skipped: TfgridModule FarmIdByName (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Farms` (r:1 w:1) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::FarmIdByName` (r:1 w:2) + /// Proof: `TfgridModule::FarmIdByName` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_farm() -> Weight { // Proof Size summary in bytes: // Measured: `507` // Estimated: `3972` - // Minimum execution time: 33_504_000 picoseconds. - Weight::from_parts(34_515_000, 3972) + // Minimum execution time: 34_174_000 picoseconds. + Weight::from_parts(34_906_000, 3972) .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Farms (r:1 w:0) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule FarmPayoutV2AddressByFarmID (r:0 w:1) - /// Proof Skipped: TfgridModule FarmPayoutV2AddressByFarmID (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Farms` (r:1 w:0) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::FarmPayoutV2AddressByFarmID` (r:0 w:1) + /// Proof: `TfgridModule::FarmPayoutV2AddressByFarmID` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_stellar_payout_v2address() -> Weight { // Proof Size summary in bytes: // Measured: `453` // Estimated: `3918` - // Minimum execution time: 24_636_000 picoseconds. - Weight::from_parts(25_319_000, 3918) + // Minimum execution time: 15_189_000 picoseconds. + Weight::from_parts(25_629_000, 3918) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule Farms (r:1 w:1) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::Farms` (r:1 w:1) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_farm_certification() -> Weight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3877` - // Minimum execution time: 20_870_000 picoseconds. - Weight::from_parts(21_177_000, 3877) + // Minimum execution time: 12_594_000 picoseconds. + Weight::from_parts(12_855_000, 3877) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule Farms (r:1 w:1) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Twins (r:1 w:0) - /// Proof Skipped: TfgridModule Twins (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::Farms` (r:1 w:1) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Twins` (r:1 w:0) + /// Proof: `TfgridModule::Twins` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_farm_ip() -> Weight { // Proof Size summary in bytes: // Measured: `569` // Estimated: `4034` - // Minimum execution time: 27_994_000 picoseconds. - Weight::from_parts(31_496_000, 4034) + // Minimum execution time: 17_182_000 picoseconds. + Weight::from_parts(17_513_000, 4034) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule Farms (r:1 w:1) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Twins (r:1 w:0) - /// Proof Skipped: TfgridModule Twins (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::Farms` (r:1 w:1) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Twins` (r:1 w:0) + /// Proof: `TfgridModule::Twins` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_farm_ip() -> Weight { // Proof Size summary in bytes: // Measured: `569` // Estimated: `4034` - // Minimum execution time: 26_365_000 picoseconds. - Weight::from_parts(27_079_000, 4034) + // Minimum execution time: 16_441_000 picoseconds. + Weight::from_parts(16_701_000, 4034) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule Farms (r:1 w:0) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodeIdByTwinID (r:1 w:1) - /// Proof Skipped: TfgridModule NodeIdByTwinID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodeID (r:1 w:1) - /// Proof Skipped: TfgridModule NodeID (max_values: Some(1), 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: TfgridModule ConnectionPrice (r:1 w:0) - /// Proof Skipped: TfgridModule ConnectionPrice (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TfgridModule FarmingPoliciesMap (r:4 w:0) - /// Proof Skipped: TfgridModule FarmingPoliciesMap (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodesByFarmID (r:1 w:1) - /// Proof Skipped: TfgridModule NodesByFarmID (max_values: None, max_size: None, mode: Measured) - /// Storage: Dao FarmWeight (r:1 w:1) - /// Proof Skipped: Dao FarmWeight (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Nodes (r:0 w:1) - /// Proof Skipped: TfgridModule Nodes (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::Farms` (r:1 w:0) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodeIdByTwinID` (r:1 w:1) + /// Proof: `TfgridModule::NodeIdByTwinID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodeID` (r:1 w:1) + /// Proof: `TfgridModule::NodeID` (`max_values`: Some(1), `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: `TfgridModule::ConnectionPrice` (r:1 w:0) + /// Proof: `TfgridModule::ConnectionPrice` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::FarmingPoliciesMap` (r:4 w:0) + /// Proof: `TfgridModule::FarmingPoliciesMap` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodesByFarmID` (r:1 w:1) + /// Proof: `TfgridModule::NodesByFarmID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dao::FarmWeight` (r:1 w:1) + /// Proof: `Dao::FarmWeight` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Nodes` (r:0 w:1) + /// Proof: `TfgridModule::Nodes` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_node() -> Weight { // Proof Size summary in bytes: // Measured: `905` // Estimated: `11795` - // Minimum execution time: 71_884_000 picoseconds. - Weight::from_parts(74_159_000, 11795) + // Minimum execution time: 45_827_000 picoseconds. + Weight::from_parts(46_598_000, 11795) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: TfgridModule Nodes (r:1 w:1) - /// Proof Skipped: TfgridModule Nodes (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Farms (r:1 w:0) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) - /// Storage: Dao FarmWeight (r:1 w:1) - /// Proof Skipped: Dao FarmWeight (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::Nodes` (r:1 w:1) + /// Proof: `TfgridModule::Nodes` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Farms` (r:1 w:0) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dao::FarmWeight` (r:1 w:1) + /// Proof: `Dao::FarmWeight` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_node() -> Weight { // Proof Size summary in bytes: // Measured: `661` // Estimated: `4126` - // Minimum execution time: 41_641_000 picoseconds. - Weight::from_parts(42_797_000, 4126) + // Minimum execution time: 25_889_000 picoseconds. + Weight::from_parts(26_531_000, 4126) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: TfgridModule Nodes (r:1 w:1) - /// Proof Skipped: TfgridModule Nodes (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule FarmingPoliciesMap (r:4 w:0) - /// Proof Skipped: TfgridModule FarmingPoliciesMap (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Farms (r:1 w:0) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::Nodes` (r:1 w:1) + /// Proof: `TfgridModule::Nodes` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::FarmingPoliciesMap` (r:4 w:0) + /// Proof: `TfgridModule::FarmingPoliciesMap` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Farms` (r:1 w:0) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_node_certification() -> Weight { // Proof Size summary in bytes: // Measured: `956` // Estimated: `11846` - // Minimum execution time: 53_080_000 picoseconds. - Weight::from_parts(54_350_000, 11846) + // Minimum execution time: 33_123_000 picoseconds. + Weight::from_parts(33_884_000, 11846) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodeIdByTwinID (r:1 w:0) - /// Proof Skipped: TfgridModule NodeIdByTwinID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Nodes (r:1 w:0) - /// Proof Skipped: TfgridModule Nodes (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: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodeIdByTwinID` (r:1 w:0) + /// Proof: `TfgridModule::NodeIdByTwinID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Nodes` (r:1 w:0) + /// Proof: `TfgridModule::Nodes` (`max_values`: None, `max_size`: None, mode: `Measured`) fn report_uptime() -> Weight { // Proof Size summary in bytes: // Measured: `454` // Estimated: `3919` - // Minimum execution time: 28_159_000 picoseconds. - Weight::from_parts(28_543_000, 3919) + // Minimum execution time: 18_114_000 picoseconds. + Weight::from_parts(18_384_000, 3919) .saturating_add(T::DbWeight::get().reads(4_u64)) } - /// Storage: TfgridModule Farms (r:1 w:0) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Twins (r:1 w:0) - /// Proof Skipped: TfgridModule Twins (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Nodes (r:1 w:1) - /// Proof Skipped: TfgridModule Nodes (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::Farms` (r:1 w:0) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Twins` (r:1 w:0) + /// Proof: `TfgridModule::Twins` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Nodes` (r:1 w:1) + /// Proof: `TfgridModule::Nodes` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_node_public_config() -> Weight { // Proof Size summary in bytes: // Measured: `779` // Estimated: `4244` - // Minimum execution time: 37_090_000 picoseconds. - Weight::from_parts(38_269_000, 4244) + // Minimum execution time: 23_945_000 picoseconds. + Weight::from_parts(24_246_000, 4244) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule Nodes (r:1 w:1) - /// Proof Skipped: TfgridModule Nodes (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodesByFarmID (r:1 w:1) - /// Proof Skipped: TfgridModule NodesByFarmID (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ActiveNodeContracts (r:1 w:0) - /// Proof Skipped: SmartContractModule ActiveNodeContracts (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ActiveRentContractForNode (r:1 w:0) - /// Proof Skipped: SmartContractModule ActiveRentContractForNode (max_values: None, max_size: None, mode: Measured) - /// Storage: Dao FarmWeight (r:1 w:1) - /// Proof Skipped: Dao FarmWeight (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::Nodes` (r:1 w:1) + /// Proof: `TfgridModule::Nodes` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodesByFarmID` (r:1 w:1) + /// Proof: `TfgridModule::NodesByFarmID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveNodeContracts` (r:1 w:0) + /// Proof: `SmartContractModule::ActiveNodeContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveRentContractForNode` (r:1 w:0) + /// Proof: `SmartContractModule::ActiveRentContractForNode` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dao::FarmWeight` (r:1 w:1) + /// Proof: `Dao::FarmWeight` (`max_values`: None, `max_size`: None, mode: `Measured`) fn delete_node() -> Weight { // Proof Size summary in bytes: // Measured: `682` // Estimated: `4147` - // Minimum execution time: 40_802_000 picoseconds. - Weight::from_parts(41_890_000, 4147) + // Minimum execution time: 26_590_000 picoseconds. + Weight::from_parts(27_122_000, 4147) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: TfgridModule UsersTermsAndConditions (r:1 w:0) - /// Proof Skipped: TfgridModule UsersTermsAndConditions (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:1) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule TwinID (r:1 w:1) - /// Proof Skipped: TfgridModule TwinID (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TfgridModule Twins (r:0 w:1) - /// Proof Skipped: TfgridModule Twins (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::UsersTermsAndConditions` (r:1 w:0) + /// Proof: `TfgridModule::UsersTermsAndConditions` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:1) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::TwinID` (r:1 w:1) + /// Proof: `TfgridModule::TwinID` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Twins` (r:0 w:1) + /// Proof: `TfgridModule::Twins` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_twin() -> Weight { // Proof Size summary in bytes: // Measured: `235` // Estimated: `3700` - // Minimum execution time: 23_943_000 picoseconds. - Weight::from_parts(24_477_000, 3700) + // Minimum execution time: 13_866_000 picoseconds. + Weight::from_parts(14_287_000, 3700) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Twins (r:1 w:1) - /// Proof Skipped: TfgridModule Twins (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Twins` (r:1 w:1) + /// Proof: `TfgridModule::Twins` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_twin() -> Weight { // Proof Size summary in bytes: // Measured: `428` // Estimated: `3893` - // Minimum execution time: 23_757_000 picoseconds. - Weight::from_parts(24_337_000, 3893) + // Minimum execution time: 14_548_000 picoseconds. + Weight::from_parts(14_918_000, 3893) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule PricingPolicyIdByName (r:1 w:1) - /// Proof Skipped: TfgridModule PricingPolicyIdByName (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule PricingPolicyID (r:1 w:1) - /// Proof Skipped: TfgridModule PricingPolicyID (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TfgridModule PricingPolicies (r:0 w:1) - /// Proof Skipped: TfgridModule PricingPolicies (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::PricingPolicyIdByName` (r:1 w:1) + /// Proof: `TfgridModule::PricingPolicyIdByName` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::PricingPolicyID` (r:1 w:1) + /// Proof: `TfgridModule::PricingPolicyID` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::PricingPolicies` (r:0 w:1) + /// Proof: `TfgridModule::PricingPolicies` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_pricing_policy() -> Weight { // Proof Size summary in bytes: // Measured: `134` // Estimated: `3599` - // Minimum execution time: 20_931_000 picoseconds. - Weight::from_parts(21_633_000, 3599) + // Minimum execution time: 11_652_000 picoseconds. + Weight::from_parts(11_952_000, 3599) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: TfgridModule PricingPolicies (r:1 w:1) - /// Proof Skipped: TfgridModule PricingPolicies (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule PricingPolicyIdByName (r:1 w:1) - /// Proof Skipped: TfgridModule PricingPolicyIdByName (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule PricingPolicyID (r:0 w:1) - /// Proof Skipped: TfgridModule PricingPolicyID (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TfgridModule::PricingPolicies` (r:1 w:1) + /// Proof: `TfgridModule::PricingPolicies` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::PricingPolicyIdByName` (r:1 w:1) + /// Proof: `TfgridModule::PricingPolicyIdByName` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::PricingPolicyID` (r:0 w:1) + /// Proof: `TfgridModule::PricingPolicyID` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn update_pricing_policy() -> Weight { // Proof Size summary in bytes: // Measured: `382` // Estimated: `3847` - // Minimum execution time: 26_466_000 picoseconds. - Weight::from_parts(27_478_000, 3847) + // Minimum execution time: 16_181_000 picoseconds. + Weight::from_parts(16_611_000, 3847) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: TfgridModule FarmingPolicyID (r:1 w:1) - /// Proof Skipped: TfgridModule FarmingPolicyID (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TfgridModule FarmingPoliciesMap (r:0 w:1) - /// Proof Skipped: TfgridModule FarmingPoliciesMap (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::FarmingPolicyID` (r:1 w:1) + /// Proof: `TfgridModule::FarmingPolicyID` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::FarmingPoliciesMap` (r:0 w:1) + /// Proof: `TfgridModule::FarmingPoliciesMap` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_farming_policy() -> Weight { // Proof Size summary in bytes: // Measured: `134` // Estimated: `1619` - // Minimum execution time: 17_653_000 picoseconds. - Weight::from_parts(18_085_000, 1619) + // Minimum execution time: 9_808_000 picoseconds. + Weight::from_parts(10_129_000, 1619) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: TfgridModule UsersTermsAndConditions (r:1 w:1) - /// Proof Skipped: TfgridModule UsersTermsAndConditions (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: `TfgridModule::UsersTermsAndConditions` (r:1 w:1) + /// Proof: `TfgridModule::UsersTermsAndConditions` (`max_values`: None, `max_size`: None, mode: `Measured`) fn user_accept_tc() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3605` - // Minimum execution time: 12_183_000 picoseconds. - Weight::from_parts(12_508_000, 3605) + // Minimum execution time: 7_193_000 picoseconds. + Weight::from_parts(7_354_000, 3605) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Nodes (r:1 w:1) - /// Proof Skipped: TfgridModule Nodes (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Farms (r:1 w:0) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Twins (r:1 w:0) - /// Proof Skipped: TfgridModule Twins (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodesByFarmID (r:1 w:1) - /// Proof Skipped: TfgridModule NodesByFarmID (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ActiveNodeContracts (r:1 w:0) - /// Proof Skipped: SmartContractModule ActiveNodeContracts (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ActiveRentContractForNode (r:1 w:0) - /// Proof Skipped: SmartContractModule ActiveRentContractForNode (max_values: None, max_size: None, mode: Measured) - /// Storage: Dao FarmWeight (r:1 w:1) - /// Proof Skipped: Dao FarmWeight (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodeIdByTwinID (r:0 w:1) - /// Proof Skipped: TfgridModule NodeIdByTwinID (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Nodes` (r:1 w:1) + /// Proof: `TfgridModule::Nodes` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Farms` (r:1 w:0) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodesByFarmID` (r:1 w:1) + /// Proof: `TfgridModule::NodesByFarmID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveNodeContracts` (r:1 w:0) + /// Proof: `SmartContractModule::ActiveNodeContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveRentContractForNode` (r:1 w:0) + /// Proof: `SmartContractModule::ActiveRentContractForNode` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dao::FarmWeight` (r:1 w:1) + /// Proof: `Dao::FarmWeight` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodeIdByTwinID` (r:0 w:1) + /// Proof: `TfgridModule::NodeIdByTwinID` (`max_values`: None, `max_size`: None, mode: `Measured`) fn delete_node_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `985` - // Estimated: `4450` - // Minimum execution time: 55_311_000 picoseconds. - Weight::from_parts(56_386_000, 4450) - .saturating_add(T::DbWeight::get().reads(8_u64)) + // Measured: `828` + // Estimated: `4293` + // Minimum execution time: 31_320_000 picoseconds. + Weight::from_parts(31_881_000, 4293) + .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: TfgridModule Farms (r:1 w:1) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::Farms` (r:1 w:1) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_farm_dedicated() -> Weight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3877` - // Minimum execution time: 21_411_000 picoseconds. - Weight::from_parts(21_921_000, 3877) + // Minimum execution time: 13_125_000 picoseconds. + Weight::from_parts(13_405_000, 3877) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule Farms (r:1 w:1) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::Farms` (r:1 w:1) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_reset_farm_ip() -> Weight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3877` - // Minimum execution time: 23_493_000 picoseconds. - Weight::from_parts(24_448_000, 3877) + // Minimum execution time: 13_104_000 picoseconds. + Weight::from_parts(13_405_000, 3877) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule ConnectionPrice (r:0 w:1) - /// Proof Skipped: TfgridModule ConnectionPrice (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TfgridModule::ConnectionPrice` (r:0 w:1) + /// Proof: `TfgridModule::ConnectionPrice` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_connection_price() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_801_000 picoseconds. - Weight::from_parts(10_091_000, 0) + // Minimum execution time: 5_300_000 picoseconds. + Weight::from_parts(5_541_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule AllowedNodeCertifiers (r:1 w:1) - /// Proof Skipped: TfgridModule AllowedNodeCertifiers (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TfgridModule::AllowedNodeCertifiers` (r:1 w:1) + /// Proof: `TfgridModule::AllowedNodeCertifiers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn add_node_certifier() -> Weight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `1840` - // Minimum execution time: 15_518_000 picoseconds. - Weight::from_parts(16_227_000, 1840) + // Minimum execution time: 9_297_000 picoseconds. + Weight::from_parts(9_638_000, 1840) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule AllowedNodeCertifiers (r:1 w:1) - /// Proof Skipped: TfgridModule AllowedNodeCertifiers (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TfgridModule::AllowedNodeCertifiers` (r:1 w:1) + /// Proof: `TfgridModule::AllowedNodeCertifiers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn remove_node_certifier() -> Weight { // Proof Size summary in bytes: // Measured: `413` // Estimated: `1898` - // Minimum execution time: 18_573_000 picoseconds. - Weight::from_parts(19_049_000, 1898) + // Minimum execution time: 11_702_000 picoseconds. + Weight::from_parts(12_022_000, 1898) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule FarmingPoliciesMap (r:1 w:1) - /// Proof Skipped: TfgridModule FarmingPoliciesMap (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::FarmingPoliciesMap` (r:1 w:1) + /// Proof: `TfgridModule::FarmingPoliciesMap` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_farming_policy() -> Weight { // Proof Size summary in bytes: // Measured: `294` // Estimated: `3759` - // Minimum execution time: 21_450_000 picoseconds. - Weight::from_parts(22_654_000, 3759) + // Minimum execution time: 12_524_000 picoseconds. + Weight::from_parts(12_995_000, 3759) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule FarmingPoliciesMap (r:1 w:0) - /// Proof Skipped: TfgridModule FarmingPoliciesMap (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Farms (r:1 w:1) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodesByFarmID (r:1 w:0) - /// Proof Skipped: TfgridModule NodesByFarmID (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::FarmingPoliciesMap` (r:1 w:0) + /// Proof: `TfgridModule::FarmingPoliciesMap` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Farms` (r:1 w:1) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodesByFarmID` (r:1 w:0) + /// Proof: `TfgridModule::NodesByFarmID` (`max_values`: None, `max_size`: None, mode: `Measured`) fn attach_policy_to_farm() -> Weight { // Proof Size summary in bytes: // Measured: `572` // Estimated: `4037` - // Minimum execution time: 35_866_000 picoseconds. - Weight::from_parts(36_635_000, 4037) + // Minimum execution time: 21_410_000 picoseconds. + Weight::from_parts(21_892_000, 4037) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule ZosVersion (r:1 w:1) - /// Proof Skipped: TfgridModule ZosVersion (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TfgridModule::ZosVersion` (r:1 w:1) + /// Proof: `TfgridModule::ZosVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_zos_version() -> Weight { // Proof Size summary in bytes: // Measured: `134` // Estimated: `1619` - // Minimum execution time: 13_431_000 picoseconds. - Weight::from_parts(14_115_000, 1619) + // Minimum execution time: 7_514_000 picoseconds. + Weight::from_parts(7_845_000, 1619) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodeIdByTwinID (r:1 w:0) - /// Proof Skipped: TfgridModule NodeIdByTwinID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Nodes (r:1 w:0) - /// Proof Skipped: TfgridModule Nodes (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodePower (r:1 w:1) - /// Proof Skipped: TfgridModule NodePower (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodeIdByTwinID` (r:1 w:0) + /// Proof: `TfgridModule::NodeIdByTwinID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Nodes` (r:1 w:0) + /// Proof: `TfgridModule::Nodes` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodePower` (r:1 w:1) + /// Proof: `TfgridModule::NodePower` (`max_values`: None, `max_size`: None, mode: `Measured`) fn change_power_state() -> Weight { // Proof Size summary in bytes: // Measured: `621` // Estimated: `4086` - // Minimum execution time: 33_189_000 picoseconds. - Weight::from_parts(34_120_000, 4086) + // Minimum execution time: 21_891_000 picoseconds. + Weight::from_parts(22_192_000, 4086) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Nodes (r:1 w:0) - /// Proof Skipped: TfgridModule Nodes (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Farms (r:1 w:0) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodePower (r:1 w:1) - /// Proof Skipped: TfgridModule NodePower (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Nodes` (r:1 w:0) + /// Proof: `TfgridModule::Nodes` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Farms` (r:1 w:0) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveNodeContracts` (r:1 w:0) + /// Proof: `SmartContractModule::ActiveNodeContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveRentContractForNode` (r:1 w:0) + /// Proof: `SmartContractModule::ActiveRentContractForNode` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodePower` (r:1 w:1) + /// Proof: `TfgridModule::NodePower` (`max_values`: None, `max_size`: None, mode: `Measured`) fn change_power_target() -> Weight { // Proof Size summary in bytes: - // Measured: `755` - // Estimated: `4220` - // Minimum execution time: 32_593_000 picoseconds. - Weight::from_parts(33_063_000, 4220) - .saturating_add(T::DbWeight::get().reads(4_u64)) + // Measured: `792` + // Estimated: `4257` + // Minimum execution time: 25_027_000 picoseconds. + Weight::from_parts(25_638_000, 4257) + .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule Twins (r:1 w:0) - /// Proof Skipped: TfgridModule Twins (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule TwinBoundedAccountID (r:0 w:1) - /// Proof Skipped: TfgridModule TwinBoundedAccountID (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::Twins` (r:1 w:0) + /// Proof: `TfgridModule::Twins` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::TwinBoundedAccountID` (r:0 w:1) + /// Proof: `TfgridModule::TwinBoundedAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) fn bond_twin_account() -> Weight { // Proof Size summary in bytes: // Measured: `387` // Estimated: `3852` - // Minimum execution time: 19_181_000 picoseconds. - Weight::from_parts(19_630_000, 3852) + // Minimum execution time: 11_342_000 picoseconds. + Weight::from_parts(11_592_000, 3852) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodeIdByTwinID (r:1 w:0) - /// Proof Skipped: TfgridModule NodeIdByTwinID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Nodes (r:1 w:0) - /// Proof Skipped: TfgridModule Nodes (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: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodeIdByTwinID` (r:1 w:0) + /// Proof: `TfgridModule::NodeIdByTwinID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Nodes` (r:1 w:0) + /// Proof: `TfgridModule::Nodes` (`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`) fn report_uptime_v2() -> Weight { // Proof Size summary in bytes: // Measured: `454` // Estimated: `3919` - // Minimum execution time: 26_974_000 picoseconds. - Weight::from_parts(28_212_000, 3919) + // Minimum execution time: 17_313_000 picoseconds. + Weight::from_parts(17_684_000, 3919) .saturating_add(T::DbWeight::get().reads(4_u64)) } } // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: TfgridModule PalletVersion (r:0 w:1) - /// Proof Skipped: TfgridModule PalletVersion (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TfgridModule::PalletVersion` (r:0 w:1) + /// Proof: `TfgridModule::PalletVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_storage_version() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_385_000 picoseconds. - Weight::from_parts(5_643_000, 0) + // Minimum execution time: 3_586_000 picoseconds. + Weight::from_parts(3_777_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule FarmID (r:1 w:1) - /// Proof Skipped: TfgridModule FarmID (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Twins (r:1 w:0) - /// Proof Skipped: TfgridModule Twins (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule FarmIdByName (r:1 w:1) - /// Proof Skipped: TfgridModule FarmIdByName (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Farms (r:0 w:1) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Twins` (r:1 w:0) + /// Proof: `TfgridModule::Twins` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::FarmIdByName` (r:1 w:1) + /// Proof: `TfgridModule::FarmIdByName` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::FarmID` (r:1 w:1) + /// Proof: `TfgridModule::FarmID` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Farms` (r:0 w:1) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_farm() -> Weight { // Proof Size summary in bytes: // Measured: `496` // Estimated: `3961` - // Minimum execution time: 31_394_000 picoseconds. - Weight::from_parts(32_172_000, 3961) + // Minimum execution time: 31_820_000 picoseconds. + Weight::from_parts(32_532_000, 3961) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Farms (r:1 w:1) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule FarmIdByName (r:1 w:1) - /// Proof Skipped: TfgridModule FarmIdByName (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Farms` (r:1 w:1) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::FarmIdByName` (r:1 w:2) + /// Proof: `TfgridModule::FarmIdByName` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_farm() -> Weight { // Proof Size summary in bytes: // Measured: `507` // Estimated: `3972` - // Minimum execution time: 33_504_000 picoseconds. - Weight::from_parts(34_515_000, 3972) + // Minimum execution time: 34_174_000 picoseconds. + Weight::from_parts(34_906_000, 3972) .saturating_add(RocksDbWeight::get().reads(3_u64)) - .saturating_add(RocksDbWeight::get().writes(2_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Farms (r:1 w:0) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule FarmPayoutV2AddressByFarmID (r:0 w:1) - /// Proof Skipped: TfgridModule FarmPayoutV2AddressByFarmID (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Farms` (r:1 w:0) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::FarmPayoutV2AddressByFarmID` (r:0 w:1) + /// Proof: `TfgridModule::FarmPayoutV2AddressByFarmID` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_stellar_payout_v2address() -> Weight { // Proof Size summary in bytes: // Measured: `453` // Estimated: `3918` - // Minimum execution time: 24_636_000 picoseconds. - Weight::from_parts(25_319_000, 3918) + // Minimum execution time: 15_189_000 picoseconds. + Weight::from_parts(25_629_000, 3918) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule Farms (r:1 w:1) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::Farms` (r:1 w:1) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_farm_certification() -> Weight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3877` - // Minimum execution time: 20_870_000 picoseconds. - Weight::from_parts(21_177_000, 3877) + // Minimum execution time: 12_594_000 picoseconds. + Weight::from_parts(12_855_000, 3877) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule Farms (r:1 w:1) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Twins (r:1 w:0) - /// Proof Skipped: TfgridModule Twins (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::Farms` (r:1 w:1) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Twins` (r:1 w:0) + /// Proof: `TfgridModule::Twins` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_farm_ip() -> Weight { // Proof Size summary in bytes: // Measured: `569` // Estimated: `4034` - // Minimum execution time: 27_994_000 picoseconds. - Weight::from_parts(31_496_000, 4034) + // Minimum execution time: 17_182_000 picoseconds. + Weight::from_parts(17_513_000, 4034) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule Farms (r:1 w:1) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Twins (r:1 w:0) - /// Proof Skipped: TfgridModule Twins (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::Farms` (r:1 w:1) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Twins` (r:1 w:0) + /// Proof: `TfgridModule::Twins` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_farm_ip() -> Weight { // Proof Size summary in bytes: // Measured: `569` // Estimated: `4034` - // Minimum execution time: 26_365_000 picoseconds. - Weight::from_parts(27_079_000, 4034) + // Minimum execution time: 16_441_000 picoseconds. + Weight::from_parts(16_701_000, 4034) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule Farms (r:1 w:0) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodeIdByTwinID (r:1 w:1) - /// Proof Skipped: TfgridModule NodeIdByTwinID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodeID (r:1 w:1) - /// Proof Skipped: TfgridModule NodeID (max_values: Some(1), 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: TfgridModule ConnectionPrice (r:1 w:0) - /// Proof Skipped: TfgridModule ConnectionPrice (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TfgridModule FarmingPoliciesMap (r:4 w:0) - /// Proof Skipped: TfgridModule FarmingPoliciesMap (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodesByFarmID (r:1 w:1) - /// Proof Skipped: TfgridModule NodesByFarmID (max_values: None, max_size: None, mode: Measured) - /// Storage: Dao FarmWeight (r:1 w:1) - /// Proof Skipped: Dao FarmWeight (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Nodes (r:0 w:1) - /// Proof Skipped: TfgridModule Nodes (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::Farms` (r:1 w:0) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodeIdByTwinID` (r:1 w:1) + /// Proof: `TfgridModule::NodeIdByTwinID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodeID` (r:1 w:1) + /// Proof: `TfgridModule::NodeID` (`max_values`: Some(1), `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: `TfgridModule::ConnectionPrice` (r:1 w:0) + /// Proof: `TfgridModule::ConnectionPrice` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::FarmingPoliciesMap` (r:4 w:0) + /// Proof: `TfgridModule::FarmingPoliciesMap` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodesByFarmID` (r:1 w:1) + /// Proof: `TfgridModule::NodesByFarmID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dao::FarmWeight` (r:1 w:1) + /// Proof: `Dao::FarmWeight` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Nodes` (r:0 w:1) + /// Proof: `TfgridModule::Nodes` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_node() -> Weight { // Proof Size summary in bytes: // Measured: `905` // Estimated: `11795` - // Minimum execution time: 71_884_000 picoseconds. - Weight::from_parts(74_159_000, 11795) + // Minimum execution time: 45_827_000 picoseconds. + Weight::from_parts(46_598_000, 11795) .saturating_add(RocksDbWeight::get().reads(12_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } - /// Storage: TfgridModule Nodes (r:1 w:1) - /// Proof Skipped: TfgridModule Nodes (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Farms (r:1 w:0) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) - /// Storage: Dao FarmWeight (r:1 w:1) - /// Proof Skipped: Dao FarmWeight (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::Nodes` (r:1 w:1) + /// Proof: `TfgridModule::Nodes` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Farms` (r:1 w:0) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dao::FarmWeight` (r:1 w:1) + /// Proof: `Dao::FarmWeight` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_node() -> Weight { // Proof Size summary in bytes: // Measured: `661` // Estimated: `4126` - // Minimum execution time: 41_641_000 picoseconds. - Weight::from_parts(42_797_000, 4126) + // Minimum execution time: 25_889_000 picoseconds. + Weight::from_parts(26_531_000, 4126) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: TfgridModule Nodes (r:1 w:1) - /// Proof Skipped: TfgridModule Nodes (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule FarmingPoliciesMap (r:4 w:0) - /// Proof Skipped: TfgridModule FarmingPoliciesMap (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Farms (r:1 w:0) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::Nodes` (r:1 w:1) + /// Proof: `TfgridModule::Nodes` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::FarmingPoliciesMap` (r:4 w:0) + /// Proof: `TfgridModule::FarmingPoliciesMap` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Farms` (r:1 w:0) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_node_certification() -> Weight { // Proof Size summary in bytes: // Measured: `956` // Estimated: `11846` - // Minimum execution time: 53_080_000 picoseconds. - Weight::from_parts(54_350_000, 11846) + // Minimum execution time: 33_123_000 picoseconds. + Weight::from_parts(33_884_000, 11846) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodeIdByTwinID (r:1 w:0) - /// Proof Skipped: TfgridModule NodeIdByTwinID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Nodes (r:1 w:0) - /// Proof Skipped: TfgridModule Nodes (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: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodeIdByTwinID` (r:1 w:0) + /// Proof: `TfgridModule::NodeIdByTwinID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Nodes` (r:1 w:0) + /// Proof: `TfgridModule::Nodes` (`max_values`: None, `max_size`: None, mode: `Measured`) fn report_uptime() -> Weight { // Proof Size summary in bytes: // Measured: `454` // Estimated: `3919` - // Minimum execution time: 28_159_000 picoseconds. - Weight::from_parts(28_543_000, 3919) + // Minimum execution time: 18_114_000 picoseconds. + Weight::from_parts(18_384_000, 3919) .saturating_add(RocksDbWeight::get().reads(4_u64)) } - /// Storage: TfgridModule Farms (r:1 w:0) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Twins (r:1 w:0) - /// Proof Skipped: TfgridModule Twins (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Nodes (r:1 w:1) - /// Proof Skipped: TfgridModule Nodes (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::Farms` (r:1 w:0) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Twins` (r:1 w:0) + /// Proof: `TfgridModule::Twins` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Nodes` (r:1 w:1) + /// Proof: `TfgridModule::Nodes` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_node_public_config() -> Weight { // Proof Size summary in bytes: // Measured: `779` // Estimated: `4244` - // Minimum execution time: 37_090_000 picoseconds. - Weight::from_parts(38_269_000, 4244) + // Minimum execution time: 23_945_000 picoseconds. + Weight::from_parts(24_246_000, 4244) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule Nodes (r:1 w:1) - /// Proof Skipped: TfgridModule Nodes (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodesByFarmID (r:1 w:1) - /// Proof Skipped: TfgridModule NodesByFarmID (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ActiveNodeContracts (r:1 w:0) - /// Proof Skipped: SmartContractModule ActiveNodeContracts (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ActiveRentContractForNode (r:1 w:0) - /// Proof Skipped: SmartContractModule ActiveRentContractForNode (max_values: None, max_size: None, mode: Measured) - /// Storage: Dao FarmWeight (r:1 w:1) - /// Proof Skipped: Dao FarmWeight (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::Nodes` (r:1 w:1) + /// Proof: `TfgridModule::Nodes` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodesByFarmID` (r:1 w:1) + /// Proof: `TfgridModule::NodesByFarmID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveNodeContracts` (r:1 w:0) + /// Proof: `SmartContractModule::ActiveNodeContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveRentContractForNode` (r:1 w:0) + /// Proof: `SmartContractModule::ActiveRentContractForNode` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dao::FarmWeight` (r:1 w:1) + /// Proof: `Dao::FarmWeight` (`max_values`: None, `max_size`: None, mode: `Measured`) fn delete_node() -> Weight { // Proof Size summary in bytes: // Measured: `682` // Estimated: `4147` - // Minimum execution time: 40_802_000 picoseconds. - Weight::from_parts(41_890_000, 4147) + // Minimum execution time: 26_590_000 picoseconds. + Weight::from_parts(27_122_000, 4147) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: TfgridModule UsersTermsAndConditions (r:1 w:0) - /// Proof Skipped: TfgridModule UsersTermsAndConditions (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:1) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule TwinID (r:1 w:1) - /// Proof Skipped: TfgridModule TwinID (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TfgridModule Twins (r:0 w:1) - /// Proof Skipped: TfgridModule Twins (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::UsersTermsAndConditions` (r:1 w:0) + /// Proof: `TfgridModule::UsersTermsAndConditions` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:1) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::TwinID` (r:1 w:1) + /// Proof: `TfgridModule::TwinID` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Twins` (r:0 w:1) + /// Proof: `TfgridModule::Twins` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_twin() -> Weight { // Proof Size summary in bytes: // Measured: `235` // Estimated: `3700` - // Minimum execution time: 23_943_000 picoseconds. - Weight::from_parts(24_477_000, 3700) + // Minimum execution time: 13_866_000 picoseconds. + Weight::from_parts(14_287_000, 3700) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Twins (r:1 w:1) - /// Proof Skipped: TfgridModule Twins (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Twins` (r:1 w:1) + /// Proof: `TfgridModule::Twins` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_twin() -> Weight { // Proof Size summary in bytes: // Measured: `428` // Estimated: `3893` - // Minimum execution time: 23_757_000 picoseconds. - Weight::from_parts(24_337_000, 3893) + // Minimum execution time: 14_548_000 picoseconds. + Weight::from_parts(14_918_000, 3893) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule PricingPolicyIdByName (r:1 w:1) - /// Proof Skipped: TfgridModule PricingPolicyIdByName (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule PricingPolicyID (r:1 w:1) - /// Proof Skipped: TfgridModule PricingPolicyID (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TfgridModule PricingPolicies (r:0 w:1) - /// Proof Skipped: TfgridModule PricingPolicies (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::PricingPolicyIdByName` (r:1 w:1) + /// Proof: `TfgridModule::PricingPolicyIdByName` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::PricingPolicyID` (r:1 w:1) + /// Proof: `TfgridModule::PricingPolicyID` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::PricingPolicies` (r:0 w:1) + /// Proof: `TfgridModule::PricingPolicies` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_pricing_policy() -> Weight { // Proof Size summary in bytes: // Measured: `134` // Estimated: `3599` - // Minimum execution time: 20_931_000 picoseconds. - Weight::from_parts(21_633_000, 3599) + // Minimum execution time: 11_652_000 picoseconds. + Weight::from_parts(11_952_000, 3599) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: TfgridModule PricingPolicies (r:1 w:1) - /// Proof Skipped: TfgridModule PricingPolicies (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule PricingPolicyIdByName (r:1 w:1) - /// Proof Skipped: TfgridModule PricingPolicyIdByName (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule PricingPolicyID (r:0 w:1) - /// Proof Skipped: TfgridModule PricingPolicyID (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TfgridModule::PricingPolicies` (r:1 w:1) + /// Proof: `TfgridModule::PricingPolicies` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::PricingPolicyIdByName` (r:1 w:1) + /// Proof: `TfgridModule::PricingPolicyIdByName` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::PricingPolicyID` (r:0 w:1) + /// Proof: `TfgridModule::PricingPolicyID` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn update_pricing_policy() -> Weight { // Proof Size summary in bytes: // Measured: `382` // Estimated: `3847` - // Minimum execution time: 26_466_000 picoseconds. - Weight::from_parts(27_478_000, 3847) + // Minimum execution time: 16_181_000 picoseconds. + Weight::from_parts(16_611_000, 3847) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: TfgridModule FarmingPolicyID (r:1 w:1) - /// Proof Skipped: TfgridModule FarmingPolicyID (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TfgridModule FarmingPoliciesMap (r:0 w:1) - /// Proof Skipped: TfgridModule FarmingPoliciesMap (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::FarmingPolicyID` (r:1 w:1) + /// Proof: `TfgridModule::FarmingPolicyID` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::FarmingPoliciesMap` (r:0 w:1) + /// Proof: `TfgridModule::FarmingPoliciesMap` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_farming_policy() -> Weight { // Proof Size summary in bytes: // Measured: `134` // Estimated: `1619` - // Minimum execution time: 17_653_000 picoseconds. - Weight::from_parts(18_085_000, 1619) + // Minimum execution time: 9_808_000 picoseconds. + Weight::from_parts(10_129_000, 1619) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: TfgridModule UsersTermsAndConditions (r:1 w:1) - /// Proof Skipped: TfgridModule UsersTermsAndConditions (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: `TfgridModule::UsersTermsAndConditions` (r:1 w:1) + /// Proof: `TfgridModule::UsersTermsAndConditions` (`max_values`: None, `max_size`: None, mode: `Measured`) fn user_accept_tc() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3605` - // Minimum execution time: 12_183_000 picoseconds. - Weight::from_parts(12_508_000, 3605) + // Minimum execution time: 7_193_000 picoseconds. + Weight::from_parts(7_354_000, 3605) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Nodes (r:1 w:1) - /// Proof Skipped: TfgridModule Nodes (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Farms (r:1 w:0) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Twins (r:1 w:0) - /// Proof Skipped: TfgridModule Twins (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodesByFarmID (r:1 w:1) - /// Proof Skipped: TfgridModule NodesByFarmID (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ActiveNodeContracts (r:1 w:0) - /// Proof Skipped: SmartContractModule ActiveNodeContracts (max_values: None, max_size: None, mode: Measured) - /// Storage: SmartContractModule ActiveRentContractForNode (r:1 w:0) - /// Proof Skipped: SmartContractModule ActiveRentContractForNode (max_values: None, max_size: None, mode: Measured) - /// Storage: Dao FarmWeight (r:1 w:1) - /// Proof Skipped: Dao FarmWeight (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodeIdByTwinID (r:0 w:1) - /// Proof Skipped: TfgridModule NodeIdByTwinID (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Nodes` (r:1 w:1) + /// Proof: `TfgridModule::Nodes` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Farms` (r:1 w:0) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodesByFarmID` (r:1 w:1) + /// Proof: `TfgridModule::NodesByFarmID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveNodeContracts` (r:1 w:0) + /// Proof: `SmartContractModule::ActiveNodeContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveRentContractForNode` (r:1 w:0) + /// Proof: `SmartContractModule::ActiveRentContractForNode` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dao::FarmWeight` (r:1 w:1) + /// Proof: `Dao::FarmWeight` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodeIdByTwinID` (r:0 w:1) + /// Proof: `TfgridModule::NodeIdByTwinID` (`max_values`: None, `max_size`: None, mode: `Measured`) fn delete_node_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `985` - // Estimated: `4450` - // Minimum execution time: 55_311_000 picoseconds. - Weight::from_parts(56_386_000, 4450) - .saturating_add(RocksDbWeight::get().reads(8_u64)) + // Measured: `828` + // Estimated: `4293` + // Minimum execution time: 31_320_000 picoseconds. + Weight::from_parts(31_881_000, 4293) + .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } - /// Storage: TfgridModule Farms (r:1 w:1) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::Farms` (r:1 w:1) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_farm_dedicated() -> Weight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3877` - // Minimum execution time: 21_411_000 picoseconds. - Weight::from_parts(21_921_000, 3877) + // Minimum execution time: 13_125_000 picoseconds. + Weight::from_parts(13_405_000, 3877) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule Farms (r:1 w:1) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::Farms` (r:1 w:1) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_reset_farm_ip() -> Weight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3877` - // Minimum execution time: 23_493_000 picoseconds. - Weight::from_parts(24_448_000, 3877) + // Minimum execution time: 13_104_000 picoseconds. + Weight::from_parts(13_405_000, 3877) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule ConnectionPrice (r:0 w:1) - /// Proof Skipped: TfgridModule ConnectionPrice (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TfgridModule::ConnectionPrice` (r:0 w:1) + /// Proof: `TfgridModule::ConnectionPrice` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_connection_price() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_801_000 picoseconds. - Weight::from_parts(10_091_000, 0) + // Minimum execution time: 5_300_000 picoseconds. + Weight::from_parts(5_541_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule AllowedNodeCertifiers (r:1 w:1) - /// Proof Skipped: TfgridModule AllowedNodeCertifiers (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TfgridModule::AllowedNodeCertifiers` (r:1 w:1) + /// Proof: `TfgridModule::AllowedNodeCertifiers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn add_node_certifier() -> Weight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `1840` - // Minimum execution time: 15_518_000 picoseconds. - Weight::from_parts(16_227_000, 1840) + // Minimum execution time: 9_297_000 picoseconds. + Weight::from_parts(9_638_000, 1840) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule AllowedNodeCertifiers (r:1 w:1) - /// Proof Skipped: TfgridModule AllowedNodeCertifiers (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TfgridModule::AllowedNodeCertifiers` (r:1 w:1) + /// Proof: `TfgridModule::AllowedNodeCertifiers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn remove_node_certifier() -> Weight { // Proof Size summary in bytes: // Measured: `413` // Estimated: `1898` - // Minimum execution time: 18_573_000 picoseconds. - Weight::from_parts(19_049_000, 1898) + // Minimum execution time: 11_702_000 picoseconds. + Weight::from_parts(12_022_000, 1898) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule FarmingPoliciesMap (r:1 w:1) - /// Proof Skipped: TfgridModule FarmingPoliciesMap (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::FarmingPoliciesMap` (r:1 w:1) + /// Proof: `TfgridModule::FarmingPoliciesMap` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_farming_policy() -> Weight { // Proof Size summary in bytes: // Measured: `294` // Estimated: `3759` - // Minimum execution time: 21_450_000 picoseconds. - Weight::from_parts(22_654_000, 3759) + // Minimum execution time: 12_524_000 picoseconds. + Weight::from_parts(12_995_000, 3759) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule FarmingPoliciesMap (r:1 w:0) - /// Proof Skipped: TfgridModule FarmingPoliciesMap (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Farms (r:1 w:1) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodesByFarmID (r:1 w:0) - /// Proof Skipped: TfgridModule NodesByFarmID (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::FarmingPoliciesMap` (r:1 w:0) + /// Proof: `TfgridModule::FarmingPoliciesMap` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Farms` (r:1 w:1) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodesByFarmID` (r:1 w:0) + /// Proof: `TfgridModule::NodesByFarmID` (`max_values`: None, `max_size`: None, mode: `Measured`) fn attach_policy_to_farm() -> Weight { // Proof Size summary in bytes: // Measured: `572` // Estimated: `4037` - // Minimum execution time: 35_866_000 picoseconds. - Weight::from_parts(36_635_000, 4037) + // Minimum execution time: 21_410_000 picoseconds. + Weight::from_parts(21_892_000, 4037) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule ZosVersion (r:1 w:1) - /// Proof Skipped: TfgridModule ZosVersion (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TfgridModule::ZosVersion` (r:1 w:1) + /// Proof: `TfgridModule::ZosVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_zos_version() -> Weight { // Proof Size summary in bytes: // Measured: `134` // Estimated: `1619` - // Minimum execution time: 13_431_000 picoseconds. - Weight::from_parts(14_115_000, 1619) + // Minimum execution time: 7_514_000 picoseconds. + Weight::from_parts(7_845_000, 1619) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodeIdByTwinID (r:1 w:0) - /// Proof Skipped: TfgridModule NodeIdByTwinID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Nodes (r:1 w:0) - /// Proof Skipped: TfgridModule Nodes (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodePower (r:1 w:1) - /// Proof Skipped: TfgridModule NodePower (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodeIdByTwinID` (r:1 w:0) + /// Proof: `TfgridModule::NodeIdByTwinID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Nodes` (r:1 w:0) + /// Proof: `TfgridModule::Nodes` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodePower` (r:1 w:1) + /// Proof: `TfgridModule::NodePower` (`max_values`: None, `max_size`: None, mode: `Measured`) fn change_power_state() -> Weight { // Proof Size summary in bytes: // Measured: `621` // Estimated: `4086` - // Minimum execution time: 33_189_000 picoseconds. - Weight::from_parts(34_120_000, 4086) + // Minimum execution time: 21_891_000 picoseconds. + Weight::from_parts(22_192_000, 4086) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Nodes (r:1 w:0) - /// Proof Skipped: TfgridModule Nodes (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Farms (r:1 w:0) - /// Proof Skipped: TfgridModule Farms (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodePower (r:1 w:1) - /// Proof Skipped: TfgridModule NodePower (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Nodes` (r:1 w:0) + /// Proof: `TfgridModule::Nodes` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Farms` (r:1 w:0) + /// Proof: `TfgridModule::Farms` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveNodeContracts` (r:1 w:0) + /// Proof: `SmartContractModule::ActiveNodeContracts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SmartContractModule::ActiveRentContractForNode` (r:1 w:0) + /// Proof: `SmartContractModule::ActiveRentContractForNode` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodePower` (r:1 w:1) + /// Proof: `TfgridModule::NodePower` (`max_values`: None, `max_size`: None, mode: `Measured`) fn change_power_target() -> Weight { // Proof Size summary in bytes: - // Measured: `755` - // Estimated: `4220` - // Minimum execution time: 32_593_000 picoseconds. - Weight::from_parts(33_063_000, 4220) - .saturating_add(RocksDbWeight::get().reads(4_u64)) + // Measured: `792` + // Estimated: `4257` + // Minimum execution time: 25_027_000 picoseconds. + Weight::from_parts(25_638_000, 4257) + .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule Twins (r:1 w:0) - /// Proof Skipped: TfgridModule Twins (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule TwinBoundedAccountID (r:0 w:1) - /// Proof Skipped: TfgridModule TwinBoundedAccountID (max_values: None, max_size: None, mode: Measured) + /// Storage: `TfgridModule::Twins` (r:1 w:0) + /// Proof: `TfgridModule::Twins` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::TwinBoundedAccountID` (r:0 w:1) + /// Proof: `TfgridModule::TwinBoundedAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) fn bond_twin_account() -> Weight { // Proof Size summary in bytes: // Measured: `387` // Estimated: `3852` - // Minimum execution time: 19_181_000 picoseconds. - Weight::from_parts(19_630_000, 3852) + // Minimum execution time: 11_342_000 picoseconds. + Weight::from_parts(11_592_000, 3852) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TfgridModule TwinIdByAccountID (r:1 w:0) - /// Proof Skipped: TfgridModule TwinIdByAccountID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule NodeIdByTwinID (r:1 w:0) - /// Proof Skipped: TfgridModule NodeIdByTwinID (max_values: None, max_size: None, mode: Measured) - /// Storage: TfgridModule Nodes (r:1 w:0) - /// Proof Skipped: TfgridModule Nodes (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: `TfgridModule::TwinIdByAccountID` (r:1 w:0) + /// Proof: `TfgridModule::TwinIdByAccountID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::NodeIdByTwinID` (r:1 w:0) + /// Proof: `TfgridModule::NodeIdByTwinID` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TfgridModule::Nodes` (r:1 w:0) + /// Proof: `TfgridModule::Nodes` (`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`) fn report_uptime_v2() -> Weight { // Proof Size summary in bytes: // Measured: `454` // Estimated: `3919` - // Minimum execution time: 26_974_000 picoseconds. - Weight::from_parts(28_212_000, 3919) + // Minimum execution time: 17_313_000 picoseconds. + Weight::from_parts(17_684_000, 3919) .saturating_add(RocksDbWeight::get().reads(4_u64)) } } diff --git a/substrate-node/pallets/pallet-tft-bridge/src/weights.rs b/substrate-node/pallets/pallet-tft-bridge/src/weights.rs index a0e511b88..3e760c62d 100644 --- a/substrate-node/pallets/pallet-tft-bridge/src/weights.rs +++ b/substrate-node/pallets/pallet-tft-bridge/src/weights.rs @@ -2,21 +2,21 @@ //! Autogenerated weights for pallet_tft_bridge //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-02-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `R1-HP-ProBook-630-G8`, CPU: `11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `7c9e9392584e`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// ./target/release/tfchain +// ./target/production/tfchain // benchmark // pallet // --chain=dev -// --pallet=pallet_tft_bridge +// --wasm-execution=compiled +// --pallet=pallet-tft-bridge // --extrinsic=* // --steps=50 // --repeat=20 -// --execution=wasm // --heap-pages=409 // --output // ./pallets/pallet-tft-bridge/src/weights.rs @@ -49,153 +49,153 @@ pub trait WeightInfo { /// Weights for pallet_tft_bridge using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { - /// Storage: TFTBridgeModule Validators (r:1 w:1) - /// Proof Skipped: TFTBridgeModule Validators (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TFTBridgeModule::Validators` (r:1 w:1) + /// Proof: `TFTBridgeModule::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn add_bridge_validator() -> Weight { // Proof Size summary in bytes: - // Measured: `289` - // Estimated: `1774` - // Minimum execution time: 18_778_000 picoseconds. - Weight::from_parts(20_233_000, 1774) + // Measured: `256` + // Estimated: `1741` + // Minimum execution time: 11_612_000 picoseconds. + Weight::from_parts(12_033_000, 1741) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TFTBridgeModule Validators (r:1 w:1) - /// Proof Skipped: TFTBridgeModule Validators (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TFTBridgeModule::Validators` (r:1 w:1) + /// Proof: `TFTBridgeModule::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn remove_bridge_validator() -> Weight { // Proof Size summary in bytes: - // Measured: `322` - // Estimated: `1807` - // Minimum execution time: 12_346_000 picoseconds. - Weight::from_parts(17_998_000, 1807) + // Measured: `289` + // Estimated: `1774` + // Minimum execution time: 11_291_000 picoseconds. + Weight::from_parts(11_612_000, 1774) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TFTBridgeModule FeeAccount (r:0 w:1) - /// Proof Skipped: TFTBridgeModule FeeAccount (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TFTBridgeModule::FeeAccount` (r:0 w:1) + /// Proof: `TFTBridgeModule::FeeAccount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_fee_account() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_548_000 picoseconds. - Weight::from_parts(5_051_000, 0) + // Minimum execution time: 3_636_000 picoseconds. + Weight::from_parts(3_767_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TFTBridgeModule WithdrawFee (r:0 w:1) - /// Proof Skipped: TFTBridgeModule WithdrawFee (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TFTBridgeModule::WithdrawFee` (r:0 w:1) + /// Proof: `TFTBridgeModule::WithdrawFee` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_withdraw_fee() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_279_000 picoseconds. - Weight::from_parts(4_493_000, 0) + // Minimum execution time: 3_566_000 picoseconds. + Weight::from_parts(3_657_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TFTBridgeModule DepositFee (r:0 w:1) - /// Proof Skipped: TFTBridgeModule DepositFee (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TFTBridgeModule::DepositFee` (r:0 w:1) + /// Proof: `TFTBridgeModule::DepositFee` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_deposit_fee() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_584_000 picoseconds. - Weight::from_parts(4_876_000, 0) + // Minimum execution time: 3_526_000 picoseconds. + Weight::from_parts(3_687_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TFTBridgeModule WithdrawFee (r:1 w:0) - /// Proof Skipped: TFTBridgeModule WithdrawFee (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTBridgeModule FeeAccount (r:1 w:0) - /// Proof Skipped: TFTBridgeModule FeeAccount (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: TFTBridgeModule BurnTransactionID (r:1 w:1) - /// Proof Skipped: TFTBridgeModule BurnTransactionID (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTBridgeModule BurnTransactions (r:0 w:1) - /// Proof Skipped: TFTBridgeModule BurnTransactions (max_values: None, max_size: None, mode: Measured) + /// Storage: `TFTBridgeModule::WithdrawFee` (r:1 w:0) + /// Proof: `TFTBridgeModule::WithdrawFee` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTBridgeModule::FeeAccount` (r:1 w:0) + /// Proof: `TFTBridgeModule::FeeAccount` (`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: `TFTBridgeModule::BurnTransactionID` (r:1 w:1) + /// Proof: `TFTBridgeModule::BurnTransactionID` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTBridgeModule::BurnTransactions` (r:0 w:1) + /// Proof: `TFTBridgeModule::BurnTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) fn swap_to_stellar() -> Weight { // Proof Size summary in bytes: - // Measured: `286` + // Measured: `253` // Estimated: `3593` - // Minimum execution time: 74_554_000 picoseconds. - Weight::from_parts(76_009_000, 3593) + // Minimum execution time: 69_190_000 picoseconds. + Weight::from_parts(70_053_000, 3593) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: TFTBridgeModule Validators (r:1 w:0) - /// Proof Skipped: TFTBridgeModule Validators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTBridgeModule ExecutedMintTransactions (r:1 w:1) - /// Proof Skipped: TFTBridgeModule ExecutedMintTransactions (max_values: None, max_size: None, mode: Measured) - /// Storage: TFTBridgeModule MintTransactions (r:1 w:1) - /// Proof Skipped: TFTBridgeModule MintTransactions (max_values: None, max_size: None, mode: Measured) - /// Storage: TFTBridgeModule DepositFee (r:1 w:0) - /// Proof Skipped: TFTBridgeModule DepositFee (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTBridgeModule FeeAccount (r:1 w:0) - /// Proof Skipped: TFTBridgeModule FeeAccount (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: `TFTBridgeModule::Validators` (r:1 w:0) + /// Proof: `TFTBridgeModule::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTBridgeModule::ExecutedMintTransactions` (r:1 w:1) + /// Proof: `TFTBridgeModule::ExecutedMintTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TFTBridgeModule::MintTransactions` (r:1 w:1) + /// Proof: `TFTBridgeModule::MintTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TFTBridgeModule::DepositFee` (r:1 w:0) + /// Proof: `TFTBridgeModule::DepositFee` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTBridgeModule::FeeAccount` (r:1 w:0) + /// Proof: `TFTBridgeModule::FeeAccount` (`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`) fn propose_or_vote_mint_transaction() -> Weight { // Proof Size summary in bytes: - // Measured: `532` - // Estimated: `3997` - // Minimum execution time: 102_293_000 picoseconds. - Weight::from_parts(113_671_000, 3997) + // Measured: `499` + // Estimated: `3964` + // Minimum execution time: 57_238_000 picoseconds. + Weight::from_parts(58_410_000, 3964) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: TFTBridgeModule Validators (r:1 w:0) - /// Proof Skipped: TFTBridgeModule Validators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTBridgeModule ExecutedBurnTransactions (r:1 w:0) - /// Proof Skipped: TFTBridgeModule ExecutedBurnTransactions (max_values: None, max_size: None, mode: Measured) - /// Storage: TFTBridgeModule BurnTransactions (r:1 w:1) - /// Proof Skipped: TFTBridgeModule BurnTransactions (max_values: None, max_size: None, mode: Measured) + /// Storage: `TFTBridgeModule::Validators` (r:1 w:0) + /// Proof: `TFTBridgeModule::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTBridgeModule::ExecutedBurnTransactions` (r:1 w:0) + /// Proof: `TFTBridgeModule::ExecutedBurnTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TFTBridgeModule::BurnTransactions` (r:1 w:1) + /// Proof: `TFTBridgeModule::BurnTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) fn propose_burn_transaction_or_add_sig() -> Weight { // Proof Size summary in bytes: // Measured: `631` // Estimated: `4096` - // Minimum execution time: 41_613_000 picoseconds. - Weight::from_parts(42_948_000, 4096) + // Minimum execution time: 24_757_000 picoseconds. + Weight::from_parts(25_158_000, 4096) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TFTBridgeModule Validators (r:1 w:0) - /// Proof Skipped: TFTBridgeModule Validators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTBridgeModule ExecutedBurnTransactions (r:1 w:1) - /// Proof Skipped: TFTBridgeModule ExecutedBurnTransactions (max_values: None, max_size: None, mode: Measured) - /// Storage: TFTBridgeModule BurnTransactions (r:1 w:1) - /// Proof Skipped: TFTBridgeModule BurnTransactions (max_values: None, max_size: None, mode: Measured) + /// Storage: `TFTBridgeModule::Validators` (r:1 w:0) + /// Proof: `TFTBridgeModule::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTBridgeModule::ExecutedBurnTransactions` (r:1 w:1) + /// Proof: `TFTBridgeModule::ExecutedBurnTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TFTBridgeModule::BurnTransactions` (r:1 w:1) + /// Proof: `TFTBridgeModule::BurnTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_burn_transaction_executed() -> Weight { // Proof Size summary in bytes: // Measured: `571` // Estimated: `4036` - // Minimum execution time: 28_712_000 picoseconds. - Weight::from_parts(29_777_000, 4036) + // Minimum execution time: 17_593_000 picoseconds. + Weight::from_parts(18_104_000, 4036) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: TFTBridgeModule Validators (r:1 w:0) - /// Proof Skipped: TFTBridgeModule Validators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTBridgeModule RefundTransactions (r:1 w:1) - /// Proof Skipped: TFTBridgeModule RefundTransactions (max_values: None, max_size: None, mode: Measured) + /// Storage: `TFTBridgeModule::Validators` (r:1 w:0) + /// Proof: `TFTBridgeModule::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTBridgeModule::RefundTransactions` (r:1 w:1) + /// Proof: `TFTBridgeModule::RefundTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_refund_transaction_or_add_sig() -> Weight { // Proof Size summary in bytes: - // Measured: `418` - // Estimated: `3883` - // Minimum execution time: 36_551_000 picoseconds. - Weight::from_parts(37_525_000, 3883) + // Measured: `385` + // Estimated: `3850` + // Minimum execution time: 20_859_000 picoseconds. + Weight::from_parts(21_260_000, 3850) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TFTBridgeModule Validators (r:1 w:0) - /// Proof Skipped: TFTBridgeModule Validators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTBridgeModule ExecutedRefundTransactions (r:1 w:1) - /// Proof Skipped: TFTBridgeModule ExecutedRefundTransactions (max_values: None, max_size: None, mode: Measured) - /// Storage: TFTBridgeModule RefundTransactions (r:1 w:1) - /// Proof Skipped: TFTBridgeModule RefundTransactions (max_values: None, max_size: None, mode: Measured) + /// Storage: `TFTBridgeModule::Validators` (r:1 w:0) + /// Proof: `TFTBridgeModule::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTBridgeModule::ExecutedRefundTransactions` (r:1 w:1) + /// Proof: `TFTBridgeModule::ExecutedRefundTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TFTBridgeModule::RefundTransactions` (r:1 w:1) + /// Proof: `TFTBridgeModule::RefundTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_refund_transaction_executed() -> Weight { // Proof Size summary in bytes: - // Measured: `593` - // Estimated: `4058` - // Minimum execution time: 34_047_000 picoseconds. - Weight::from_parts(35_316_000, 4058) + // Measured: `560` + // Estimated: `4025` + // Minimum execution time: 17_804_000 picoseconds. + Weight::from_parts(18_104_000, 4025) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -203,153 +203,153 @@ impl WeightInfo for SubstrateWeight { // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: TFTBridgeModule Validators (r:1 w:1) - /// Proof Skipped: TFTBridgeModule Validators (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TFTBridgeModule::Validators` (r:1 w:1) + /// Proof: `TFTBridgeModule::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn add_bridge_validator() -> Weight { // Proof Size summary in bytes: - // Measured: `289` - // Estimated: `1774` - // Minimum execution time: 18_778_000 picoseconds. - Weight::from_parts(20_233_000, 1774) + // Measured: `256` + // Estimated: `1741` + // Minimum execution time: 11_612_000 picoseconds. + Weight::from_parts(12_033_000, 1741) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TFTBridgeModule Validators (r:1 w:1) - /// Proof Skipped: TFTBridgeModule Validators (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TFTBridgeModule::Validators` (r:1 w:1) + /// Proof: `TFTBridgeModule::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn remove_bridge_validator() -> Weight { // Proof Size summary in bytes: - // Measured: `322` - // Estimated: `1807` - // Minimum execution time: 12_346_000 picoseconds. - Weight::from_parts(17_998_000, 1807) + // Measured: `289` + // Estimated: `1774` + // Minimum execution time: 11_291_000 picoseconds. + Weight::from_parts(11_612_000, 1774) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TFTBridgeModule FeeAccount (r:0 w:1) - /// Proof Skipped: TFTBridgeModule FeeAccount (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TFTBridgeModule::FeeAccount` (r:0 w:1) + /// Proof: `TFTBridgeModule::FeeAccount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_fee_account() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_548_000 picoseconds. - Weight::from_parts(5_051_000, 0) + // Minimum execution time: 3_636_000 picoseconds. + Weight::from_parts(3_767_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TFTBridgeModule WithdrawFee (r:0 w:1) - /// Proof Skipped: TFTBridgeModule WithdrawFee (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TFTBridgeModule::WithdrawFee` (r:0 w:1) + /// Proof: `TFTBridgeModule::WithdrawFee` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_withdraw_fee() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_279_000 picoseconds. - Weight::from_parts(4_493_000, 0) + // Minimum execution time: 3_566_000 picoseconds. + Weight::from_parts(3_657_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TFTBridgeModule DepositFee (r:0 w:1) - /// Proof Skipped: TFTBridgeModule DepositFee (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TFTBridgeModule::DepositFee` (r:0 w:1) + /// Proof: `TFTBridgeModule::DepositFee` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_deposit_fee() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_584_000 picoseconds. - Weight::from_parts(4_876_000, 0) + // Minimum execution time: 3_526_000 picoseconds. + Weight::from_parts(3_687_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TFTBridgeModule WithdrawFee (r:1 w:0) - /// Proof Skipped: TFTBridgeModule WithdrawFee (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTBridgeModule FeeAccount (r:1 w:0) - /// Proof Skipped: TFTBridgeModule FeeAccount (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: TFTBridgeModule BurnTransactionID (r:1 w:1) - /// Proof Skipped: TFTBridgeModule BurnTransactionID (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTBridgeModule BurnTransactions (r:0 w:1) - /// Proof Skipped: TFTBridgeModule BurnTransactions (max_values: None, max_size: None, mode: Measured) + /// Storage: `TFTBridgeModule::WithdrawFee` (r:1 w:0) + /// Proof: `TFTBridgeModule::WithdrawFee` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTBridgeModule::FeeAccount` (r:1 w:0) + /// Proof: `TFTBridgeModule::FeeAccount` (`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: `TFTBridgeModule::BurnTransactionID` (r:1 w:1) + /// Proof: `TFTBridgeModule::BurnTransactionID` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTBridgeModule::BurnTransactions` (r:0 w:1) + /// Proof: `TFTBridgeModule::BurnTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) fn swap_to_stellar() -> Weight { // Proof Size summary in bytes: - // Measured: `286` + // Measured: `253` // Estimated: `3593` - // Minimum execution time: 74_554_000 picoseconds. - Weight::from_parts(76_009_000, 3593) + // Minimum execution time: 69_190_000 picoseconds. + Weight::from_parts(70_053_000, 3593) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: TFTBridgeModule Validators (r:1 w:0) - /// Proof Skipped: TFTBridgeModule Validators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTBridgeModule ExecutedMintTransactions (r:1 w:1) - /// Proof Skipped: TFTBridgeModule ExecutedMintTransactions (max_values: None, max_size: None, mode: Measured) - /// Storage: TFTBridgeModule MintTransactions (r:1 w:1) - /// Proof Skipped: TFTBridgeModule MintTransactions (max_values: None, max_size: None, mode: Measured) - /// Storage: TFTBridgeModule DepositFee (r:1 w:0) - /// Proof Skipped: TFTBridgeModule DepositFee (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTBridgeModule FeeAccount (r:1 w:0) - /// Proof Skipped: TFTBridgeModule FeeAccount (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: `TFTBridgeModule::Validators` (r:1 w:0) + /// Proof: `TFTBridgeModule::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTBridgeModule::ExecutedMintTransactions` (r:1 w:1) + /// Proof: `TFTBridgeModule::ExecutedMintTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TFTBridgeModule::MintTransactions` (r:1 w:1) + /// Proof: `TFTBridgeModule::MintTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TFTBridgeModule::DepositFee` (r:1 w:0) + /// Proof: `TFTBridgeModule::DepositFee` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTBridgeModule::FeeAccount` (r:1 w:0) + /// Proof: `TFTBridgeModule::FeeAccount` (`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`) fn propose_or_vote_mint_transaction() -> Weight { // Proof Size summary in bytes: - // Measured: `532` - // Estimated: `3997` - // Minimum execution time: 102_293_000 picoseconds. - Weight::from_parts(113_671_000, 3997) + // Measured: `499` + // Estimated: `3964` + // Minimum execution time: 57_238_000 picoseconds. + Weight::from_parts(58_410_000, 3964) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: TFTBridgeModule Validators (r:1 w:0) - /// Proof Skipped: TFTBridgeModule Validators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTBridgeModule ExecutedBurnTransactions (r:1 w:0) - /// Proof Skipped: TFTBridgeModule ExecutedBurnTransactions (max_values: None, max_size: None, mode: Measured) - /// Storage: TFTBridgeModule BurnTransactions (r:1 w:1) - /// Proof Skipped: TFTBridgeModule BurnTransactions (max_values: None, max_size: None, mode: Measured) + /// Storage: `TFTBridgeModule::Validators` (r:1 w:0) + /// Proof: `TFTBridgeModule::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTBridgeModule::ExecutedBurnTransactions` (r:1 w:0) + /// Proof: `TFTBridgeModule::ExecutedBurnTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TFTBridgeModule::BurnTransactions` (r:1 w:1) + /// Proof: `TFTBridgeModule::BurnTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) fn propose_burn_transaction_or_add_sig() -> Weight { // Proof Size summary in bytes: // Measured: `631` // Estimated: `4096` - // Minimum execution time: 41_613_000 picoseconds. - Weight::from_parts(42_948_000, 4096) + // Minimum execution time: 24_757_000 picoseconds. + Weight::from_parts(25_158_000, 4096) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TFTBridgeModule Validators (r:1 w:0) - /// Proof Skipped: TFTBridgeModule Validators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTBridgeModule ExecutedBurnTransactions (r:1 w:1) - /// Proof Skipped: TFTBridgeModule ExecutedBurnTransactions (max_values: None, max_size: None, mode: Measured) - /// Storage: TFTBridgeModule BurnTransactions (r:1 w:1) - /// Proof Skipped: TFTBridgeModule BurnTransactions (max_values: None, max_size: None, mode: Measured) + /// Storage: `TFTBridgeModule::Validators` (r:1 w:0) + /// Proof: `TFTBridgeModule::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTBridgeModule::ExecutedBurnTransactions` (r:1 w:1) + /// Proof: `TFTBridgeModule::ExecutedBurnTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TFTBridgeModule::BurnTransactions` (r:1 w:1) + /// Proof: `TFTBridgeModule::BurnTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_burn_transaction_executed() -> Weight { // Proof Size summary in bytes: // Measured: `571` // Estimated: `4036` - // Minimum execution time: 28_712_000 picoseconds. - Weight::from_parts(29_777_000, 4036) + // Minimum execution time: 17_593_000 picoseconds. + Weight::from_parts(18_104_000, 4036) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: TFTBridgeModule Validators (r:1 w:0) - /// Proof Skipped: TFTBridgeModule Validators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTBridgeModule RefundTransactions (r:1 w:1) - /// Proof Skipped: TFTBridgeModule RefundTransactions (max_values: None, max_size: None, mode: Measured) + /// Storage: `TFTBridgeModule::Validators` (r:1 w:0) + /// Proof: `TFTBridgeModule::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTBridgeModule::RefundTransactions` (r:1 w:1) + /// Proof: `TFTBridgeModule::RefundTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_refund_transaction_or_add_sig() -> Weight { // Proof Size summary in bytes: - // Measured: `418` - // Estimated: `3883` - // Minimum execution time: 36_551_000 picoseconds. - Weight::from_parts(37_525_000, 3883) + // Measured: `385` + // Estimated: `3850` + // Minimum execution time: 20_859_000 picoseconds. + Weight::from_parts(21_260_000, 3850) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TFTBridgeModule Validators (r:1 w:0) - /// Proof Skipped: TFTBridgeModule Validators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTBridgeModule ExecutedRefundTransactions (r:1 w:1) - /// Proof Skipped: TFTBridgeModule ExecutedRefundTransactions (max_values: None, max_size: None, mode: Measured) - /// Storage: TFTBridgeModule RefundTransactions (r:1 w:1) - /// Proof Skipped: TFTBridgeModule RefundTransactions (max_values: None, max_size: None, mode: Measured) + /// Storage: `TFTBridgeModule::Validators` (r:1 w:0) + /// Proof: `TFTBridgeModule::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTBridgeModule::ExecutedRefundTransactions` (r:1 w:1) + /// Proof: `TFTBridgeModule::ExecutedRefundTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TFTBridgeModule::RefundTransactions` (r:1 w:1) + /// Proof: `TFTBridgeModule::RefundTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_refund_transaction_executed() -> Weight { // Proof Size summary in bytes: - // Measured: `593` - // Estimated: `4058` - // Minimum execution time: 34_047_000 picoseconds. - Weight::from_parts(35_316_000, 4058) + // Measured: `560` + // Estimated: `4025` + // Minimum execution time: 17_804_000 picoseconds. + Weight::from_parts(18_104_000, 4025) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } diff --git a/substrate-node/pallets/pallet-tft-price/src/weights.rs b/substrate-node/pallets/pallet-tft-price/src/weights.rs index 60d9de22e..38b9b81f6 100644 --- a/substrate-node/pallets/pallet-tft-price/src/weights.rs +++ b/substrate-node/pallets/pallet-tft-price/src/weights.rs @@ -2,26 +2,26 @@ //! Autogenerated weights for pallet_tft_price //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-02-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ragnar`, CPU: `Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `7c9e9392584e`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// ../target/release/tfchain +// ./target/production/tfchain // benchmark // pallet // --chain=dev -// --pallet=pallet_tft_price +// --wasm-execution=compiled +// --pallet=pallet-tft-price // --extrinsic=* // --steps=50 // --repeat=20 -// --execution=wasm // --heap-pages=409 // --output -// ../pallets/pallet-tft-price/src/weights.rs +// ./pallets/pallet-tft-price/src/weights.rs // --template -// ./frame-weight-template.hbs +// ./.maintain/frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -41,54 +41,54 @@ pub trait WeightInfo { /// Weights for pallet_tft_price using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { - /// Storage: Session Validators (r:1 w:0) - /// Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTPriceModule BufferRange (r:1 w:1) - /// Proof Skipped: TFTPriceModule BufferRange (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTPriceModule TftPriceHistory (r:2 w:1) - /// Proof Skipped: TFTPriceModule TftPriceHistory (max_values: None, max_size: None, mode: Measured) - /// Storage: TFTPriceModule MinTftPrice (r:1 w:0) - /// Proof Skipped: TFTPriceModule MinTftPrice (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTPriceModule MaxTftPrice (r:1 w:0) - /// Proof Skipped: TFTPriceModule MaxTftPrice (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTPriceModule TftPrice (r:0 w:1) - /// Proof Skipped: TFTPriceModule TftPrice (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTPriceModule LastBlockSet (r:0 w:1) - /// Proof Skipped: TFTPriceModule LastBlockSet (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTPriceModule AverageTftPrice (r:0 w:1) - /// Proof Skipped: TFTPriceModule AverageTftPrice (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Session::Validators` (r:1 w:0) + /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTPriceModule::BufferRange` (r:1 w:1) + /// Proof: `TFTPriceModule::BufferRange` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTPriceModule::TftPriceHistory` (r:2 w:1) + /// Proof: `TFTPriceModule::TftPriceHistory` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TFTPriceModule::MinTftPrice` (r:1 w:0) + /// Proof: `TFTPriceModule::MinTftPrice` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTPriceModule::MaxTftPrice` (r:1 w:0) + /// Proof: `TFTPriceModule::MaxTftPrice` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTPriceModule::TftPrice` (r:0 w:1) + /// Proof: `TFTPriceModule::TftPrice` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTPriceModule::LastBlockSet` (r:0 w:1) + /// Proof: `TFTPriceModule::LastBlockSet` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTPriceModule::AverageTftPrice` (r:0 w:1) + /// Proof: `TFTPriceModule::AverageTftPrice` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_prices() -> Weight { // Proof Size summary in bytes: // Measured: `235` // Estimated: `6175` - // Minimum execution time: 56_848_000 picoseconds. - Weight::from_parts(57_630_000, 6175) + // Minimum execution time: 47_300_000 picoseconds. + Weight::from_parts(47_981_000, 6175) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: TFTPriceModule MaxTftPrice (r:1 w:0) - /// Proof Skipped: TFTPriceModule MaxTftPrice (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTPriceModule MinTftPrice (r:0 w:1) - /// Proof Skipped: TFTPriceModule MinTftPrice (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TFTPriceModule::MaxTftPrice` (r:1 w:0) + /// Proof: `TFTPriceModule::MaxTftPrice` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTPriceModule::MinTftPrice` (r:0 w:1) + /// Proof: `TFTPriceModule::MinTftPrice` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_min_tft_price() -> Weight { // Proof Size summary in bytes: // Measured: `93` // Estimated: `1578` - // Minimum execution time: 8_993_000 picoseconds. - Weight::from_parts(9_197_000, 1578) + // Minimum execution time: 8_175_000 picoseconds. + Weight::from_parts(8_426_000, 1578) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TFTPriceModule MinTftPrice (r:1 w:0) - /// Proof Skipped: TFTPriceModule MinTftPrice (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTPriceModule MaxTftPrice (r:0 w:1) - /// Proof Skipped: TFTPriceModule MaxTftPrice (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TFTPriceModule::MinTftPrice` (r:1 w:0) + /// Proof: `TFTPriceModule::MinTftPrice` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTPriceModule::MaxTftPrice` (r:0 w:1) + /// Proof: `TFTPriceModule::MaxTftPrice` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_max_tft_price() -> Weight { // Proof Size summary in bytes: // Measured: `93` // Estimated: `1578` - // Minimum execution time: 8_902_000 picoseconds. - Weight::from_parts(9_147_000, 1578) + // Minimum execution time: 8_105_000 picoseconds. + Weight::from_parts(8_356_000, 1578) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -96,55 +96,55 @@ impl WeightInfo for SubstrateWeight { // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: Session Validators (r:1 w:0) - /// Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTPriceModule BufferRange (r:1 w:1) - /// Proof Skipped: TFTPriceModule BufferRange (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTPriceModule TftPriceHistory (r:2 w:1) - /// Proof Skipped: TFTPriceModule TftPriceHistory (max_values: None, max_size: None, mode: Measured) - /// Storage: TFTPriceModule MinTftPrice (r:1 w:0) - /// Proof Skipped: TFTPriceModule MinTftPrice (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTPriceModule MaxTftPrice (r:1 w:0) - /// Proof Skipped: TFTPriceModule MaxTftPrice (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTPriceModule TftPrice (r:0 w:1) - /// Proof Skipped: TFTPriceModule TftPrice (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTPriceModule LastBlockSet (r:0 w:1) - /// Proof Skipped: TFTPriceModule LastBlockSet (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTPriceModule AverageTftPrice (r:0 w:1) - /// Proof Skipped: TFTPriceModule AverageTftPrice (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Session::Validators` (r:1 w:0) + /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTPriceModule::BufferRange` (r:1 w:1) + /// Proof: `TFTPriceModule::BufferRange` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTPriceModule::TftPriceHistory` (r:2 w:1) + /// Proof: `TFTPriceModule::TftPriceHistory` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TFTPriceModule::MinTftPrice` (r:1 w:0) + /// Proof: `TFTPriceModule::MinTftPrice` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTPriceModule::MaxTftPrice` (r:1 w:0) + /// Proof: `TFTPriceModule::MaxTftPrice` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTPriceModule::TftPrice` (r:0 w:1) + /// Proof: `TFTPriceModule::TftPrice` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTPriceModule::LastBlockSet` (r:0 w:1) + /// Proof: `TFTPriceModule::LastBlockSet` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTPriceModule::AverageTftPrice` (r:0 w:1) + /// Proof: `TFTPriceModule::AverageTftPrice` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_prices() -> Weight { // Proof Size summary in bytes: // Measured: `235` // Estimated: `6175` - // Minimum execution time: 56_848_000 picoseconds. - Weight::from_parts(57_630_000, 6175) + // Minimum execution time: 47_300_000 picoseconds. + Weight::from_parts(47_981_000, 6175) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } - /// Storage: TFTPriceModule MaxTftPrice (r:1 w:0) - /// Proof Skipped: TFTPriceModule MaxTftPrice (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTPriceModule MinTftPrice (r:0 w:1) - /// Proof Skipped: TFTPriceModule MinTftPrice (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TFTPriceModule::MaxTftPrice` (r:1 w:0) + /// Proof: `TFTPriceModule::MaxTftPrice` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTPriceModule::MinTftPrice` (r:0 w:1) + /// Proof: `TFTPriceModule::MinTftPrice` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_min_tft_price() -> Weight { // Proof Size summary in bytes: // Measured: `93` // Estimated: `1578` - // Minimum execution time: 8_993_000 picoseconds. - Weight::from_parts(9_197_000, 1578) + // Minimum execution time: 8_175_000 picoseconds. + Weight::from_parts(8_426_000, 1578) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TFTPriceModule MinTftPrice (r:1 w:0) - /// Proof Skipped: TFTPriceModule MinTftPrice (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TFTPriceModule MaxTftPrice (r:0 w:1) - /// Proof Skipped: TFTPriceModule MaxTftPrice (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TFTPriceModule::MinTftPrice` (r:1 w:0) + /// Proof: `TFTPriceModule::MinTftPrice` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TFTPriceModule::MaxTftPrice` (r:0 w:1) + /// Proof: `TFTPriceModule::MaxTftPrice` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_max_tft_price() -> Weight { // Proof Size summary in bytes: // Measured: `93` // Estimated: `1578` - // Minimum execution time: 8_902_000 picoseconds. - Weight::from_parts(9_147_000, 1578) + // Minimum execution time: 8_105_000 picoseconds. + Weight::from_parts(8_356_000, 1578) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } -} \ No newline at end of file +} diff --git a/substrate-node/pallets/pallet-validator/src/weights.rs b/substrate-node/pallets/pallet-validator/src/weights.rs index b38d6fb12..f9fa70e25 100644 --- a/substrate-node/pallets/pallet-validator/src/weights.rs +++ b/substrate-node/pallets/pallet-validator/src/weights.rs @@ -2,26 +2,26 @@ //! Autogenerated weights for pallet_validator //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-02-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ragnar`, CPU: `Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `7c9e9392584e`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// ../target/release/tfchain +// ./target/production/tfchain // benchmark // pallet // --chain=dev -// --pallet=pallet_validator +// --wasm-execution=compiled +// --pallet=pallet-validator // --extrinsic=* // --steps=50 // --repeat=20 -// --execution=wasm // --heap-pages=409 // --output -// ../pallets/pallet-validator/src/weights.rs +// ./pallets/pallet-validator/src/weights.rs // --template -// ./frame-weight-template.hbs +// ./.maintain/frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -44,95 +44,95 @@ pub trait WeightInfo { /// Weights for pallet_validator using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { - /// Storage: Validator Validator (r:1 w:1) - /// Proof Skipped: Validator Validator (max_values: None, max_size: None, mode: Measured) + /// Storage: `Validator::Validator` (r:1 w:1) + /// Proof: `Validator::Validator` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_validator_request() -> Weight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3507` - // Minimum execution time: 20_271_000 picoseconds. - Weight::from_parts(20_728_000, 3507) + // Minimum execution time: 9_117_000 picoseconds. + Weight::from_parts(9_609_000, 3507) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Validator Validator (r:1 w:1) - /// Proof Skipped: Validator Validator (max_values: None, max_size: None, mode: Measured) - /// Storage: ValidatorSet Validators (r:1 w:1) - /// Proof Skipped: ValidatorSet Validators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ValidatorSet ApprovedValidators (r:1 w:1) - /// Proof Skipped: ValidatorSet ApprovedValidators (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Validator::Validator` (r:1 w:1) + /// Proof: `Validator::Validator` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ValidatorSet::Validators` (r:1 w:1) + /// Proof: `ValidatorSet::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ValidatorSet::ApprovedValidators` (r:1 w:1) + /// Proof: `ValidatorSet::ApprovedValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn activate_validator_node() -> Weight { // Proof Size summary in bytes: // Measured: `365` // Estimated: `3830` - // Minimum execution time: 45_601_000 picoseconds. - Weight::from_parts(46_151_000, 3830) + // Minimum execution time: 23_996_000 picoseconds. + Weight::from_parts(24_887_000, 3830) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Validator Validator (r:1 w:1) - /// Proof Skipped: Validator Validator (max_values: None, max_size: None, mode: Measured) - /// Storage: ValidatorSet Validators (r:1 w:1) - /// Proof Skipped: ValidatorSet Validators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ValidatorSet ApprovedValidators (r:1 w:1) - /// Proof Skipped: ValidatorSet ApprovedValidators (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Validator::Validator` (r:1 w:1) + /// Proof: `Validator::Validator` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ValidatorSet::Validators` (r:1 w:1) + /// Proof: `ValidatorSet::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ValidatorSet::ApprovedValidators` (r:1 w:1) + /// Proof: `ValidatorSet::ApprovedValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn change_validator_node_account() -> Weight { // Proof Size summary in bytes: // Measured: `431` // Estimated: `3896` - // Minimum execution time: 61_641_000 picoseconds. - Weight::from_parts(62_171_000, 3896) + // Minimum execution time: 32_873_000 picoseconds. + Weight::from_parts(33_594_000, 3896) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Validator Bonded (r:1 w:1) - /// Proof Skipped: Validator Bonded (max_values: None, max_size: None, mode: Measured) + /// Storage: `Validator::Bonded` (r:1 w:1) + /// Proof: `Validator::Bonded` (`max_values`: None, `max_size`: None, mode: `Measured`) fn bond() -> Weight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3507` - // Minimum execution time: 17_991_000 picoseconds. - Weight::from_parts(18_269_000, 3507) + // Minimum execution time: 8_276_000 picoseconds. + Weight::from_parts(8_576_000, 3507) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: CouncilMembership Members (r:1 w:1) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Validator Validator (r:1 w:1) - /// Proof Skipped: Validator Validator (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: 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: `CouncilMembership::Members` (r:1 w:1) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Validator::Validator` (r:1 w:1) + /// Proof: `Validator::Validator` (`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: `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`) fn approve_validator() -> Weight { // Proof Size summary in bytes: - // Measured: `558` + // Measured: `494` // Estimated: `4687` - // Minimum execution time: 46_008_000 picoseconds. - Weight::from_parts(46_565_000, 4687) + // Minimum execution time: 24_486_000 picoseconds. + Weight::from_parts(25_007_000, 4687) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: CouncilMembership Members (r:1 w:1) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Validator Validator (r:1 w:1) - /// Proof Skipped: Validator Validator (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: CouncilMembership Prime (r:1 w:0) - /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// 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: `CouncilMembership::Members` (r:1 w:1) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Validator::Validator` (r:1 w:1) + /// Proof: `Validator::Validator` (`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: `CouncilMembership::Prime` (r:1 w:0) + /// Proof: `CouncilMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// 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`) fn remove_validator() -> Weight { // Proof Size summary in bytes: - // Measured: `622` + // Measured: `558` // Estimated: `4687` - // Minimum execution time: 39_718_000 picoseconds. - Weight::from_parts(40_453_000, 4687) + // Minimum execution time: 22_462_000 picoseconds. + Weight::from_parts(22_894_000, 4687) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -140,96 +140,96 @@ impl WeightInfo for SubstrateWeight { // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: Validator Validator (r:1 w:1) - /// Proof Skipped: Validator Validator (max_values: None, max_size: None, mode: Measured) + /// Storage: `Validator::Validator` (r:1 w:1) + /// Proof: `Validator::Validator` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_validator_request() -> Weight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3507` - // Minimum execution time: 20_271_000 picoseconds. - Weight::from_parts(20_728_000, 3507) + // Minimum execution time: 9_117_000 picoseconds. + Weight::from_parts(9_609_000, 3507) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Validator Validator (r:1 w:1) - /// Proof Skipped: Validator Validator (max_values: None, max_size: None, mode: Measured) - /// Storage: ValidatorSet Validators (r:1 w:1) - /// Proof Skipped: ValidatorSet Validators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ValidatorSet ApprovedValidators (r:1 w:1) - /// Proof Skipped: ValidatorSet ApprovedValidators (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Validator::Validator` (r:1 w:1) + /// Proof: `Validator::Validator` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ValidatorSet::Validators` (r:1 w:1) + /// Proof: `ValidatorSet::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ValidatorSet::ApprovedValidators` (r:1 w:1) + /// Proof: `ValidatorSet::ApprovedValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn activate_validator_node() -> Weight { // Proof Size summary in bytes: // Measured: `365` // Estimated: `3830` - // Minimum execution time: 45_601_000 picoseconds. - Weight::from_parts(46_151_000, 3830) + // Minimum execution time: 23_996_000 picoseconds. + Weight::from_parts(24_887_000, 3830) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Validator Validator (r:1 w:1) - /// Proof Skipped: Validator Validator (max_values: None, max_size: None, mode: Measured) - /// Storage: ValidatorSet Validators (r:1 w:1) - /// Proof Skipped: ValidatorSet Validators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ValidatorSet ApprovedValidators (r:1 w:1) - /// Proof Skipped: ValidatorSet ApprovedValidators (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Validator::Validator` (r:1 w:1) + /// Proof: `Validator::Validator` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ValidatorSet::Validators` (r:1 w:1) + /// Proof: `ValidatorSet::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ValidatorSet::ApprovedValidators` (r:1 w:1) + /// Proof: `ValidatorSet::ApprovedValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn change_validator_node_account() -> Weight { // Proof Size summary in bytes: // Measured: `431` // Estimated: `3896` - // Minimum execution time: 61_641_000 picoseconds. - Weight::from_parts(62_171_000, 3896) + // Minimum execution time: 32_873_000 picoseconds. + Weight::from_parts(33_594_000, 3896) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Validator Bonded (r:1 w:1) - /// Proof Skipped: Validator Bonded (max_values: None, max_size: None, mode: Measured) + /// Storage: `Validator::Bonded` (r:1 w:1) + /// Proof: `Validator::Bonded` (`max_values`: None, `max_size`: None, mode: `Measured`) fn bond() -> Weight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3507` - // Minimum execution time: 17_991_000 picoseconds. - Weight::from_parts(18_269_000, 3507) + // Minimum execution time: 8_276_000 picoseconds. + Weight::from_parts(8_576_000, 3507) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: CouncilMembership Members (r:1 w:1) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Validator Validator (r:1 w:1) - /// Proof Skipped: Validator Validator (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: 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: `CouncilMembership::Members` (r:1 w:1) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Validator::Validator` (r:1 w:1) + /// Proof: `Validator::Validator` (`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: `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`) fn approve_validator() -> Weight { // Proof Size summary in bytes: - // Measured: `558` + // Measured: `494` // Estimated: `4687` - // Minimum execution time: 46_008_000 picoseconds. - Weight::from_parts(46_565_000, 4687) + // Minimum execution time: 24_486_000 picoseconds. + Weight::from_parts(25_007_000, 4687) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } - /// Storage: CouncilMembership Members (r:1 w:1) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Validator Validator (r:1 w:1) - /// Proof Skipped: Validator Validator (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: CouncilMembership Prime (r:1 w:0) - /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// 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: `CouncilMembership::Members` (r:1 w:1) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Validator::Validator` (r:1 w:1) + /// Proof: `Validator::Validator` (`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: `CouncilMembership::Prime` (r:1 w:0) + /// Proof: `CouncilMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// 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`) fn remove_validator() -> Weight { // Proof Size summary in bytes: - // Measured: `622` + // Measured: `558` // Estimated: `4687` - // Minimum execution time: 39_718_000 picoseconds. - Weight::from_parts(40_453_000, 4687) + // Minimum execution time: 22_462_000 picoseconds. + Weight::from_parts(22_894_000, 4687) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } -} \ No newline at end of file +} diff --git a/substrate-node/pallets/substrate-validator-set/src/weights.rs b/substrate-node/pallets/substrate-validator-set/src/weights.rs index 86375fd8a..6842bb0c0 100644 --- a/substrate-node/pallets/substrate-validator-set/src/weights.rs +++ b/substrate-node/pallets/substrate-validator-set/src/weights.rs @@ -1,27 +1,27 @@ -//! Autogenerated weights for validatorset +//! Autogenerated weights for substrate_validator_set //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-02-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ragnar`, CPU: `Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `7c9e9392584e`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// ../target/release/tfchain +// ./target/production/tfchain // benchmark // pallet // --chain=dev -// --pallet=validatorset +// --wasm-execution=compiled +// --pallet=substrate-validator-set // --extrinsic=* // --steps=50 // --repeat=20 -// --execution=wasm // --heap-pages=409 // --output -// ../pallets/substrate-validator-set/src/weights.rs +// ./pallets/substrate-validator-set/src/weights.rs // --template -// ./frame-weight-template.hbs +// ./.maintain/frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -31,52 +31,52 @@ use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions needed for validatorset. +/// Weight functions needed for substrate_validator_set. pub trait WeightInfo { fn add_validator() -> Weight; fn remove_validator() -> Weight; fn add_validator_again() -> Weight; } -/// Weights for validatorset using the Substrate node and recommended hardware. +/// Weights for substrate_validator_set using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { - /// Storage: ValidatorSet Validators (r:1 w:1) - /// Proof Skipped: ValidatorSet Validators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ValidatorSet ApprovedValidators (r:1 w:1) - /// Proof Skipped: ValidatorSet ApprovedValidators (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ValidatorSet::Validators` (r:1 w:1) + /// Proof: `ValidatorSet::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ValidatorSet::ApprovedValidators` (r:1 w:1) + /// Proof: `ValidatorSet::ApprovedValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn add_validator() -> Weight { // Proof Size summary in bytes: // Measured: `139` // Estimated: `1624` - // Minimum execution time: 24_614_000 picoseconds. - Weight::from_parts(25_225_000, 1624) + // Minimum execution time: 22_011_000 picoseconds. + Weight::from_parts(23_234_000, 1624) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: ValidatorSet Validators (r:1 w:1) - /// Proof Skipped: ValidatorSet Validators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ValidatorSet ApprovedValidators (r:1 w:0) - /// Proof Skipped: ValidatorSet ApprovedValidators (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ValidatorSet::Validators` (r:1 w:1) + /// Proof: `ValidatorSet::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ValidatorSet::ApprovedValidators` (r:1 w:0) + /// Proof: `ValidatorSet::ApprovedValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn remove_validator() -> Weight { // Proof Size summary in bytes: // Measured: `205` // Estimated: `1690` - // Minimum execution time: 20_152_000 picoseconds. - Weight::from_parts(20_484_000, 1690) + // Minimum execution time: 18_394_000 picoseconds. + Weight::from_parts(19_016_000, 1690) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: ValidatorSet ApprovedValidators (r:1 w:0) - /// Proof Skipped: ValidatorSet ApprovedValidators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ValidatorSet Validators (r:1 w:1) - /// Proof Skipped: ValidatorSet Validators (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ValidatorSet::ApprovedValidators` (r:1 w:0) + /// Proof: `ValidatorSet::ApprovedValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ValidatorSet::Validators` (r:1 w:1) + /// Proof: `ValidatorSet::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn add_validator_again() -> Weight { // Proof Size summary in bytes: // Measured: `172` // Estimated: `1657` - // Minimum execution time: 21_948_000 picoseconds. - Weight::from_parts(22_780_000, 1657) + // Minimum execution time: 20_118_000 picoseconds. + Weight::from_parts(20_689_000, 1657) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -84,43 +84,43 @@ impl WeightInfo for SubstrateWeight { // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: ValidatorSet Validators (r:1 w:1) - /// Proof Skipped: ValidatorSet Validators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ValidatorSet ApprovedValidators (r:1 w:1) - /// Proof Skipped: ValidatorSet ApprovedValidators (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ValidatorSet::Validators` (r:1 w:1) + /// Proof: `ValidatorSet::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ValidatorSet::ApprovedValidators` (r:1 w:1) + /// Proof: `ValidatorSet::ApprovedValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn add_validator() -> Weight { // Proof Size summary in bytes: // Measured: `139` // Estimated: `1624` - // Minimum execution time: 24_614_000 picoseconds. - Weight::from_parts(25_225_000, 1624) + // Minimum execution time: 22_011_000 picoseconds. + Weight::from_parts(23_234_000, 1624) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: ValidatorSet Validators (r:1 w:1) - /// Proof Skipped: ValidatorSet Validators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ValidatorSet ApprovedValidators (r:1 w:0) - /// Proof Skipped: ValidatorSet ApprovedValidators (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ValidatorSet::Validators` (r:1 w:1) + /// Proof: `ValidatorSet::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ValidatorSet::ApprovedValidators` (r:1 w:0) + /// Proof: `ValidatorSet::ApprovedValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn remove_validator() -> Weight { // Proof Size summary in bytes: // Measured: `205` // Estimated: `1690` - // Minimum execution time: 20_152_000 picoseconds. - Weight::from_parts(20_484_000, 1690) + // Minimum execution time: 18_394_000 picoseconds. + Weight::from_parts(19_016_000, 1690) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: ValidatorSet ApprovedValidators (r:1 w:0) - /// Proof Skipped: ValidatorSet ApprovedValidators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ValidatorSet Validators (r:1 w:1) - /// Proof Skipped: ValidatorSet Validators (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ValidatorSet::ApprovedValidators` (r:1 w:0) + /// Proof: `ValidatorSet::ApprovedValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ValidatorSet::Validators` (r:1 w:1) + /// Proof: `ValidatorSet::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn add_validator_again() -> Weight { // Proof Size summary in bytes: // Measured: `172` // Estimated: `1657` - // Minimum execution time: 21_948_000 picoseconds. - Weight::from_parts(22_780_000, 1657) + // Minimum execution time: 20_118_000 picoseconds. + Weight::from_parts(20_689_000, 1657) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } -} \ No newline at end of file +} From df84c55e12468e8212b426213697434ae0c618c2 Mon Sep 17 00:00:00 2001 From: Erwan Renaut <73958772+renauter@users.noreply.github.com> Date: Mon, 26 Feb 2024 11:23:56 -0300 Subject: [PATCH 07/12] few adjustments --- .../workflows/060_generate_benchmark_weights.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/060_generate_benchmark_weights.yml b/.github/workflows/060_generate_benchmark_weights.yml index 29123b779..02c34e3a5 100644 --- a/.github/workflows/060_generate_benchmark_weights.yml +++ b/.github/workflows/060_generate_benchmark_weights.yml @@ -22,7 +22,7 @@ jobs: exit 1 - name: Checkout the repo - uses: actions/checkout@master + uses: actions/checkout@v3 - name: Chown user run: | @@ -42,13 +42,6 @@ jobs: key: ${{ runner.os }}-tfchain-build-cache-${{ hashFiles('**/Cargo.lock') }} restore-keys: ${{ runner.os }}-tfchain-build-cache - - name: Git check - run: | - pwd - ls -a - git config --global --add safe.directory /__w/tfchain/tfchain - git status - - name: Build run: | cd substrate-node @@ -76,8 +69,6 @@ jobs: - name: Git check run: | - pwd - ls -a git config --global --add safe.directory /__w/tfchain/tfchain git status @@ -87,5 +78,3 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} message: 'chore(pallets): update benchmark `weights.rs` files ${date}' branch: ${{ github.ref_name }} - directory: './substrate-node/' - force: true From 5a333ab40ea08fa0d48aee938b703ee3cad392c7 Mon Sep 17 00:00:00 2001 From: Erwan Renaut <73958772+renauter@users.noreply.github.com> Date: Mon, 26 Feb 2024 11:31:35 -0300 Subject: [PATCH 08/12] fix date in commit message --- .github/workflows/060_generate_benchmark_weights.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/060_generate_benchmark_weights.yml b/.github/workflows/060_generate_benchmark_weights.yml index 02c34e3a5..3025f877f 100644 --- a/.github/workflows/060_generate_benchmark_weights.yml +++ b/.github/workflows/060_generate_benchmark_weights.yml @@ -67,7 +67,7 @@ jobs: --template ./.maintain/frame-weight-template.hbs done - - name: Git check + - name: Git config run: | git config --global --add safe.directory /__w/tfchain/tfchain git status @@ -76,5 +76,5 @@ jobs: uses: actions-js/push@master with: github_token: ${{ secrets.GITHUB_TOKEN }} - message: 'chore(pallets): update benchmark `weights.rs` files ${date}' + message: "chore(pallets): update benchmark `weights.rs` files `date +'%Y-%m-%d %H:%M:%S'`" branch: ${{ github.ref_name }} From 45817fd9a4aa854947d07ce502286c5e49d1e75e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 26 Feb 2024 15:08:23 +0000 Subject: [PATCH 09/12] chore(pallets): update benchmark `weights.rs` files `date +'%Y-%m-%d %H:%M:%S'` --- .../pallets/pallet-burning/src/weights.rs | 10 +- .../pallets/pallet-dao/src/weights.rs | 34 +-- .../pallets/pallet-kvstore/src/weights.rs | 18 +- .../pallet-smart-contract/src/weights.rs | 186 ++++++------- .../pallets/pallet-tfgrid/src/weights.rs | 258 +++++++++--------- .../pallets/pallet-tft-bridge/src/weights.rs | 90 +++--- .../pallets/pallet-tft-price/src/weights.rs | 26 +- .../pallets/pallet-validator/src/weights.rs | 50 ++-- .../substrate-validator-set/src/weights.rs | 26 +- 9 files changed, 349 insertions(+), 349 deletions(-) diff --git a/substrate-node/pallets/pallet-burning/src/weights.rs b/substrate-node/pallets/pallet-burning/src/weights.rs index b4e3ea62c..ac53bcf12 100644 --- a/substrate-node/pallets/pallet-burning/src/weights.rs +++ b/substrate-node/pallets/pallet-burning/src/weights.rs @@ -4,7 +4,7 @@ //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! DATE: 2024-02-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `7c9e9392584e`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` +//! HOSTNAME: `7d08bfac7c55`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -45,8 +45,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `109` // Estimated: `1594` - // Minimum execution time: 26_189_000 picoseconds. - Weight::from_parts(26_710_000, 1594) + // Minimum execution time: 42_300_000 picoseconds. + Weight::from_parts(43_131_000, 1594) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -60,8 +60,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `109` // Estimated: `1594` - // Minimum execution time: 26_189_000 picoseconds. - Weight::from_parts(26_710_000, 1594) + // Minimum execution time: 42_300_000 picoseconds. + Weight::from_parts(43_131_000, 1594) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/substrate-node/pallets/pallet-dao/src/weights.rs b/substrate-node/pallets/pallet-dao/src/weights.rs index 965111109..4d2b82240 100644 --- a/substrate-node/pallets/pallet-dao/src/weights.rs +++ b/substrate-node/pallets/pallet-dao/src/weights.rs @@ -4,7 +4,7 @@ //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! DATE: 2024-02-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `7c9e9392584e`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` +//! HOSTNAME: `7d08bfac7c55`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -58,8 +58,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `208` // Estimated: `4687` - // Minimum execution time: 30_828_000 picoseconds. - Weight::from_parts(31_480_000, 4687) + // Minimum execution time: 40_987_000 picoseconds. + Weight::from_parts(42_650_000, 4687) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -77,8 +77,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `979` // Estimated: `4444` - // Minimum execution time: 42_109_000 picoseconds. - Weight::from_parts(43_242_000, 4444) + // Minimum execution time: 55_175_000 picoseconds. + Weight::from_parts(56_567_000, 4444) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -92,8 +92,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `487` // Estimated: `4687` - // Minimum execution time: 17_753_000 picoseconds. - Weight::from_parts(18_295_000, 4687) + // Minimum execution time: 18_976_000 picoseconds. + Weight::from_parts(19_387_000, 4687) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -111,8 +111,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `469` // Estimated: `4687` - // Minimum execution time: 23_665_000 picoseconds. - Weight::from_parts(24_106_000, 4687) + // Minimum execution time: 25_087_000 picoseconds. + Weight::from_parts(25_498_000, 4687) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -136,8 +136,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `208` // Estimated: `4687` - // Minimum execution time: 30_828_000 picoseconds. - Weight::from_parts(31_480_000, 4687) + // Minimum execution time: 40_987_000 picoseconds. + Weight::from_parts(42_650_000, 4687) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -155,8 +155,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `979` // Estimated: `4444` - // Minimum execution time: 42_109_000 picoseconds. - Weight::from_parts(43_242_000, 4444) + // Minimum execution time: 55_175_000 picoseconds. + Weight::from_parts(56_567_000, 4444) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -170,8 +170,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `487` // Estimated: `4687` - // Minimum execution time: 17_753_000 picoseconds. - Weight::from_parts(18_295_000, 4687) + // Minimum execution time: 18_976_000 picoseconds. + Weight::from_parts(19_387_000, 4687) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -189,8 +189,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `469` // Estimated: `4687` - // Minimum execution time: 23_665_000 picoseconds. - Weight::from_parts(24_106_000, 4687) + // Minimum execution time: 25_087_000 picoseconds. + Weight::from_parts(25_498_000, 4687) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } diff --git a/substrate-node/pallets/pallet-kvstore/src/weights.rs b/substrate-node/pallets/pallet-kvstore/src/weights.rs index 5b7231cbd..6948c498f 100644 --- a/substrate-node/pallets/pallet-kvstore/src/weights.rs +++ b/substrate-node/pallets/pallet-kvstore/src/weights.rs @@ -4,7 +4,7 @@ //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! DATE: 2024-02-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `7c9e9392584e`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` +//! HOSTNAME: `7d08bfac7c55`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -46,8 +46,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_033_000 picoseconds. - Weight::from_parts(7_264_000, 0) + // Minimum execution time: 11_171_000 picoseconds. + Weight::from_parts(11_571_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `TFKVStore::TFKVStore` (r:1 w:1) @@ -56,8 +56,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `146` // Estimated: `3611` - // Minimum execution time: 12_573_000 picoseconds. - Weight::from_parts(12_684_000, 3611) + // Minimum execution time: 19_767_000 picoseconds. + Weight::from_parts(20_439_000, 3611) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -71,8 +71,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_033_000 picoseconds. - Weight::from_parts(7_264_000, 0) + // Minimum execution time: 11_171_000 picoseconds. + Weight::from_parts(11_571_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `TFKVStore::TFKVStore` (r:1 w:1) @@ -81,8 +81,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `146` // Estimated: `3611` - // Minimum execution time: 12_573_000 picoseconds. - Weight::from_parts(12_684_000, 3611) + // Minimum execution time: 19_767_000 picoseconds. + Weight::from_parts(20_439_000, 3611) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/substrate-node/pallets/pallet-smart-contract/src/weights.rs b/substrate-node/pallets/pallet-smart-contract/src/weights.rs index 04f9860de..f09d0d1bb 100644 --- a/substrate-node/pallets/pallet-smart-contract/src/weights.rs +++ b/substrate-node/pallets/pallet-smart-contract/src/weights.rs @@ -4,7 +4,7 @@ //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! DATE: 2024-02-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `7c9e9392584e`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` +//! HOSTNAME: `7d08bfac7c55`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -95,8 +95,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `868` // Estimated: `4333` - // Minimum execution time: 77_466_000 picoseconds. - Weight::from_parts(78_619_000, 4333) + // Minimum execution time: 48_041_000 picoseconds. + Weight::from_parts(48_652_000, 4333) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -112,8 +112,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `892` // Estimated: `4357` - // Minimum execution time: 25_668_000 picoseconds. - Weight::from_parts(43_753_000, 4357) + // Minimum execution time: 26_650_000 picoseconds. + Weight::from_parts(27_091_000, 4357) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -145,8 +145,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1203` // Estimated: `4668` - // Minimum execution time: 58_550_000 picoseconds. - Weight::from_parts(59_442_000, 4668) + // Minimum execution time: 59_723_000 picoseconds. + Weight::from_parts(60_474_000, 4668) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -170,8 +170,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `340` // Estimated: `3805` - // Minimum execution time: 23_835_000 picoseconds. - Weight::from_parts(24_346_000, 3805) + // Minimum execution time: 24_757_000 picoseconds. + Weight::from_parts(25_188_000, 3805) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -197,8 +197,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `919` // Estimated: `4384` - // Minimum execution time: 44_905_000 picoseconds. - Weight::from_parts(45_816_000, 4384) + // Minimum execution time: 45_907_000 picoseconds. + Weight::from_parts(46_619_000, 4384) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -220,8 +220,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1292` // Estimated: `4757` - // Minimum execution time: 37_071_000 picoseconds. - Weight::from_parts(37_641_000, 4757) + // Minimum execution time: 37_340_000 picoseconds. + Weight::from_parts(38_172_000, 4757) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -237,8 +237,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `771` // Estimated: `4236` - // Minimum execution time: 22_703_000 picoseconds. - Weight::from_parts(23_094_000, 4236) + // Minimum execution time: 22_874_000 picoseconds. + Weight::from_parts(23_224_000, 4236) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -268,8 +268,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `776` // Estimated: `4241` - // Minimum execution time: 33_834_000 picoseconds. - Weight::from_parts(34_626_000, 4241) + // Minimum execution time: 34_615_000 picoseconds. + Weight::from_parts(35_106_000, 4241) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -303,8 +303,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1284` // Estimated: `4749` - // Minimum execution time: 58_010_000 picoseconds. - Weight::from_parts(58_931_000, 4749) + // Minimum execution time: 58_921_000 picoseconds. + Weight::from_parts(59_803_000, 4749) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -316,8 +316,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `37` // Estimated: `1522` - // Minimum execution time: 9_629_000 picoseconds. - Weight::from_parts(9_729_000, 1522) + // Minimum execution time: 10_079_000 picoseconds. + Weight::from_parts(10_370_000, 1522) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -327,8 +327,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `215` // Estimated: `3680` - // Minimum execution time: 12_483_000 picoseconds. - Weight::from_parts(12_875_000, 3680) + // Minimum execution time: 12_924_000 picoseconds. + Weight::from_parts(13_145_000, 3680) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -368,8 +368,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1608` // Estimated: `5073` - // Minimum execution time: 77_637_000 picoseconds. - Weight::from_parts(78_679_000, 5073) + // Minimum execution time: 79_120_000 picoseconds. + Weight::from_parts(80_383_000, 5073) .saturating_add(T::DbWeight::get().reads(16_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -383,8 +383,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `395` // Estimated: `6335` - // Minimum execution time: 18_054_000 picoseconds. - Weight::from_parts(18_635_000, 6335) + // Minimum execution time: 18_715_000 picoseconds. + Weight::from_parts(19_036_000, 6335) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -396,8 +396,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `489` // Estimated: `3954` - // Minimum execution time: 16_201_000 picoseconds. - Weight::from_parts(16_742_000, 3954) + // Minimum execution time: 16_632_000 picoseconds. + Weight::from_parts(16_942_000, 3954) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -409,8 +409,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `489` // Estimated: `3954` - // Minimum execution time: 15_980_000 picoseconds. - Weight::from_parts(16_321_000, 3954) + // Minimum execution time: 16_521_000 picoseconds. + Weight::from_parts(16_781_000, 3954) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -422,8 +422,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `502` // Estimated: `3967` - // Minimum execution time: 16_251_000 picoseconds. - Weight::from_parts(16_572_000, 3967) + // Minimum execution time: 16_691_000 picoseconds. + Weight::from_parts(17_052_000, 3967) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -435,8 +435,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `502` // Estimated: `3967` - // Minimum execution time: 16_801_000 picoseconds. - Weight::from_parts(17_022_000, 3967) + // Minimum execution time: 16_912_000 picoseconds. + Weight::from_parts(17_303_000, 3967) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -448,8 +448,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `502` // Estimated: `3967` - // Minimum execution time: 15_720_000 picoseconds. - Weight::from_parts(16_040_000, 3967) + // Minimum execution time: 15_980_000 picoseconds. + Weight::from_parts(16_341_000, 3967) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -467,8 +467,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `841` // Estimated: `6781` - // Minimum execution time: 29_455_000 picoseconds. - Weight::from_parts(29_997_000, 6781) + // Minimum execution time: 30_107_000 picoseconds. + Weight::from_parts(30_518_000, 6781) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -478,8 +478,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `37` // Estimated: `1522` - // Minimum execution time: 7_524_000 picoseconds. - Weight::from_parts(8_185_000, 1522) + // Minimum execution time: 7_474_000 picoseconds. + Weight::from_parts(7_705_000, 1522) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -493,8 +493,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `971` // Estimated: `4436` - // Minimum execution time: 21_420_000 picoseconds. - Weight::from_parts(21_801_000, 4436) + // Minimum execution time: 21_581_000 picoseconds. + Weight::from_parts(22_142_000, 4436) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -514,8 +514,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `733` // Estimated: `4198` - // Minimum execution time: 22_602_000 picoseconds. - Weight::from_parts(22_923_000, 4198) + // Minimum execution time: 22_944_000 picoseconds. + Weight::from_parts(23_254_000, 4198) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -547,8 +547,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1203` // Estimated: `4668` - // Minimum execution time: 56_386_000 picoseconds. - Weight::from_parts(57_248_000, 4668) + // Minimum execution time: 57_289_000 picoseconds. + Weight::from_parts(58_591_000, 4668) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -590,8 +590,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `868` // Estimated: `4333` - // Minimum execution time: 77_466_000 picoseconds. - Weight::from_parts(78_619_000, 4333) + // Minimum execution time: 48_041_000 picoseconds. + Weight::from_parts(48_652_000, 4333) .saturating_add(RocksDbWeight::get().reads(12_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } @@ -607,8 +607,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `892` // Estimated: `4357` - // Minimum execution time: 25_668_000 picoseconds. - Weight::from_parts(43_753_000, 4357) + // Minimum execution time: 26_650_000 picoseconds. + Weight::from_parts(27_091_000, 4357) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -640,8 +640,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1203` // Estimated: `4668` - // Minimum execution time: 58_550_000 picoseconds. - Weight::from_parts(59_442_000, 4668) + // Minimum execution time: 59_723_000 picoseconds. + Weight::from_parts(60_474_000, 4668) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -665,8 +665,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `340` // Estimated: `3805` - // Minimum execution time: 23_835_000 picoseconds. - Weight::from_parts(24_346_000, 3805) + // Minimum execution time: 24_757_000 picoseconds. + Weight::from_parts(25_188_000, 3805) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -692,8 +692,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `919` // Estimated: `4384` - // Minimum execution time: 44_905_000 picoseconds. - Weight::from_parts(45_816_000, 4384) + // Minimum execution time: 45_907_000 picoseconds. + Weight::from_parts(46_619_000, 4384) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -715,8 +715,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1292` // Estimated: `4757` - // Minimum execution time: 37_071_000 picoseconds. - Weight::from_parts(37_641_000, 4757) + // Minimum execution time: 37_340_000 picoseconds. + Weight::from_parts(38_172_000, 4757) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -732,8 +732,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `771` // Estimated: `4236` - // Minimum execution time: 22_703_000 picoseconds. - Weight::from_parts(23_094_000, 4236) + // Minimum execution time: 22_874_000 picoseconds. + Weight::from_parts(23_224_000, 4236) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -763,8 +763,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `776` // Estimated: `4241` - // Minimum execution time: 33_834_000 picoseconds. - Weight::from_parts(34_626_000, 4241) + // Minimum execution time: 34_615_000 picoseconds. + Weight::from_parts(35_106_000, 4241) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -798,8 +798,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1284` // Estimated: `4749` - // Minimum execution time: 58_010_000 picoseconds. - Weight::from_parts(58_931_000, 4749) + // Minimum execution time: 58_921_000 picoseconds. + Weight::from_parts(59_803_000, 4749) .saturating_add(RocksDbWeight::get().reads(12_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -811,8 +811,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `37` // Estimated: `1522` - // Minimum execution time: 9_629_000 picoseconds. - Weight::from_parts(9_729_000, 1522) + // Minimum execution time: 10_079_000 picoseconds. + Weight::from_parts(10_370_000, 1522) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -822,8 +822,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `215` // Estimated: `3680` - // Minimum execution time: 12_483_000 picoseconds. - Weight::from_parts(12_875_000, 3680) + // Minimum execution time: 12_924_000 picoseconds. + Weight::from_parts(13_145_000, 3680) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -863,8 +863,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1608` // Estimated: `5073` - // Minimum execution time: 77_637_000 picoseconds. - Weight::from_parts(78_679_000, 5073) + // Minimum execution time: 79_120_000 picoseconds. + Weight::from_parts(80_383_000, 5073) .saturating_add(RocksDbWeight::get().reads(16_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -878,8 +878,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `395` // Estimated: `6335` - // Minimum execution time: 18_054_000 picoseconds. - Weight::from_parts(18_635_000, 6335) + // Minimum execution time: 18_715_000 picoseconds. + Weight::from_parts(19_036_000, 6335) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -891,8 +891,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `489` // Estimated: `3954` - // Minimum execution time: 16_201_000 picoseconds. - Weight::from_parts(16_742_000, 3954) + // Minimum execution time: 16_632_000 picoseconds. + Weight::from_parts(16_942_000, 3954) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -904,8 +904,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `489` // Estimated: `3954` - // Minimum execution time: 15_980_000 picoseconds. - Weight::from_parts(16_321_000, 3954) + // Minimum execution time: 16_521_000 picoseconds. + Weight::from_parts(16_781_000, 3954) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -917,8 +917,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `502` // Estimated: `3967` - // Minimum execution time: 16_251_000 picoseconds. - Weight::from_parts(16_572_000, 3967) + // Minimum execution time: 16_691_000 picoseconds. + Weight::from_parts(17_052_000, 3967) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -930,8 +930,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `502` // Estimated: `3967` - // Minimum execution time: 16_801_000 picoseconds. - Weight::from_parts(17_022_000, 3967) + // Minimum execution time: 16_912_000 picoseconds. + Weight::from_parts(17_303_000, 3967) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -943,8 +943,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `502` // Estimated: `3967` - // Minimum execution time: 15_720_000 picoseconds. - Weight::from_parts(16_040_000, 3967) + // Minimum execution time: 15_980_000 picoseconds. + Weight::from_parts(16_341_000, 3967) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -962,8 +962,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `841` // Estimated: `6781` - // Minimum execution time: 29_455_000 picoseconds. - Weight::from_parts(29_997_000, 6781) + // Minimum execution time: 30_107_000 picoseconds. + Weight::from_parts(30_518_000, 6781) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -973,8 +973,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `37` // Estimated: `1522` - // Minimum execution time: 7_524_000 picoseconds. - Weight::from_parts(8_185_000, 1522) + // Minimum execution time: 7_474_000 picoseconds. + Weight::from_parts(7_705_000, 1522) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -988,8 +988,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `971` // Estimated: `4436` - // Minimum execution time: 21_420_000 picoseconds. - Weight::from_parts(21_801_000, 4436) + // Minimum execution time: 21_581_000 picoseconds. + Weight::from_parts(22_142_000, 4436) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1009,8 +1009,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `733` // Estimated: `4198` - // Minimum execution time: 22_602_000 picoseconds. - Weight::from_parts(22_923_000, 4198) + // Minimum execution time: 22_944_000 picoseconds. + Weight::from_parts(23_254_000, 4198) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1042,8 +1042,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1203` // Estimated: `4668` - // Minimum execution time: 56_386_000 picoseconds. - Weight::from_parts(57_248_000, 4668) + // Minimum execution time: 57_289_000 picoseconds. + Weight::from_parts(58_591_000, 4668) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } diff --git a/substrate-node/pallets/pallet-tfgrid/src/weights.rs b/substrate-node/pallets/pallet-tfgrid/src/weights.rs index 2582db10d..6e5409c82 100644 --- a/substrate-node/pallets/pallet-tfgrid/src/weights.rs +++ b/substrate-node/pallets/pallet-tfgrid/src/weights.rs @@ -4,7 +4,7 @@ //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! DATE: 2024-02-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `7c9e9392584e`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` +//! HOSTNAME: `7d08bfac7c55`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -76,8 +76,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_586_000 picoseconds. - Weight::from_parts(3_777_000, 0) + // Minimum execution time: 5_651_000 picoseconds. + Weight::from_parts(5_821_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) @@ -94,8 +94,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `496` // Estimated: `3961` - // Minimum execution time: 31_820_000 picoseconds. - Weight::from_parts(32_532_000, 3961) + // Minimum execution time: 45_025_000 picoseconds. + Weight::from_parts(45_606_000, 3961) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -109,8 +109,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `507` // Estimated: `3972` - // Minimum execution time: 34_174_000 picoseconds. - Weight::from_parts(34_906_000, 3972) + // Minimum execution time: 29_105_000 picoseconds. + Weight::from_parts(49_443_000, 3972) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -124,8 +124,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `453` // Estimated: `3918` - // Minimum execution time: 15_189_000 picoseconds. - Weight::from_parts(25_629_000, 3918) + // Minimum execution time: 21_090_000 picoseconds. + Weight::from_parts(21_601_000, 3918) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -135,8 +135,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3877` - // Minimum execution time: 12_594_000 picoseconds. - Weight::from_parts(12_855_000, 3877) + // Minimum execution time: 17_693_000 picoseconds. + Weight::from_parts(18_074_000, 3877) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -148,8 +148,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `569` // Estimated: `4034` - // Minimum execution time: 17_182_000 picoseconds. - Weight::from_parts(17_513_000, 4034) + // Minimum execution time: 24_036_000 picoseconds. + Weight::from_parts(24_397_000, 4034) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -161,8 +161,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `569` // Estimated: `4034` - // Minimum execution time: 16_441_000 picoseconds. - Weight::from_parts(16_701_000, 4034) + // Minimum execution time: 23_004_000 picoseconds. + Weight::from_parts(23_535_000, 4034) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -190,8 +190,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `905` // Estimated: `11795` - // Minimum execution time: 45_827_000 picoseconds. - Weight::from_parts(46_598_000, 11795) + // Minimum execution time: 64_672_000 picoseconds. + Weight::from_parts(66_005_000, 11795) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -207,8 +207,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `661` // Estimated: `4126` - // Minimum execution time: 25_889_000 picoseconds. - Weight::from_parts(26_531_000, 4126) + // Minimum execution time: 35_948_000 picoseconds. + Weight::from_parts(36_549_000, 4126) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -222,8 +222,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `956` // Estimated: `11846` - // Minimum execution time: 33_123_000 picoseconds. - Weight::from_parts(33_884_000, 11846) + // Minimum execution time: 47_910_000 picoseconds. + Weight::from_parts(49_153_000, 11846) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -239,8 +239,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `454` // Estimated: `3919` - // Minimum execution time: 18_114_000 picoseconds. - Weight::from_parts(18_384_000, 3919) + // Minimum execution time: 24_336_000 picoseconds. + Weight::from_parts(24_686_000, 3919) .saturating_add(T::DbWeight::get().reads(4_u64)) } /// Storage: `TfgridModule::Farms` (r:1 w:0) @@ -253,8 +253,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `779` // Estimated: `4244` - // Minimum execution time: 23_945_000 picoseconds. - Weight::from_parts(24_246_000, 4244) + // Minimum execution time: 32_150_000 picoseconds. + Weight::from_parts(32_491_000, 4244) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -274,8 +274,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `682` // Estimated: `4147` - // Minimum execution time: 26_590_000 picoseconds. - Weight::from_parts(27_122_000, 4147) + // Minimum execution time: 36_850_000 picoseconds. + Weight::from_parts(37_562_000, 4147) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -291,8 +291,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `235` // Estimated: `3700` - // Minimum execution time: 13_866_000 picoseconds. - Weight::from_parts(14_287_000, 3700) + // Minimum execution time: 20_058_000 picoseconds. + Weight::from_parts(20_609_000, 3700) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -304,8 +304,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `428` // Estimated: `3893` - // Minimum execution time: 14_548_000 picoseconds. - Weight::from_parts(14_918_000, 3893) + // Minimum execution time: 20_258_000 picoseconds. + Weight::from_parts(20_629_000, 3893) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -319,8 +319,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `134` // Estimated: `3599` - // Minimum execution time: 11_652_000 picoseconds. - Weight::from_parts(11_952_000, 3599) + // Minimum execution time: 17_182_000 picoseconds. + Weight::from_parts(17_503_000, 3599) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -334,8 +334,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `382` // Estimated: `3847` - // Minimum execution time: 16_181_000 picoseconds. - Weight::from_parts(16_611_000, 3847) + // Minimum execution time: 22_763_000 picoseconds. + Weight::from_parts(23_104_000, 3847) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -347,8 +347,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `134` // Estimated: `1619` - // Minimum execution time: 9_808_000 picoseconds. - Weight::from_parts(10_129_000, 1619) + // Minimum execution time: 14_247_000 picoseconds. + Weight::from_parts(14_557_000, 1619) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -360,8 +360,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3605` - // Minimum execution time: 7_193_000 picoseconds. - Weight::from_parts(7_354_000, 3605) + // Minimum execution time: 10_440_000 picoseconds. + Weight::from_parts(10_640_000, 3605) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -385,8 +385,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `828` // Estimated: `4293` - // Minimum execution time: 31_320_000 picoseconds. - Weight::from_parts(31_881_000, 4293) + // Minimum execution time: 44_204_000 picoseconds. + Weight::from_parts(44_684_000, 4293) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -396,8 +396,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3877` - // Minimum execution time: 13_125_000 picoseconds. - Weight::from_parts(13_405_000, 3877) + // Minimum execution time: 18_605_000 picoseconds. + Weight::from_parts(19_096_000, 3877) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -407,8 +407,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3877` - // Minimum execution time: 13_104_000 picoseconds. - Weight::from_parts(13_405_000, 3877) + // Minimum execution time: 18_696_000 picoseconds. + Weight::from_parts(19_126_000, 3877) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -418,8 +418,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_300_000 picoseconds. - Weight::from_parts(5_541_000, 0) + // Minimum execution time: 8_376_000 picoseconds. + Weight::from_parts(8_576_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `TfgridModule::AllowedNodeCertifiers` (r:1 w:1) @@ -428,8 +428,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `1840` - // Minimum execution time: 9_297_000 picoseconds. - Weight::from_parts(9_638_000, 1840) + // Minimum execution time: 13_055_000 picoseconds. + Weight::from_parts(13_255_000, 1840) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -439,8 +439,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `413` // Estimated: `1898` - // Minimum execution time: 11_702_000 picoseconds. - Weight::from_parts(12_022_000, 1898) + // Minimum execution time: 16_010_000 picoseconds. + Weight::from_parts(16_411_000, 1898) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -450,8 +450,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `294` // Estimated: `3759` - // Minimum execution time: 12_524_000 picoseconds. - Weight::from_parts(12_995_000, 3759) + // Minimum execution time: 18_645_000 picoseconds. + Weight::from_parts(19_036_000, 3759) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -465,8 +465,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `572` // Estimated: `4037` - // Minimum execution time: 21_410_000 picoseconds. - Weight::from_parts(21_892_000, 4037) + // Minimum execution time: 31_109_000 picoseconds. + Weight::from_parts(31_780_000, 4037) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -476,8 +476,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `134` // Estimated: `1619` - // Minimum execution time: 7_514_000 picoseconds. - Weight::from_parts(7_845_000, 1619) + // Minimum execution time: 11_832_000 picoseconds. + Weight::from_parts(12_012_000, 1619) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -493,8 +493,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `621` // Estimated: `4086` - // Minimum execution time: 21_891_000 picoseconds. - Weight::from_parts(22_192_000, 4086) + // Minimum execution time: 31_179_000 picoseconds. + Weight::from_parts(31_660_000, 4086) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -514,8 +514,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `792` // Estimated: `4257` - // Minimum execution time: 25_027_000 picoseconds. - Weight::from_parts(25_638_000, 4257) + // Minimum execution time: 35_628_000 picoseconds. + Weight::from_parts(36_038_000, 4257) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -527,8 +527,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `387` // Estimated: `3852` - // Minimum execution time: 11_342_000 picoseconds. - Weight::from_parts(11_592_000, 3852) + // Minimum execution time: 16_641_000 picoseconds. + Weight::from_parts(16_882_000, 3852) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -544,8 +544,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `454` // Estimated: `3919` - // Minimum execution time: 17_313_000 picoseconds. - Weight::from_parts(17_684_000, 3919) + // Minimum execution time: 24_195_000 picoseconds. + Weight::from_parts(24_617_000, 3919) .saturating_add(T::DbWeight::get().reads(4_u64)) } } @@ -558,8 +558,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_586_000 picoseconds. - Weight::from_parts(3_777_000, 0) + // Minimum execution time: 5_651_000 picoseconds. + Weight::from_parts(5_821_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) @@ -576,8 +576,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `496` // Estimated: `3961` - // Minimum execution time: 31_820_000 picoseconds. - Weight::from_parts(32_532_000, 3961) + // Minimum execution time: 45_025_000 picoseconds. + Weight::from_parts(45_606_000, 3961) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -591,8 +591,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `507` // Estimated: `3972` - // Minimum execution time: 34_174_000 picoseconds. - Weight::from_parts(34_906_000, 3972) + // Minimum execution time: 29_105_000 picoseconds. + Weight::from_parts(49_443_000, 3972) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -606,8 +606,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `453` // Estimated: `3918` - // Minimum execution time: 15_189_000 picoseconds. - Weight::from_parts(25_629_000, 3918) + // Minimum execution time: 21_090_000 picoseconds. + Weight::from_parts(21_601_000, 3918) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -617,8 +617,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3877` - // Minimum execution time: 12_594_000 picoseconds. - Weight::from_parts(12_855_000, 3877) + // Minimum execution time: 17_693_000 picoseconds. + Weight::from_parts(18_074_000, 3877) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -630,8 +630,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `569` // Estimated: `4034` - // Minimum execution time: 17_182_000 picoseconds. - Weight::from_parts(17_513_000, 4034) + // Minimum execution time: 24_036_000 picoseconds. + Weight::from_parts(24_397_000, 4034) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -643,8 +643,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `569` // Estimated: `4034` - // Minimum execution time: 16_441_000 picoseconds. - Weight::from_parts(16_701_000, 4034) + // Minimum execution time: 23_004_000 picoseconds. + Weight::from_parts(23_535_000, 4034) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -672,8 +672,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `905` // Estimated: `11795` - // Minimum execution time: 45_827_000 picoseconds. - Weight::from_parts(46_598_000, 11795) + // Minimum execution time: 64_672_000 picoseconds. + Weight::from_parts(66_005_000, 11795) .saturating_add(RocksDbWeight::get().reads(12_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -689,8 +689,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `661` // Estimated: `4126` - // Minimum execution time: 25_889_000 picoseconds. - Weight::from_parts(26_531_000, 4126) + // Minimum execution time: 35_948_000 picoseconds. + Weight::from_parts(36_549_000, 4126) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -704,8 +704,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `956` // Estimated: `11846` - // Minimum execution time: 33_123_000 picoseconds. - Weight::from_parts(33_884_000, 11846) + // Minimum execution time: 47_910_000 picoseconds. + Weight::from_parts(49_153_000, 11846) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -721,8 +721,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `454` // Estimated: `3919` - // Minimum execution time: 18_114_000 picoseconds. - Weight::from_parts(18_384_000, 3919) + // Minimum execution time: 24_336_000 picoseconds. + Weight::from_parts(24_686_000, 3919) .saturating_add(RocksDbWeight::get().reads(4_u64)) } /// Storage: `TfgridModule::Farms` (r:1 w:0) @@ -735,8 +735,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `779` // Estimated: `4244` - // Minimum execution time: 23_945_000 picoseconds. - Weight::from_parts(24_246_000, 4244) + // Minimum execution time: 32_150_000 picoseconds. + Weight::from_parts(32_491_000, 4244) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -756,8 +756,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `682` // Estimated: `4147` - // Minimum execution time: 26_590_000 picoseconds. - Weight::from_parts(27_122_000, 4147) + // Minimum execution time: 36_850_000 picoseconds. + Weight::from_parts(37_562_000, 4147) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -773,8 +773,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `235` // Estimated: `3700` - // Minimum execution time: 13_866_000 picoseconds. - Weight::from_parts(14_287_000, 3700) + // Minimum execution time: 20_058_000 picoseconds. + Weight::from_parts(20_609_000, 3700) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -786,8 +786,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `428` // Estimated: `3893` - // Minimum execution time: 14_548_000 picoseconds. - Weight::from_parts(14_918_000, 3893) + // Minimum execution time: 20_258_000 picoseconds. + Weight::from_parts(20_629_000, 3893) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -801,8 +801,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `134` // Estimated: `3599` - // Minimum execution time: 11_652_000 picoseconds. - Weight::from_parts(11_952_000, 3599) + // Minimum execution time: 17_182_000 picoseconds. + Weight::from_parts(17_503_000, 3599) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -816,8 +816,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `382` // Estimated: `3847` - // Minimum execution time: 16_181_000 picoseconds. - Weight::from_parts(16_611_000, 3847) + // Minimum execution time: 22_763_000 picoseconds. + Weight::from_parts(23_104_000, 3847) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -829,8 +829,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `134` // Estimated: `1619` - // Minimum execution time: 9_808_000 picoseconds. - Weight::from_parts(10_129_000, 1619) + // Minimum execution time: 14_247_000 picoseconds. + Weight::from_parts(14_557_000, 1619) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -842,8 +842,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3605` - // Minimum execution time: 7_193_000 picoseconds. - Weight::from_parts(7_354_000, 3605) + // Minimum execution time: 10_440_000 picoseconds. + Weight::from_parts(10_640_000, 3605) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -867,8 +867,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `828` // Estimated: `4293` - // Minimum execution time: 31_320_000 picoseconds. - Weight::from_parts(31_881_000, 4293) + // Minimum execution time: 44_204_000 picoseconds. + Weight::from_parts(44_684_000, 4293) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -878,8 +878,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3877` - // Minimum execution time: 13_125_000 picoseconds. - Weight::from_parts(13_405_000, 3877) + // Minimum execution time: 18_605_000 picoseconds. + Weight::from_parts(19_096_000, 3877) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -889,8 +889,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3877` - // Minimum execution time: 13_104_000 picoseconds. - Weight::from_parts(13_405_000, 3877) + // Minimum execution time: 18_696_000 picoseconds. + Weight::from_parts(19_126_000, 3877) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -900,8 +900,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_300_000 picoseconds. - Weight::from_parts(5_541_000, 0) + // Minimum execution time: 8_376_000 picoseconds. + Weight::from_parts(8_576_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `TfgridModule::AllowedNodeCertifiers` (r:1 w:1) @@ -910,8 +910,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `1840` - // Minimum execution time: 9_297_000 picoseconds. - Weight::from_parts(9_638_000, 1840) + // Minimum execution time: 13_055_000 picoseconds. + Weight::from_parts(13_255_000, 1840) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -921,8 +921,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `413` // Estimated: `1898` - // Minimum execution time: 11_702_000 picoseconds. - Weight::from_parts(12_022_000, 1898) + // Minimum execution time: 16_010_000 picoseconds. + Weight::from_parts(16_411_000, 1898) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -932,8 +932,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `294` // Estimated: `3759` - // Minimum execution time: 12_524_000 picoseconds. - Weight::from_parts(12_995_000, 3759) + // Minimum execution time: 18_645_000 picoseconds. + Weight::from_parts(19_036_000, 3759) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -947,8 +947,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `572` // Estimated: `4037` - // Minimum execution time: 21_410_000 picoseconds. - Weight::from_parts(21_892_000, 4037) + // Minimum execution time: 31_109_000 picoseconds. + Weight::from_parts(31_780_000, 4037) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -958,8 +958,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `134` // Estimated: `1619` - // Minimum execution time: 7_514_000 picoseconds. - Weight::from_parts(7_845_000, 1619) + // Minimum execution time: 11_832_000 picoseconds. + Weight::from_parts(12_012_000, 1619) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -975,8 +975,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `621` // Estimated: `4086` - // Minimum execution time: 21_891_000 picoseconds. - Weight::from_parts(22_192_000, 4086) + // Minimum execution time: 31_179_000 picoseconds. + Weight::from_parts(31_660_000, 4086) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -996,8 +996,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `792` // Estimated: `4257` - // Minimum execution time: 25_027_000 picoseconds. - Weight::from_parts(25_638_000, 4257) + // Minimum execution time: 35_628_000 picoseconds. + Weight::from_parts(36_038_000, 4257) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1009,8 +1009,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `387` // Estimated: `3852` - // Minimum execution time: 11_342_000 picoseconds. - Weight::from_parts(11_592_000, 3852) + // Minimum execution time: 16_641_000 picoseconds. + Weight::from_parts(16_882_000, 3852) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1026,8 +1026,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `454` // Estimated: `3919` - // Minimum execution time: 17_313_000 picoseconds. - Weight::from_parts(17_684_000, 3919) + // Minimum execution time: 24_195_000 picoseconds. + Weight::from_parts(24_617_000, 3919) .saturating_add(RocksDbWeight::get().reads(4_u64)) } } diff --git a/substrate-node/pallets/pallet-tft-bridge/src/weights.rs b/substrate-node/pallets/pallet-tft-bridge/src/weights.rs index 3e760c62d..e71fb44cb 100644 --- a/substrate-node/pallets/pallet-tft-bridge/src/weights.rs +++ b/substrate-node/pallets/pallet-tft-bridge/src/weights.rs @@ -4,7 +4,7 @@ //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! DATE: 2024-02-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `7c9e9392584e`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` +//! HOSTNAME: `7d08bfac7c55`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -55,8 +55,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `256` // Estimated: `1741` - // Minimum execution time: 11_612_000 picoseconds. - Weight::from_parts(12_033_000, 1741) + // Minimum execution time: 11_581_000 picoseconds. + Weight::from_parts(12_553_000, 1741) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -66,8 +66,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `289` // Estimated: `1774` - // Minimum execution time: 11_291_000 picoseconds. - Weight::from_parts(11_612_000, 1774) + // Minimum execution time: 11_311_000 picoseconds. + Weight::from_parts(11_632_000, 1774) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -77,8 +77,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_636_000 picoseconds. - Weight::from_parts(3_767_000, 0) + // Minimum execution time: 3_667_000 picoseconds. + Weight::from_parts(3_877_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `TFTBridgeModule::WithdrawFee` (r:0 w:1) @@ -87,8 +87,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_566_000 picoseconds. - Weight::from_parts(3_657_000, 0) + // Minimum execution time: 3_547_000 picoseconds. + Weight::from_parts(3_717_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `TFTBridgeModule::DepositFee` (r:0 w:1) @@ -97,8 +97,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_526_000 picoseconds. - Weight::from_parts(3_687_000, 0) + // Minimum execution time: 3_476_000 picoseconds. + Weight::from_parts(3_667_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `TFTBridgeModule::WithdrawFee` (r:1 w:0) @@ -115,8 +115,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `253` // Estimated: `3593` - // Minimum execution time: 69_190_000 picoseconds. - Weight::from_parts(70_053_000, 3593) + // Minimum execution time: 41_949_000 picoseconds. + Weight::from_parts(70_323_000, 3593) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -136,8 +136,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `499` // Estimated: `3964` - // Minimum execution time: 57_238_000 picoseconds. - Weight::from_parts(58_410_000, 3964) + // Minimum execution time: 59_963_000 picoseconds. + Weight::from_parts(60_896_000, 3964) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -151,8 +151,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `631` // Estimated: `4096` - // Minimum execution time: 24_757_000 picoseconds. - Weight::from_parts(25_158_000, 4096) + // Minimum execution time: 25_739_000 picoseconds. + Weight::from_parts(26_180_000, 4096) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -166,8 +166,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `571` // Estimated: `4036` - // Minimum execution time: 17_593_000 picoseconds. - Weight::from_parts(18_104_000, 4036) + // Minimum execution time: 18_264_000 picoseconds. + Weight::from_parts(18_635_000, 4036) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -179,8 +179,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `385` // Estimated: `3850` - // Minimum execution time: 20_859_000 picoseconds. - Weight::from_parts(21_260_000, 3850) + // Minimum execution time: 21_671_000 picoseconds. + Weight::from_parts(22_122_000, 3850) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -194,8 +194,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `560` // Estimated: `4025` - // Minimum execution time: 17_804_000 picoseconds. - Weight::from_parts(18_104_000, 4025) + // Minimum execution time: 18_826_000 picoseconds. + Weight::from_parts(19_177_000, 4025) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -209,8 +209,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `256` // Estimated: `1741` - // Minimum execution time: 11_612_000 picoseconds. - Weight::from_parts(12_033_000, 1741) + // Minimum execution time: 11_581_000 picoseconds. + Weight::from_parts(12_553_000, 1741) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -220,8 +220,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `289` // Estimated: `1774` - // Minimum execution time: 11_291_000 picoseconds. - Weight::from_parts(11_612_000, 1774) + // Minimum execution time: 11_311_000 picoseconds. + Weight::from_parts(11_632_000, 1774) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -231,8 +231,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_636_000 picoseconds. - Weight::from_parts(3_767_000, 0) + // Minimum execution time: 3_667_000 picoseconds. + Weight::from_parts(3_877_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `TFTBridgeModule::WithdrawFee` (r:0 w:1) @@ -241,8 +241,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_566_000 picoseconds. - Weight::from_parts(3_657_000, 0) + // Minimum execution time: 3_547_000 picoseconds. + Weight::from_parts(3_717_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `TFTBridgeModule::DepositFee` (r:0 w:1) @@ -251,8 +251,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_526_000 picoseconds. - Weight::from_parts(3_687_000, 0) + // Minimum execution time: 3_476_000 picoseconds. + Weight::from_parts(3_667_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `TFTBridgeModule::WithdrawFee` (r:1 w:0) @@ -269,8 +269,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `253` // Estimated: `3593` - // Minimum execution time: 69_190_000 picoseconds. - Weight::from_parts(70_053_000, 3593) + // Minimum execution time: 41_949_000 picoseconds. + Weight::from_parts(70_323_000, 3593) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -290,8 +290,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `499` // Estimated: `3964` - // Minimum execution time: 57_238_000 picoseconds. - Weight::from_parts(58_410_000, 3964) + // Minimum execution time: 59_963_000 picoseconds. + Weight::from_parts(60_896_000, 3964) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -305,8 +305,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `631` // Estimated: `4096` - // Minimum execution time: 24_757_000 picoseconds. - Weight::from_parts(25_158_000, 4096) + // Minimum execution time: 25_739_000 picoseconds. + Weight::from_parts(26_180_000, 4096) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -320,8 +320,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `571` // Estimated: `4036` - // Minimum execution time: 17_593_000 picoseconds. - Weight::from_parts(18_104_000, 4036) + // Minimum execution time: 18_264_000 picoseconds. + Weight::from_parts(18_635_000, 4036) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -333,8 +333,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `385` // Estimated: `3850` - // Minimum execution time: 20_859_000 picoseconds. - Weight::from_parts(21_260_000, 3850) + // Minimum execution time: 21_671_000 picoseconds. + Weight::from_parts(22_122_000, 3850) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -348,8 +348,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `560` // Estimated: `4025` - // Minimum execution time: 17_804_000 picoseconds. - Weight::from_parts(18_104_000, 4025) + // Minimum execution time: 18_826_000 picoseconds. + Weight::from_parts(19_177_000, 4025) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } diff --git a/substrate-node/pallets/pallet-tft-price/src/weights.rs b/substrate-node/pallets/pallet-tft-price/src/weights.rs index 38b9b81f6..e7a53ac67 100644 --- a/substrate-node/pallets/pallet-tft-price/src/weights.rs +++ b/substrate-node/pallets/pallet-tft-price/src/weights.rs @@ -4,7 +4,7 @@ //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! DATE: 2024-02-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `7c9e9392584e`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` +//! HOSTNAME: `7d08bfac7c55`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -61,8 +61,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `235` // Estimated: `6175` - // Minimum execution time: 47_300_000 picoseconds. - Weight::from_parts(47_981_000, 6175) + // Minimum execution time: 30_147_000 picoseconds. + Weight::from_parts(30_969_000, 6175) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -74,8 +74,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `93` // Estimated: `1578` - // Minimum execution time: 8_175_000 picoseconds. - Weight::from_parts(8_426_000, 1578) + // Minimum execution time: 5_090_000 picoseconds. + Weight::from_parts(5_320_000, 1578) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -87,8 +87,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `93` // Estimated: `1578` - // Minimum execution time: 8_105_000 picoseconds. - Weight::from_parts(8_356_000, 1578) + // Minimum execution time: 5_200_000 picoseconds. + Weight::from_parts(5_320_000, 1578) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -116,8 +116,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `235` // Estimated: `6175` - // Minimum execution time: 47_300_000 picoseconds. - Weight::from_parts(47_981_000, 6175) + // Minimum execution time: 30_147_000 picoseconds. + Weight::from_parts(30_969_000, 6175) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -129,8 +129,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `93` // Estimated: `1578` - // Minimum execution time: 8_175_000 picoseconds. - Weight::from_parts(8_426_000, 1578) + // Minimum execution time: 5_090_000 picoseconds. + Weight::from_parts(5_320_000, 1578) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -142,8 +142,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `93` // Estimated: `1578` - // Minimum execution time: 8_105_000 picoseconds. - Weight::from_parts(8_356_000, 1578) + // Minimum execution time: 5_200_000 picoseconds. + Weight::from_parts(5_320_000, 1578) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/substrate-node/pallets/pallet-validator/src/weights.rs b/substrate-node/pallets/pallet-validator/src/weights.rs index f9fa70e25..77910e820 100644 --- a/substrate-node/pallets/pallet-validator/src/weights.rs +++ b/substrate-node/pallets/pallet-validator/src/weights.rs @@ -4,7 +4,7 @@ //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! DATE: 2024-02-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `7c9e9392584e`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` +//! HOSTNAME: `7d08bfac7c55`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -50,8 +50,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3507` - // Minimum execution time: 9_117_000 picoseconds. - Weight::from_parts(9_609_000, 3507) + // Minimum execution time: 9_078_000 picoseconds. + Weight::from_parts(9_518_000, 3507) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -65,8 +65,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `365` // Estimated: `3830` - // Minimum execution time: 23_996_000 picoseconds. - Weight::from_parts(24_887_000, 3830) + // Minimum execution time: 24_276_000 picoseconds. + Weight::from_parts(24_617_000, 3830) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -80,8 +80,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `431` // Estimated: `3896` - // Minimum execution time: 32_873_000 picoseconds. - Weight::from_parts(33_594_000, 3896) + // Minimum execution time: 32_992_000 picoseconds. + Weight::from_parts(33_694_000, 3896) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -91,8 +91,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3507` - // Minimum execution time: 8_276_000 picoseconds. - Weight::from_parts(8_576_000, 3507) + // Minimum execution time: 8_636_000 picoseconds. + Weight::from_parts(8_907_000, 3507) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -110,8 +110,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `494` // Estimated: `4687` - // Minimum execution time: 24_486_000 picoseconds. - Weight::from_parts(25_007_000, 4687) + // Minimum execution time: 24_657_000 picoseconds. + Weight::from_parts(25_187_000, 4687) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -131,8 +131,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `558` // Estimated: `4687` - // Minimum execution time: 22_462_000 picoseconds. - Weight::from_parts(22_894_000, 4687) + // Minimum execution time: 22_011_000 picoseconds. + Weight::from_parts(22_161_000, 4687) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -146,8 +146,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3507` - // Minimum execution time: 9_117_000 picoseconds. - Weight::from_parts(9_609_000, 3507) + // Minimum execution time: 9_078_000 picoseconds. + Weight::from_parts(9_518_000, 3507) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -161,8 +161,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `365` // Estimated: `3830` - // Minimum execution time: 23_996_000 picoseconds. - Weight::from_parts(24_887_000, 3830) + // Minimum execution time: 24_276_000 picoseconds. + Weight::from_parts(24_617_000, 3830) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -176,8 +176,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `431` // Estimated: `3896` - // Minimum execution time: 32_873_000 picoseconds. - Weight::from_parts(33_594_000, 3896) + // Minimum execution time: 32_992_000 picoseconds. + Weight::from_parts(33_694_000, 3896) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -187,8 +187,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3507` - // Minimum execution time: 8_276_000 picoseconds. - Weight::from_parts(8_576_000, 3507) + // Minimum execution time: 8_636_000 picoseconds. + Weight::from_parts(8_907_000, 3507) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -206,8 +206,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `494` // Estimated: `4687` - // Minimum execution time: 24_486_000 picoseconds. - Weight::from_parts(25_007_000, 4687) + // Minimum execution time: 24_657_000 picoseconds. + Weight::from_parts(25_187_000, 4687) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -227,8 +227,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `558` // Estimated: `4687` - // Minimum execution time: 22_462_000 picoseconds. - Weight::from_parts(22_894_000, 4687) + // Minimum execution time: 22_011_000 picoseconds. + Weight::from_parts(22_161_000, 4687) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } diff --git a/substrate-node/pallets/substrate-validator-set/src/weights.rs b/substrate-node/pallets/substrate-validator-set/src/weights.rs index 6842bb0c0..69121103d 100644 --- a/substrate-node/pallets/substrate-validator-set/src/weights.rs +++ b/substrate-node/pallets/substrate-validator-set/src/weights.rs @@ -4,7 +4,7 @@ //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! DATE: 2024-02-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `7c9e9392584e`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` +//! HOSTNAME: `7d08bfac7c55`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -49,8 +49,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `139` // Estimated: `1624` - // Minimum execution time: 22_011_000 picoseconds. - Weight::from_parts(23_234_000, 1624) + // Minimum execution time: 22_162_000 picoseconds. + Weight::from_parts(22_753_000, 1624) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -62,8 +62,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `205` // Estimated: `1690` - // Minimum execution time: 18_394_000 picoseconds. - Weight::from_parts(19_016_000, 1690) + // Minimum execution time: 17_794_000 picoseconds. + Weight::from_parts(18_405_000, 1690) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -75,8 +75,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `172` // Estimated: `1657` - // Minimum execution time: 20_118_000 picoseconds. - Weight::from_parts(20_689_000, 1657) + // Minimum execution time: 19_908_000 picoseconds. + Weight::from_parts(20_369_000, 1657) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -92,8 +92,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `139` // Estimated: `1624` - // Minimum execution time: 22_011_000 picoseconds. - Weight::from_parts(23_234_000, 1624) + // Minimum execution time: 22_162_000 picoseconds. + Weight::from_parts(22_753_000, 1624) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -105,8 +105,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `205` // Estimated: `1690` - // Minimum execution time: 18_394_000 picoseconds. - Weight::from_parts(19_016_000, 1690) + // Minimum execution time: 17_794_000 picoseconds. + Weight::from_parts(18_405_000, 1690) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -118,8 +118,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `172` // Estimated: `1657` - // Minimum execution time: 20_118_000 picoseconds. - Weight::from_parts(20_689_000, 1657) + // Minimum execution time: 19_908_000 picoseconds. + Weight::from_parts(20_369_000, 1657) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } From 6fd39b5546a8329761730b25fdfab8ef9bf0fc8c Mon Sep 17 00:00:00 2001 From: Erwan Renaut <73958772+renauter@users.noreply.github.com> Date: Mon, 26 Feb 2024 12:31:11 -0300 Subject: [PATCH 10/12] fix commit message --- .github/workflows/060_generate_benchmark_weights.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/060_generate_benchmark_weights.yml b/.github/workflows/060_generate_benchmark_weights.yml index 3025f877f..f11670093 100644 --- a/.github/workflows/060_generate_benchmark_weights.yml +++ b/.github/workflows/060_generate_benchmark_weights.yml @@ -76,5 +76,5 @@ jobs: uses: actions-js/push@master with: github_token: ${{ secrets.GITHUB_TOKEN }} - message: "chore(pallets): update benchmark `weights.rs` files `date +'%Y-%m-%d %H:%M:%S'`" + message: chore(pallets): update benchmark `weights.rs` files `date +'%Y-%m-%d %H:%M:%S'` branch: ${{ github.ref_name }} From bfa7d1ad7c0406e35b4a3610e5d4c82bfbd63e5f Mon Sep 17 00:00:00 2001 From: Erwan Renaut <73958772+renauter@users.noreply.github.com> Date: Mon, 26 Feb 2024 12:36:15 -0300 Subject: [PATCH 11/12] remove date in commit message --- .github/workflows/060_generate_benchmark_weights.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/060_generate_benchmark_weights.yml b/.github/workflows/060_generate_benchmark_weights.yml index f11670093..3d60c0b08 100644 --- a/.github/workflows/060_generate_benchmark_weights.yml +++ b/.github/workflows/060_generate_benchmark_weights.yml @@ -76,5 +76,5 @@ jobs: uses: actions-js/push@master with: github_token: ${{ secrets.GITHUB_TOKEN }} - message: chore(pallets): update benchmark `weights.rs` files `date +'%Y-%m-%d %H:%M:%S'` + message: 'chore: update benchmark `weights.rs` file for all pallets' branch: ${{ github.ref_name }} From 9d78ae268a8ec456f27312cef7760f6ee370b972 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 26 Feb 2024 15:57:09 +0000 Subject: [PATCH 12/12] chore: update benchmark `weights.rs` file for all pallets --- .../pallets/pallet-burning/src/weights.rs | 10 +- .../pallets/pallet-dao/src/weights.rs | 34 +-- .../pallets/pallet-kvstore/src/weights.rs | 18 +- .../pallet-smart-contract/src/weights.rs | 186 ++++++------- .../pallets/pallet-tfgrid/src/weights.rs | 258 +++++++++--------- .../pallets/pallet-tft-bridge/src/weights.rs | 86 +++--- .../pallets/pallet-tft-price/src/weights.rs | 26 +- .../pallets/pallet-validator/src/weights.rs | 50 ++-- .../substrate-validator-set/src/weights.rs | 26 +- 9 files changed, 347 insertions(+), 347 deletions(-) diff --git a/substrate-node/pallets/pallet-burning/src/weights.rs b/substrate-node/pallets/pallet-burning/src/weights.rs index ac53bcf12..d98c3e26b 100644 --- a/substrate-node/pallets/pallet-burning/src/weights.rs +++ b/substrate-node/pallets/pallet-burning/src/weights.rs @@ -4,7 +4,7 @@ //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! DATE: 2024-02-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `7d08bfac7c55`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` +//! HOSTNAME: `3144932f6af7`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -45,8 +45,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `109` // Estimated: `1594` - // Minimum execution time: 42_300_000 picoseconds. - Weight::from_parts(43_131_000, 1594) + // Minimum execution time: 42_280_000 picoseconds. + Weight::from_parts(42_982_000, 1594) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -60,8 +60,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `109` // Estimated: `1594` - // Minimum execution time: 42_300_000 picoseconds. - Weight::from_parts(43_131_000, 1594) + // Minimum execution time: 42_280_000 picoseconds. + Weight::from_parts(42_982_000, 1594) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/substrate-node/pallets/pallet-dao/src/weights.rs b/substrate-node/pallets/pallet-dao/src/weights.rs index 4d2b82240..0adb7f7bc 100644 --- a/substrate-node/pallets/pallet-dao/src/weights.rs +++ b/substrate-node/pallets/pallet-dao/src/weights.rs @@ -4,7 +4,7 @@ //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! DATE: 2024-02-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `7d08bfac7c55`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` +//! HOSTNAME: `3144932f6af7`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -58,8 +58,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `208` // Estimated: `4687` - // Minimum execution time: 40_987_000 picoseconds. - Weight::from_parts(42_650_000, 4687) + // Minimum execution time: 60_124_000 picoseconds. + Weight::from_parts(61_897_000, 4687) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -77,8 +77,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `979` // Estimated: `4444` - // Minimum execution time: 55_175_000 picoseconds. - Weight::from_parts(56_567_000, 4444) + // Minimum execution time: 35_097_000 picoseconds. + Weight::from_parts(35_647_000, 4444) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -92,8 +92,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `487` // Estimated: `4687` - // Minimum execution time: 18_976_000 picoseconds. - Weight::from_parts(19_387_000, 4687) + // Minimum execution time: 25_068_000 picoseconds. + Weight::from_parts(25_618_000, 4687) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -111,8 +111,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `469` // Estimated: `4687` - // Minimum execution time: 25_087_000 picoseconds. - Weight::from_parts(25_498_000, 4687) + // Minimum execution time: 34_275_000 picoseconds. + Weight::from_parts(34_786_000, 4687) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -136,8 +136,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `208` // Estimated: `4687` - // Minimum execution time: 40_987_000 picoseconds. - Weight::from_parts(42_650_000, 4687) + // Minimum execution time: 60_124_000 picoseconds. + Weight::from_parts(61_897_000, 4687) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -155,8 +155,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `979` // Estimated: `4444` - // Minimum execution time: 55_175_000 picoseconds. - Weight::from_parts(56_567_000, 4444) + // Minimum execution time: 35_097_000 picoseconds. + Weight::from_parts(35_647_000, 4444) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -170,8 +170,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `487` // Estimated: `4687` - // Minimum execution time: 18_976_000 picoseconds. - Weight::from_parts(19_387_000, 4687) + // Minimum execution time: 25_068_000 picoseconds. + Weight::from_parts(25_618_000, 4687) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -189,8 +189,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `469` // Estimated: `4687` - // Minimum execution time: 25_087_000 picoseconds. - Weight::from_parts(25_498_000, 4687) + // Minimum execution time: 34_275_000 picoseconds. + Weight::from_parts(34_786_000, 4687) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } diff --git a/substrate-node/pallets/pallet-kvstore/src/weights.rs b/substrate-node/pallets/pallet-kvstore/src/weights.rs index 6948c498f..2508659b7 100644 --- a/substrate-node/pallets/pallet-kvstore/src/weights.rs +++ b/substrate-node/pallets/pallet-kvstore/src/weights.rs @@ -4,7 +4,7 @@ //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! DATE: 2024-02-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `7d08bfac7c55`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` +//! HOSTNAME: `3144932f6af7`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -46,8 +46,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_171_000 picoseconds. - Weight::from_parts(11_571_000, 0) + // Minimum execution time: 8_647_000 picoseconds. + Weight::from_parts(11_722_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `TFKVStore::TFKVStore` (r:1 w:1) @@ -56,8 +56,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `146` // Estimated: `3611` - // Minimum execution time: 19_767_000 picoseconds. - Weight::from_parts(20_439_000, 3611) + // Minimum execution time: 20_228_000 picoseconds. + Weight::from_parts(21_210_000, 3611) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -71,8 +71,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_171_000 picoseconds. - Weight::from_parts(11_571_000, 0) + // Minimum execution time: 8_647_000 picoseconds. + Weight::from_parts(11_722_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `TFKVStore::TFKVStore` (r:1 w:1) @@ -81,8 +81,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `146` // Estimated: `3611` - // Minimum execution time: 19_767_000 picoseconds. - Weight::from_parts(20_439_000, 3611) + // Minimum execution time: 20_228_000 picoseconds. + Weight::from_parts(21_210_000, 3611) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/substrate-node/pallets/pallet-smart-contract/src/weights.rs b/substrate-node/pallets/pallet-smart-contract/src/weights.rs index f09d0d1bb..efdc05598 100644 --- a/substrate-node/pallets/pallet-smart-contract/src/weights.rs +++ b/substrate-node/pallets/pallet-smart-contract/src/weights.rs @@ -4,7 +4,7 @@ //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! DATE: 2024-02-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `7d08bfac7c55`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` +//! HOSTNAME: `3144932f6af7`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -95,8 +95,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `868` // Estimated: `4333` - // Minimum execution time: 48_041_000 picoseconds. - Weight::from_parts(48_652_000, 4333) + // Minimum execution time: 102_203_000 picoseconds. + Weight::from_parts(104_197_000, 4333) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -112,8 +112,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `892` // Estimated: `4357` - // Minimum execution time: 26_650_000 picoseconds. - Weight::from_parts(27_091_000, 4357) + // Minimum execution time: 26_891_000 picoseconds. + Weight::from_parts(27_472_000, 4357) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -145,8 +145,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1203` // Estimated: `4668` - // Minimum execution time: 59_723_000 picoseconds. - Weight::from_parts(60_474_000, 4668) + // Minimum execution time: 60_284_000 picoseconds. + Weight::from_parts(61_346_000, 4668) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -170,8 +170,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `340` // Estimated: `3805` - // Minimum execution time: 24_757_000 picoseconds. - Weight::from_parts(25_188_000, 3805) + // Minimum execution time: 24_977_000 picoseconds. + Weight::from_parts(25_658_000, 3805) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -197,8 +197,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `919` // Estimated: `4384` - // Minimum execution time: 45_907_000 picoseconds. - Weight::from_parts(46_619_000, 4384) + // Minimum execution time: 46_538_000 picoseconds. + Weight::from_parts(47_230_000, 4384) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -220,8 +220,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1292` // Estimated: `4757` - // Minimum execution time: 37_340_000 picoseconds. - Weight::from_parts(38_172_000, 4757) + // Minimum execution time: 38_072_000 picoseconds. + Weight::from_parts(38_763_000, 4757) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -237,8 +237,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `771` // Estimated: `4236` - // Minimum execution time: 22_874_000 picoseconds. - Weight::from_parts(23_224_000, 4236) + // Minimum execution time: 23_194_000 picoseconds. + Weight::from_parts(23_485_000, 4236) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -268,8 +268,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `776` // Estimated: `4241` - // Minimum execution time: 34_615_000 picoseconds. - Weight::from_parts(35_106_000, 4241) + // Minimum execution time: 34_876_000 picoseconds. + Weight::from_parts(35_417_000, 4241) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -303,8 +303,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1284` // Estimated: `4749` - // Minimum execution time: 58_921_000 picoseconds. - Weight::from_parts(59_803_000, 4749) + // Minimum execution time: 60_275_000 picoseconds. + Weight::from_parts(60_955_000, 4749) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -316,8 +316,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `37` // Estimated: `1522` - // Minimum execution time: 10_079_000 picoseconds. - Weight::from_parts(10_370_000, 1522) + // Minimum execution time: 10_290_000 picoseconds. + Weight::from_parts(10_560_000, 1522) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -327,8 +327,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `215` // Estimated: `3680` - // Minimum execution time: 12_924_000 picoseconds. - Weight::from_parts(13_145_000, 3680) + // Minimum execution time: 13_215_000 picoseconds. + Weight::from_parts(13_535_000, 3680) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -368,8 +368,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1608` // Estimated: `5073` - // Minimum execution time: 79_120_000 picoseconds. - Weight::from_parts(80_383_000, 5073) + // Minimum execution time: 80_642_000 picoseconds. + Weight::from_parts(81_735_000, 5073) .saturating_add(T::DbWeight::get().reads(16_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -383,8 +383,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `395` // Estimated: `6335` - // Minimum execution time: 18_715_000 picoseconds. - Weight::from_parts(19_036_000, 6335) + // Minimum execution time: 18_926_000 picoseconds. + Weight::from_parts(19_386_000, 6335) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -396,8 +396,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `489` // Estimated: `3954` - // Minimum execution time: 16_632_000 picoseconds. - Weight::from_parts(16_942_000, 3954) + // Minimum execution time: 16_892_000 picoseconds. + Weight::from_parts(17_293_000, 3954) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -409,8 +409,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `489` // Estimated: `3954` - // Minimum execution time: 16_521_000 picoseconds. - Weight::from_parts(16_781_000, 3954) + // Minimum execution time: 16_562_000 picoseconds. + Weight::from_parts(16_732_000, 3954) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -422,8 +422,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `502` // Estimated: `3967` - // Minimum execution time: 16_691_000 picoseconds. - Weight::from_parts(17_052_000, 3967) + // Minimum execution time: 16_821_000 picoseconds. + Weight::from_parts(17_292_000, 3967) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -435,8 +435,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `502` // Estimated: `3967` - // Minimum execution time: 16_912_000 picoseconds. - Weight::from_parts(17_303_000, 3967) + // Minimum execution time: 17_693_000 picoseconds. + Weight::from_parts(18_014_000, 3967) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -448,8 +448,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `502` // Estimated: `3967` - // Minimum execution time: 15_980_000 picoseconds. - Weight::from_parts(16_341_000, 3967) + // Minimum execution time: 16_401_000 picoseconds. + Weight::from_parts(16_662_000, 3967) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -467,8 +467,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `841` // Estimated: `6781` - // Minimum execution time: 30_107_000 picoseconds. - Weight::from_parts(30_518_000, 6781) + // Minimum execution time: 30_327_000 picoseconds. + Weight::from_parts(31_189_000, 6781) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -478,8 +478,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `37` // Estimated: `1522` - // Minimum execution time: 7_474_000 picoseconds. - Weight::from_parts(7_705_000, 1522) + // Minimum execution time: 7_855_000 picoseconds. + Weight::from_parts(8_076_000, 1522) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -493,8 +493,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `971` // Estimated: `4436` - // Minimum execution time: 21_581_000 picoseconds. - Weight::from_parts(22_142_000, 4436) + // Minimum execution time: 22_222_000 picoseconds. + Weight::from_parts(22_462_000, 4436) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -514,8 +514,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `733` // Estimated: `4198` - // Minimum execution time: 22_944_000 picoseconds. - Weight::from_parts(23_254_000, 4198) + // Minimum execution time: 23_424_000 picoseconds. + Weight::from_parts(23_775_000, 4198) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -547,8 +547,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1203` // Estimated: `4668` - // Minimum execution time: 57_289_000 picoseconds. - Weight::from_parts(58_591_000, 4668) + // Minimum execution time: 58_861_000 picoseconds. + Weight::from_parts(59_413_000, 4668) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -590,8 +590,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `868` // Estimated: `4333` - // Minimum execution time: 48_041_000 picoseconds. - Weight::from_parts(48_652_000, 4333) + // Minimum execution time: 102_203_000 picoseconds. + Weight::from_parts(104_197_000, 4333) .saturating_add(RocksDbWeight::get().reads(12_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } @@ -607,8 +607,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `892` // Estimated: `4357` - // Minimum execution time: 26_650_000 picoseconds. - Weight::from_parts(27_091_000, 4357) + // Minimum execution time: 26_891_000 picoseconds. + Weight::from_parts(27_472_000, 4357) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -640,8 +640,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1203` // Estimated: `4668` - // Minimum execution time: 59_723_000 picoseconds. - Weight::from_parts(60_474_000, 4668) + // Minimum execution time: 60_284_000 picoseconds. + Weight::from_parts(61_346_000, 4668) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -665,8 +665,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `340` // Estimated: `3805` - // Minimum execution time: 24_757_000 picoseconds. - Weight::from_parts(25_188_000, 3805) + // Minimum execution time: 24_977_000 picoseconds. + Weight::from_parts(25_658_000, 3805) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -692,8 +692,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `919` // Estimated: `4384` - // Minimum execution time: 45_907_000 picoseconds. - Weight::from_parts(46_619_000, 4384) + // Minimum execution time: 46_538_000 picoseconds. + Weight::from_parts(47_230_000, 4384) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -715,8 +715,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1292` // Estimated: `4757` - // Minimum execution time: 37_340_000 picoseconds. - Weight::from_parts(38_172_000, 4757) + // Minimum execution time: 38_072_000 picoseconds. + Weight::from_parts(38_763_000, 4757) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -732,8 +732,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `771` // Estimated: `4236` - // Minimum execution time: 22_874_000 picoseconds. - Weight::from_parts(23_224_000, 4236) + // Minimum execution time: 23_194_000 picoseconds. + Weight::from_parts(23_485_000, 4236) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -763,8 +763,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `776` // Estimated: `4241` - // Minimum execution time: 34_615_000 picoseconds. - Weight::from_parts(35_106_000, 4241) + // Minimum execution time: 34_876_000 picoseconds. + Weight::from_parts(35_417_000, 4241) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -798,8 +798,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1284` // Estimated: `4749` - // Minimum execution time: 58_921_000 picoseconds. - Weight::from_parts(59_803_000, 4749) + // Minimum execution time: 60_275_000 picoseconds. + Weight::from_parts(60_955_000, 4749) .saturating_add(RocksDbWeight::get().reads(12_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -811,8 +811,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `37` // Estimated: `1522` - // Minimum execution time: 10_079_000 picoseconds. - Weight::from_parts(10_370_000, 1522) + // Minimum execution time: 10_290_000 picoseconds. + Weight::from_parts(10_560_000, 1522) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -822,8 +822,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `215` // Estimated: `3680` - // Minimum execution time: 12_924_000 picoseconds. - Weight::from_parts(13_145_000, 3680) + // Minimum execution time: 13_215_000 picoseconds. + Weight::from_parts(13_535_000, 3680) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -863,8 +863,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1608` // Estimated: `5073` - // Minimum execution time: 79_120_000 picoseconds. - Weight::from_parts(80_383_000, 5073) + // Minimum execution time: 80_642_000 picoseconds. + Weight::from_parts(81_735_000, 5073) .saturating_add(RocksDbWeight::get().reads(16_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -878,8 +878,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `395` // Estimated: `6335` - // Minimum execution time: 18_715_000 picoseconds. - Weight::from_parts(19_036_000, 6335) + // Minimum execution time: 18_926_000 picoseconds. + Weight::from_parts(19_386_000, 6335) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -891,8 +891,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `489` // Estimated: `3954` - // Minimum execution time: 16_632_000 picoseconds. - Weight::from_parts(16_942_000, 3954) + // Minimum execution time: 16_892_000 picoseconds. + Weight::from_parts(17_293_000, 3954) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -904,8 +904,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `489` // Estimated: `3954` - // Minimum execution time: 16_521_000 picoseconds. - Weight::from_parts(16_781_000, 3954) + // Minimum execution time: 16_562_000 picoseconds. + Weight::from_parts(16_732_000, 3954) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -917,8 +917,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `502` // Estimated: `3967` - // Minimum execution time: 16_691_000 picoseconds. - Weight::from_parts(17_052_000, 3967) + // Minimum execution time: 16_821_000 picoseconds. + Weight::from_parts(17_292_000, 3967) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -930,8 +930,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `502` // Estimated: `3967` - // Minimum execution time: 16_912_000 picoseconds. - Weight::from_parts(17_303_000, 3967) + // Minimum execution time: 17_693_000 picoseconds. + Weight::from_parts(18_014_000, 3967) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -943,8 +943,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `502` // Estimated: `3967` - // Minimum execution time: 15_980_000 picoseconds. - Weight::from_parts(16_341_000, 3967) + // Minimum execution time: 16_401_000 picoseconds. + Weight::from_parts(16_662_000, 3967) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -962,8 +962,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `841` // Estimated: `6781` - // Minimum execution time: 30_107_000 picoseconds. - Weight::from_parts(30_518_000, 6781) + // Minimum execution time: 30_327_000 picoseconds. + Weight::from_parts(31_189_000, 6781) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -973,8 +973,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `37` // Estimated: `1522` - // Minimum execution time: 7_474_000 picoseconds. - Weight::from_parts(7_705_000, 1522) + // Minimum execution time: 7_855_000 picoseconds. + Weight::from_parts(8_076_000, 1522) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -988,8 +988,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `971` // Estimated: `4436` - // Minimum execution time: 21_581_000 picoseconds. - Weight::from_parts(22_142_000, 4436) + // Minimum execution time: 22_222_000 picoseconds. + Weight::from_parts(22_462_000, 4436) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1009,8 +1009,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `733` // Estimated: `4198` - // Minimum execution time: 22_944_000 picoseconds. - Weight::from_parts(23_254_000, 4198) + // Minimum execution time: 23_424_000 picoseconds. + Weight::from_parts(23_775_000, 4198) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1042,8 +1042,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1203` // Estimated: `4668` - // Minimum execution time: 57_289_000 picoseconds. - Weight::from_parts(58_591_000, 4668) + // Minimum execution time: 58_861_000 picoseconds. + Weight::from_parts(59_413_000, 4668) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } diff --git a/substrate-node/pallets/pallet-tfgrid/src/weights.rs b/substrate-node/pallets/pallet-tfgrid/src/weights.rs index 6e5409c82..1e883699a 100644 --- a/substrate-node/pallets/pallet-tfgrid/src/weights.rs +++ b/substrate-node/pallets/pallet-tfgrid/src/weights.rs @@ -4,7 +4,7 @@ //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! DATE: 2024-02-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `7d08bfac7c55`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` +//! HOSTNAME: `3144932f6af7`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -76,8 +76,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_651_000 picoseconds. - Weight::from_parts(5_821_000, 0) + // Minimum execution time: 3_857_000 picoseconds. + Weight::from_parts(4_047_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) @@ -94,8 +94,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `496` // Estimated: `3961` - // Minimum execution time: 45_025_000 picoseconds. - Weight::from_parts(45_606_000, 3961) + // Minimum execution time: 32_251_000 picoseconds. + Weight::from_parts(32_712_000, 3961) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -109,8 +109,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `507` // Estimated: `3972` - // Minimum execution time: 29_105_000 picoseconds. - Weight::from_parts(49_443_000, 3972) + // Minimum execution time: 34_135_000 picoseconds. + Weight::from_parts(35_327_000, 3972) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -124,8 +124,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `453` // Estimated: `3918` - // Minimum execution time: 21_090_000 picoseconds. - Weight::from_parts(21_601_000, 3918) + // Minimum execution time: 18_865_000 picoseconds. + Weight::from_parts(25_378_000, 3918) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -135,8 +135,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3877` - // Minimum execution time: 17_693_000 picoseconds. - Weight::from_parts(18_074_000, 3877) + // Minimum execution time: 13_105_000 picoseconds. + Weight::from_parts(13_406_000, 3877) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -148,8 +148,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `569` // Estimated: `4034` - // Minimum execution time: 24_036_000 picoseconds. - Weight::from_parts(24_397_000, 4034) + // Minimum execution time: 17_734_000 picoseconds. + Weight::from_parts(18_165_000, 4034) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -161,8 +161,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `569` // Estimated: `4034` - // Minimum execution time: 23_004_000 picoseconds. - Weight::from_parts(23_535_000, 4034) + // Minimum execution time: 16_922_000 picoseconds. + Weight::from_parts(17_473_000, 4034) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -190,8 +190,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `905` // Estimated: `11795` - // Minimum execution time: 64_672_000 picoseconds. - Weight::from_parts(66_005_000, 11795) + // Minimum execution time: 47_360_000 picoseconds. + Weight::from_parts(48_562_000, 11795) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -207,8 +207,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `661` // Estimated: `4126` - // Minimum execution time: 35_948_000 picoseconds. - Weight::from_parts(36_549_000, 4126) + // Minimum execution time: 27_062_000 picoseconds. + Weight::from_parts(27_723_000, 4126) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -222,8 +222,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `956` // Estimated: `11846` - // Minimum execution time: 47_910_000 picoseconds. - Weight::from_parts(49_153_000, 11846) + // Minimum execution time: 34_295_000 picoseconds. + Weight::from_parts(35_096_000, 11846) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -239,8 +239,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `454` // Estimated: `3919` - // Minimum execution time: 24_336_000 picoseconds. - Weight::from_parts(24_686_000, 3919) + // Minimum execution time: 18_635_000 picoseconds. + Weight::from_parts(19_006_000, 3919) .saturating_add(T::DbWeight::get().reads(4_u64)) } /// Storage: `TfgridModule::Farms` (r:1 w:0) @@ -253,8 +253,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `779` // Estimated: `4244` - // Minimum execution time: 32_150_000 picoseconds. - Weight::from_parts(32_491_000, 4244) + // Minimum execution time: 24_637_000 picoseconds. + Weight::from_parts(25_277_000, 4244) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -274,8 +274,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `682` // Estimated: `4147` - // Minimum execution time: 36_850_000 picoseconds. - Weight::from_parts(37_562_000, 4147) + // Minimum execution time: 27_362_000 picoseconds. + Weight::from_parts(27_943_000, 4147) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -291,8 +291,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `235` // Estimated: `3700` - // Minimum execution time: 20_058_000 picoseconds. - Weight::from_parts(20_609_000, 3700) + // Minimum execution time: 14_568_000 picoseconds. + Weight::from_parts(14_808_000, 3700) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -304,8 +304,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `428` // Estimated: `3893` - // Minimum execution time: 20_258_000 picoseconds. - Weight::from_parts(20_629_000, 3893) + // Minimum execution time: 15_088_000 picoseconds. + Weight::from_parts(15_479_000, 3893) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -319,8 +319,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `134` // Estimated: `3599` - // Minimum execution time: 17_182_000 picoseconds. - Weight::from_parts(17_503_000, 3599) + // Minimum execution time: 12_373_000 picoseconds. + Weight::from_parts(12_624_000, 3599) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -334,8 +334,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `382` // Estimated: `3847` - // Minimum execution time: 22_763_000 picoseconds. - Weight::from_parts(23_104_000, 3847) + // Minimum execution time: 16_632_000 picoseconds. + Weight::from_parts(17_143_000, 3847) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -347,8 +347,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `134` // Estimated: `1619` - // Minimum execution time: 14_247_000 picoseconds. - Weight::from_parts(14_557_000, 1619) + // Minimum execution time: 10_439_000 picoseconds. + Weight::from_parts(10_610_000, 1619) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -360,8 +360,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3605` - // Minimum execution time: 10_440_000 picoseconds. - Weight::from_parts(10_640_000, 3605) + // Minimum execution time: 7_514_000 picoseconds. + Weight::from_parts(7_644_000, 3605) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -385,8 +385,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `828` // Estimated: `4293` - // Minimum execution time: 44_204_000 picoseconds. - Weight::from_parts(44_684_000, 4293) + // Minimum execution time: 32_582_000 picoseconds. + Weight::from_parts(33_443_000, 4293) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -396,8 +396,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3877` - // Minimum execution time: 18_605_000 picoseconds. - Weight::from_parts(19_096_000, 3877) + // Minimum execution time: 13_716_000 picoseconds. + Weight::from_parts(14_277_000, 3877) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -407,8 +407,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3877` - // Minimum execution time: 18_696_000 picoseconds. - Weight::from_parts(19_126_000, 3877) + // Minimum execution time: 13_846_000 picoseconds. + Weight::from_parts(14_117_000, 3877) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -418,8 +418,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_376_000 picoseconds. - Weight::from_parts(8_576_000, 0) + // Minimum execution time: 5_721_000 picoseconds. + Weight::from_parts(5_861_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `TfgridModule::AllowedNodeCertifiers` (r:1 w:1) @@ -428,8 +428,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `1840` - // Minimum execution time: 13_055_000 picoseconds. - Weight::from_parts(13_255_000, 1840) + // Minimum execution time: 9_819_000 picoseconds. + Weight::from_parts(10_039_000, 1840) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -439,8 +439,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `413` // Estimated: `1898` - // Minimum execution time: 16_010_000 picoseconds. - Weight::from_parts(16_411_000, 1898) + // Minimum execution time: 11_982_000 picoseconds. + Weight::from_parts(12_323_000, 1898) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -450,8 +450,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `294` // Estimated: `3759` - // Minimum execution time: 18_645_000 picoseconds. - Weight::from_parts(19_036_000, 3759) + // Minimum execution time: 13_335_000 picoseconds. + Weight::from_parts(13_675_000, 3759) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -465,8 +465,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `572` // Estimated: `4037` - // Minimum execution time: 31_109_000 picoseconds. - Weight::from_parts(31_780_000, 4037) + // Minimum execution time: 22_172_000 picoseconds. + Weight::from_parts(22_693_000, 4037) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -476,8 +476,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `134` // Estimated: `1619` - // Minimum execution time: 11_832_000 picoseconds. - Weight::from_parts(12_012_000, 1619) + // Minimum execution time: 8_055_000 picoseconds. + Weight::from_parts(8_216_000, 1619) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -493,8 +493,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `621` // Estimated: `4086` - // Minimum execution time: 31_179_000 picoseconds. - Weight::from_parts(31_660_000, 4086) + // Minimum execution time: 22_723_000 picoseconds. + Weight::from_parts(23_154_000, 4086) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -514,8 +514,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `792` // Estimated: `4257` - // Minimum execution time: 35_628_000 picoseconds. - Weight::from_parts(36_038_000, 4257) + // Minimum execution time: 26_440_000 picoseconds. + Weight::from_parts(27_042_000, 4257) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -527,8 +527,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `387` // Estimated: `3852` - // Minimum execution time: 16_641_000 picoseconds. - Weight::from_parts(16_882_000, 3852) + // Minimum execution time: 11_832_000 picoseconds. + Weight::from_parts(12_083_000, 3852) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -544,8 +544,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `454` // Estimated: `3919` - // Minimum execution time: 24_195_000 picoseconds. - Weight::from_parts(24_617_000, 3919) + // Minimum execution time: 18_144_000 picoseconds. + Weight::from_parts(18_385_000, 3919) .saturating_add(T::DbWeight::get().reads(4_u64)) } } @@ -558,8 +558,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_651_000 picoseconds. - Weight::from_parts(5_821_000, 0) + // Minimum execution time: 3_857_000 picoseconds. + Weight::from_parts(4_047_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `TfgridModule::TwinIdByAccountID` (r:1 w:0) @@ -576,8 +576,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `496` // Estimated: `3961` - // Minimum execution time: 45_025_000 picoseconds. - Weight::from_parts(45_606_000, 3961) + // Minimum execution time: 32_251_000 picoseconds. + Weight::from_parts(32_712_000, 3961) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -591,8 +591,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `507` // Estimated: `3972` - // Minimum execution time: 29_105_000 picoseconds. - Weight::from_parts(49_443_000, 3972) + // Minimum execution time: 34_135_000 picoseconds. + Weight::from_parts(35_327_000, 3972) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -606,8 +606,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `453` // Estimated: `3918` - // Minimum execution time: 21_090_000 picoseconds. - Weight::from_parts(21_601_000, 3918) + // Minimum execution time: 18_865_000 picoseconds. + Weight::from_parts(25_378_000, 3918) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -617,8 +617,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3877` - // Minimum execution time: 17_693_000 picoseconds. - Weight::from_parts(18_074_000, 3877) + // Minimum execution time: 13_105_000 picoseconds. + Weight::from_parts(13_406_000, 3877) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -630,8 +630,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `569` // Estimated: `4034` - // Minimum execution time: 24_036_000 picoseconds. - Weight::from_parts(24_397_000, 4034) + // Minimum execution time: 17_734_000 picoseconds. + Weight::from_parts(18_165_000, 4034) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -643,8 +643,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `569` // Estimated: `4034` - // Minimum execution time: 23_004_000 picoseconds. - Weight::from_parts(23_535_000, 4034) + // Minimum execution time: 16_922_000 picoseconds. + Weight::from_parts(17_473_000, 4034) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -672,8 +672,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `905` // Estimated: `11795` - // Minimum execution time: 64_672_000 picoseconds. - Weight::from_parts(66_005_000, 11795) + // Minimum execution time: 47_360_000 picoseconds. + Weight::from_parts(48_562_000, 11795) .saturating_add(RocksDbWeight::get().reads(12_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -689,8 +689,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `661` // Estimated: `4126` - // Minimum execution time: 35_948_000 picoseconds. - Weight::from_parts(36_549_000, 4126) + // Minimum execution time: 27_062_000 picoseconds. + Weight::from_parts(27_723_000, 4126) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -704,8 +704,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `956` // Estimated: `11846` - // Minimum execution time: 47_910_000 picoseconds. - Weight::from_parts(49_153_000, 11846) + // Minimum execution time: 34_295_000 picoseconds. + Weight::from_parts(35_096_000, 11846) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -721,8 +721,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `454` // Estimated: `3919` - // Minimum execution time: 24_336_000 picoseconds. - Weight::from_parts(24_686_000, 3919) + // Minimum execution time: 18_635_000 picoseconds. + Weight::from_parts(19_006_000, 3919) .saturating_add(RocksDbWeight::get().reads(4_u64)) } /// Storage: `TfgridModule::Farms` (r:1 w:0) @@ -735,8 +735,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `779` // Estimated: `4244` - // Minimum execution time: 32_150_000 picoseconds. - Weight::from_parts(32_491_000, 4244) + // Minimum execution time: 24_637_000 picoseconds. + Weight::from_parts(25_277_000, 4244) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -756,8 +756,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `682` // Estimated: `4147` - // Minimum execution time: 36_850_000 picoseconds. - Weight::from_parts(37_562_000, 4147) + // Minimum execution time: 27_362_000 picoseconds. + Weight::from_parts(27_943_000, 4147) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -773,8 +773,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `235` // Estimated: `3700` - // Minimum execution time: 20_058_000 picoseconds. - Weight::from_parts(20_609_000, 3700) + // Minimum execution time: 14_568_000 picoseconds. + Weight::from_parts(14_808_000, 3700) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -786,8 +786,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `428` // Estimated: `3893` - // Minimum execution time: 20_258_000 picoseconds. - Weight::from_parts(20_629_000, 3893) + // Minimum execution time: 15_088_000 picoseconds. + Weight::from_parts(15_479_000, 3893) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -801,8 +801,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `134` // Estimated: `3599` - // Minimum execution time: 17_182_000 picoseconds. - Weight::from_parts(17_503_000, 3599) + // Minimum execution time: 12_373_000 picoseconds. + Weight::from_parts(12_624_000, 3599) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -816,8 +816,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `382` // Estimated: `3847` - // Minimum execution time: 22_763_000 picoseconds. - Weight::from_parts(23_104_000, 3847) + // Minimum execution time: 16_632_000 picoseconds. + Weight::from_parts(17_143_000, 3847) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -829,8 +829,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `134` // Estimated: `1619` - // Minimum execution time: 14_247_000 picoseconds. - Weight::from_parts(14_557_000, 1619) + // Minimum execution time: 10_439_000 picoseconds. + Weight::from_parts(10_610_000, 1619) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -842,8 +842,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3605` - // Minimum execution time: 10_440_000 picoseconds. - Weight::from_parts(10_640_000, 3605) + // Minimum execution time: 7_514_000 picoseconds. + Weight::from_parts(7_644_000, 3605) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -867,8 +867,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `828` // Estimated: `4293` - // Minimum execution time: 44_204_000 picoseconds. - Weight::from_parts(44_684_000, 4293) + // Minimum execution time: 32_582_000 picoseconds. + Weight::from_parts(33_443_000, 4293) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -878,8 +878,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3877` - // Minimum execution time: 18_605_000 picoseconds. - Weight::from_parts(19_096_000, 3877) + // Minimum execution time: 13_716_000 picoseconds. + Weight::from_parts(14_277_000, 3877) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -889,8 +889,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3877` - // Minimum execution time: 18_696_000 picoseconds. - Weight::from_parts(19_126_000, 3877) + // Minimum execution time: 13_846_000 picoseconds. + Weight::from_parts(14_117_000, 3877) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -900,8 +900,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_376_000 picoseconds. - Weight::from_parts(8_576_000, 0) + // Minimum execution time: 5_721_000 picoseconds. + Weight::from_parts(5_861_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `TfgridModule::AllowedNodeCertifiers` (r:1 w:1) @@ -910,8 +910,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `1840` - // Minimum execution time: 13_055_000 picoseconds. - Weight::from_parts(13_255_000, 1840) + // Minimum execution time: 9_819_000 picoseconds. + Weight::from_parts(10_039_000, 1840) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -921,8 +921,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `413` // Estimated: `1898` - // Minimum execution time: 16_010_000 picoseconds. - Weight::from_parts(16_411_000, 1898) + // Minimum execution time: 11_982_000 picoseconds. + Weight::from_parts(12_323_000, 1898) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -932,8 +932,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `294` // Estimated: `3759` - // Minimum execution time: 18_645_000 picoseconds. - Weight::from_parts(19_036_000, 3759) + // Minimum execution time: 13_335_000 picoseconds. + Weight::from_parts(13_675_000, 3759) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -947,8 +947,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `572` // Estimated: `4037` - // Minimum execution time: 31_109_000 picoseconds. - Weight::from_parts(31_780_000, 4037) + // Minimum execution time: 22_172_000 picoseconds. + Weight::from_parts(22_693_000, 4037) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -958,8 +958,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `134` // Estimated: `1619` - // Minimum execution time: 11_832_000 picoseconds. - Weight::from_parts(12_012_000, 1619) + // Minimum execution time: 8_055_000 picoseconds. + Weight::from_parts(8_216_000, 1619) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -975,8 +975,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `621` // Estimated: `4086` - // Minimum execution time: 31_179_000 picoseconds. - Weight::from_parts(31_660_000, 4086) + // Minimum execution time: 22_723_000 picoseconds. + Weight::from_parts(23_154_000, 4086) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -996,8 +996,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `792` // Estimated: `4257` - // Minimum execution time: 35_628_000 picoseconds. - Weight::from_parts(36_038_000, 4257) + // Minimum execution time: 26_440_000 picoseconds. + Weight::from_parts(27_042_000, 4257) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1009,8 +1009,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `387` // Estimated: `3852` - // Minimum execution time: 16_641_000 picoseconds. - Weight::from_parts(16_882_000, 3852) + // Minimum execution time: 11_832_000 picoseconds. + Weight::from_parts(12_083_000, 3852) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1026,8 +1026,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `454` // Estimated: `3919` - // Minimum execution time: 24_195_000 picoseconds. - Weight::from_parts(24_617_000, 3919) + // Minimum execution time: 18_144_000 picoseconds. + Weight::from_parts(18_385_000, 3919) .saturating_add(RocksDbWeight::get().reads(4_u64)) } } diff --git a/substrate-node/pallets/pallet-tft-bridge/src/weights.rs b/substrate-node/pallets/pallet-tft-bridge/src/weights.rs index e71fb44cb..a1284a98e 100644 --- a/substrate-node/pallets/pallet-tft-bridge/src/weights.rs +++ b/substrate-node/pallets/pallet-tft-bridge/src/weights.rs @@ -4,7 +4,7 @@ //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! DATE: 2024-02-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `7d08bfac7c55`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` +//! HOSTNAME: `3144932f6af7`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -55,8 +55,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `256` // Estimated: `1741` - // Minimum execution time: 11_581_000 picoseconds. - Weight::from_parts(12_553_000, 1741) + // Minimum execution time: 15_099_000 picoseconds. + Weight::from_parts(16_281_000, 1741) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -66,8 +66,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `289` // Estimated: `1774` - // Minimum execution time: 11_311_000 picoseconds. - Weight::from_parts(11_632_000, 1774) + // Minimum execution time: 15_049_000 picoseconds. + Weight::from_parts(15_810_000, 1774) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -77,8 +77,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_667_000 picoseconds. - Weight::from_parts(3_877_000, 0) + // Minimum execution time: 4_939_000 picoseconds. + Weight::from_parts(5_350_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `TFTBridgeModule::WithdrawFee` (r:0 w:1) @@ -87,8 +87,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_547_000 picoseconds. - Weight::from_parts(3_717_000, 0) + // Minimum execution time: 4_729_000 picoseconds. + Weight::from_parts(4_939_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `TFTBridgeModule::DepositFee` (r:0 w:1) @@ -97,8 +97,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_476_000 picoseconds. - Weight::from_parts(3_667_000, 0) + // Minimum execution time: 4_739_000 picoseconds. + Weight::from_parts(4_980_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `TFTBridgeModule::WithdrawFee` (r:1 w:0) @@ -115,8 +115,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `253` // Estimated: `3593` - // Minimum execution time: 41_949_000 picoseconds. - Weight::from_parts(70_323_000, 3593) + // Minimum execution time: 43_242_000 picoseconds. + Weight::from_parts(43_893_000, 3593) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -136,8 +136,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `499` // Estimated: `3964` - // Minimum execution time: 59_963_000 picoseconds. - Weight::from_parts(60_896_000, 3964) + // Minimum execution time: 60_305_000 picoseconds. + Weight::from_parts(61_196_000, 3964) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -151,8 +151,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `631` // Estimated: `4096` - // Minimum execution time: 25_739_000 picoseconds. - Weight::from_parts(26_180_000, 4096) + // Minimum execution time: 25_719_000 picoseconds. + Weight::from_parts(26_300_000, 4096) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -166,8 +166,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `571` // Estimated: `4036` - // Minimum execution time: 18_264_000 picoseconds. - Weight::from_parts(18_635_000, 4036) + // Minimum execution time: 18_425_000 picoseconds. + Weight::from_parts(18_805_000, 4036) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -180,7 +180,7 @@ impl WeightInfo for SubstrateWeight { // Measured: `385` // Estimated: `3850` // Minimum execution time: 21_671_000 picoseconds. - Weight::from_parts(22_122_000, 3850) + Weight::from_parts(22_232_000, 3850) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -194,8 +194,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `560` // Estimated: `4025` - // Minimum execution time: 18_826_000 picoseconds. - Weight::from_parts(19_177_000, 4025) + // Minimum execution time: 18_926_000 picoseconds. + Weight::from_parts(19_217_000, 4025) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -209,8 +209,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `256` // Estimated: `1741` - // Minimum execution time: 11_581_000 picoseconds. - Weight::from_parts(12_553_000, 1741) + // Minimum execution time: 15_099_000 picoseconds. + Weight::from_parts(16_281_000, 1741) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -220,8 +220,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `289` // Estimated: `1774` - // Minimum execution time: 11_311_000 picoseconds. - Weight::from_parts(11_632_000, 1774) + // Minimum execution time: 15_049_000 picoseconds. + Weight::from_parts(15_810_000, 1774) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -231,8 +231,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_667_000 picoseconds. - Weight::from_parts(3_877_000, 0) + // Minimum execution time: 4_939_000 picoseconds. + Weight::from_parts(5_350_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `TFTBridgeModule::WithdrawFee` (r:0 w:1) @@ -241,8 +241,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_547_000 picoseconds. - Weight::from_parts(3_717_000, 0) + // Minimum execution time: 4_729_000 picoseconds. + Weight::from_parts(4_939_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `TFTBridgeModule::DepositFee` (r:0 w:1) @@ -251,8 +251,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_476_000 picoseconds. - Weight::from_parts(3_667_000, 0) + // Minimum execution time: 4_739_000 picoseconds. + Weight::from_parts(4_980_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `TFTBridgeModule::WithdrawFee` (r:1 w:0) @@ -269,8 +269,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `253` // Estimated: `3593` - // Minimum execution time: 41_949_000 picoseconds. - Weight::from_parts(70_323_000, 3593) + // Minimum execution time: 43_242_000 picoseconds. + Weight::from_parts(43_893_000, 3593) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -290,8 +290,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `499` // Estimated: `3964` - // Minimum execution time: 59_963_000 picoseconds. - Weight::from_parts(60_896_000, 3964) + // Minimum execution time: 60_305_000 picoseconds. + Weight::from_parts(61_196_000, 3964) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -305,8 +305,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `631` // Estimated: `4096` - // Minimum execution time: 25_739_000 picoseconds. - Weight::from_parts(26_180_000, 4096) + // Minimum execution time: 25_719_000 picoseconds. + Weight::from_parts(26_300_000, 4096) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -320,8 +320,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `571` // Estimated: `4036` - // Minimum execution time: 18_264_000 picoseconds. - Weight::from_parts(18_635_000, 4036) + // Minimum execution time: 18_425_000 picoseconds. + Weight::from_parts(18_805_000, 4036) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -334,7 +334,7 @@ impl WeightInfo for () { // Measured: `385` // Estimated: `3850` // Minimum execution time: 21_671_000 picoseconds. - Weight::from_parts(22_122_000, 3850) + Weight::from_parts(22_232_000, 3850) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -348,8 +348,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `560` // Estimated: `4025` - // Minimum execution time: 18_826_000 picoseconds. - Weight::from_parts(19_177_000, 4025) + // Minimum execution time: 18_926_000 picoseconds. + Weight::from_parts(19_217_000, 4025) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } diff --git a/substrate-node/pallets/pallet-tft-price/src/weights.rs b/substrate-node/pallets/pallet-tft-price/src/weights.rs index e7a53ac67..ec8658215 100644 --- a/substrate-node/pallets/pallet-tft-price/src/weights.rs +++ b/substrate-node/pallets/pallet-tft-price/src/weights.rs @@ -4,7 +4,7 @@ //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! DATE: 2024-02-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `7d08bfac7c55`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` +//! HOSTNAME: `3144932f6af7`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -61,8 +61,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `235` // Estimated: `6175` - // Minimum execution time: 30_147_000 picoseconds. - Weight::from_parts(30_969_000, 6175) + // Minimum execution time: 47_901_000 picoseconds. + Weight::from_parts(48_943_000, 6175) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -74,8 +74,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `93` // Estimated: `1578` - // Minimum execution time: 5_090_000 picoseconds. - Weight::from_parts(5_320_000, 1578) + // Minimum execution time: 8_166_000 picoseconds. + Weight::from_parts(8_315_000, 1578) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -87,8 +87,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `93` // Estimated: `1578` - // Minimum execution time: 5_200_000 picoseconds. - Weight::from_parts(5_320_000, 1578) + // Minimum execution time: 7_975_000 picoseconds. + Weight::from_parts(8_235_000, 1578) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -116,8 +116,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `235` // Estimated: `6175` - // Minimum execution time: 30_147_000 picoseconds. - Weight::from_parts(30_969_000, 6175) + // Minimum execution time: 47_901_000 picoseconds. + Weight::from_parts(48_943_000, 6175) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -129,8 +129,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `93` // Estimated: `1578` - // Minimum execution time: 5_090_000 picoseconds. - Weight::from_parts(5_320_000, 1578) + // Minimum execution time: 8_166_000 picoseconds. + Weight::from_parts(8_315_000, 1578) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -142,8 +142,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `93` // Estimated: `1578` - // Minimum execution time: 5_200_000 picoseconds. - Weight::from_parts(5_320_000, 1578) + // Minimum execution time: 7_975_000 picoseconds. + Weight::from_parts(8_235_000, 1578) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/substrate-node/pallets/pallet-validator/src/weights.rs b/substrate-node/pallets/pallet-validator/src/weights.rs index 77910e820..75627294f 100644 --- a/substrate-node/pallets/pallet-validator/src/weights.rs +++ b/substrate-node/pallets/pallet-validator/src/weights.rs @@ -4,7 +4,7 @@ //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! DATE: 2024-02-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `7d08bfac7c55`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` +//! HOSTNAME: `3144932f6af7`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -50,8 +50,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3507` - // Minimum execution time: 9_078_000 picoseconds. - Weight::from_parts(9_518_000, 3507) + // Minimum execution time: 19_757_000 picoseconds. + Weight::from_parts(20_619_000, 3507) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -65,8 +65,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `365` // Estimated: `3830` - // Minimum execution time: 24_276_000 picoseconds. - Weight::from_parts(24_617_000, 3830) + // Minimum execution time: 51_608_000 picoseconds. + Weight::from_parts(52_960_000, 3830) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -80,8 +80,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `431` // Estimated: `3896` - // Minimum execution time: 32_992_000 picoseconds. - Weight::from_parts(33_694_000, 3896) + // Minimum execution time: 32_050_000 picoseconds. + Weight::from_parts(33_082_000, 3896) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -91,8 +91,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3507` - // Minimum execution time: 8_636_000 picoseconds. - Weight::from_parts(8_907_000, 3507) + // Minimum execution time: 8_316_000 picoseconds. + Weight::from_parts(8_536_000, 3507) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -110,8 +110,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `494` // Estimated: `4687` - // Minimum execution time: 24_657_000 picoseconds. - Weight::from_parts(25_187_000, 4687) + // Minimum execution time: 24_236_000 picoseconds. + Weight::from_parts(24_727_000, 4687) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -131,8 +131,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `558` // Estimated: `4687` - // Minimum execution time: 22_011_000 picoseconds. - Weight::from_parts(22_161_000, 4687) + // Minimum execution time: 21_611_000 picoseconds. + Weight::from_parts(22_112_000, 4687) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -146,8 +146,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3507` - // Minimum execution time: 9_078_000 picoseconds. - Weight::from_parts(9_518_000, 3507) + // Minimum execution time: 19_757_000 picoseconds. + Weight::from_parts(20_619_000, 3507) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -161,8 +161,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `365` // Estimated: `3830` - // Minimum execution time: 24_276_000 picoseconds. - Weight::from_parts(24_617_000, 3830) + // Minimum execution time: 51_608_000 picoseconds. + Weight::from_parts(52_960_000, 3830) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -176,8 +176,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `431` // Estimated: `3896` - // Minimum execution time: 32_992_000 picoseconds. - Weight::from_parts(33_694_000, 3896) + // Minimum execution time: 32_050_000 picoseconds. + Weight::from_parts(33_082_000, 3896) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -187,8 +187,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3507` - // Minimum execution time: 8_636_000 picoseconds. - Weight::from_parts(8_907_000, 3507) + // Minimum execution time: 8_316_000 picoseconds. + Weight::from_parts(8_536_000, 3507) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -206,8 +206,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `494` // Estimated: `4687` - // Minimum execution time: 24_657_000 picoseconds. - Weight::from_parts(25_187_000, 4687) + // Minimum execution time: 24_236_000 picoseconds. + Weight::from_parts(24_727_000, 4687) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -227,8 +227,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `558` // Estimated: `4687` - // Minimum execution time: 22_011_000 picoseconds. - Weight::from_parts(22_161_000, 4687) + // Minimum execution time: 21_611_000 picoseconds. + Weight::from_parts(22_112_000, 4687) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } diff --git a/substrate-node/pallets/substrate-validator-set/src/weights.rs b/substrate-node/pallets/substrate-validator-set/src/weights.rs index 69121103d..3c337f315 100644 --- a/substrate-node/pallets/substrate-validator-set/src/weights.rs +++ b/substrate-node/pallets/substrate-validator-set/src/weights.rs @@ -4,7 +4,7 @@ //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! DATE: 2024-02-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `7d08bfac7c55`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` +//! HOSTNAME: `3144932f6af7`, CPU: `AMD Ryzen 7 5800X 8-Core Processor` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -49,8 +49,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `139` // Estimated: `1624` - // Minimum execution time: 22_162_000 picoseconds. - Weight::from_parts(22_753_000, 1624) + // Minimum execution time: 29_295_000 picoseconds. + Weight::from_parts(30_498_000, 1624) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -62,8 +62,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `205` // Estimated: `1690` - // Minimum execution time: 17_794_000 picoseconds. - Weight::from_parts(18_405_000, 1690) + // Minimum execution time: 23_144_000 picoseconds. + Weight::from_parts(23_956_000, 1690) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -75,8 +75,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `172` // Estimated: `1657` - // Minimum execution time: 19_908_000 picoseconds. - Weight::from_parts(20_369_000, 1657) + // Minimum execution time: 26_600_000 picoseconds. + Weight::from_parts(27_993_000, 1657) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -92,8 +92,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `139` // Estimated: `1624` - // Minimum execution time: 22_162_000 picoseconds. - Weight::from_parts(22_753_000, 1624) + // Minimum execution time: 29_295_000 picoseconds. + Weight::from_parts(30_498_000, 1624) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -105,8 +105,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `205` // Estimated: `1690` - // Minimum execution time: 17_794_000 picoseconds. - Weight::from_parts(18_405_000, 1690) + // Minimum execution time: 23_144_000 picoseconds. + Weight::from_parts(23_956_000, 1690) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -118,8 +118,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `172` // Estimated: `1657` - // Minimum execution time: 19_908_000 picoseconds. - Weight::from_parts(20_369_000, 1657) + // Minimum execution time: 26_600_000 picoseconds. + Weight::from_parts(27_993_000, 1657) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) }