From 0e5767f3178c083750cd9e8755c070af83e3cedb Mon Sep 17 00:00:00 2001 From: Fredrik Simonsson Date: Thu, 14 Mar 2024 16:02:43 +0900 Subject: [PATCH] Upgrade polkadot-sdk (#813) * Upgrade to polkadot 1.1.0 (#800) * Upgrade towards 1.1.0 * Update CI version * polkadot 1.1 dependencies * Merge updates for benchmarks * upgrade to polkadot 1.2.1 (#804) * Upgrade to 1.2.0 integrate PreImage Pallet * Test cases remove deprecated calls * Upgrade to polkadot 1.3.0 * ORML force update * Benchmark tests * Migration for pallet_uniques * Remove Clippy Warnings * Remove dead code * Upgrade to polkadot 1.4.0 (#814) * Remove ReachableDest * XCM config * Use define_benchmarks! * upgrade to polkadot 1.5.0 (#816) * Upgrade to 1.5.0 * Remove migrations completed in Spec 27 * Use release tag * Upgrade to 1.6.0 * Upgrade calls to 1.6.0 API * Dwellir hostname change * Update weights * Update service.rs and command.rs from latest template * Workspace dependencies * Get substrate from crates.io * Storage migrations * Reintegrate orml * Silence warning * Cargo.toml reformat * Fix failing benchmarks * XCM benchmarks * Clippy * CI srtool * Update weights * Use benchmark for reserve_asset_deposited() * Use only two collators for dev nets * SR tool version * Update runtimes/eden/src/pallets_parachain.rs * Update runtimes/eden/src/pallets_util.rs * Update node/src/command.rs * Use Polkadot ED * Integrate proxy pallet * Add pallet_proxy benchmarks * Separate weights for all pallets * Code cleanup * Benchmarks * Auto fmt * Refactor benchmark script * feat(nodle-parachain): use wasm executor * Remove sponsorship migration * Default ports Relay chain default rpc port different from parachain default port * Docker example in Readme verified to work * The docker example uses all necessary parameters. Is readable and runable at the same time. * Set base delivery fee in DOT derived constant close CHA-407 close #738 close #825 close #824 --------- Co-authored-by: Alex Sedighi --- .github/workflows/ci.yml | 10 +- .github/workflows/srtool.yml | 3 +- .maintain/external_pallet_weights.hbs | 6 +- .maintain/internal_pallet_weights.hbs | 2 +- Cargo.lock | 4956 +++++++++++------ Cargo.toml | 134 + README.md | 5 +- node/Cargo.toml | 128 +- node/src/chain_spec.rs | 17 +- node/src/cli.rs | 2 +- node/src/command.rs | 38 +- node/src/service.rs | 408 +- pallets/allocations/Cargo.toml | 38 +- pallets/allocations/src/tests.rs | 7 +- pallets/allocations/src/weights.rs | 70 +- pallets/grants/Cargo.toml | 32 +- pallets/grants/src/mock.rs | 2 + pallets/grants/src/tests.rs | 12 +- pallets/grants/src/weights.rs | 50 +- pallets/mandate/Cargo.toml | 26 +- pallets/reserve/Cargo.toml | 28 +- pallets/reserve/src/tests.rs | 2 + pallets/reserve/src/weights.rs | 32 +- pallets/sponsorship/Cargo.toml | 36 +- pallets/sponsorship/src/lib.rs | 27 +- pallets/sponsorship/src/mock.rs | 4 +- pallets/sponsorship/src/weights.rs | 130 +- pallets/uniques/Cargo.toml | 32 +- pallets/uniques/src/lib.rs | 4 +- pallets/uniques/src/tests.rs | 2 + pallets/uniques/src/weights.rs | 94 +- primitives/Cargo.toml | 36 +- primitives/src/lib.rs | 2 +- runtimes/eden/Cargo.toml | 180 +- runtimes/eden/src/constants.rs | 2 + runtimes/eden/src/lib.rs | 135 +- runtimes/eden/src/migrations.rs | 44 +- runtimes/eden/src/pallets_governance.rs | 10 +- runtimes/eden/src/pallets_nodle.rs | 2 +- runtimes/eden/src/pallets_parachain.rs | 44 +- runtimes/eden/src/pallets_system.rs | 8 +- runtimes/eden/src/pallets_util.rs | 112 +- .../cumulus_pallet_parachain_system.rs | 69 + runtimes/eden/src/weights/frame_system.rs | 77 +- runtimes/eden/src/weights/mod.rs | 16 +- .../eden/src/weights/pallet_allocations.rs | 122 + runtimes/eden/src/weights/pallet_balances.rs | 42 +- .../src/weights/pallet_collator_selection.rs | 151 +- .../eden/src/weights/pallet_collective.rs | 237 + runtimes/eden/src/weights/pallet_contracts.rs | 1610 ++---- runtimes/eden/src/weights/pallet_grants.rs | 108 + runtimes/eden/src/weights/pallet_identity.rs | 263 +- .../eden/src/weights/pallet_membership.rs | 62 +- .../eden/src/weights/pallet_message_queue.rs | 142 + runtimes/eden/src/weights/pallet_multisig.rs | 72 +- .../eden/src/weights/pallet_nodle_uniques.rs | 170 + runtimes/eden/src/weights/pallet_preimage.rs | 163 +- runtimes/eden/src/weights/pallet_proxy.rs | 178 + runtimes/eden/src/weights/pallet_reserve.rs | 65 + runtimes/eden/src/weights/pallet_scheduler.rs | 84 +- .../eden/src/weights/pallet_sponsorship.rs | 171 + runtimes/eden/src/weights/pallet_timestamp.rs | 14 +- runtimes/eden/src/weights/pallet_uniques.rs | 132 +- runtimes/eden/src/weights/pallet_utility.rs | 38 +- runtimes/eden/src/weights/pallet_xcm.rs | 91 +- .../weights/pallet_xcm_benchmarks_fungible.rs | 48 +- .../weights/pallet_xcm_benchmarks_generic.rs | 77 +- runtimes/eden/src/xcm_config.rs | 49 +- scripts/run_benchmarks.sh | 39 +- support/Cargo.toml | 14 +- support/src/lib.rs | 2 +- 71 files changed, 6931 insertions(+), 4287 deletions(-) create mode 100644 runtimes/eden/src/weights/cumulus_pallet_parachain_system.rs create mode 100644 runtimes/eden/src/weights/pallet_allocations.rs create mode 100644 runtimes/eden/src/weights/pallet_collective.rs create mode 100644 runtimes/eden/src/weights/pallet_grants.rs create mode 100644 runtimes/eden/src/weights/pallet_message_queue.rs create mode 100644 runtimes/eden/src/weights/pallet_nodle_uniques.rs create mode 100644 runtimes/eden/src/weights/pallet_proxy.rs create mode 100644 runtimes/eden/src/weights/pallet_reserve.rs create mode 100644 runtimes/eden/src/weights/pallet_sponsorship.rs diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a712f7bd48b..633b4378e52 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ env: toolchain: stable target: wasm32-unknown-unknown try-runtime-chain: dev - try-runtime-uri: wss://eden-rpc.dwellir.com:443/ + try-runtime-uri: wss://api-eden.dwellir.com:443/ SCCACHE_GHA_ENABLED: "true" RUSTC_WRAPPER: "sccache" RUSTFLAGS: "" @@ -37,7 +37,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Setup sccache - uses: mozilla-actions/sccache-action@v0.0.3 + uses: mozilla-actions/sccache-action@v0.0.4 - uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: ${{ env.toolchain }} @@ -68,7 +68,7 @@ jobs: run: | sudo apt-get install protobuf-compiler - name: Setup sccache - uses: mozilla-actions/sccache-action@v0.0.3 + uses: mozilla-actions/sccache-action@v0.0.4 - name: Unit tests # Other tests ran below run: cargo test --all-features -p nodle-parachain @@ -87,7 +87,7 @@ jobs: run: | sudo apt-get install protobuf-compiler - name: Setup sccache - uses: mozilla-actions/sccache-action@v0.0.3 + uses: mozilla-actions/sccache-action@v0.0.4 - name: Install cargo-llvm-cov uses: taiki-e/install-action@cargo-llvm-cov - name: Test and gather coverage @@ -113,7 +113,7 @@ jobs: components: rust-src target: ${{ env.target }} - name: Setup sccache - uses: mozilla-actions/sccache-action@v0.0.3 + uses: mozilla-actions/sccache-action@v0.0.4 - name: Build runtime run: cargo build --release --features=try-runtime -p runtime-eden - name: Upload runtime artifact diff --git a/.github/workflows/srtool.yml b/.github/workflows/srtool.yml index b294c851832..5a69d61cbc3 100644 --- a/.github/workflows/srtool.yml +++ b/.github/workflows/srtool.yml @@ -16,11 +16,12 @@ jobs: - uses: actions/checkout@v4 - name: Srtool build id: srtool_build - uses: chevdor/srtool-actions@v0.8.0 + uses: chevdor/srtool-actions@v0.9.2 with: chain: ${{ matrix.runtime }} package: runtime-${{ matrix.runtime }} runtime_dir: runtimes/${{ matrix.runtime }} + tag: 1.74.0 - name: Summary run: | diff --git a/.maintain/external_pallet_weights.hbs b/.maintain/external_pallet_weights.hbs index 5a1836ede73..3516e03f401 100644 --- a/.maintain/external_pallet_weights.hbs +++ b/.maintain/external_pallet_weights.hbs @@ -1,6 +1,6 @@ /* * This file is part of the Nodle Chain distributed at https://github.com/NodleCode/chain - * Copyright (C) 2020-2022 Nodle International + * Copyright (C) 2020-2024 Nodle International * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,10 +28,6 @@ // {{arg}} {{/each}} -#![cfg_attr(rustfmt, rustfmt_skip)] -#![allow(unused_parens)] -#![allow(unused_imports)] - use frame_support::{traits::Get, weights::{Weight}}; use core::marker::PhantomData; diff --git a/.maintain/internal_pallet_weights.hbs b/.maintain/internal_pallet_weights.hbs index 57be86d6942..73a23480f75 100644 --- a/.maintain/internal_pallet_weights.hbs +++ b/.maintain/internal_pallet_weights.hbs @@ -1,6 +1,6 @@ /* * This file is part of the Nodle Chain distributed at https://github.com/NodleCode/chain - * Copyright (C) 2020-2022 Nodle International + * Copyright (C) 2020-2024 Nodle International * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/Cargo.lock b/Cargo.lock index fad19538237..e0c1d6921db 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -48,12 +48,12 @@ dependencies = [ [[package]] name = "aes" -version = "0.8.3" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac1f845298e95f983ff1944b728ae08b8cebab80d684f0a832ed0fc74dfa27e2" +checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" dependencies = [ "cfg-if", - "cipher", + "cipher 0.4.4", "cpufeatures", ] @@ -65,31 +65,31 @@ checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" dependencies = [ "aead", "aes", - "cipher", + "cipher 0.4.4", "ctr", "ghash", - "subtle", + "subtle 2.5.0", ] [[package]] name = "ahash" -version = "0.7.7" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a824f2aa7e75a0c98c5a504fceb80649e9c35265d44525b5f94de4771a395cd" +checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" dependencies = [ - "getrandom 0.2.11", + "getrandom 0.2.12", "once_cell", "version_check", ] [[package]] name = "ahash" -version = "0.8.6" +version = "0.8.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91429305e9f0a25f6205c5b8e0d2db09e0708a7a6df0f42212bb56c32c8ac97a" +checksum = "8b79b82693f705137f8fb9b37871d99e4f9a7df12b917eed79c3d3954830a60b" dependencies = [ "cfg-if", - "getrandom 0.2.11", + "getrandom 0.2.12", "once_cell", "version_check", "zerocopy", @@ -104,6 +104,12 @@ dependencies = [ "memchr", ] +[[package]] +name = "allocator-api2" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" + [[package]] name = "always-assert" version = "0.1.3" @@ -136,9 +142,9 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.5" +version = "0.6.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d664a92ecae85fd0a7392615844904654d1d5f5514837f471ddef4a057aba1b6" +checksum = "d96bd03f33fe50a863e394ee9718a706f988b9079b20c3784fb726e7678b62fb" dependencies = [ "anstyle", "anstyle-parse", @@ -150,9 +156,9 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.4" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87" +checksum = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc" [[package]] name = "anstyle-parse" @@ -184,9 +190,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.75" +version = "1.0.80" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6" +checksum = "5ad32ce52e4161730f7098c077cd2ed6229b5804ccf99e5366be1ab72a98b4e1" [[package]] name = "approx" @@ -197,6 +203,155 @@ dependencies = [ "num-traits", ] +[[package]] +name = "aquamarine" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "074b80d14d0240b6ce94d68f059a2d26a5d77280ae142662365a21ef6e2594ef" +dependencies = [ + "include_dir", + "itertools 0.10.5", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 2.0.52", +] + +[[package]] +name = "ark-bls12-377" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb00293ba84f51ce3bd026bd0de55899c4e68f0a39a5728cebae3a73ffdc0a4f" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-std", +] + +[[package]] +name = "ark-bls12-381" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c775f0d12169cba7aae4caeb547bb6a50781c7449a8aa53793827c9ec4abf488" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-serialize", + "ark-std", +] + +[[package]] +name = "ark-ec" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "defd9a439d56ac24968cca0571f598a61bc8c55f71d50a89cda591cb750670ba" +dependencies = [ + "ark-ff", + "ark-poly", + "ark-serialize", + "ark-std", + "derivative", + "hashbrown 0.13.2", + "itertools 0.10.5", + "num-traits", + "zeroize", +] + +[[package]] +name = "ark-ff" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec847af850f44ad29048935519032c33da8aa03340876d351dfab5660d2966ba" +dependencies = [ + "ark-ff-asm", + "ark-ff-macros", + "ark-serialize", + "ark-std", + "derivative", + "digest 0.10.7", + "itertools 0.10.5", + "num-bigint", + "num-traits", + "paste", + "rustc_version 0.4.0", + "zeroize", +] + +[[package]] +name = "ark-ff-asm" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ed4aa4fe255d0bc6d79373f7e31d2ea147bcf486cba1be5ba7ea85abdb92348" +dependencies = [ + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ark-ff-macros" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7abe79b0e4288889c4574159ab790824d0033b9fdcb2a112a3182fac2e514565" +dependencies = [ + "num-bigint", + "num-traits", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ark-poly" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d320bfc44ee185d899ccbadfa8bc31aab923ce1558716e1997a1e74057fe86bf" +dependencies = [ + "ark-ff", + "ark-serialize", + "ark-std", + "derivative", + "hashbrown 0.13.2", +] + +[[package]] +name = "ark-serialize" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adb7b85a02b83d2f22f89bd5cac66c9c89474240cb6207cb1efc16d098e822a5" +dependencies = [ + "ark-serialize-derive", + "ark-std", + "digest 0.10.7", + "num-bigint", +] + +[[package]] +name = "ark-serialize-derive" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae3281bc6d0fd7e549af32b52511e1302185bd688fd3359fa36423346ff682ea" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ark-std" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" +dependencies = [ + "num-traits", + "rand", +] + +[[package]] +name = "array-bytes" +version = "4.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f52f63c5c1316a16a4b35eaac8b76a98248961a533f061684cb2a7cb0eafb6c6" + [[package]] name = "array-bytes" version = "6.2.2" @@ -209,6 +364,15 @@ version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545" +[[package]] +name = "arrayvec" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd9fd44efafa8690358b7408d253adf110036b88f55672a933f01d616ad9b1b9" +dependencies = [ + "nodrop", +] + [[package]] name = "arrayvec" version = "0.5.2" @@ -277,20 +441,79 @@ dependencies = [ "futures-core", ] +[[package]] +name = "async-channel" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f28243a43d821d11341ab73c80bed182dc015c514b951616cf79bd4af39af0c3" +dependencies = [ + "concurrent-queue", + "event-listener 5.1.0", + "event-listener-strategy 0.5.0", + "futures-core", + "pin-project-lite 0.2.13", +] + +[[package]] +name = "async-executor" +version = "1.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17ae5ebefcc48e7452b4987947920dac9450be1110cadf34d1b8c116bdbaf97c" +dependencies = [ + "async-lock 3.3.0", + "async-task", + "concurrent-queue", + "fastrand 2.0.1", + "futures-lite 2.2.0", + "slab", +] + +[[package]] +name = "async-fs" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "279cf904654eeebfa37ac9bb1598880884924aab82e290aa65c9e77a0e142e06" +dependencies = [ + "async-lock 2.8.0", + "autocfg", + "blocking", + "futures-lite 1.13.0", +] + +[[package]] +name = "async-io" +version = "1.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fc5b45d93ef0529756f812ca52e44c221b35341892d3dcc34132ac02f3dd2af" +dependencies = [ + "async-lock 2.8.0", + "autocfg", + "cfg-if", + "concurrent-queue", + "futures-lite 1.13.0", + "log", + "parking", + "polling 2.8.0", + "rustix 0.37.27", + "slab", + "socket2 0.4.10", + "waker-fn", +] + [[package]] name = "async-io" -version = "2.2.2" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6afaa937395a620e33dc6a742c593c01aced20aa376ffb0f628121198578ccc7" +checksum = "8f97ab0c5b00a7cdbe5a371b9a782ee7be1316095885c8a4ea1daf490eb0ef65" dependencies = [ - "async-lock 3.2.0", + "async-lock 3.3.0", "cfg-if", "concurrent-queue", "futures-io", - "futures-lite", + "futures-lite 2.2.0", "parking", - "polling", - "rustix 0.38.28", + "polling 3.5.0", + "rustix 0.38.31", "slab", "tracing", "windows-sys 0.52.0", @@ -307,35 +530,76 @@ dependencies = [ [[package]] name = "async-lock" -version = "3.2.0" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7125e42787d53db9dd54261812ef17e937c95a51e4d291373b670342fa44310c" +checksum = "d034b430882f8381900d3fe6f0aaa3ad94f2cb4ac519b429692a1bc2dda4ae7b" dependencies = [ - "event-listener 4.0.1", - "event-listener-strategy", + "event-listener 4.0.3", + "event-listener-strategy 0.4.0", "pin-project-lite 0.2.13", ] [[package]] -name = "async-recursion" -version = "1.0.5" +name = "async-net" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fd55a5ba1179988837d24ab4c7cc8ed6efdeff578ede0416b4225a5fca35bd0" +checksum = "0434b1ed18ce1cf5769b8ac540e33f01fa9471058b5e89da9e06f3c882a8c12f" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.41", + "async-io 1.13.0", + "blocking", + "futures-lite 1.13.0", +] + +[[package]] +name = "async-process" +version = "1.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea6438ba0a08d81529c69b36700fa2f95837bfe3e776ab39cde9c14d9149da88" +dependencies = [ + "async-io 1.13.0", + "async-lock 2.8.0", + "async-signal", + "blocking", + "cfg-if", + "event-listener 3.1.0", + "futures-lite 1.13.0", + "rustix 0.38.31", + "windows-sys 0.48.0", ] +[[package]] +name = "async-signal" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e47d90f65a225c4527103a8d747001fc56e375203592b25ad103e1ca13124c5" +dependencies = [ + "async-io 2.3.1", + "async-lock 2.8.0", + "atomic-waker", + "cfg-if", + "futures-core", + "futures-io", + "rustix 0.38.31", + "signal-hook-registry", + "slab", + "windows-sys 0.48.0", +] + +[[package]] +name = "async-task" +version = "4.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fbb36e985947064623dbd357f727af08ffd077f93d696782f3c56365fa2e2799" + [[package]] name = "async-trait" -version = "0.1.74" +version = "0.1.77" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a66537f1bb974b254c98ed142ff995236e81b9d0fe4db0575f46612cb15eb0f9" +checksum = "c980ee35e870bd1a4d2c8294d4c04d0499e67bca1e4b5cefcc693c2fa00caea9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] @@ -352,15 +616,16 @@ dependencies = [ ] [[package]] -name = "atty" -version = "0.2.14" +name = "atomic-take" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" -dependencies = [ - "hermit-abi 0.1.19", - "libc", - "winapi", -] +checksum = "a8ab6b55fe97976e46f91ddbed8d147d966475dc29b2032757ba47e02376fbc3" + +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" [[package]] name = "autocfg" @@ -379,7 +644,7 @@ dependencies = [ "cfg-if", "libc", "miniz_oxide", - "object 0.32.1", + "object 0.32.2", "rustc-demangle", ] @@ -403,9 +668,9 @@ checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" [[package]] name = "base64" -version = "0.21.5" +version = "0.21.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9" +checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" [[package]] name = "base64ct" @@ -424,8 +689,9 @@ dependencies = [ [[package]] name = "binary-merkle-tree" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4bf2706ac2641485d35ed06ebfe0b3b2c43e19a7ad8a90215580a91dd1766114" dependencies = [ "hash-db", "log", @@ -452,15 +718,34 @@ dependencies = [ "lazy_static", "lazycell", "peeking_take_while", - "prettyplease 0.2.15", + "prettyplease 0.2.16", "proc-macro2", "quote", "regex", "rustc-hash", "shlex", - "syn 2.0.41", + "syn 2.0.52", ] +[[package]] +name = "bip39" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93f2635620bf0b9d4576eb7bb9a38a55df78bd1205d26fa994b25911a69f212f" +dependencies = [ + "bitcoin_hashes", + "rand", + "rand_core 0.6.4", + "serde", + "unicode-normalization", +] + +[[package]] +name = "bitcoin_hashes" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90064b8dee6815a6470d60bad07bbbaee885c0e12d04177138fa3291a01b7bc4" + [[package]] name = "bitflags" version = "1.3.2" @@ -469,9 +754,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.4.1" +version = "2.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" +checksum = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf" [[package]] name = "bitvec" @@ -481,10 +766,23 @@ checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" dependencies = [ "funty", "radium", + "serde", "tap", "wyz", ] +[[package]] +name = "blake2" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94cb07b0da6a73955f8fb85d24c466778e70cda767a568229b104f0264089330" +dependencies = [ + "byte-tools", + "crypto-mac 0.7.0", + "digest 0.8.1", + "opaque-debug 0.2.3", +] + [[package]] name = "blake2" version = "0.10.6" @@ -494,6 +792,16 @@ dependencies = [ "digest 0.10.7", ] +[[package]] +name = "blake2-rfc" +version = "0.2.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d6d530bdd2d52966a6d03b7a964add7ae1a288d25214066fd4b600f0f796400" +dependencies = [ + "arrayvec 0.4.12", + "constant_time_eq 0.1.5", +] + [[package]] name = "blake2b_simd" version = "1.0.2" @@ -502,7 +810,7 @@ checksum = "23285ad32269793932e830392f2fe2f83e26488fd3ec778883a93c8323735780" dependencies = [ "arrayref", "arrayvec 0.7.4", - "constant_time_eq", + "constant_time_eq 0.3.0", ] [[package]] @@ -513,7 +821,7 @@ checksum = "94230421e395b9920d23df13ea5d77a20e1725331f90fbbf6df6040b33f756ae" dependencies = [ "arrayref", "arrayvec 0.7.4", - "constant_time_eq", + "constant_time_eq 0.3.0", ] [[package]] @@ -526,7 +834,7 @@ dependencies = [ "arrayvec 0.7.4", "cc", "cfg-if", - "constant_time_eq", + "constant_time_eq 0.3.0", ] [[package]] @@ -568,6 +876,22 @@ dependencies = [ "byte-tools", ] +[[package]] +name = "blocking" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a37913e8dc4ddcc604f0c6d3bf2887c995153af3611de9e23c352b44c1b9118" +dependencies = [ + "async-channel 2.2.0", + "async-lock 3.3.0", + "async-task", + "fastrand 2.0.1", + "futures-io", + "futures-lite 2.2.0", + "piper", + "tracing", +] + [[package]] name = "bounded-collections" version = "0.1.9" @@ -589,17 +913,38 @@ dependencies = [ "thiserror", ] +[[package]] +name = "bp-xcm-bridge-hub-router" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f58cd5d7880f4bc8fc569e5bb0174302cd3f7e18a322e0fec2a4733cced35cb" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-runtime", +] + [[package]] name = "bs58" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" +[[package]] +name = "bs58" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f5353f36341f7451062466f0b755b96ac3a9547e4d7f6b70d603fc721a7d7896" +dependencies = [ + "tinyvec", +] + [[package]] name = "bstr" -version = "1.8.0" +version = "1.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "542f33a8835a0884b006a0c3df3dadd99c0c3f296ed26c2fdc8028e01ad6230c" +checksum = "05efc5cfd9110c8416e471df0e96702d58690178e206e61b7173706673c93706" dependencies = [ "memchr", "serde", @@ -616,9 +961,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.14.0" +version = "3.15.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" +checksum = "8ea184aa71bb362a1157c896979544cc23974e08fd265f29ea96b59f0b4a555b" [[package]] name = "byte-slice-cast" @@ -634,9 +979,9 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "bytemuck" -version = "1.14.0" +version = "1.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "374d28ec25809ee0e23827c2ab573d729e293f281dfe393500e7ad618baa61c6" +checksum = "a2ef034f05691a48569bd920a96c81b9d91bbad1ab5ac7c4616c1f6ef36cb79f" [[package]] name = "byteorder" @@ -661,6 +1006,16 @@ dependencies = [ "pkg-config", ] +[[package]] +name = "c2-chacha" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d27dae93fe7b1e0424dc57179ac396908c26b035a87234809f5c4dfd1b47dc80" +dependencies = [ + "cipher 0.2.5", + "ppv-lite86", +] + [[package]] name = "camino" version = "1.1.6" @@ -672,9 +1027,9 @@ dependencies = [ [[package]] name = "cargo-platform" -version = "0.1.5" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e34637b3140142bdf929fb439e8aa4ebad7651ebf7b1080b3930aa16ac1459ff" +checksum = "694c8807f2ae16faecc43dc17d74b3eb042482789fd0eb64b39a2e04e087053f" dependencies = [ "serde", ] @@ -687,7 +1042,7 @@ checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" dependencies = [ "camino", "cargo-platform", - "semver 1.0.20", + "semver 1.0.22", "serde", "serde_json", "thiserror", @@ -695,11 +1050,10 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.83" +version = "1.0.88" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" +checksum = "02f341c093d19155a6e41631ce5971aac4e9a868262212153124c15fa22d1cdc" dependencies = [ - "jobserver", "libc", ] @@ -714,9 +1068,9 @@ dependencies = [ [[package]] name = "cfg-expr" -version = "0.15.5" +version = "0.15.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03915af431787e6ffdcc74c645077518c6b6e01f80b761e0fbbfa288536311b3" +checksum = "fa50868b64a9a6fda9d593ce778849ea8715cd2a3d2cc17ffdb4a2f2f2f1961d" dependencies = [ "smallvec", ] @@ -733,6 +1087,16 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" +[[package]] +name = "chacha" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddf3c081b5fba1e5615640aae998e0fbd10c24cbd897ee39ed754a77601a4862" +dependencies = [ + "byteorder", + "keystream", +] + [[package]] name = "chacha20" version = "0.9.1" @@ -740,7 +1104,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3613f74bd2eac03dad61bd53dbe620703d4371614fe0bc3b9f04dd36fe4e818" dependencies = [ "cfg-if", - "cipher", + "cipher 0.4.4", "cpufeatures", ] @@ -752,23 +1116,23 @@ checksum = "10cd79432192d1c0f4e1a0fef9527696cc039165d729fb41b3f4f4f354c2dc35" dependencies = [ "aead", "chacha20", - "cipher", + "cipher 0.4.4", "poly1305", "zeroize", ] [[package]] name = "chrono" -version = "0.4.31" +version = "0.4.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f2c685bad3eb3d45a01354cedb7d5faa66194d1d58ba6e267a8de788f79db38" +checksum = "5bc015644b92d5890fab7489e49d21f879d5c990186827d42ec511919404f38b" dependencies = [ "android-tzdata", "iana-time-zone", "js-sys", "num-traits", "wasm-bindgen", - "windows-targets 0.48.5", + "windows-targets 0.52.4", ] [[package]] @@ -779,11 +1143,20 @@ checksum = "b9b68e3193982cd54187d71afdb2a271ad4cf8af157858e9cb911b91321de143" dependencies = [ "core2", "multibase", - "multihash", + "multihash 0.17.0", "serde", "unsigned-varint", ] +[[package]] +name = "cipher" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12f8e7987cbd042a63249497f41aed09f8e65add917ea6566effbc56578d6801" +dependencies = [ + "generic-array 0.14.7", +] + [[package]] name = "cipher" version = "0.4.4" @@ -806,9 +1179,9 @@ dependencies = [ [[package]] name = "clang-sys" -version = "1.6.1" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c688fc74432808e3eb684cae8830a86be1d66a2bd58e1f248ed0960a590baf6f" +checksum = "67523a3b4be3ce1989d607a828d036249522dd9c1c8de7f4dd2dae43a37369d1" dependencies = [ "glob", "libc", @@ -817,9 +1190,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.4.11" +version = "4.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfaff671f6b22ca62406885ece523383b9b64022e341e53e009a62ebc47a45f2" +checksum = "c918d541ef2913577a0f9566e9ce27cb35b6df072075769e0b26cb5a554520da" dependencies = [ "clap_builder", "clap_derive", @@ -827,43 +1200,43 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.4.11" +version = "4.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a216b506622bb1d316cd51328dce24e07bdff4a6128a47c7e7fad11878d5adbb" +checksum = "9f3e7391dad68afb0c2ede1bf619f579a3dc9c2ec67f089baa397123a2f3d1eb" dependencies = [ "anstream", "anstyle", "clap_lex", "strsim", + "terminal_size", ] [[package]] name = "clap_derive" -version = "4.4.7" +version = "4.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442" +checksum = "307bc0538d5f0f83b8248db3087aa92fe504e4691294d0c96c0eabc33f47ba47" dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] name = "clap_lex" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" +checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" [[package]] name = "coarsetime" -version = "0.1.33" +version = "0.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71367d3385c716342014ad17e3d19f7788ae514885a1f4c24f500260fb365e1a" +checksum = "13b3839cf01bb7960114be3ccf2340f541b6d0c81f8690b007b2b39f750f7e5d" dependencies = [ "libc", - "once_cell", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasix", "wasm-bindgen", ] @@ -911,15 +1284,15 @@ dependencies = [ [[package]] name = "console" -version = "0.15.7" +version = "0.15.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c926e00cc70edefdc64d3a5ff31cc65bb97a3460097762bd23afb4d8145fccf8" +checksum = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb" dependencies = [ "encode_unicode", "lazy_static", "libc", "unicode-width", - "windows-sys 0.45.0", + "windows-sys 0.52.0", ] [[package]] @@ -943,17 +1316,29 @@ version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" dependencies = [ - "getrandom 0.2.11", + "getrandom 0.2.12", "once_cell", "tiny-keccak", ] +[[package]] +name = "constant_time_eq" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" + [[package]] name = "constant_time_eq" version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2" +[[package]] +name = "constcat" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd7e35aee659887cbfb97aaf227ac12cad1a9d7c71e55ff3376839ed4e282d08" + [[package]] name = "convert_case" version = "0.4.0" @@ -1006,9 +1391,9 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.2.11" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce420fe07aecd3e67c5f910618fe65e94158f6dcc0adf44e00d69ce2bdfe0fd0" +checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504" dependencies = [ "libc", ] @@ -1113,54 +1498,46 @@ dependencies = [ [[package]] name = "crc32fast" -version = "1.3.2" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" +checksum = "b3855a8a784b474f333699ef2bbca9db2c4a1f6d9088a90a2d25b1eb53111eaa" dependencies = [ "cfg-if", ] [[package]] name = "crossbeam-deque" -version = "0.8.4" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fca89a0e215bab21874660c67903c5f143333cab1da83d041c7ded6053774751" +checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d" dependencies = [ - "cfg-if", "crossbeam-epoch", "crossbeam-utils", ] [[package]] name = "crossbeam-epoch" -version = "0.9.16" +version = "0.9.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d2fe95351b870527a5d09bf563ed3c97c0cffb87cf1c78a591bf48bb218d9aa" +checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" dependencies = [ - "autocfg", - "cfg-if", "crossbeam-utils", - "memoffset 0.9.0", ] [[package]] name = "crossbeam-queue" -version = "0.3.9" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9bcf5bdbfdd6030fb4a1c497b5d5fc5921aa2f60d359a17e249c0e6df3de153" +checksum = "df0346b5d5e76ac2fe4e327c5fd1118d6be7c51dfb18f9b7922923f287471e35" dependencies = [ - "cfg-if", "crossbeam-utils", ] [[package]] name = "crossbeam-utils" -version = "0.8.17" +version = "0.8.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06d96137f14f244c37f989d9fff8f95e6c18b918e71f36638f8c49112e4c78f" -dependencies = [ - "cfg-if", -] +checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" [[package]] name = "crunchy" @@ -1176,7 +1553,7 @@ checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" dependencies = [ "generic-array 0.14.7", "rand_core 0.6.4", - "subtle", + "subtle 2.5.0", "zeroize", ] @@ -1191,6 +1568,16 @@ dependencies = [ "typenum", ] +[[package]] +name = "crypto-mac" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4434400df11d95d556bac068ddfedd482915eb18fe8bea89bc80b6e4b1c179e5" +dependencies = [ + "generic-array 0.12.4", + "subtle 1.0.0", +] + [[package]] name = "crypto-mac" version = "0.8.0" @@ -1198,17 +1585,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab" dependencies = [ "generic-array 0.14.7", - "subtle", + "subtle 2.5.0", ] [[package]] name = "crypto-mac" -version = "0.11.1" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1d1a86f49236c215f271d40892d5fc950490551400b02ef360692c29815c714" +checksum = "25fab6889090c8133f3deb8f73ba3c65a7f456f66436fc012a1b1e272b1e103e" dependencies = [ "generic-array 0.14.7", - "subtle", + "subtle 2.5.0", ] [[package]] @@ -1217,13 +1604,14 @@ version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" dependencies = [ - "cipher", + "cipher 0.4.4", ] [[package]] name = "cumulus-client-cli" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88972dcd58e7d411ebfd9d82d7399aad567afe737ba8ad0943abfaf1a8b3903b" dependencies = [ "clap", "parity-scale-codec", @@ -1231,6 +1619,7 @@ dependencies = [ "sc-cli", "sc-client-api", "sc-service", + "sp-blockchain", "sp-core", "sp-runtime", "url", @@ -1238,8 +1627,9 @@ dependencies = [ [[package]] name = "cumulus-client-collator" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab9d9114479da745e34b1a4529dca9e51a61860593b61681107249bc68024bd4" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -1261,21 +1651,22 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00378c991116820c354713b3d3be2c9789f84bfb86d0a3c97676cc9e8a39c174" dependencies = [ "async-trait", "cumulus-client-collator", "cumulus-client-consensus-common", "cumulus-client-consensus-proposer", + "cumulus-client-parachain-inherent", "cumulus-primitives-aura", "cumulus-primitives-core", - "cumulus-primitives-parachain-inherent", "cumulus-relay-chain-interface", "futures", - "lru 0.10.1", "parity-scale-codec", "polkadot-node-primitives", + "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", "sc-client-api", @@ -1284,6 +1675,7 @@ dependencies = [ "sc-consensus-babe", "sc-consensus-slots", "sc-telemetry", + "schnellru", "sp-api", "sp-application-crypto", "sp-block-builder", @@ -1302,8 +1694,9 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "385c403c208f654e276f6d7ae30316d3d64f0975c9e19a18ed5943a963cc48c6" dependencies = [ "async-trait", "cumulus-client-pov-recovery", @@ -1331,8 +1724,9 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-proposer" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "614b239940f64843c65ec19e157ee769c556f74f084077dc2f0425f0a671e9ba" dependencies = [ "anyhow", "async-trait", @@ -1346,8 +1740,9 @@ dependencies = [ [[package]] name = "cumulus-client-network" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee9b8802b76850237bbf2c1afb869a9673b49ef9545b31698e1bffbffcaa4254" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -1356,7 +1751,7 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "polkadot-node-primitives", - "polkadot-parachain", + "polkadot-parachain-primitives", "polkadot-primitives", "sc-client-api", "sp-blockchain", @@ -1368,9 +1763,35 @@ dependencies = [ ] [[package]] -name = "cumulus-client-pov-recovery" +name = "cumulus-client-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bcc095540bb3ad848b1d5cd8708d8b493729370d4671df5a0c38ea53382e46b" +dependencies = [ + "async-trait", + "cumulus-primitives-core", + "cumulus-primitives-parachain-inherent", + "cumulus-relay-chain-interface", + "cumulus-test-relay-sproof-builder", + "parity-scale-codec", + "sc-client-api", + "scale-info", + "sp-api", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-state-machine", + "sp-std", + "sp-storage", + "sp-trie", + "tracing", +] + +[[package]] +name = "cumulus-client-pov-recovery" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddd12cbdd57209ffc68d167b0c22c90d5680185b57d03e4c2436aef7dfd918a2" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1382,7 +1803,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", - "rand 0.8.5", + "rand", "sc-client-api", "sc-consensus", "sp-consensus", @@ -1393,8 +1814,9 @@ dependencies = [ [[package]] name = "cumulus-client-service" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5be0615943319f8750eb54793f8ec8721b2081852c23ed450da54cfcf6aca97" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", @@ -1402,6 +1824,7 @@ dependencies = [ "cumulus-client-network", "cumulus-client-pov-recovery", "cumulus-primitives-core", + "cumulus-primitives-proof-size-hostfunction", "cumulus-relay-chain-inprocess-interface", "cumulus-relay-chain-interface", "cumulus-relay-chain-minimal-node", @@ -1428,12 +1851,15 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8100a3283be2c46905345141e9a063f092949c6630a1fb70993b04c97f309e55" dependencies = [ + "cumulus-pallet-parachain-system", "frame-support", "frame-system", "pallet-aura", + "pallet-timestamp", "parity-scale-codec", "scale-info", "sp-application-crypto", @@ -1444,10 +1870,12 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f461956a4a85c053657fe64e73852940c8a52e7d8fc20ccb4f91688e73f0820b" dependencies = [ "cumulus-primitives-core", + "frame-benchmarking", "frame-support", "frame-system", "log", @@ -1456,25 +1884,30 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "xcm", + "staging-xcm", ] [[package]] name = "cumulus-pallet-parachain-system" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a1a0e6800ea92447eab2c9170cc77d21987fd0e61ed79a6e1318f7b127b3e2c" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", + "cumulus-primitives-proof-size-hostfunction", "environmental", + "frame-benchmarking", "frame-support", "frame-system", "impl-trait-for-tuples", "log", + "pallet-message-queue", "parity-scale-codec", - "polkadot-parachain", + "polkadot-parachain-primitives", + "polkadot-runtime-parachains", "scale-info", "sp-core", "sp-externalities", @@ -1485,24 +1918,27 @@ dependencies = [ "sp-std", "sp-trie", "sp-version", - "xcm", + "staging-xcm", + "trie-db", ] [[package]] name = "cumulus-pallet-parachain-system-proc-macro" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "befbaf3a1ce23ac8476481484fef5f4d500cbd15b4dad6380ce1d28134b0c1f7" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] name = "cumulus-pallet-xcm" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9e5e8dd3f9c98620e32cbb1783725a3e75a3147cb351b43de37663824311cd9" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1512,34 +1948,40 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "xcm", + "staging-xcm", ] [[package]] name = "cumulus-pallet-xcmp-queue" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "439cdba45813623e7f45374f160f3356d27fb1aaca2536dd7f60ef2a7e9b30cd" dependencies = [ + "bounded-collections", + "bp-xcm-bridge-hub-router", "cumulus-primitives-core", "frame-benchmarking", "frame-support", "frame-system", "log", + "pallet-message-queue", "parity-scale-codec", "polkadot-runtime-common", - "rand_chacha 0.3.1", + "polkadot-runtime-parachains", "scale-info", + "sp-core", "sp-io", "sp-runtime", "sp-std", - "xcm", - "xcm-executor", + "staging-xcm", + "staging-xcm-executor", ] [[package]] name = "cumulus-primitives-aura" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05ad9d2b1454d6957a92b3f8755d7bfa2b5b70ab2fa7751215f6897de5ac4cf6" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -1552,48 +1994,54 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "036b64697b5fd04c8039ccf15b9891104c496afb6c418c2cea1234d4898d0a28" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", - "polkadot-parachain", + "polkadot-parachain-primitives", "polkadot-primitives", "scale-info", "sp-api", "sp-runtime", "sp-std", "sp-trie", - "xcm", + "staging-xcm", ] [[package]] name = "cumulus-primitives-parachain-inherent" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9cb6fe06744fed6e84682c48816181ad63652003570c2135c425481440fcd2f2" dependencies = [ "async-trait", "cumulus-primitives-core", - "cumulus-relay-chain-interface", - "cumulus-test-relay-sproof-builder", "parity-scale-codec", - "sc-client-api", "scale-info", - "sp-api", "sp-core", "sp-inherents", - "sp-runtime", - "sp-state-machine", "sp-std", - "sp-storage", "sp-trie", - "tracing", +] + +[[package]] +name = "cumulus-primitives-proof-size-hostfunction" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a132e17ac2c79436bc5004b0d56cb35ca65b966434f14e5ff8a9bc1afcfca5a4" +dependencies = [ + "sp-externalities", + "sp-runtime-interface", + "sp-trie", ] [[package]] name = "cumulus-primitives-timestamp" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6d1d900bd9e76607a4a0734cbb2b004d86177d2d6938b5d25eb812c6c1b7500" dependencies = [ "cumulus-primitives-core", "futures", @@ -1605,26 +2053,30 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2ece52eeb7e87faea0d374356571ebc13f279df3bf79a1dc8a0db6c49d6ba23" dependencies = [ "cumulus-primitives-core", "frame-support", "log", + "pallet-xcm-benchmarks", "parity-scale-codec", "polkadot-runtime-common", + "polkadot-runtime-parachains", "sp-io", "sp-runtime", "sp-std", - "xcm", - "xcm-builder", - "xcm-executor", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", ] [[package]] name = "cumulus-relay-chain-inprocess-interface" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6801c53e543614ce1b9f87cfca8ed69aab5318ba51439c0db8a910c8c3d77a15" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1647,8 +2099,9 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bdf9bd710caacdee77f50f01a40f37f8c9af1040e895de3e0b421f2c4ad0a291" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1665,21 +2118,24 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-minimal-node" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b1e0847e45d6a5090ee32b4dc3497cb0671b9a6a9259f9a263a769560c5b60e" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "async-trait", "cumulus-primitives-core", "cumulus-relay-chain-interface", "cumulus-relay-chain-rpc-interface", "futures", - "lru 0.9.0", + "parking_lot 0.12.1", "polkadot-availability-recovery", "polkadot-collator-protocol", "polkadot-core-primitives", "polkadot-network-bridge", "polkadot-node-collation-generation", + "polkadot-node-core-chain-api", + "polkadot-node-core-prospective-parachains", "polkadot-node-core-runtime-api", "polkadot-node-network-protocol", "polkadot-node-subsystem-util", @@ -1697,44 +2153,56 @@ dependencies = [ "sp-consensus", "sp-consensus-babe", "sp-runtime", + "substrate-prometheus-endpoint", "tokio", "tracing", ] [[package]] name = "cumulus-relay-chain-rpc-interface" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1cb8a4c98335aeac261bde9b21e7518c099bfacc96592a052750051cebda158c" dependencies = [ "async-trait", "cumulus-primitives-core", "cumulus-relay-chain-interface", + "either", "futures", "futures-timer", "jsonrpsee", - "lru 0.9.0", "parity-scale-codec", + "pin-project", "polkadot-overseer", + "rand", "sc-client-api", "sc-rpc-api", "sc-service", + "schnellru", "serde", "serde_json", + "smoldot", + "smoldot-light", "sp-api", "sp-authority-discovery", "sp-consensus-babe", "sp-core", + "sp-runtime", "sp-state-machine", "sp-storage", + "sp-version", + "thiserror", "tokio", + "tokio-util", "tracing", "url", ] [[package]] name = "cumulus-test-relay-sproof-builder" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0ec12490a40b00427119fd1e12a6d1fe0652d2df3e992dea1bc4f331effed12" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -1742,6 +2210,7 @@ dependencies = [ "sp-runtime", "sp-state-machine", "sp-std", + "sp-trie", ] [[package]] @@ -1753,7 +2222,7 @@ dependencies = [ "byteorder", "digest 0.8.1", "rand_core 0.5.1", - "subtle", + "subtle 2.5.0", "zeroize", ] @@ -1766,15 +2235,15 @@ dependencies = [ "byteorder", "digest 0.9.0", "rand_core 0.5.1", - "subtle", + "subtle 2.5.0", "zeroize", ] [[package]] name = "curve25519-dalek" -version = "4.1.1" +version = "4.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e89b8c6a2e4b1f45971ad09761aafb85514a84744b67a95e32c3cc1352d1f65c" +checksum = "0a677b8922c94e01bdbb12126b0bc852f00447528dee1782229af9c720c3f348" dependencies = [ "cfg-if", "cpufeatures", @@ -1783,7 +2252,7 @@ dependencies = [ "fiat-crypto", "platforms", "rustc_version 0.4.0", - "subtle", + "subtle 2.5.0", "zeroize", ] @@ -1795,14 +2264,27 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", +] + +[[package]] +name = "curve25519-dalek-ng" +version = "4.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c359b7249347e46fb28804470d071c921156ad62b3eef5d34e2ba867533dec8" +dependencies = [ + "byteorder", + "digest 0.9.0", + "rand_core 0.6.4", + "subtle-ng", + "zeroize", ] [[package]] name = "cxx" -version = "1.0.111" +version = "1.0.118" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9fc0c733f71e58dedf4f034cd2a266f80b94cc9ed512729e1798651b68c2cba" +checksum = "2673ca5ae28334544ec2a6b18ebe666c42a2650abfb48abbd532ed409a44be2b" dependencies = [ "cc", "cxxbridge-flags", @@ -1812,9 +2294,9 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.111" +version = "1.0.118" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51bc81d2664db24cf1d35405f66e18a85cffd4d49ab930c71a5c6342a410f38c" +checksum = "9df46fe0eb43066a332586114174c449a62c25689f85a08f28fdcc8e12c380b9" dependencies = [ "cc", "codespan-reporting", @@ -1822,24 +2304,24 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] name = "cxxbridge-flags" -version = "1.0.111" +version = "1.0.118" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8511afbe34ea242697784da5cb2c5d4a0afb224ca8b136bdf93bfe180cbe5884" +checksum = "886acf875df67811c11cd015506b3392b9e1820b1627af1a6f4e93ccdfc74d11" [[package]] name = "cxxbridge-macro" -version = "1.0.111" +version = "1.0.118" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c6888cd161769d65134846d4d4981d5a6654307cc46ec83fb917e530aea5f84" +checksum = "1d151cc139c3080e07f448f93a1284577ab2283d2a44acd902c6fba9ec20b6de" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] @@ -1894,9 +2376,9 @@ dependencies = [ [[package]] name = "deranged" -version = "0.3.10" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8eb30d70a07a3b04884d2677f06bec33509dc67ca60d92949e5535352d3191dc" +checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" dependencies = [ "powerfmt", ] @@ -1969,14 +2451,14 @@ dependencies = [ "block-buffer 0.10.4", "const-oid", "crypto-common", - "subtle", + "subtle 2.5.0", ] [[package]] name = "directories" -version = "4.0.1" +version = "5.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f51c5d4ddabd36886dd3e1438cb358cdcb0d7c499cb99cb4ac2e38e18b5cb210" +checksum = "9a49173b84e034382284f27f1af4dcbbd231ffa358c0fe316541a7337f376a35" dependencies = [ "dirs-sys", ] @@ -1993,13 +2475,14 @@ dependencies = [ [[package]] name = "dirs-sys" -version = "0.3.7" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6" +checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" dependencies = [ "libc", + "option-ext", "redox_users", - "winapi", + "windows-sys 0.48.0", ] [[package]] @@ -2021,32 +2504,33 @@ checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] name = "docify" -version = "0.1.16" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af1b04e6ef3d21119d3eb7b032bca17f99fe041e9c072f30f32cc0e1a2b1f3c4" +checksum = "7cc4fd38aaa9fb98ac70794c82a00360d1e165a87fbf96a8a91f9dfc602aaee2" dependencies = [ "docify_macros", ] [[package]] name = "docify_macros" -version = "0.1.16" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b5610df7f2acf89a1bb5d1a66ae56b1c7fcdcfe3948856fb3ace3f644d70eb7" +checksum = "63fa215f3a0d40fb2a221b3aa90d8e1fbb8379785a990cb60d62ac71ebdc6460" dependencies = [ "common-path", "derive-syn-parse", - "lazy_static", + "once_cell", "proc-macro2", "quote", "regex", - "syn 2.0.41", + "syn 2.0.52", "termcolor", + "toml 0.8.10", "walkdir", ] @@ -2091,9 +2575,9 @@ dependencies = [ [[package]] name = "dyn-clone" -version = "1.0.16" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "545b22097d44f8a9581187cdf93de7a71e4722bf51200cfaba810865b49a495d" +checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125" [[package]] name = "ecdsa" @@ -2105,19 +2589,10 @@ dependencies = [ "digest 0.10.7", "elliptic-curve", "rfc6979", - "signature 2.2.0", + "signature", "spki", ] -[[package]] -name = "ed25519" -version = "1.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91cff35c70bba8a626e3185d8cd48cc11b5437e1a5bcd15b9b5fa3c64b6dfee7" -dependencies = [ - "signature 1.6.4", -] - [[package]] name = "ed25519" version = "2.2.3" @@ -2125,33 +2600,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" dependencies = [ "pkcs8", - "signature 2.2.0", -] - -[[package]] -name = "ed25519-dalek" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" -dependencies = [ - "curve25519-dalek 3.2.0", - "ed25519 1.5.3", - "sha2 0.9.9", - "zeroize", + "signature", ] [[package]] name = "ed25519-dalek" -version = "2.1.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f628eaec48bfd21b865dc2950cfa014450c01d2fa2b69a86c2fd5844ec523c0" +checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" dependencies = [ - "curve25519-dalek 4.1.1", - "ed25519 2.2.3", + "curve25519-dalek 4.1.2", + "ed25519", "rand_core 0.6.4", "serde", "sha2 0.10.8", - "subtle", + "subtle 2.5.0", "zeroize", ] @@ -2169,11 +2632,26 @@ dependencies = [ "zeroize", ] +[[package]] +name = "ed25519-zebra" +version = "4.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d9ce6874da5d4415896cd45ffbc4d1cfc0c4f9c079427bd870742c30f2f65a9" +dependencies = [ + "curve25519-dalek 4.1.2", + "ed25519", + "hashbrown 0.14.3", + "hex", + "rand_core 0.6.4", + "sha2 0.10.8", + "zeroize", +] + [[package]] name = "either" -version = "1.9.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" +checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a" [[package]] name = "elliptic-curve" @@ -2190,7 +2668,7 @@ dependencies = [ "pkcs8", "rand_core 0.6.4", "sec1", - "subtle", + "subtle 2.5.0", "zeroize", ] @@ -2214,40 +2692,40 @@ dependencies = [ [[package]] name = "enumflags2" -version = "0.7.8" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5998b4f30320c9d93aed72f63af821bfdac50465b75428fce77b48ec482c3939" +checksum = "3278c9d5fb675e0a51dabcf4c0d355f692b064171535ba72361be1528a9d8e8d" dependencies = [ "enumflags2_derive", ] [[package]] name = "enumflags2_derive" -version = "0.7.8" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f95e2801cd355d4a1a3e3953ce6ee5ae9603a5c833455343a8bfe3f44d418246" +checksum = "5c785274071b1b420972453b306eeca06acf4633829db4223b58a2a8c5953bc4" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] name = "enumn" -version = "0.1.12" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2ad8cef1d801a4686bfd8919f0b30eac4c8e48968c437a6405ded4fb5272d2b" +checksum = "6fd000fd6988e73bbe993ea3db9b1aa64906ab88766d654973924340c8cddb42" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] name = "env_logger" -version = "0.10.1" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95b3f3e67048839cb0d0781f445682a35113da7121f7c949db0e2be96a4fbece" +checksum = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580" dependencies = [ "humantime", "is-terminal", @@ -2282,13 +2760,35 @@ dependencies = [ name = "event-listener" version = "2.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" +checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" + +[[package]] +name = "event-listener" +version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d93877bcde0eb80ca09131a08d23f0a5c18a620b01db137dba666d18cd9b30c2" +dependencies = [ + "concurrent-queue", + "parking", + "pin-project-lite 0.2.13", +] + +[[package]] +name = "event-listener" +version = "4.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e" +dependencies = [ + "concurrent-queue", + "parking", + "pin-project-lite 0.2.13", +] [[package]] name = "event-listener" -version = "4.0.1" +version = "5.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84f2cdcf274580f2d63697192d744727b3198894b1bf02923643bf59e2c26712" +checksum = "b7ad6fd685ce13acd6d9541a30f6db6567a7a24c9ffd4ba2955d29e3f22c8b27" dependencies = [ "concurrent-queue", "parking", @@ -2301,7 +2801,17 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3" dependencies = [ - "event-listener 4.0.1", + "event-listener 4.0.3", + "pin-project-lite 0.2.13", +] + +[[package]] +name = "event-listener-strategy" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "feedafcaa9b749175d5ac357452a9d41ea2911da598fde46ce1fe02c37751291" +dependencies = [ + "event-listener 5.1.0", "pin-project-lite 0.2.13", ] @@ -2326,29 +2836,17 @@ dependencies = [ "quote", ] -[[package]] -name = "expander" -version = "0.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3774182a5df13c3d1690311ad32fbe913feef26baba609fa2dd5f72042bd2ab6" -dependencies = [ - "blake2", - "fs-err", - "proc-macro2", - "quote", -] - [[package]] name = "expander" version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f86a749cf851891866c10515ef6c299b5c69661465e9c3bbe7e07a2b77fb0f7" dependencies = [ - "blake2", + "blake2 0.10.6", "fs-err", "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] @@ -2363,6 +2861,15 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" +[[package]] +name = "fastrand" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be" +dependencies = [ + "instant", +] + [[package]] name = "fastrand" version = "2.0.1" @@ -2396,11 +2903,12 @@ dependencies = [ [[package]] name = "fdlimit" -version = "0.2.1" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c4c9e43643f5a3be4ca5b67d26b98031ff9db6806c3440ae32e02e3ceac3f1b" +checksum = "e182f7dbc2ef73d9ef67351c5fbbea084729c48362d3ce9dd44c28e32e277fe5" dependencies = [ "libc", + "thiserror", ] [[package]] @@ -2410,14 +2918,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" dependencies = [ "rand_core 0.6.4", - "subtle", + "subtle 2.5.0", ] [[package]] name = "fiat-crypto" -version = "0.2.5" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27573eac26f4dd11e2b1916c3fe1baa56407c83c71a773a8ba17ec0bca03b6b7" +checksum = "1676f435fc1dadde4d03e43f5d62b259e1ce5f40bd4ffb21db2b42ebe59c1382" [[package]] name = "file-per-thread-logger" @@ -2464,7 +2972,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "835c052cb0c08c1acf6ffd71c022172e18723949c8282f2b9f27efbc51e64534" dependencies = [ "byteorder", - "rand 0.8.5", + "rand", "rustc-hex", "static_assertions", ] @@ -2503,8 +3011,9 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" -version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "12.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e93d3f0315c2eccf23453609e0ab92fe7c6ad1ca8129bcaf80b9a08c8d7fc52b" dependencies = [ "parity-scale-codec", ] @@ -2526,8 +3035,9 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b16f7f853f64ec6fbc981b3e224cc3400752662da140ec62c160b5b859bab68" dependencies = [ "frame-support", "frame-support-procedural", @@ -2551,11 +3061,12 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "32.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69fec078a73892cb5a7146671cf76e3abf23201fefe431a013399ac2e5b03b54" dependencies = [ "Inflector", - "array-bytes", + "array-bytes 6.2.2", "chrono", "clap", "comfy-table", @@ -2569,7 +3080,7 @@ dependencies = [ "linked-hash-map", "log", "parity-scale-codec", - "rand 0.8.5", + "rand", "rand_pcg", "sc-block-builder", "sc-cli", @@ -2599,19 +3110,21 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c5c3bff645e46577c69c272733c53fa3a77d1ee6e40dfb66157bc94b0740b8fc" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] name = "frame-election-provider-support" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c596d956c4eedaffbe2fd6f75562e63e3e60001222bc6f8cc45fa77f3ea51791" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2627,12 +3140,14 @@ dependencies = [ [[package]] name = "frame-executive" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a5247e367912fe95f813e96542921ab4edf671860fd557625b55f40155abf90" dependencies = [ "frame-support", "frame-system", "frame-try-runtime", + "log", "parity-scale-codec", "scale-info", "sp-core", @@ -2656,10 +3171,10 @@ dependencies = [ [[package]] name = "frame-remote-externalities" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.35.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26ac8b505de5aa10e9c9548a3642fc708fc47fe3843b840992e6e6ab139f39d0" dependencies = [ - "async-recursion", "futures", "indicatif", "jsonrpsee", @@ -2669,6 +3184,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", + "sp-state-machine", "spinners", "substrate-rpc-client", "tokio", @@ -2677,10 +3193,14 @@ dependencies = [ [[package]] name = "frame-support" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e48b00bb3e82c465a435b08827e7abe5144345bc1a998848bdd7ce72fa203bb5" dependencies = [ + "aquamarine", + "array-bytes 6.2.2", "bitflags 1.3.2", + "docify", "environmental", "frame-metadata", "frame-support-procedural", @@ -2692,27 +3212,32 @@ dependencies = [ "paste", "scale-info", "serde", + "serde_json", "smallvec", "sp-api", "sp-arithmetic", "sp-core", "sp-core-hashing-proc-macro", "sp-debug-derive", + "sp-genesis-builder", "sp-inherents", "sp-io", + "sp-metadata-ir", "sp-runtime", "sp-staking", "sp-state-machine", "sp-std", "sp-tracing", "sp-weights", + "static_assertions", "tt-call", ] [[package]] name = "frame-support-procedural" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "23.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0be717139a0da9b31b559356db73f6ce48876d331e833ebdc32de3a9ad581e15" dependencies = [ "Inflector", "cfg-expr", @@ -2724,37 +3249,42 @@ dependencies = [ "proc-macro-warning", "proc-macro2", "quote", - "syn 2.0.41", + "sp-core-hashing", + "syn 2.0.52", ] [[package]] name = "frame-support-procedural-tools" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "10.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3363df38464c47a73eb521a4f648bfcc7537a82d70347ef8af3f73b6d019e910" dependencies = [ "frame-support-procedural-tools-derive", - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] name = "frame-support-procedural-tools-derive" -version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "11.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68672b9ec6fe72d259d3879dc212c5e42e977588cdac830c76f54d9f492aeb58" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] name = "frame-system" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "983b3215c8d97775b90dc1db88f858c46401682bd2fb8572bdd102ff8c2ca2a6" dependencies = [ "cfg-if", + "docify", "frame-support", "log", "parity-scale-codec", @@ -2770,8 +3300,9 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f78a2fe203b01b596156b2514e0b890b4a628dbdb50925316e755aa623b6fe53" dependencies = [ "frame-benchmarking", "frame-support", @@ -2785,8 +3316,9 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28d183819ea7df1d89acd61fe423ae6bec24a29d87db5c18182339a751c0837a" dependencies = [ "parity-scale-codec", "sp-api", @@ -2794,8 +3326,9 @@ dependencies = [ [[package]] name = "frame-try-runtime" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.34.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c5b3dab79d14d2e8f6329d7e5cb49f2bdb81b9ef3019b1c405d94defa137a353" dependencies = [ "frame-support", "parity-scale-codec", @@ -2825,11 +3358,11 @@ dependencies = [ [[package]] name = "fs4" -version = "0.6.6" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2eeb4ed9e12f43b7fa0baae3f9cdda28352770132ef2e09a23760c29cae8bd47" +checksum = "29f9df8a11882c4e3335eb2d18a0137c505d9ca927470b0cac9c6f0ae07d28f7" dependencies = [ - "rustix 0.38.28", + "rustix 0.38.31", "windows-sys 0.48.0", ] @@ -2841,9 +3374,9 @@ checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" [[package]] name = "futures" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da0290714b38af9b4a7b094b8a37086d1b4e61f2df9122c3cad2577669145335" +checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" dependencies = [ "futures-channel", "futures-core", @@ -2856,9 +3389,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff4dd66668b557604244583e3e1e1eada8c5c2e96a6d0d6653ede395b78bbacb" +checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" dependencies = [ "futures-core", "futures-sink", @@ -2866,15 +3399,15 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb1d22c66e66d9d72e1758f0bd7d4fd0bee04cad842ee34587d68c07e45d088c" +checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" [[package]] name = "futures-executor" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f4fb8693db0cf099eadcca0efe2a5a22e4550f98ed16aba6c48700da29597bc" +checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" dependencies = [ "futures-core", "futures-task", @@ -2884,29 +3417,47 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bf34a163b5c4c52d0478a4d757da8fb65cabef42ba90515efee0f6f9fa45aaa" +checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" [[package]] name = "futures-lite" -version = "2.1.0" +version = "1.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49a9d51ce47660b1e808d3c990b4709f2f415d928835a17dfd16991515c46bce" +dependencies = [ + "fastrand 1.9.0", + "futures-core", + "futures-io", + "memchr", + "parking", + "pin-project-lite 0.2.13", + "waker-fn", +] + +[[package]] +name = "futures-lite" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aeee267a1883f7ebef3700f262d2d54de95dfaf38189015a74fdc4e0c7ad8143" +checksum = "445ba825b27408685aaecefd65178908c36c6e96aaf6d8599419d46e624192ba" dependencies = [ + "fastrand 2.0.1", "futures-core", + "futures-io", + "parking", "pin-project-lite 0.2.13", ] [[package]] name = "futures-macro" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53b153fd91e4b0147f4aced87be237c98248656bb01050b96bf3ee89220a8ddb" +checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] @@ -2922,27 +3473,27 @@ dependencies = [ [[package]] name = "futures-sink" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e36d3378ee38c2a36ad710c5d30c2911d752cb941c00c72dbabfb786a7970817" +checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" [[package]] name = "futures-task" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efd193069b0ddadc69c46389b740bbccdd97203899b48d09c5f7969591d6bae2" +checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" [[package]] name = "futures-timer" -version = "3.0.2" +version = "3.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" +checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" [[package]] name = "futures-util" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a19526d624e703a3179b3d322efec918b6246ea0fa51d41124525f00f1cc8104" +checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" dependencies = [ "futures-channel", "futures-core", @@ -3008,9 +3559,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.11" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe9006bed769170c11f845cf00c7c1e9092aeb3f268e007c3e760ac68008070f" +checksum = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5" dependencies = [ "cfg-if", "js-sys", @@ -3019,6 +3570,16 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "getrandom_or_panic" +version = "0.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ea1015b5a70616b688dc230cfe50c8af89d972cb132d5a622814d29773b10b9" +dependencies = [ + "rand", + "rand_core 0.6.4", +] + [[package]] name = "ghash" version = "0.5.0" @@ -3061,7 +3622,7 @@ dependencies = [ "aho-corasick", "bstr", "log", - "regex-automata 0.4.3", + "regex-automata 0.4.5", "regex-syntax 0.8.2", ] @@ -3073,14 +3634,14 @@ checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" dependencies = [ "ff", "rand_core 0.6.4", - "subtle", + "subtle 2.5.0", ] [[package]] name = "h2" -version = "0.3.22" +version = "0.3.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d6250322ef6e60f93f9a2162799302cd6f68f79f6e5d85c8c16f14d1d958178" +checksum = "bb2c4422095b67ee78da96fbb51a4cc413b3b25883c7717ff7ca1ab31022c9c9" dependencies = [ "bytes", "fnv", @@ -3088,7 +3649,7 @@ dependencies = [ "futures-sink", "futures-util", "http", - "indexmap 2.1.0", + "indexmap 2.2.4", "slab", "tokio", "tokio-util", @@ -3130,7 +3691,7 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" dependencies = [ - "ahash 0.7.7", + "ahash 0.7.8", ] [[package]] @@ -3139,7 +3700,7 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.6", + "ahash 0.8.10", ] [[package]] @@ -3147,27 +3708,32 @@ name = "hashbrown" version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" +dependencies = [ + "ahash 0.8.10", + "allocator-api2", + "serde", +] [[package]] -name = "heck" -version = "0.4.1" +name = "hashlink" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" +checksum = "e8094feaf31ff591f651a2664fb9cfd92bba7a60ce3197265e9482ebe753c8f7" +dependencies = [ + "hashbrown 0.14.3", +] [[package]] -name = "hermit-abi" -version = "0.1.19" +name = "heck" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" -dependencies = [ - "libc", -] +checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" [[package]] name = "hermit-abi" -version = "0.3.3" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" +checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" [[package]] name = "hex" @@ -3177,15 +3743,18 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "hex-literal" -version = "0.3.4" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ebdb29d2ea9ed0083cd8cece49bbd968021bd99b0849edb4a9a7ee0fdf6a4e0" +checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" [[package]] -name = "hex-literal" -version = "0.4.1" +name = "hkdf" +version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" +checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" +dependencies = [ + "hmac 0.12.1", +] [[package]] name = "hmac" @@ -3203,7 +3772,7 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2a2a2320eb7ec0ebe8da8f744d7812d9fc4cb4d09344ac01898dbcb6a20ae69b" dependencies = [ - "crypto-mac 0.11.1", + "crypto-mac 0.11.0", "digest 0.9.0", ] @@ -3310,7 +3879,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite 0.2.13", - "socket2 0.5.5", + "socket2 0.5.6", "tokio", "tower-service", "tracing", @@ -3331,21 +3900,21 @@ dependencies = [ "rustls-native-certs", "tokio", "tokio-rustls", - "webpki-roots 0.25.3", + "webpki-roots 0.25.4", ] [[package]] name = "iana-time-zone" -version = "0.1.58" +version = "0.1.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8326b86b6cff230b97d0d312a6c40a60726df3332e721f72a1b035f451663b20" +checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141" dependencies = [ "android_system_properties", "core-foundation-sys", "iana-time-zone-haiku", "js-sys", "wasm-bindgen", - "windows-core", + "windows-core 0.52.0", ] [[package]] @@ -3394,7 +3963,7 @@ version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6b0422c86d7ce0e97169cc42e04ae643caf278874a7a3c87b8150a220dc7e1e" dependencies = [ - "async-io", + "async-io 2.3.1", "core-foundation", "fnv", "futures", @@ -3436,6 +4005,25 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "include_dir" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "18762faeff7122e89e0857b02f7ce6fcc0d101d5e9ad2ad7846cc01d61b7f19e" +dependencies = [ + "include_dir_macros", +] + +[[package]] +name = "include_dir_macros" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b139284b5cf57ecfa712bcc66950bb635b31aff41c188e8a4cfc758eca374a3f" +dependencies = [ + "proc-macro2", + "quote", +] + [[package]] name = "indexmap" version = "1.9.3" @@ -3449,9 +4037,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.1.0" +version = "2.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" +checksum = "967d6dd42f16dbf0eb8040cb9e477933562684d3918f7d253f2ff9087fb3e7a3" dependencies = [ "equivalent", "hashbrown 0.14.3", @@ -3465,9 +4053,9 @@ checksum = "8e04e2fd2b8188ea827b32ef11de88377086d690286ab35747ef7f9bf3ccb590" [[package]] name = "indicatif" -version = "0.17.7" +version = "0.17.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb28741c9db9a713d93deb3bb9515c20788cef5815265bee4980e87bde7e0f25" +checksum = "763a5a8f45087d6bcea4222e7b72c291a054edf80e4ef6efd2a4979878c7bea3" dependencies = [ "console", "instant", @@ -3509,19 +4097,13 @@ dependencies = [ "num-traits", ] -[[package]] -name = "intx" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6f38a50a899dc47a6d0ed5508e7f601a2e34c3a85303514b5d137f3c10a0c75" - [[package]] name = "io-lifetimes" version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" dependencies = [ - "hermit-abi 0.3.3", + "hermit-abi", "libc", "windows-sys 0.48.0", ] @@ -3538,7 +4120,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f" dependencies = [ - "socket2 0.5.5", + "socket2 0.5.6", "widestring", "windows-sys 0.48.0", "winreg", @@ -3552,13 +4134,22 @@ checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" [[package]] name = "is-terminal" -version = "0.4.9" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" +checksum = "f23ff5ef2b80d608d61efee834934d862cd92461afc0560dedf493e4c033738b" dependencies = [ - "hermit-abi 0.3.3", - "rustix 0.38.28", - "windows-sys 0.48.0", + "hermit-abi", + "libc", + "windows-sys 0.52.0", +] + +[[package]] +name = "is_executable" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa9acdc6d67b75e626ad644734e8bc6df893d9cd2a834129065d3dd6158ea9c8" +dependencies = [ + "winapi", ] [[package]] @@ -3585,20 +4176,11 @@ version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" -[[package]] -name = "jobserver" -version = "0.1.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c37f63953c4c63420ed5fd3d6d398c719489b9f872b9fa683262f8edd363c7d" -dependencies = [ - "libc", -] - [[package]] name = "js-sys" -version = "0.3.66" +version = "0.3.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cee9c64da59eae3b50095c18d3e74f8b73c0b86d2792824ff01bbce68ba229ca" +checksum = "406cda4b368d531c842222cf9d2600a9a4acce8d29423695379c6868a143a9ee" dependencies = [ "wasm-bindgen", ] @@ -3636,7 +4218,7 @@ dependencies = [ "tokio-rustls", "tokio-util", "tracing", - "webpki-roots 0.25.3", + "webpki-roots 0.25.4", ] [[package]] @@ -3657,7 +4239,7 @@ dependencies = [ "hyper", "jsonrpsee-types", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "rustc-hash", "serde", "serde_json", @@ -3749,9 +4331,9 @@ dependencies = [ [[package]] name = "k256" -version = "0.13.2" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f01b677d82ef7a676aa37e099defd83a28e15687112cafdd112d60236b6115b" +checksum = "956ff9b67e26e1a6a866cb758f12c6f8746208489e3e4a4b5580802f2f0a587b" dependencies = [ "cfg-if", "ecdsa", @@ -3762,126 +4344,18 @@ dependencies = [ [[package]] name = "keccak" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f6d5ed8676d904364de097082f4e7d240b571b67989ced0240f08b7f966f940" -dependencies = [ - "cpufeatures", -] - -[[package]] -name = "kusama-runtime" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" -dependencies = [ - "bitvec", - "frame-benchmarking", - "frame-election-provider-support", - "frame-executive", - "frame-support", - "frame-system", - "frame-system-benchmarking", - "frame-system-rpc-runtime-api", - "frame-try-runtime", - "hex-literal 0.4.1", - "kusama-runtime-constants", - "log", - "pallet-authority-discovery", - "pallet-authorship", - "pallet-babe", - "pallet-bags-list", - "pallet-balances", - "pallet-bounties", - "pallet-child-bounties", - "pallet-collective", - "pallet-conviction-voting", - "pallet-democracy", - "pallet-election-provider-multi-phase", - "pallet-election-provider-support-benchmarking", - "pallet-elections-phragmen", - "pallet-fast-unstake", - "pallet-grandpa", - "pallet-identity", - "pallet-im-online", - "pallet-indices", - "pallet-membership", - "pallet-message-queue", - "pallet-multisig", - "pallet-nis", - "pallet-nomination-pools", - "pallet-nomination-pools-benchmarking", - "pallet-nomination-pools-runtime-api", - "pallet-offences", - "pallet-offences-benchmarking", - "pallet-preimage", - "pallet-proxy", - "pallet-ranked-collective", - "pallet-recovery", - "pallet-referenda", - "pallet-scheduler", - "pallet-session", - "pallet-session-benchmarking", - "pallet-society", - "pallet-staking", - "pallet-staking-runtime-api", - "pallet-state-trie-migration", - "pallet-timestamp", - "pallet-tips", - "pallet-transaction-payment", - "pallet-transaction-payment-rpc-runtime-api", - "pallet-treasury", - "pallet-utility", - "pallet-vesting", - "pallet-whitelist", - "pallet-xcm", - "pallet-xcm-benchmarks", - "parity-scale-codec", - "polkadot-primitives", - "polkadot-runtime-common", - "polkadot-runtime-parachains", - "rustc-hex", - "scale-info", - "serde", - "serde_derive", - "smallvec", - "sp-api", - "sp-arithmetic", - "sp-authority-discovery", - "sp-block-builder", - "sp-consensus-babe", - "sp-consensus-beefy", - "sp-core", - "sp-inherents", - "sp-io", - "sp-mmr-primitives", - "sp-npos-elections", - "sp-offchain", - "sp-runtime", - "sp-session", - "sp-staking", - "sp-std", - "sp-transaction-pool", - "sp-version", - "static_assertions", - "substrate-wasm-builder", - "xcm", - "xcm-builder", - "xcm-executor", +checksum = "ecc2af9a1119c51f12a14607e783cb977bde58bc069ff0c3da1095e635d70654" +dependencies = [ + "cpufeatures", ] [[package]] -name = "kusama-runtime-constants" +name = "keystream" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" -dependencies = [ - "frame-support", - "polkadot-primitives", - "polkadot-runtime-common", - "smallvec", - "sp-core", - "sp-runtime", - "sp-weights", -] +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c33070833c9ee02266356de0c43f723152bd38bd96ddf52c82b3af10c9138b28" [[package]] name = "kvdb" @@ -3918,9 +4392,9 @@ dependencies = [ [[package]] name = "landlock" -version = "0.2.0" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "520baa32708c4e957d2fc3a186bc5bd8d26637c33137f399ddfc202adb240068" +checksum = "1530c5b973eeed4ac216af7e24baf5737645a6272e361f1fb95710678b67d9cc" dependencies = [ "enumflags2", "libc", @@ -3944,18 +4418,18 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.151" +version = "0.2.153" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "302d7ab3130588088d277783b1e2d2e10c9e9e4a16dd9050e6ec93fb3e7048f4" +checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" [[package]] name = "libloading" -version = "0.7.4" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" +checksum = "c571b676ddfc9a8c12f1f3d3085a7b163966a8fd8098a90640953ce5f6170161" dependencies = [ "cfg-if", - "winapi", + "windows-sys 0.48.0", ] [[package]] @@ -3973,7 +4447,7 @@ dependencies = [ "bytes", "futures", "futures-timer", - "getrandom 0.2.11", + "getrandom 0.2.12", "instant", "libp2p-allow-block-list", "libp2p-connection-limits", @@ -4035,13 +4509,13 @@ dependencies = [ "libp2p-identity", "log", "multiaddr", - "multihash", + "multihash 0.17.0", "multistream-select", "once_cell", "parking_lot 0.12.1", "pin-project", "quick-protobuf", - "rand 0.8.5", + "rand", "rw-stream-sink", "smallvec", "thiserror", @@ -4091,13 +4565,13 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "276bb57e7af15d8f100d3c11cbdd32c6752b7eef4ba7a18ecf464972c07abcce" dependencies = [ - "bs58", - "ed25519-dalek 2.1.0", + "bs58 0.4.0", + "ed25519-dalek", "log", "multiaddr", - "multihash", + "multihash 0.17.0", "quick-protobuf", - "rand 0.8.5", + "rand", "sha2 0.10.8", "thiserror", "zeroize", @@ -4122,7 +4596,7 @@ dependencies = [ "libp2p-swarm", "log", "quick-protobuf", - "rand 0.8.5", + "rand", "sha2 0.10.8", "smallvec", "thiserror", @@ -4144,7 +4618,7 @@ dependencies = [ "libp2p-identity", "libp2p-swarm", "log", - "rand 0.8.5", + "rand", "smallvec", "socket2 0.4.10", "tokio", @@ -4180,12 +4654,12 @@ dependencies = [ "log", "once_cell", "quick-protobuf", - "rand 0.8.5", + "rand", "sha2 0.10.8", "snow", "static_assertions", "thiserror", - "x25519-dalek", + "x25519-dalek 1.1.1", "zeroize", ] @@ -4202,7 +4676,7 @@ dependencies = [ "libp2p-core", "libp2p-swarm", "log", - "rand 0.8.5", + "rand", "void", ] @@ -4222,7 +4696,7 @@ dependencies = [ "log", "parking_lot 0.12.1", "quinn-proto", - "rand 0.8.5", + "rand", "rustls 0.20.9", "thiserror", "tokio", @@ -4240,7 +4714,7 @@ dependencies = [ "libp2p-core", "libp2p-identity", "libp2p-swarm", - "rand 0.8.5", + "rand", "smallvec", ] @@ -4259,7 +4733,7 @@ dependencies = [ "libp2p-identity", "libp2p-swarm-derive", "log", - "rand 0.8.5", + "rand", "smallvec", "tokio", "void", @@ -4363,7 +4837,7 @@ version = "0.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "85c833ca1e66078851dba29046874e38f08b2c883700aa29a03ddd3b23814ee8" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.4.2", "libc", "redox_syscall 0.4.1", ] @@ -4396,7 +4870,7 @@ dependencies = [ "libsecp256k1-core", "libsecp256k1-gen-ecmult", "libsecp256k1-gen-genmult", - "rand 0.8.5", + "rand", "serde", "sha2 0.9.9", "typenum", @@ -4410,7 +4884,7 @@ checksum = "5be9b9bb642d8522a44d533eab56c16c738301965504753b03ad1de3425d5451" dependencies = [ "crunchy", "digest 0.9.0", - "subtle", + "subtle 2.5.0", ] [[package]] @@ -4433,9 +4907,9 @@ dependencies = [ [[package]] name = "libz-sys" -version = "1.1.12" +version = "1.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d97137b25e321a73eef1418d1d5d2eda4d77e12813f8e6dead84bc52c5870a7b" +checksum = "037731f5d3aaa87a5675e895b63ddff1a87624bc29f77004ea829809654e48f6" dependencies = [ "cc", "pkg-config", @@ -4483,9 +4957,27 @@ checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" [[package]] name = "linux-raw-sys" -version = "0.4.12" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" + +[[package]] +name = "linux-raw-sys" +version = "0.4.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" + +[[package]] +name = "lioness" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4cd1a83af159aa67994778be9070f0ae1bd732942279cabb14f86f986a21456" +checksum = "4ae926706ba42c425c9457121178330d75e273df2e82e28b758faf3de3a9acb9" +dependencies = [ + "arrayref", + "blake2 0.8.1", + "chacha", + "keystream", +] [[package]] name = "lock_api" @@ -4499,27 +4991,24 @@ dependencies = [ [[package]] name = "log" -version = "0.4.20" +version = "0.4.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" +checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" [[package]] name = "lru" -version = "0.9.0" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71e7d46de488603ffdd5f30afbc64fbba2378214a2c3a2fb83abf3d33126df17" +checksum = "718e8fae447df0c7e1ba7f5189829e63fd536945c8988d61444c19039f16b670" dependencies = [ "hashbrown 0.13.2", ] [[package]] name = "lru" -version = "0.10.1" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "718e8fae447df0c7e1ba7f5189829e63fd536945c8988d61444c19039f16b670" -dependencies = [ - "hashbrown 0.13.2", -] +checksum = "a4a83fb7698b3643a0e34f9ae6f2e8f0178c0fd42f8b59d493aa271ff3a5bf21" [[package]] name = "lru-cache" @@ -4561,50 +5050,50 @@ dependencies = [ [[package]] name = "macro_magic" -version = "0.4.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aee866bfee30d2d7e83835a4574aad5b45adba4cc807f2a3bbba974e5d4383c9" +checksum = "e03844fc635e92f3a0067e25fa4bf3e3dbf3f2927bf3aa01bb7bc8f1c428949d" dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] name = "macro_magic_core" -version = "0.4.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e766a20fd9c72bab3e1e64ed63f36bd08410e75803813df210d1ce297d7ad00" +checksum = "468155613a44cfd825f1fb0ffa532b018253920d404e6fca1e8d43155198a46d" dependencies = [ "const-random", "derive-syn-parse", "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] name = "macro_magic_core_macros" -version = "0.4.3" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d710e1214dffbab3b5dacb21475dde7d6ed84c69ff722b3a47a782668d44fbac" +checksum = "9ea73aa640dc01d62a590d48c0c3521ed739d53b27f919b25c3551e233481654" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] name = "macro_magic_macros" -version = "0.4.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8fb85ec1620619edf2984a7693497d4ec88a9665d8b87e942856884c92dbf2a" +checksum = "ef9d79ae96aaba821963320eb2b6e34d17df1e5a83d8a1985c29cc5be59577b3" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] @@ -4646,9 +5135,9 @@ dependencies = [ [[package]] name = "memchr" -version = "2.6.4" +version = "2.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" +checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" [[package]] name = "memfd" @@ -4656,7 +5145,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" dependencies = [ - "rustix 0.38.28", + "rustix 0.38.31", ] [[package]] @@ -4677,15 +5166,6 @@ dependencies = [ "autocfg", ] -[[package]] -name = "memoffset" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" -dependencies = [ - "autocfg", -] - [[package]] name = "memory-db" version = "0.32.0" @@ -4707,6 +5187,18 @@ dependencies = [ "zeroize", ] +[[package]] +name = "merlin" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58c38e2799fc0978b65dfff8023ec7843e2330bb462f19198840b34b6582397d" +dependencies = [ + "byteorder", + "keccak", + "rand_core 0.6.4", + "zeroize", +] + [[package]] name = "mick-jaeger" version = "0.1.8" @@ -4714,7 +5206,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "69672161530e8aeca1d1400fbf3f1a1747ff60ea604265a4e906c2442df20532" dependencies = [ "futures", - "rand 0.8.5", + "rand", "thrift", ] @@ -4726,9 +5218,9 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" +checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" dependencies = [ "adler", ] @@ -4744,10 +5236,36 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "mixnet" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "daa3eb39495d8e2e2947a1d862852c90cc6a4a8845f8b41c8829cb9fcc047f4a" +dependencies = [ + "arrayref", + "arrayvec 0.7.4", + "bitflags 1.3.2", + "blake2 0.10.6", + "c2-chacha", + "curve25519-dalek 4.1.2", + "either", + "hashlink", + "lioness", + "log", + "parking_lot 0.12.1", + "rand", + "rand_chacha 0.3.1", + "rand_distr", + "subtle 2.5.0", + "thiserror", + "zeroize", +] + [[package]] name = "mmr-gadget" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "29.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9d0ba6676a84f182dabd7c3ec2c92f0e882fe4e4179ddf76f02ac132e6eb0ab" dependencies = [ "futures", "log", @@ -4765,8 +5283,9 @@ dependencies = [ [[package]] name = "mmr-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19066d17147f6819ec25f5f6fc3b9fca2008ae745ac7fa2d55ddb1d207119eae" dependencies = [ "anyhow", "jsonrpsee", @@ -4817,7 +5336,7 @@ dependencies = [ "data-encoding", "log", "multibase", - "multihash", + "multihash 0.17.0", "percent-encoding", "serde", "static_assertions", @@ -4847,12 +5366,55 @@ dependencies = [ "blake3", "core2", "digest 0.10.7", - "multihash-derive", + "multihash-derive 0.8.0", "sha2 0.10.8", "sha3", "unsigned-varint", ] +[[package]] +name = "multihash" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfd8a792c1694c6da4f68db0a9d707c72bd260994da179e6030a5dcee00bb815" +dependencies = [ + "core2", + "digest 0.10.7", + "multihash-derive 0.8.0", + "sha2 0.10.8", + "unsigned-varint", +] + +[[package]] +name = "multihash" +version = "0.19.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "076d548d76a0e2a0d4ab471d0b1c36c577786dfc4471242035d97a12a735c492" +dependencies = [ + "core2", + "unsigned-varint", +] + +[[package]] +name = "multihash-codetable" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6d815ecb3c8238d00647f8630ede7060a642c9f704761cd6082cb4028af6935" +dependencies = [ + "blake2b_simd", + "blake2s_simd", + "blake3", + "core2", + "digest 0.10.7", + "multihash-derive 0.9.0", + "ripemd", + "serde", + "sha1", + "sha2 0.10.8", + "sha3", + "strobe-rs", +] + [[package]] name = "multihash-derive" version = "0.8.0" @@ -4867,6 +5429,31 @@ dependencies = [ "synstructure", ] +[[package]] +name = "multihash-derive" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "890e72cb7396cb99ed98c1246a97b243cc16394470d94e0bc8b0c2c11d84290e" +dependencies = [ + "core2", + "multihash 0.19.1", + "multihash-derive-impl", +] + +[[package]] +name = "multihash-derive-impl" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d38685e08adb338659871ecfc6ee47ba9b22dcc8abcf6975d379cc49145c3040" +dependencies = [ + "proc-macro-crate 1.3.1", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 1.0.109", + "synstructure", +] + [[package]] name = "multimap" version = "0.8.3" @@ -4889,9 +5476,9 @@ dependencies = [ [[package]] name = "nalgebra" -version = "0.32.3" +version = "0.32.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "307ed9b18cc2423f29e83f84fd23a8e73628727990181f18641a8b5dc2ab1caa" +checksum = "4541eb06dce09c0241ebbaab7102f0a01a0c8994afed2e5d0d66775016e25ac2" dependencies = [ "approx", "matrixmultiply", @@ -4916,11 +5503,11 @@ dependencies = [ [[package]] name = "names" -version = "0.13.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7d66043b25d4a6cccb23619d10c19c25304b355a7dccd4a8e11423dd2382146" +checksum = "7bddcd3bf5144b6392de80e04c347cd7fab2508f6df16a85fc496ecd5cec39bc" dependencies = [ - "rand 0.8.5", + "rand", ] [[package]] @@ -5006,15 +5593,22 @@ dependencies = [ "libc", ] +[[package]] +name = "no-std-net" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43794a0ace135be66a25d3ae77d41b91615fb68ae937f904090203e81f755b65" + [[package]] name = "nodle-parachain" -version = "2.4.2" +version = "2.5.0" dependencies = [ "clap", "cumulus-client-cli", "cumulus-client-collator", "cumulus-client-consensus-aura", "cumulus-client-consensus-common", + "cumulus-client-consensus-proposer", "cumulus-client-service", "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", @@ -5024,13 +5618,13 @@ dependencies = [ "derive_more", "frame-benchmarking", "frame-benchmarking-cli", - "hex-literal 0.3.4", + "hex-literal", "jsonrpsee", "log", "pallet-transaction-payment-rpc", "parity-scale-codec", "polkadot-cli", - "polkadot-parachain", + "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-service", "primitives", @@ -5065,14 +5659,21 @@ dependencies = [ "sp-offchain", "sp-runtime", "sp-session", + "sp-state-machine", "sp-timestamp", "sp-transaction-pool", + "staging-xcm", "substrate-build-script-utils", "substrate-frame-rpc-system", "substrate-prometheus-endpoint", - "xcm", ] +[[package]] +name = "nodrop" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" + [[package]] name = "nohash-hasher" version = "0.2.0" @@ -5108,13 +5709,19 @@ dependencies = [ [[package]] name = "num-complex" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ba157ca0885411de85d6ca030ba7e2a83a28636056c7c699b07c8b6f7383214" +checksum = "23c6602fda94a57c990fe0df199a035d83576b496aa29f4e634a8ac6004e68a6" dependencies = [ "num-traits", ] +[[package]] +name = "num-conv" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" + [[package]] name = "num-format" version = "0.4.4" @@ -5127,11 +5734,10 @@ dependencies = [ [[package]] name = "num-integer" -version = "0.1.45" +version = "0.1.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" +checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" dependencies = [ - "autocfg", "num-traits", ] @@ -5149,11 +5755,12 @@ dependencies = [ [[package]] name = "num-traits" -version = "0.2.17" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c" +checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a" dependencies = [ "autocfg", + "libm", ] [[package]] @@ -5162,7 +5769,7 @@ version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" dependencies = [ - "hermit-abi 0.3.3", + "hermit-abi", "libc", ] @@ -5186,9 +5793,9 @@ dependencies = [ [[package]] name = "object" -version = "0.32.1" +version = "0.32.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cf5f9dd3933bd50a9e1f149ec995f39ae2c496d31fd772c1fd45ebc27e902b0" +checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" dependencies = [ "memchr", ] @@ -5226,11 +5833,17 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" +[[package]] +name = "option-ext" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" + [[package]] name = "orchestra" -version = "0.0.5" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "227585216d05ba65c7ab0a0450a3cf2cbd81a98862a54c4df8e14d5ac6adb015" +checksum = "2356622ffdfe72362a45a1e5e87bb113b8327e596e39b91f11f0ef4395c8da79" dependencies = [ "async-trait", "dyn-clonable", @@ -5238,19 +5851,20 @@ dependencies = [ "futures-timer", "orchestra-proc-macro", "pin-project", - "prioritized-metered-channel", + "prioritized-metered-channel 0.6.1", "thiserror", "tracing", ] [[package]] name = "orchestra-proc-macro" -version = "0.0.5" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2871aadd82a2c216ee68a69837a526dfe788ecbe74c4c5038a6acdbff6653066" +checksum = "eedb646674596266dc9bb2b5c7eea7c36b32ecc7777eba0d510196972d72c4fd" dependencies = [ - "expander 0.0.6", - "itertools 0.10.5", + "expander 2.0.0", + "indexmap 2.2.4", + "itertools 0.11.0", "petgraph", "proc-macro-crate 1.3.1", "proc-macro2", @@ -5269,27 +5883,30 @@ dependencies = [ [[package]] name = "orml-traits" -version = "0.4.1-dev" -source = "git+https://github.com/NodleCode/open-runtime-module-library.git?branch=polkadot-v1.0.0#439553b1b7b1ed2da9d93b88ea4e24f05509d9f0" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1f4617d5262e9a8f3b5e7ab5961e8d0a3d4e25ef0c9d34e6ff87766c406898b" dependencies = [ "frame-support", "impl-trait-for-tuples", "num-traits", "orml-utilities", "parity-scale-codec", + "paste", "scale-info", "serde", "sp-core", "sp-io", "sp-runtime", "sp-std", - "xcm", + "staging-xcm", ] [[package]] name = "orml-utilities" -version = "0.4.1-dev" -source = "git+https://github.com/NodleCode/open-runtime-module-library.git?branch=polkadot-v1.0.0#439553b1b7b1ed2da9d93b88ea4e24f05509d9f0" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1756d8ca7c433fdb538ff14bbb60a343fc6cf7b0684af4a73889f89de364e18f" dependencies = [ "frame-support", "parity-scale-codec", @@ -5303,26 +5920,28 @@ dependencies = [ [[package]] name = "orml-xcm-support" -version = "0.4.1-dev" -source = "git+https://github.com/NodleCode/open-runtime-module-library.git?branch=polkadot-v1.0.0#439553b1b7b1ed2da9d93b88ea4e24f05509d9f0" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dbb61790b9ce5698f7026bbf9ebd932df782a425b3551e9dd04300cb4eace179" dependencies = [ "frame-support", "orml-traits", "parity-scale-codec", "sp-runtime", "sp-std", - "xcm", - "xcm-executor", + "staging-xcm", + "staging-xcm-executor", ] [[package]] name = "orml-xtokens" -version = "0.4.1-dev" -source = "git+https://github.com/NodleCode/open-runtime-module-library.git?branch=polkadot-v1.0.0#439553b1b7b1ed2da9d93b88ea4e24f05509d9f0" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "18d1f2b938ce3c789a749e2214ec23a946e5110e0df16c605d1f75a1b852afa6" dependencies = [ - "cumulus-primitives-core", "frame-support", "frame-system", + "log", "orml-traits", "orml-xcm-support", "pallet-xcm", @@ -5332,13 +5951,13 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "xcm", - "xcm-executor", + "staging-xcm", + "staging-xcm-executor", ] [[package]] name = "pallet-allocations" -version = "2.4.2" +version = "2.5.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5359,13 +5978,67 @@ dependencies = [ "support", ] +[[package]] +name = "pallet-asset-rate" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e6f4917bc6c9ed6864813bbb828e94c63e1878a21af89d25dd0ff7da742f53e" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-asset-tx-payment" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e967664d86219ca9f7d33504e8d914225cdb92e9e793d35edaab1fd2574f162f" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "pallet-transaction-payment", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-assets" +version = "29.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aca79db2bc70c269170893604d8a56d0f32d52c75a23a3d887b6b4df132366b7" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-aura" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "27.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10c6ecf016520a6883df14b2f1d469d98166377eba4b299af7b76eee0130e3a6" dependencies = [ "frame-support", "frame-system", + "log", "pallet-timestamp", "parity-scale-codec", "scale-info", @@ -5377,8 +6050,9 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9224b0a0bb4fa721d51f56947c73d4189710691b4cb40e7f7a8abf59795759a" dependencies = [ "frame-support", "frame-system", @@ -5393,8 +6067,9 @@ dependencies = [ [[package]] name = "pallet-authorship" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "817b0420f9c14bd9bfbaf9e2f769a7e8124ab4fe3da0d07c80485c0901947ab8" dependencies = [ "frame-support", "frame-system", @@ -5407,8 +6082,9 @@ dependencies = [ [[package]] name = "pallet-babe" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ba445228a941062d7c4d6295810a359df7757d6182c36ddb824f8c3bf350380" dependencies = [ "frame-benchmarking", "frame-support", @@ -5431,9 +6107,12 @@ dependencies = [ [[package]] name = "pallet-bags-list" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "27.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00b0d7b6922a6bed960591efb49da6637312c034337faf4c85d8b35f2e2c611a" dependencies = [ + "aquamarine", + "docify", "frame-benchmarking", "frame-election-provider-support", "frame-support", @@ -5451,8 +6130,9 @@ dependencies = [ [[package]] name = "pallet-balances" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8406b5616e468d80972b6365f3cd8211d0dbf4d107b379fac85fddcfdf0b5562" dependencies = [ "frame-benchmarking", "frame-support", @@ -5466,11 +6146,13 @@ dependencies = [ [[package]] name = "pallet-beefy" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03f71d32d9681e9d78102dad00377629cac24b4bf43f6371c0dc7e5b25981eb4" dependencies = [ "frame-support", "frame-system", + "log", "pallet-authorship", "pallet-session", "parity-scale-codec", @@ -5485,10 +6167,11 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8b8eaa5c053d9cbf20faa397f21b80b9b5bafbe428890b0171fd1bba16f52ce" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "binary-merkle-tree", "frame-support", "frame-system", @@ -5504,31 +6187,52 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", + "sp-state-machine", + "sp-std", +] + +[[package]] +name = "pallet-bounties" +version = "27.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5d421e3228bc4e8170d817d657aa87761b77ee4675a9e16328e1ca070cb4c41" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "pallet-treasury", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", "sp-std", ] [[package]] -name = "pallet-bounties" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +name = "pallet-broker" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "904983f117ff92ee24b251f2a883ff01b6f8e9063649877f3892ecbb516e3cbd" dependencies = [ + "bitvec", "frame-benchmarking", "frame-support", "frame-system", - "log", - "pallet-treasury", "parity-scale-codec", "scale-info", + "sp-arithmetic", "sp-core", - "sp-io", "sp-runtime", "sp-std", ] [[package]] name = "pallet-child-bounties" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "27.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb62c44d3ab8dcbf106b22acc138eaea6e51563d16a8d4a246303f2e20eeb9e5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5546,8 +6250,9 @@ dependencies = [ [[package]] name = "pallet-collator-selection" -version = "3.0.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "9.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4199122c135e161d2e2f4cbc9339c54a11ac4b11e0beb67e53b49a3c90d566b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5556,7 +6261,7 @@ dependencies = [ "pallet-authorship", "pallet-session", "parity-scale-codec", - "rand 0.8.5", + "rand", "scale-info", "sp-runtime", "sp-staking", @@ -5565,8 +6270,9 @@ dependencies = [ [[package]] name = "pallet-collective" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ed22cf9d91c120695063cfa95ae0ffabcadefdf2581657ddb5fd68555b3a2e0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5582,8 +6288,9 @@ dependencies = [ [[package]] name = "pallet-contracts" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "27.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c24580e4e9b9c000f62be094e1be4cd92cf1e0b5ec54b9b6fb78cc6ed8f3efc" dependencies = [ "bitflags 1.3.2", "environmental", @@ -5592,10 +6299,11 @@ dependencies = [ "frame-system", "impl-trait-for-tuples", "log", - "pallet-contracts-primitives", + "pallet-balances", "pallet-contracts-proc-macro", + "pallet-contracts-uapi", "parity-scale-codec", - "rand 0.8.5", + "rand", "rand_pcg", "scale-info", "serde", @@ -5605,37 +6313,41 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", + "staging-xcm", + "staging-xcm-builder", "wasm-instrument 0.4.0", "wasmi", ] [[package]] -name = "pallet-contracts-primitives" -version = "24.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +name = "pallet-contracts-proc-macro" +version = "18.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e65fc5412a9f0a56a9c53e5f6f73351086e6ca125b0d38c3f612eef7d251d007" dependencies = [ - "bitflags 1.3.2", - "parity-scale-codec", - "scale-info", - "sp-runtime", - "sp-std", - "sp-weights", + "proc-macro2", + "quote", + "syn 2.0.52", ] [[package]] -name = "pallet-contracts-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +name = "pallet-contracts-uapi" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a992d0815b9dc36acbe0800b05b4f875398bb9d9b1aa15c8b1afdcb87f66df2a" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.41", + "bitflags 1.3.2", + "parity-scale-codec", + "paste", + "polkavm-derive", + "scale-info", ] [[package]] name = "pallet-conviction-voting" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a189b5fb4a473edc7b2d52109fe10d0017b9b56f7c0324018b5970125db3ce3" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5651,8 +6363,9 @@ dependencies = [ [[package]] name = "pallet-democracy" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b687c8a22b37f9b8444a29959f9cd0cf0be2f8efb8cd9bf91860d5dbafdab8b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5669,8 +6382,9 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "27.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc5e1f80bb4ce08b27f5a8a733d5c2d72d083a7d48afa4bdbb1ef3594a31e353" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5679,7 +6393,7 @@ dependencies = [ "log", "pallet-election-provider-support-benchmarking", "parity-scale-codec", - "rand 0.8.5", + "rand", "scale-info", "sp-arithmetic", "sp-core", @@ -5692,8 +6406,9 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "27.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "193a8592c5fd534d56d07b2abe14e830d23947fb66f31867083e4f3ef80c8caa" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5701,12 +6416,14 @@ dependencies = [ "parity-scale-codec", "sp-npos-elections", "sp-runtime", + "sp-std", ] [[package]] name = "pallet-elections-phragmen" -version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "29.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2dd2f70c57cbb3dcde39f141721dd34a8c852e0caaf61ae6b0bbd23138b6e1d3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5724,8 +6441,9 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "27.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd6e0b51b82075b046792cdde2d4a2f6c9301f3deba44c26d30ab152060b9028" dependencies = [ "docify", "frame-benchmarking", @@ -5743,8 +6461,9 @@ dependencies = [ [[package]] name = "pallet-grandpa" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "935e91fa8936381aff2b88d8a7dad38ac30a1c8d2310340d73ce1c07b5ae72ce" dependencies = [ "frame-benchmarking", "frame-support", @@ -5766,7 +6485,7 @@ dependencies = [ [[package]] name = "pallet-grants" -version = "2.4.2" +version = "2.5.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5785,13 +6504,15 @@ dependencies = [ [[package]] name = "pallet-identity" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3259bb87d50529027fa40267c3662dc80c683f253f121f391c032b019c88fcb" dependencies = [ "enumflags2", "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", "sp-io", @@ -5801,8 +6522,9 @@ dependencies = [ [[package]] name = "pallet-im-online" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "27.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4be3f0165158828e4e77fae106a93bc1f48cc751755bdb012edb3ac0ef1d246" dependencies = [ "frame-benchmarking", "frame-support", @@ -5821,8 +6543,9 @@ dependencies = [ [[package]] name = "pallet-indices" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ead239524e40e55d172f024ff6795998068a2ba1c0950e74c4db7f347cfa91e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5838,8 +6561,9 @@ dependencies = [ [[package]] name = "pallet-insecure-randomness-collective-flip" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "16.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e3812708354757694bf127a89ab043ce80b2016a3b4d1eda2f762fbc4da9904" dependencies = [ "frame-support", "frame-system", @@ -5852,7 +6576,7 @@ dependencies = [ [[package]] name = "pallet-mandate" -version = "2.4.2" +version = "2.5.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5867,8 +6591,9 @@ dependencies = [ [[package]] name = "pallet-membership" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bc2dfdff5a7e5b21355b34245312ba2ea687444d9003960e7b876e1df518dab" dependencies = [ "frame-benchmarking", "frame-support", @@ -5884,9 +6609,11 @@ dependencies = [ [[package]] name = "pallet-message-queue" -version = "7.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "31.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab6302efb264a65fd175f3082b72004df125f646a3c68b72fd08e657a468c0d6" dependencies = [ + "environmental", "frame-benchmarking", "frame-support", "frame-system", @@ -5903,12 +6630,14 @@ dependencies = [ [[package]] name = "pallet-mmr" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "27.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba6565b91d1d585047648793feece7c2c70080b37e1f55ab3a4fb50b4c1bec86" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", "sp-core", @@ -5920,8 +6649,9 @@ dependencies = [ [[package]] name = "pallet-multisig" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14dbcdea9d3d7963aab57078a5bd6f3596186bfcf181d666db6ea2bfdc0184ec" dependencies = [ "frame-benchmarking", "frame-support", @@ -5936,8 +6666,9 @@ dependencies = [ [[package]] name = "pallet-nis" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86c541b2785051ebe1ae378be4b086055fbb8b13ee18fd949dfcf68dbd1c3325" dependencies = [ "frame-benchmarking", "frame-support", @@ -5952,7 +6683,7 @@ dependencies = [ [[package]] name = "pallet-nodle-uniques" -version = "2.4.2" +version = "2.5.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5971,12 +6702,14 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" -version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d5989ca1100694371c9951118d58e84e93b60c1919006e9d4ad0f7537952c388" dependencies = [ "frame-support", "frame-system", "log", + "pallet-balances", "parity-scale-codec", "scale-info", "sp-core", @@ -5984,12 +6717,14 @@ dependencies = [ "sp-runtime", "sp-staking", "sp-std", + "sp-tracing", ] [[package]] name = "pallet-nomination-pools-benchmarking" -version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d01847415cd33a92c65e8d13cb0041a32b2f2523c84d9d944287ae5c0d920c82" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6008,8 +6743,9 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" -version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "23.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a64b17d862b833ca07a375646ecc80e164e5618c3aed4e5631816aa7288bf9b1" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -6019,8 +6755,9 @@ dependencies = [ [[package]] name = "pallet-offences" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "27.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de7b17230f58ff6b1ec2a70b3c639c49f585841dacf63f30c78db6387a833e0b" dependencies = [ "frame-support", "frame-system", @@ -6036,8 +6773,9 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "060483993358293d041e5173635082c68c7783a800c0874e8df87c324232f0d1" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6060,8 +6798,9 @@ dependencies = [ [[package]] name = "pallet-preimage" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce688c68f117b1916a844579aa5a945d786059b119a1cc80ace370afd1e50da4" dependencies = [ "frame-benchmarking", "frame-support", @@ -6077,8 +6816,9 @@ dependencies = [ [[package]] name = "pallet-proxy" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3162924576a70509136eb4d8513497fb640a8b3ea753883fe29bd454c511485" dependencies = [ "frame-benchmarking", "frame-support", @@ -6092,8 +6832,9 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86c6d11592a6ba9039bd3486dba15f0cb045889b2746f4619f5ec78188fdd151" dependencies = [ "frame-benchmarking", "frame-support", @@ -6110,8 +6851,9 @@ dependencies = [ [[package]] name = "pallet-recovery" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8649310b8f00e3b2983331cdb7173d1e66e5eeb3a3d21479e7a65386244f883" dependencies = [ "frame-benchmarking", "frame-support", @@ -6125,8 +6867,9 @@ dependencies = [ [[package]] name = "pallet-referenda" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c6645c0c09ff8484c6c7ac1546d908202ed555b18169ea956955e4e2d77b210" dependencies = [ "assert_matches", "frame-benchmarking", @@ -6144,7 +6887,7 @@ dependencies = [ [[package]] name = "pallet-reserve" -version = "2.4.2" +version = "2.5.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -6160,11 +6903,29 @@ dependencies = [ "support", ] +[[package]] +name = "pallet-root-testing" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7bd13ad045bda70f0d2023333d36620bd7b48172646274572332dc9f62fd3c8" +dependencies = [ + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-scheduler" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "29.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc26a27b77170c18261af7be04a6569e3d0d58788255b9f283ccd089aac37887" dependencies = [ + "docify", "frame-benchmarking", "frame-support", "frame-system", @@ -6179,8 +6940,9 @@ dependencies = [ [[package]] name = "pallet-session" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e23ca2bfcffb5194de952050557bdd1fe9bce18b2bc81e8f8c01c8a3c3c3e5d8" dependencies = [ "frame-support", "frame-system", @@ -6194,21 +6956,24 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", + "sp-state-machine", "sp-std", "sp-trie", ] [[package]] name = "pallet-session-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc660786028d46e03fb0a419d6a15df3fa556db7ce74efebf5a35037b32b4bc4" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "pallet-session", "pallet-staking", - "rand 0.8.5", + "parity-scale-codec", + "rand", "sp-runtime", "sp-session", "sp-std", @@ -6216,13 +6981,13 @@ dependencies = [ [[package]] name = "pallet-society" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33c19c1f5a410c0b03dc1e3245ffc0269e6c9085e6f6a64ee023f7515b6f8d9b" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "hex-literal 0.3.4", "log", "parity-scale-codec", "rand_chacha 0.2.2", @@ -6235,7 +7000,7 @@ dependencies = [ [[package]] name = "pallet-sponsorship" -version = "2.4.2" +version = "2.5.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -6249,14 +7014,16 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", + "sp-state-machine", "sp-std", "support", ] [[package]] name = "pallet-staking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8883bbca2bd6ee41f81382418372ce44fd771ac53591ce9be4018ea43f8c5eda" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6278,19 +7045,21 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "11.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "efca5a4a423427d2c83af5fe07ab648c16b91e3782c3cc23316fe0bd96b4c794" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] name = "pallet-staking-reward-fn" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "19.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e23336e4da87101633f95f9932946564c926ca7f87499654b38923b1579c605e" dependencies = [ "log", "sp-arithmetic", @@ -6298,17 +7067,20 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "14.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e27156b772eccb539cb1a1ea1b1b6e98d9c6589e18b913a30f67913fcf67fe7e" dependencies = [ "parity-scale-codec", "sp-api", + "sp-staking", ] [[package]] name = "pallet-state-trie-migration" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "29.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a48713905a318b0307e523fd3d3ca4b197ce74b2520203ded0d02e8a6c6bbd7" dependencies = [ "frame-benchmarking", "frame-support", @@ -6324,9 +7096,11 @@ dependencies = [ [[package]] name = "pallet-sudo" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "053dae9119d2d828af80e8ac98f497dc27155d6b5d42264dab8fae40f2314c41" dependencies = [ + "docify", "frame-benchmarking", "frame-support", "frame-system", @@ -6339,9 +7113,11 @@ dependencies = [ [[package]] name = "pallet-timestamp" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "27.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "688b89bdd377609b592bd094b304ebca33f4767fe72935465e2fd7db0e797968" dependencies = [ + "docify", "frame-benchmarking", "frame-support", "frame-system", @@ -6352,13 +7128,15 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", + "sp-storage", "sp-timestamp", ] [[package]] name = "pallet-tips" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "27.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "facf64cab7f7a4762c57e5827597b2ca073755de4c9716444cf0847db34836df" dependencies = [ "frame-benchmarking", "frame-support", @@ -6376,8 +7154,9 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "18b4ca7a1af9b1f091900a354a96319c7614d7a32106ba86cb7f0b6f90239065" dependencies = [ "frame-support", "frame-system", @@ -6392,8 +7171,9 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "30.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba1486d58f38892df779a7812f28ff962d0b0632b955ea3c348f605caa01ba6d" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -6408,8 +7188,9 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "acdfd7c882439b8198c99ece57b5bf785965545a6fa6d0bb7b56b264df1e437a" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -6420,9 +7201,11 @@ dependencies = [ [[package]] name = "pallet-treasury" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "27.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a75cb7498228e1a150fa09ce64acafe7105ff39b75dae1c266ba58b7e3eb225e" dependencies = [ + "docify", "frame-benchmarking", "frame-support", "frame-system", @@ -6431,14 +7214,16 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", + "sp-core", "sp-runtime", "sp-std", ] [[package]] name = "pallet-uniques" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "faf5e6bf708cc4d7efe8d66a8bb80da4875724edbcf1f624bd34b6937c0af452" dependencies = [ "frame-benchmarking", "frame-support", @@ -6452,8 +7237,9 @@ dependencies = [ [[package]] name = "pallet-utility" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "384c1d740c019410f6b40586cc387726c2e3c417c0e3e6f7e4774cd46bc6c1d0" dependencies = [ "frame-benchmarking", "frame-support", @@ -6468,8 +7254,9 @@ dependencies = [ [[package]] name = "pallet-vesting" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55f3ac517a10c14beee86a737b9ea5d592af9ab21cc5354474bc5f7019210358" dependencies = [ "frame-benchmarking", "frame-support", @@ -6483,8 +7270,9 @@ dependencies = [ [[package]] name = "pallet-whitelist" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "27.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de259e3329422bf3eb10b7e966f4b1c5caadcb29cd2d45af3a000cb2d184e60d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6498,14 +7286,16 @@ dependencies = [ [[package]] name = "pallet-xcm" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cee3520e03ac679125e8dcaa00ce4afeeb106a9623e79b5acf970d72af7f5d02" dependencies = [ "bounded-collections", "frame-benchmarking", "frame-support", "frame-system", "log", + "pallet-balances", "parity-scale-codec", "scale-info", "serde", @@ -6513,14 +7303,16 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "xcm", - "xcm-executor", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", ] [[package]] name = "pallet-xcm-benchmarks" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da15171c2dc870ad636fcdb16d9aa37eb84cfe6001c3f1c77cf2c97446ebfbe5" dependencies = [ "frame-benchmarking", "frame-support", @@ -6531,32 +7323,56 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "xcm", - "xcm-builder", - "xcm-executor", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", ] [[package]] -name = "parachain-info" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +name = "parachains-common" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ceadd4f51620023871ece5eeda64734acd17d84d49b45473d335e900a012fdde" dependencies = [ "cumulus-primitives-core", + "cumulus-primitives-utility", "frame-support", "frame-system", + "log", + "num-traits", + "pallet-asset-tx-payment", + "pallet-assets", + "pallet-authorship", + "pallet-balances", + "pallet-collator-selection", + "pallet-message-queue", + "pallet-xcm", "parity-scale-codec", + "polkadot-core-primitives", + "polkadot-primitives", + "rococo-runtime-constants", "scale-info", + "smallvec", + "sp-consensus-aura", + "sp-core", + "sp-io", "sp-runtime", "sp-std", + "staging-parachain-info", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", + "substrate-wasm-builder", + "westend-runtime-constants", ] [[package]] name = "parity-db" -version = "0.4.12" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59e9ab494af9e6e813c72170f0d3c1de1500990d62c97cc05cc7576f91aa402f" +checksum = "592a28a24b09c9dc20ac8afaa6839abc417c720afe42c12e1e4a9d6aa2508d2e" dependencies = [ - "blake2", + "blake2 0.10.6", "crc32fast", "fs2", "hex", @@ -6565,9 +7381,10 @@ dependencies = [ "lz4", "memmap2", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "siphasher", "snap", + "winapi", ] [[package]] @@ -6591,7 +7408,7 @@ version = "3.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be30eaf4b0a9fba5336683b38de57bb86d179a35862ba6bfcf57625d006bde5b" dependencies = [ - "proc-macro-crate 2.0.1", + "proc-macro-crate 2.0.0", "proc-macro2", "quote", "syn 1.0.109", @@ -6681,14 +7498,14 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d95f5254224e617595d2cc3cc73ff0a5eaf2637519e25f03388154e9378b6ffa" dependencies = [ - "crypto-mac 0.11.1", + "crypto-mac 0.11.0", ] [[package]] name = "pbkdf2" -version = "0.11.0" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" +checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" dependencies = [ "digest 0.10.7", ] @@ -6716,9 +7533,9 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "pest" -version = "2.7.5" +version = "2.7.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae9cee2a55a544be8b89dc6848072af97a20f2422603c10865be2a42b580fff5" +checksum = "219c0dcc30b6a27553f9cc242972b67f75b60eb0db71f0b5462f38b058c41546" dependencies = [ "memchr", "thiserror", @@ -6727,9 +7544,9 @@ dependencies = [ [[package]] name = "pest_derive" -version = "2.7.5" +version = "2.7.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81d78524685f5ef2a3b3bd1cafbc9fcabb036253d9b1463e726a91cd16e2dfc2" +checksum = "22e1288dbd7786462961e69bfd4df7848c1e37e8b74303dbdab82c3a9cdd2809" dependencies = [ "pest", "pest_generator", @@ -6737,22 +7554,22 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.7.5" +version = "2.7.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68bd1206e71118b5356dae5ddc61c8b11e28b09ef6a31acbd15ea48a28e0c227" +checksum = "1381c29a877c6d34b8c176e734f35d7f7f5b3adaefe940cb4d1bb7af94678e2e" dependencies = [ "pest", "pest_meta", "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] name = "pest_meta" -version = "2.7.5" +version = "2.7.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c747191d4ad9e4a4ab9c8798f1e82a39affe7ef9648390b7e5548d18e099de6" +checksum = "d0934d6907f148c22a3acbda520c7eed243ad7487a30f51f6ce52b58b7077a8a" dependencies = [ "once_cell", "pest", @@ -6766,27 +7583,27 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" dependencies = [ "fixedbitset", - "indexmap 2.1.0", + "indexmap 2.2.4", ] [[package]] name = "pin-project" -version = "1.1.3" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fda4ed1c6c173e3fc7a83629421152e01d7b1f9b7f65fb301e490e8cfc656422" +checksum = "0302c4a0442c456bd56f841aee5c3bfd17967563f6fadc9ceb9f9c23cf3807e0" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.3" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" +checksum = "266c042b60c9c76b8d53061e52b2e0d1116abc57cefc8c5cd671619a56ac3690" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] @@ -6807,6 +7624,17 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +[[package]] +name = "piper" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "668d31b1c4eba19242f2088b2bf3316b82ca31082a8335764db4e083db7485d4" +dependencies = [ + "atomic-waker", + "fastrand 2.0.1", + "futures-io", +] + [[package]] name = "pkcs8" version = "0.10.2" @@ -6819,23 +7647,26 @@ dependencies = [ [[package]] name = "pkg-config" -version = "0.3.27" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" +checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" [[package]] name = "platforms" -version = "3.2.0" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14e6ab3f592e6fb464fc9712d8d6e6912de6473954635fd76a589d832cffcbb0" +checksum = "626dec3cac7cc0e1577a2ec3fc496277ec2baa084bebad95bb6fdbfae235f84c" [[package]] name = "polkadot-approval-distribution" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98fd276eccca3ada04cb274f4b8c51f669087d8b334c775f1231a9194d5260d0" dependencies = [ + "bitvec", "futures", "futures-timer", + "itertools 0.10.5", "polkadot-node-jaeger", "polkadot-node-metrics", "polkadot-node-network-protocol", @@ -6843,34 +7674,36 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", + "rand", "tracing-gum", ] [[package]] name = "polkadot-availability-bitfield-distribution" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51c43e54e0cc47dfb4f7c3917a774ccc796524087515b212d9fe109bde71846e" dependencies = [ + "always-assert", "futures", "futures-timer", "polkadot-node-network-protocol", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", + "rand", "tracing-gum", ] [[package]] name = "polkadot-availability-distribution" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "121ded25722b8505335b05a77f1def84278802ed3f4774c7fe6ab7c961affe06" dependencies = [ "derive_more", "fatality", "futures", - "lru 0.9.0", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -6878,7 +7711,8 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", + "rand", + "schnellru", "sp-core", "sp-keystore", "thiserror", @@ -6887,12 +7721,13 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3902495dbba25e7526168c8f88b26cc0dbb96cfe10813238a650c67b34bf9f31" dependencies = [ + "async-trait", "fatality", "futures", - "lru 0.9.0", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -6900,24 +7735,27 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", + "rand", "sc-network", + "schnellru", "thiserror", + "tokio", "tracing-gum", ] [[package]] name = "polkadot-cli" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93cafe0d136732ad69bce9cd82a34a7b1ff0cd2268d84309aeb673622d40a013" dependencies = [ + "cfg-if", "clap", "frame-benchmarking-cli", "futures", "log", - "polkadot-node-core-pvf-execute-worker", - "polkadot-node-core-pvf-prepare-worker", "polkadot-node-metrics", + "polkadot-node-primitives", "polkadot-service", "sc-cli", "sc-executor", @@ -6936,10 +7774,10 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a70007b246c3679ee43f11123bda6d715f659f7b6d4134d0fcbe8980e049386b" dependencies = [ - "always-assert", "bitvec", "fatality", "futures", @@ -6953,13 +7791,15 @@ dependencies = [ "sp-keystore", "sp-runtime", "thiserror", + "tokio-util", "tracing-gum", ] [[package]] name = "polkadot-core-primitives" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bda2b0f0c580c38f12445a4af10e0a23acf48381b2a95653e0be48ba787e10e5" dependencies = [ "parity-scale-codec", "scale-info", @@ -6970,15 +7810,15 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84a9b173e02d1f600a422269b3b5a1db203d39f436f7db7d7e41ef6dda6f42e0" dependencies = [ "derive_more", "fatality", "futures", "futures-timer", "indexmap 1.9.3", - "lru 0.9.0", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -6987,6 +7827,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "sc-network", + "schnellru", "sp-application-crypto", "sp-keystore", "thiserror", @@ -6995,8 +7836,9 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff8347b3528fe94e47ec1b818b06bf821010a5f180d0ac5c89138da0d382debc" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -7009,8 +7851,9 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4de739371a4b5f036848de5c7185dfee88587016d2bb32af07f38fb909b80d8" dependencies = [ "futures", "futures-timer", @@ -7018,9 +7861,10 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", + "rand", "rand_chacha 0.3.1", "sc-network", + "sc-network-common", "sp-application-crypto", "sp-core", "sp-keystore", @@ -7029,8 +7873,9 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4598c9d00dbc017c0f01e82a7c0740805cc500c3b8946ad0b7945ab4d68dd7ee" dependencies = [ "always-assert", "async-trait", @@ -7052,8 +7897,9 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba987629ab789f529426d6187dbafaa8209f5ee479c645184e4c1e33a59e2135" dependencies = [ "futures", "parity-scale-codec", @@ -7070,16 +7916,17 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5910fa99def47accbb4505bef91f74614f62347bc0c53c11296d5ce70d8e255" dependencies = [ "bitvec", "derive_more", "futures", "futures-timer", + "itertools 0.10.5", "kvdb", - "lru 0.9.0", - "merlin", + "merlin 3.0.0", "parity-scale-codec", "polkadot-node-jaeger", "polkadot-node-primitives", @@ -7087,8 +7934,12 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", + "rand", + "rand_chacha 0.3.1", + "rand_core 0.6.4", "sc-keystore", - "schnorrkel", + "schnellru", + "schnorrkel 0.11.4", "sp-application-crypto", "sp-consensus", "sp-consensus-slots", @@ -7099,8 +7950,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ab1583533dc82a719607323432c013e01c2a8c971eb7e7703ff5eadd762f4e3" dependencies = [ "bitvec", "futures", @@ -7121,8 +7973,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7b5468fa618ccbeb4611b073d2c28b9440b51f4012e69c117e43192f9de8b17" dependencies = [ "bitvec", "fatality", @@ -7140,8 +7993,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4975e2ecc81d34605748781e9449a7b7ff956c385b46496005257a1a7dd56f0d" dependencies = [ "futures", "polkadot-node-subsystem", @@ -7155,8 +8009,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bcfd720b86c1ddf6616cf083a2cb273147687521c1d13a7f3c991b1d5ae03444" dependencies = [ "async-trait", "futures", @@ -7167,7 +8022,8 @@ dependencies = [ "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", - "polkadot-parachain", + "polkadot-overseer", + "polkadot-parachain-primitives", "polkadot-primitives", "sp-maybe-compressed-blob", "tracing-gum", @@ -7175,23 +8031,24 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a9f00bd39f433a2e8281524529853a3be54970e799a451e2c14fc5b75cf226f" dependencies = [ "futures", "polkadot-node-metrics", "polkadot-node-subsystem", - "polkadot-primitives", + "polkadot-node-subsystem-types", "sc-client-api", "sc-consensus-babe", - "sp-blockchain", "tracing-gum", ] [[package]] name = "polkadot-node-core-chain-selection" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea28475a96dfb6419432314d8021780e5c5b0f50a5525fd332e8b2a947a2deb5" dependencies = [ "futures", "futures-timer", @@ -7207,27 +8064,29 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ad9cfb3e775dc4c611a79e294549fe4b244052ddaacf14133380e793c25a99f" dependencies = [ "fatality", "futures", "kvdb", - "lru 0.9.0", "parity-scale-codec", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", "sc-keystore", + "schnellru", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-node-core-parachains-inherent" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb2535ef374a218b1e9d05b98a903edbdddf4eea47f9e137fcc09c8e1bc199dd" dependencies = [ "async-trait", "futures", @@ -7241,10 +8100,29 @@ dependencies = [ "tracing-gum", ] +[[package]] +name = "polkadot-node-core-prospective-parachains" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15a8876cc0aa627190f1d41c01061a7acee9621703501d9a60118d35e81579f9" +dependencies = [ + "bitvec", + "fatality", + "futures", + "parity-scale-codec", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", + "thiserror", + "tracing-gum", +] + [[package]] name = "polkadot-node-core-provisioner" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25c88b17b93bf410a72bfb4543b1ae01bb0d33fd6cba9af1f0e74c4ef2b906ad" dependencies = [ "bitvec", "fatality", @@ -7254,46 +8132,49 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-node-core-pvf" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c80f2810b2eb843f3282b11e7ce1624866b6dd1ee6a95541b5882b5df3f36f25" dependencies = [ "always-assert", + "array-bytes 6.2.2", + "blake3", + "cfg-if", "futures", "futures-timer", + "is_executable", "libc", "parity-scale-codec", "pin-project", "polkadot-core-primitives", "polkadot-node-core-pvf-common", - "polkadot-node-core-pvf-execute-worker", - "polkadot-node-core-pvf-prepare-worker", "polkadot-node-metrics", "polkadot-node-primitives", - "polkadot-parachain", + "polkadot-node-subsystem", + "polkadot-parachain-primitives", "polkadot-primitives", - "rand 0.8.5", + "rand", "slotmap", "sp-core", "sp-maybe-compressed-blob", - "sp-tracing", "sp-wasm-interface", - "substrate-build-script-utils", "tempfile", + "thiserror", "tokio", "tracing-gum", ] [[package]] name = "polkadot-node-core-pvf-checker" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14d8ddb21cb3ad1868967b116fbf289610880cb95313b2798762cdd8653d36b7" dependencies = [ "futures", "polkadot-node-primitives", @@ -7308,90 +8189,51 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-common" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80bbf311b112a8552e89e5be55b0305d86328ba04528e47d3203cd27751405bc" dependencies = [ + "cfg-if", "cpu-time", "futures", "landlock", "libc", "parity-scale-codec", - "polkadot-parachain", + "polkadot-parachain-primitives", "polkadot-primitives", "sc-executor", "sc-executor-common", "sc-executor-wasmtime", + "seccompiler", "sp-core", "sp-externalities", "sp-io", "sp-tracing", - "substrate-build-script-utils", - "tokio", - "tracing-gum", -] - -[[package]] -name = "polkadot-node-core-pvf-execute-worker" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" -dependencies = [ - "cpu-time", - "futures", - "parity-scale-codec", - "polkadot-node-core-pvf-common", - "polkadot-parachain", - "polkadot-primitives", - "rayon", - "sp-core", - "sp-maybe-compressed-blob", - "sp-tracing", - "tikv-jemalloc-ctl", - "tokio", - "tracing-gum", -] - -[[package]] -name = "polkadot-node-core-pvf-prepare-worker" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" -dependencies = [ - "futures", - "libc", - "parity-scale-codec", - "polkadot-node-core-pvf-common", - "polkadot-parachain", - "polkadot-primitives", - "rayon", - "sc-executor", - "sc-executor-common", - "sc-executor-wasmtime", - "sp-io", - "sp-maybe-compressed-blob", - "sp-tracing", - "tikv-jemalloc-ctl", - "tokio", + "thiserror", "tracing-gum", ] [[package]] name = "polkadot-node-core-runtime-api" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17345f76b7ebcf2f1e1be5411a6420971ef60d69070f115e459b2f017f91bcb5" dependencies = [ "futures", - "lru 0.9.0", "polkadot-node-metrics", "polkadot-node-subsystem", "polkadot-node-subsystem-types", "polkadot-primitives", + "schnellru", "sp-consensus-babe", "tracing-gum", ] [[package]] name = "polkadot-node-jaeger" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b099624af4597bac5d1617a3cab057785ee47e657de7ad078957bfa397d82c4" dependencies = [ "lazy_static", "log", @@ -7408,16 +8250,17 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2b5b00a9646875f22ab45e61ede04f623a3fbbc03bae52263b3d558c964bc32" dependencies = [ - "bs58", + "bs58 0.5.0", "futures", "futures-timer", "log", "parity-scale-codec", "polkadot-primitives", - "prioritized-metered-channel", + "prioritized-metered-channel 0.5.1", "sc-cli", "sc-service", "sc-tracing", @@ -7427,11 +8270,13 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e420ba9220abaa468a393ff2834b7c2b4d7d87b6d903d9046dfd682c97d35d4c" dependencies = [ - "async-channel", + "async-channel 1.9.0", "async-trait", + "bitvec", "derive_more", "fatality", "futures", @@ -7440,7 +8285,7 @@ dependencies = [ "polkadot-node-jaeger", "polkadot-node-primitives", "polkadot-primitives", - "rand 0.8.5", + "rand", "sc-authority-discovery", "sc-network", "strum 0.24.1", @@ -7450,15 +8295,17 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "366d18f1498426975c610246063149ad84788eb1e924cab6ee44a4d8958ecf61" dependencies = [ + "bitvec", "bounded-vec", "futures", "parity-scale-codec", - "polkadot-parachain", + "polkadot-parachain-primitives", "polkadot-primitives", - "schnorrkel", + "schnorrkel 0.11.4", "serde", "sp-application-crypto", "sp-consensus-babe", @@ -7467,13 +8314,14 @@ dependencies = [ "sp-maybe-compressed-blob", "sp-runtime", "thiserror", - "zstd 0.11.2+zstd.1.5.2", + "zstd 0.12.4", ] [[package]] name = "polkadot-node-subsystem" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "831cf07bf6588d7d8ab872f8f214b4b24b2c4243faf8028534f8a11a3f03c466" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -7482,10 +8330,12 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd132afdfcdf2e30f7924c9561bbc1208b0838ab9c2275bf0ef32525f63b8bd0" dependencies = [ "async-trait", + "bitvec", "derive_more", "futures", "orchestra", @@ -7494,20 +8344,24 @@ dependencies = [ "polkadot-node-primitives", "polkadot-primitives", "polkadot-statement-table", + "sc-client-api", "sc-network", "sc-transaction-pool-api", "smallvec", "sp-api", "sp-authority-discovery", + "sp-blockchain", "sp-consensus-babe", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] [[package]] name = "polkadot-node-subsystem-util" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d32c2f2027689777bd61681d769ed5ec726144905c4e3cb16c5f8a4edb55250a" dependencies = [ "async-trait", "derive_more", @@ -7516,20 +8370,22 @@ dependencies = [ "futures-channel", "itertools 0.10.5", "kvdb", - "lru 0.9.0", "parity-db", "parity-scale-codec", - "parking_lot 0.11.2", + "parking_lot 0.12.1", "pin-project", "polkadot-node-jaeger", "polkadot-node-metrics", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem", + "polkadot-node-subsystem-types", "polkadot-overseer", "polkadot-primitives", - "prioritized-metered-channel", - "rand 0.8.5", + "prioritized-metered-channel 0.5.1", + "rand", + "sc-client-api", + "schnellru", "sp-application-crypto", "sp-core", "sp-keystore", @@ -7539,13 +8395,13 @@ dependencies = [ [[package]] name = "polkadot-overseer" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9aa0b71f50f0be1959bcb10a46105ca66b9c6868d549385a247750e5b7a45c77" dependencies = [ "async-trait", "futures", "futures-timer", - "lru 0.9.0", "orchestra", "parking_lot 0.12.1", "polkadot-node-metrics", @@ -7561,13 +8417,13 @@ dependencies = [ ] [[package]] -name = "polkadot-parachain" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +name = "polkadot-parachain-primitives" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b37c55955147479e7b2f3c2e5385db4846ac3e3b997cd4a4ad52344524b5447" dependencies = [ "bounded-collections", "derive_more", - "frame-support", "parity-scale-codec", "polkadot-core-primitives", "scale-info", @@ -7575,18 +8431,20 @@ dependencies = [ "sp-core", "sp-runtime", "sp-std", + "sp-weights", ] [[package]] name = "polkadot-primitives" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8aefd230a654f5b2aee18ebbd9c081835def0e1898ee6c018501dd77c18f5929" dependencies = [ "bitvec", - "hex-literal 0.4.1", + "hex-literal", "parity-scale-codec", "polkadot-core-primitives", - "polkadot-parachain", + "polkadot-parachain-primitives", "scale-info", "serde", "sp-api", @@ -7605,8 +8463,9 @@ dependencies = [ [[package]] name = "polkadot-rpc" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "382eada9005c73375778e1dca58116e0660431cf90989fe0dde54ebe1f621a1e" dependencies = [ "jsonrpsee", "mmr-rpc", @@ -7622,6 +8481,7 @@ dependencies = [ "sc-consensus-grandpa", "sc-consensus-grandpa-rpc", "sc-rpc", + "sc-rpc-spec-v2", "sc-sync-state-rpc", "sc-transaction-pool-api", "sp-api", @@ -7635,105 +8495,11 @@ dependencies = [ "substrate-state-trie-migration-rpc", ] -[[package]] -name = "polkadot-runtime" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" -dependencies = [ - "bitvec", - "frame-benchmarking", - "frame-election-provider-support", - "frame-executive", - "frame-support", - "frame-system", - "frame-system-benchmarking", - "frame-system-rpc-runtime-api", - "frame-try-runtime", - "hex-literal 0.4.1", - "log", - "pallet-authority-discovery", - "pallet-authorship", - "pallet-babe", - "pallet-bags-list", - "pallet-balances", - "pallet-bounties", - "pallet-child-bounties", - "pallet-collective", - "pallet-conviction-voting", - "pallet-democracy", - "pallet-election-provider-multi-phase", - "pallet-election-provider-support-benchmarking", - "pallet-elections-phragmen", - "pallet-fast-unstake", - "pallet-grandpa", - "pallet-identity", - "pallet-im-online", - "pallet-indices", - "pallet-membership", - "pallet-message-queue", - "pallet-multisig", - "pallet-nomination-pools", - "pallet-nomination-pools-benchmarking", - "pallet-nomination-pools-runtime-api", - "pallet-offences", - "pallet-offences-benchmarking", - "pallet-preimage", - "pallet-proxy", - "pallet-referenda", - "pallet-scheduler", - "pallet-session", - "pallet-session-benchmarking", - "pallet-staking", - "pallet-staking-reward-curve", - "pallet-staking-runtime-api", - "pallet-timestamp", - "pallet-tips", - "pallet-transaction-payment", - "pallet-transaction-payment-rpc-runtime-api", - "pallet-treasury", - "pallet-utility", - "pallet-vesting", - "pallet-whitelist", - "pallet-xcm", - "parity-scale-codec", - "polkadot-primitives", - "polkadot-runtime-common", - "polkadot-runtime-constants", - "polkadot-runtime-parachains", - "rustc-hex", - "scale-info", - "serde", - "serde_derive", - "smallvec", - "sp-api", - "sp-arithmetic", - "sp-authority-discovery", - "sp-block-builder", - "sp-consensus-babe", - "sp-consensus-beefy", - "sp-core", - "sp-inherents", - "sp-io", - "sp-mmr-primitives", - "sp-npos-elections", - "sp-offchain", - "sp-runtime", - "sp-session", - "sp-staking", - "sp-std", - "sp-transaction-pool", - "sp-version", - "static_assertions", - "substrate-wasm-builder", - "xcm", - "xcm-builder", - "xcm-executor", -] - [[package]] name = "polkadot-runtime-common" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4641a850b7415a42e56bd262aba243ed77a9280cb2b825a427c425bdc8961d70" dependencies = [ "bitvec", "frame-benchmarking", @@ -7743,11 +8509,14 @@ dependencies = [ "impl-trait-for-tuples", "libsecp256k1", "log", + "pallet-asset-rate", "pallet-authorship", "pallet-babe", "pallet-balances", + "pallet-broker", "pallet-election-provider-multi-phase", "pallet-fast-unstake", + "pallet-identity", "pallet-session", "pallet-staking", "pallet-staking-reward-fn", @@ -7755,6 +8524,7 @@ dependencies = [ "pallet-transaction-payment", "pallet-treasury", "pallet-vesting", + "pallet-xcm-benchmarks", "parity-scale-codec", "polkadot-primitives", "polkadot-runtime-parachains", @@ -7772,30 +8542,20 @@ dependencies = [ "sp-session", "sp-staking", "sp-std", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", "static_assertions", - "xcm", -] - -[[package]] -name = "polkadot-runtime-constants" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" -dependencies = [ - "frame-support", - "polkadot-primitives", - "polkadot-runtime-common", - "smallvec", - "sp-core", - "sp-runtime", - "sp-weights", ] [[package]] name = "polkadot-runtime-metrics" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ac3c6ee03f38556274b26049c51c5c7095abfd4ebfd11cd492918a4344f2851" dependencies = [ - "bs58", + "bs58 0.5.0", + "frame-benchmarking", "parity-scale-codec", "polkadot-primitives", "sp-std", @@ -7804,8 +8564,9 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d253ef2952097398d98ed12729e47f9328bcd1baa92c3acc1524a4baca7d1ac" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -7813,27 +8574,31 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "impl-trait-for-tuples", "log", "pallet-authority-discovery", "pallet-authorship", "pallet-babe", "pallet-balances", + "pallet-broker", "pallet-message-queue", "pallet-session", "pallet-staking", "pallet-timestamp", "pallet-vesting", "parity-scale-codec", - "polkadot-parachain", + "polkadot-core-primitives", + "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-runtime-metrics", - "rand 0.8.5", + "rand", "rand_chacha 0.3.1", "rustc-hex", "scale-info", "serde", "sp-api", "sp-application-crypto", + "sp-arithmetic", "sp-core", "sp-inherents", "sp-io", @@ -7842,15 +8607,16 @@ dependencies = [ "sp-session", "sp-staking", "sp-std", + "staging-xcm", + "staging-xcm-executor", "static_assertions", - "xcm", - "xcm-executor", ] [[package]] name = "polkadot-service" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d75bf984471c2608905176b62726b3552bbfdc3e04ebdc7fe75e5179ff215588" dependencies = [ "async-trait", "frame-benchmarking", @@ -7859,12 +8625,11 @@ dependencies = [ "frame-system", "frame-system-rpc-runtime-api", "futures", - "hex-literal 0.4.1", - "kusama-runtime", + "hex-literal", + "is_executable", "kvdb", "kvdb-rocksdb", "log", - "lru 0.9.0", "mmr-gadget", "pallet-babe", "pallet-im-online", @@ -7873,6 +8638,7 @@ dependencies = [ "pallet-transaction-payment-rpc-runtime-api", "parity-db", "parity-scale-codec", + "parking_lot 0.12.1", "polkadot-approval-distribution", "polkadot-availability-bitfield-distribution", "polkadot-availability-distribution", @@ -7892,7 +8658,9 @@ dependencies = [ "polkadot-node-core-chain-selection", "polkadot-node-core-dispute-coordinator", "polkadot-node-core-parachains-inherent", + "polkadot-node-core-prospective-parachains", "polkadot-node-core-provisioner", + "polkadot-node-core-pvf", "polkadot-node-core-pvf-checker", "polkadot-node-core-runtime-api", "polkadot-node-network-protocol", @@ -7901,11 +8669,9 @@ dependencies = [ "polkadot-node-subsystem-types", "polkadot-node-subsystem-util", "polkadot-overseer", - "polkadot-parachain", + "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-rpc", - "polkadot-runtime", - "polkadot-runtime-common", "polkadot-runtime-parachains", "polkadot-statement-distribution", "rococo-runtime", @@ -7932,6 +8698,7 @@ dependencies = [ "sc-telemetry", "sc-transaction-pool", "sc-transaction-pool-api", + "schnellru", "serde", "serde_json", "sp-api", @@ -7955,7 +8722,6 @@ dependencies = [ "sp-storage", "sp-timestamp", "sp-transaction-pool", - "sp-trie", "sp-version", "sp-weights", "substrate-prometheus-endpoint", @@ -7966,10 +8732,12 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b82b48ff9204ea663ccccde78aefa8a524958aadff5c84a4f1fd773c291057d" dependencies = [ - "arrayvec 0.5.2", + "arrayvec 0.7.4", + "bitvec", "fatality", "futures", "futures-timer", @@ -7988,24 +8756,69 @@ dependencies = [ [[package]] name = "polkadot-statement-table" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "478dea03265eb2465010dae149616e4f28fe858e103671b1a96dc19e9e388c8f" dependencies = [ "parity-scale-codec", "polkadot-primitives", "sp-core", ] +[[package]] +name = "polkavm-common" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fecd2caacfc4a7ee34243758dd7348859e6dec73f5e5df059890f5742ee46f0e" + +[[package]] +name = "polkavm-derive" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db65a500d4adf574893c726ae365e37e4fbb7f2cbd403f6eaa1b665457456adc" +dependencies = [ + "polkavm-derive-impl", + "syn 2.0.52", +] + +[[package]] +name = "polkavm-derive-impl" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c99f4e7a9ff434ef9c885b874c99d824c3a5693bf5e3e8569bb1d2245a8c1b7f" +dependencies = [ + "polkavm-common", + "proc-macro2", + "quote", + "syn 2.0.52", +] + +[[package]] +name = "polling" +version = "2.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce" +dependencies = [ + "autocfg", + "bitflags 1.3.2", + "cfg-if", + "concurrent-queue", + "libc", + "log", + "pin-project-lite 0.2.13", + "windows-sys 0.48.0", +] + [[package]] name = "polling" -version = "3.3.1" +version = "3.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf63fa624ab313c11656b4cda960bfc46c410187ad493c41f6ba2d8c1e991c9e" +checksum = "24f040dee2588b4963afb4e420540439d126f73fdacf4a9c486a96d840bac3c9" dependencies = [ "cfg-if", "concurrent-queue", "pin-project-lite 0.2.13", - "rustix 0.38.28", + "rustix 0.38.31", "tracing", "windows-sys 0.52.0", ] @@ -8093,12 +8906,12 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.2.15" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae005bd773ab59b4725093fd7df83fd7892f7d8eafb48dbd7de6e024e4215f9d" +checksum = "a41cf62165e97c7f814d2221421dbb9afcbcdb0a88068e5ea206e19951c2cbb5" dependencies = [ "proc-macro2", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] @@ -8116,12 +8929,12 @@ dependencies = [ [[package]] name = "primitives" -version = "2.4.2" +version = "2.5.0" dependencies = [ "frame-support", "frame-system", "parity-scale-codec", - "polkadot-parachain", + "polkadot-parachain-primitives", "scale-info", "serde", "sp-application-crypto", @@ -8129,15 +8942,31 @@ dependencies = [ "sp-core", "sp-runtime", "sp-std", - "xcm", - "xcm-executor", + "staging-xcm", + "staging-xcm-executor", +] + +[[package]] +name = "prioritized-metered-channel" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e99f0c89bd88f393aab44a4ab949351f7bc7e7e1179d11ecbfe50cbe4c47e342" +dependencies = [ + "coarsetime", + "crossbeam-queue", + "derive_more", + "futures", + "futures-timer", + "nanorand", + "thiserror", + "tracing", ] [[package]] name = "prioritized-metered-channel" -version = "0.2.0" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "382698e48a268c832d0b181ed438374a6bb708a82a8ca273bb0f61c74cf209c4" +checksum = "a172e6cc603231f2cf004232eabcecccc0da53ba576ab286ef7baa0cfc7927ad" dependencies = [ "coarsetime", "crossbeam-queue", @@ -8161,12 +8990,20 @@ dependencies = [ [[package]] name = "proc-macro-crate" -version = "2.0.1" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97dc5fea232fc28d2f597b37c4876b348a40e33f3b02cc975c8d006d78d94b1a" +checksum = "7e8366a6159044a37876a2b9817124296703c586a5c92e2c53751fa06d8d43e8" dependencies = [ - "toml_datetime", - "toml_edit 0.20.2", + "toml_edit 0.20.7", +] + +[[package]] +name = "proc-macro-crate" +version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284" +dependencies = [ + "toml_edit 0.21.1", ] [[package]] @@ -8195,20 +9032,20 @@ dependencies = [ [[package]] name = "proc-macro-warning" -version = "0.4.2" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e" +checksum = "834da187cfe638ae8abb0203f0b33e5ccdb02a28e7199f2f47b3e2754f50edca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] name = "proc-macro2" -version = "1.0.70" +version = "1.0.78" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39278fbbf5fb4f646ce651690877f89d1c5811a3d4acb27700c1cb3cdb78fd3b" +checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" dependencies = [ "unicode-ident", ] @@ -8247,7 +9084,7 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] @@ -8359,7 +9196,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94b0b33c13a79f669c85defaf4c275dc86a0c0372807d0ca3d78e0bb87274863" dependencies = [ "bytes", - "rand 0.8.5", + "rand", "ring 0.16.20", "rustc-hash", "rustls 0.20.9", @@ -8372,9 +9209,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.33" +version = "1.0.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" +checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" dependencies = [ "proc-macro2", ] @@ -8385,19 +9222,6 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" -[[package]] -name = "rand" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" -dependencies = [ - "getrandom 0.1.16", - "libc", - "rand_chacha 0.2.2", - "rand_core 0.5.1", - "rand_hc", -] - [[package]] name = "rand" version = "0.8.5" @@ -8444,16 +9268,17 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.11", + "getrandom 0.2.12", ] [[package]] -name = "rand_hc" -version = "0.2.0" +name = "rand_distr" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" +checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31" dependencies = [ - "rand_core 0.5.1", + "num-traits", + "rand", ] [[package]] @@ -8473,9 +9298,9 @@ checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" [[package]] name = "rayon" -version = "1.8.0" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c27db03db7734835b3f53954b534c91069375ce6ccaa2e065441e07d9b6cdb1" +checksum = "e4963ed1bc86e4f3ee217022bd855b297cef07fb9eac5dfa1f788b220b49b3bd" dependencies = [ "either", "rayon-core", @@ -8483,9 +9308,9 @@ dependencies = [ [[package]] name = "rayon-core" -version = "1.12.0" +version = "1.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ce3fb6ad83f861aac485e76e1985cd109d9a3713802152be56c3b1f0e0658ed" +checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" dependencies = [ "crossbeam-deque", "crossbeam-utils", @@ -8527,7 +9352,7 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4" dependencies = [ - "getrandom 0.2.11", + "getrandom 0.2.12", "libredox", "thiserror", ] @@ -8547,22 +9372,22 @@ dependencies = [ [[package]] name = "ref-cast" -version = "1.0.21" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53313ec9f12686aeeffb43462c3ac77aa25f590a5f630eb2cde0de59417b29c7" +checksum = "c4846d4c50d1721b1a3bef8af76924eef20d5e723647333798c1b519b3a9473f" dependencies = [ "ref-cast-impl", ] [[package]] name = "ref-cast-impl" -version = "1.0.21" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2566c4bf6845f2c2e83b27043c3f5dfcd5ba8f2937d6c00dc009bfb51a079dc4" +checksum = "5fddb4f8d99b0a2ebafc65a87a69a7b9875e4b1ae1f00db265d300ef7f28bccc" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] @@ -8579,13 +9404,13 @@ dependencies = [ [[package]] name = "regex" -version = "1.10.2" +version = "1.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343" +checksum = "b62dbe01f0b06f9d8dc7d49e05a0785f153b00b2c227856282f671e0318c9b15" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.3", + "regex-automata 0.4.5", "regex-syntax 0.8.2", ] @@ -8600,9 +9425,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.3" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" +checksum = "5bb987efffd3c6d0d8f5f89510bb458559eab11e4f869acb20bf845e016259cd" dependencies = [ "aho-corasick", "memchr", @@ -8638,7 +9463,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" dependencies = [ "hmac 0.12.1", - "subtle", + "subtle 2.5.0", ] [[package]] @@ -8658,16 +9483,26 @@ dependencies = [ [[package]] name = "ring" -version = "0.17.7" +version = "0.17.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "688c63d65483050968b2a8937f7995f443e27041a0f7700aa59b0822aedebb74" +checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" dependencies = [ "cc", - "getrandom 0.2.11", + "cfg-if", + "getrandom 0.2.12", "libc", "spin 0.9.8", "untrusted 0.9.0", - "windows-sys 0.48.0", + "windows-sys 0.52.0", +] + +[[package]] +name = "ripemd" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd124222d17ad93a644ed9d011a40f4fb64aa54275c08cc216524a9ea82fb09f" +dependencies = [ + "digest 0.10.7", ] [[package]] @@ -8682,8 +9517,9 @@ dependencies = [ [[package]] name = "rococo-runtime" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e5ae118c3f3189a376703a4ca8569eb51ce1b121bc6b571c051b68c31e10a16" dependencies = [ "binary-merkle-tree", "frame-benchmarking", @@ -8693,8 +9529,9 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", - "hex-literal 0.4.1", + "hex-literal", "log", + "pallet-asset-rate", "pallet-authority-discovery", "pallet-authorship", "pallet-babe", @@ -8704,6 +9541,7 @@ dependencies = [ "pallet-bounties", "pallet-child-bounties", "pallet-collective", + "pallet-conviction-voting", "pallet-democracy", "pallet-elections-phragmen", "pallet-grandpa", @@ -8718,7 +9556,10 @@ dependencies = [ "pallet-offences", "pallet-preimage", "pallet-proxy", + "pallet-ranked-collective", "pallet-recovery", + "pallet-referenda", + "pallet-root-testing", "pallet-scheduler", "pallet-session", "pallet-society", @@ -8732,10 +9573,11 @@ dependencies = [ "pallet-treasury", "pallet-utility", "pallet-vesting", + "pallet-whitelist", "pallet-xcm", "pallet-xcm-benchmarks", "parity-scale-codec", - "polkadot-parachain", + "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-runtime-common", "polkadot-runtime-parachains", @@ -8745,11 +9587,13 @@ dependencies = [ "serde_derive", "smallvec", "sp-api", + "sp-arithmetic", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", "sp-core", + "sp-genesis-builder", "sp-inherents", "sp-io", "sp-mmr-primitives", @@ -8758,19 +9602,21 @@ dependencies = [ "sp-session", "sp-staking", "sp-std", + "sp-storage", "sp-transaction-pool", "sp-version", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", "static_assertions", "substrate-wasm-builder", - "xcm", - "xcm-builder", - "xcm-executor", ] [[package]] name = "rococo-runtime-constants" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b5b507493a19b5061eb2860c394847261216c7ea7f8f62ba2cb02e55c27d611" dependencies = [ "frame-support", "polkadot-primitives", @@ -8779,6 +9625,8 @@ dependencies = [ "sp-core", "sp-runtime", "sp-weights", + "staging-xcm", + "staging-xcm-builder", ] [[package]] @@ -8819,7 +9667,7 @@ dependencies = [ [[package]] name = "runtime-eden" -version = "2.4.2" +version = "2.5.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -8836,8 +9684,8 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", - "getrandom 0.2.11", - "hex-literal 0.4.1", + "getrandom 0.2.12", + "hex-literal", "lazy_static", "log", "orml-traits", @@ -8850,17 +9698,18 @@ dependencies = [ "pallet-collator-selection", "pallet-collective", "pallet-contracts", - "pallet-contracts-primitives", "pallet-grants", "pallet-identity", "pallet-im-online", "pallet-insecure-randomness-collective-flip", "pallet-mandate", "pallet-membership", + "pallet-message-queue", "pallet-multisig", "pallet-nodle-uniques", "pallet-offences", "pallet-preimage", + "pallet-proxy", "pallet-reserve", "pallet-scheduler", "pallet-session", @@ -8872,9 +9721,9 @@ dependencies = [ "pallet-utility", "pallet-xcm", "pallet-xcm-benchmarks", - "parachain-info", + "parachains-common", "parity-scale-codec", - "polkadot-parachain", + "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-runtime-common", "primitives", @@ -8896,13 +9745,15 @@ dependencies = [ "sp-session", "sp-staking", "sp-std", + "sp-storage", "sp-transaction-pool", "sp-version", + "staging-parachain-info", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", "static_assertions", "substrate-wasm-builder", - "xcm", - "xcm-builder", - "xcm-executor", ] [[package]] @@ -8938,7 +9789,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" dependencies = [ - "semver 1.0.20", + "semver 1.0.22", ] [[package]] @@ -8966,14 +9817,28 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.28" +version = "0.37.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" +dependencies = [ + "bitflags 1.3.2", + "errno", + "io-lifetimes", + "libc", + "linux-raw-sys 0.3.8", + "windows-sys 0.48.0", +] + +[[package]] +name = "rustix" +version = "0.38.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72e572a5e8ca657d7366229cdde4bd14c4eb5499a9573d4d366fe1b599daa316" +checksum = "6ea3e1a662af26cd7a3ba09c0297a31af215563ecf42817c98df621387f4e949" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.4.2", "errno", "libc", - "linux-raw-sys 0.4.12", + "linux-raw-sys 0.4.13", "windows-sys 0.52.0", ] @@ -8996,7 +9861,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9d5a6813c0759e4609cd494e8e725babae6a2ca7b62a5536a13daaec6fcb7ba" dependencies = [ "log", - "ring 0.17.7", + "ring 0.17.8", "rustls-webpki", "sct", ] @@ -9019,7 +9884,7 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" dependencies = [ - "base64 0.21.5", + "base64 0.21.7", ] [[package]] @@ -9028,7 +9893,7 @@ version = "0.101.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" dependencies = [ - "ring 0.17.7", + "ring 0.17.8", "untrusted 0.9.0", ] @@ -9038,6 +9903,17 @@ version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" +[[package]] +name = "ruzstd" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3ffab8f9715a0d455df4bbb9d21e91135aab3cd3ca187af0cd0c3c3f868fdc" +dependencies = [ + "byteorder", + "thiserror-core", + "twox-hash", +] + [[package]] name = "rw-stream-sink" version = "0.3.0" @@ -9051,9 +9927,9 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.16" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c" +checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1" [[package]] name = "safe-mix" @@ -9084,8 +9960,9 @@ dependencies = [ [[package]] name = "sc-allocator" -version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "23.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43b05714bc70605d5f8983612d1643d875cd4782ef53a8720907a0eb75070cba" dependencies = [ "log", "sp-core", @@ -9095,8 +9972,9 @@ dependencies = [ [[package]] name = "sc-authority-discovery" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.34.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1c23040352415cdcc22203d3b18e56f3516e51865f106f8bbf7efa95b411a59" dependencies = [ "async-trait", "futures", @@ -9104,11 +9982,12 @@ dependencies = [ "ip_network", "libp2p", "log", - "multihash", + "multihash 0.18.1", + "multihash-codetable", "parity-scale-codec", "prost", "prost-build", - "rand 0.8.5", + "rand", "sc-client-api", "sc-network", "sp-api", @@ -9123,15 +10002,15 @@ dependencies = [ [[package]] name = "sc-basic-authorship" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.34.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c016e38155386e23649a4a995ea67c55a1fe25a54c7cc7509954d454ee75eb3b" dependencies = [ "futures", "futures-timer", "log", "parity-scale-codec", "sc-block-builder", - "sc-client-api", "sc-proposer-metrics", "sc-telemetry", "sc-transaction-pool-api", @@ -9146,25 +10025,31 @@ dependencies = [ [[package]] name = "sc-block-builder" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "656b85de8aad8dd758f2e5f250f300e4711f294f238c9299064fbd624cb263f7" dependencies = [ "parity-scale-codec", - "sc-client-api", "sp-api", "sp-block-builder", "sp-blockchain", "sp-core", "sp-inherents", "sp-runtime", + "sp-trie", ] [[package]] name = "sc-chain-spec" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "27.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7f6a6926973e084fe9b23ffee9784cd41d84ea0627c605891542661bd9ff958" dependencies = [ + "array-bytes 6.2.2", + "docify", + "log", "memmap2", + "parity-scale-codec", "sc-chain-spec-derive", "sc-client-api", "sc-executor", @@ -9174,41 +10059,48 @@ dependencies = [ "serde_json", "sp-blockchain", "sp-core", + "sp-genesis-builder", + "sp-io", "sp-runtime", "sp-state-machine", ] [[package]] name = "sc-chain-spec-derive" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "11.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2e80fbdaea194762d4b4b0eec389037c25ad102676203b42d684774ae3019b8" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] name = "sc-cli" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.36.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9819b656041094ca4e97402be145c2bcf3f47d00d854708b25ecd3211eafcd62" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", + "bip39", "chrono", "clap", "fdlimit", "futures", + "itertools 0.10.5", "libp2p-identity", "log", "names", "parity-scale-codec", - "rand 0.8.5", + "rand", "regex", "rpassword", "sc-client-api", "sc-client-db", "sc-keystore", + "sc-mixnet", "sc-network", "sc-service", "sc-telemetry", @@ -9224,14 +10116,14 @@ dependencies = [ "sp-runtime", "sp-version", "thiserror", - "tiny-bip39", "tokio", ] [[package]] name = "sc-client-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af05565a0f6467ebe0b430f3a44524fecee9e4aff621647ea5eab8833f775b6f" dependencies = [ "fnv", "futures", @@ -9251,13 +10143,15 @@ dependencies = [ "sp-state-machine", "sp-statement-store", "sp-storage", + "sp-trie", "substrate-prometheus-endpoint", ] [[package]] name = "sc-client-db" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.35.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6db9fbd18eb275120fdf2e9558a5006a69022405abb9c260c91d218ddb05db39" dependencies = [ "hash-db", "kvdb", @@ -9282,8 +10176,9 @@ dependencies = [ [[package]] name = "sc-consensus" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b0409758bb01f2e975b01c7cb2203aa27746e9796a483b18c57123e6e78fae5" dependencies = [ "async-trait", "futures", @@ -9307,8 +10202,9 @@ dependencies = [ [[package]] name = "sc-consensus-aura" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.34.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9cc4ebc06768af3e5457a5780aa6dbebeefe27131e70d11b62cfc8136e41747a" dependencies = [ "async-trait", "futures", @@ -9336,8 +10232,9 @@ dependencies = [ [[package]] name = "sc-consensus-babe" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.34.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0a7d698d9d2bde7e0b80e7ada57ede9255a6382da79d2ad9a4e9e70805c40e74" dependencies = [ "async-trait", "fork-tree", @@ -9354,7 +10251,6 @@ dependencies = [ "sc-consensus-slots", "sc-telemetry", "sc-transaction-pool-api", - "scale-info", "sp-api", "sp-application-crypto", "sp-block-builder", @@ -9372,8 +10268,9 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.34.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2f55379d0ce6f87026f896f03bce33862b57f77a46fbb4fb7e974182d20d458" dependencies = [ "futures", "jsonrpsee", @@ -9394,11 +10291,12 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3664a3cddc718187e058f67d9075ef9078c8f8347c0408304ead8565d4ba8164" dependencies = [ - "array-bytes", - "async-channel", + "array-bytes 6.2.2", + "async-channel 1.9.0", "async-trait", "fnv", "futures", @@ -9423,13 +10321,15 @@ dependencies = [ "sp-runtime", "substrate-prometheus-endpoint", "thiserror", + "tokio", "wasm-timer", ] [[package]] name = "sc-consensus-beefy-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b4e3602efe1e206032164772c24365642e3dab807c5f8db0af166f6ef63af3e" dependencies = [ "futures", "jsonrpsee", @@ -9447,8 +10347,9 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d0befddf2ca16d5f222968fceeab8625532f2d49303fafd17ae2e5d0e939da6" dependencies = [ "fork-tree", "parity-scale-codec", @@ -9460,11 +10361,12 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a824457a3384e7bc19d7ee587dffa5b646deb81a2351be0dd075c2110a3d677a" dependencies = [ - "ahash 0.8.6", - "array-bytes", + "ahash 0.8.10", + "array-bytes 6.2.2", "async-trait", "dyn-clone", "finality-grandpa", @@ -9474,7 +10376,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "sc-block-builder", "sc-chain-spec", "sc-client-api", @@ -9482,6 +10384,7 @@ dependencies = [ "sc-network", "sc-network-common", "sc-network-gossip", + "sc-network-sync", "sc-telemetry", "sc-transaction-pool-api", "sc-utils", @@ -9501,8 +10404,9 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "694328880bf11fce67f5e066d7884dbdf1f2a41c42a7dfce9b0a6bc6b90448a1" dependencies = [ "finality-grandpa", "futures", @@ -9521,8 +10425,9 @@ dependencies = [ [[package]] name = "sc-consensus-slots" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6649665fcf91d89c16bfb08e9326baf6547e5fe719d6438197434e5b642d716b" dependencies = [ "async-trait", "futures", @@ -9544,8 +10449,9 @@ dependencies = [ [[package]] name = "sc-executor" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3129f8af1f8aa5b05829ffec942feff61163054a536704ba48fdcc2276f6042a" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -9566,8 +10472,9 @@ dependencies = [ [[package]] name = "sc-executor-common" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0285a4a14c0d2c1d04380ff83cddd79181ded510c605d36804cb9c6eb3bbf2ae" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -9578,13 +10485,15 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c2ba6ea0e68400caf4847fbcfca6123952b05a817e06f024e9cbafa665ac9d8" dependencies = [ "anyhow", "cfg-if", "libc", "log", + "parking_lot 0.12.1", "rustix 0.36.17", "sc-allocator", "sc-executor-common", @@ -9595,8 +10504,9 @@ dependencies = [ [[package]] name = "sc-informant" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e07d2dde727c30974767aed4cddd241447c0a800b702662b529dd2e32a10db1" dependencies = [ "ansi_term", "futures", @@ -9605,16 +10515,18 @@ dependencies = [ "sc-client-api", "sc-network", "sc-network-common", + "sc-network-sync", "sp-blockchain", "sp-runtime", ] [[package]] name = "sc-keystore" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93acb7f7c6e5e4be067e78b782a35d1a6d34dafcd955975a1aec05cab9dbf8fe" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "parking_lot 0.12.1", "serde_json", "sp-application-crypto", @@ -9623,13 +10535,44 @@ dependencies = [ "thiserror", ] +[[package]] +name = "sc-mixnet" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cac7d7145c712c4a8b184b3979fe1a154c200ebb1b9f11f1e4e39db97a389f8" +dependencies = [ + "array-bytes 4.2.0", + "arrayvec 0.7.4", + "blake2 0.10.6", + "bytes", + "futures", + "futures-timer", + "libp2p-identity", + "log", + "mixnet", + "multiaddr", + "parity-scale-codec", + "parking_lot 0.12.1", + "sc-client-api", + "sc-network", + "sc-transaction-pool-api", + "sp-api", + "sp-consensus", + "sp-core", + "sp-keystore", + "sp-mixnet", + "sp-runtime", + "thiserror", +] + [[package]] name = "sc-network" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.34.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f2f49eccabc1de61ff976a184f5380a230f07baa5cb075a31c8ec9459fcd076" dependencies = [ - "array-bytes", - "async-channel", + "array-bytes 6.2.2", + "async-channel 1.9.0", "async-trait", "asynchronous-codec", "bytes", @@ -9646,7 +10589,7 @@ dependencies = [ "parking_lot 0.12.1", "partial_sort", "pin-project", - "rand 0.8.5", + "rand", "sc-client-api", "sc-network-common", "sc-utils", @@ -9659,6 +10602,8 @@ dependencies = [ "sp-runtime", "substrate-prometheus-endpoint", "thiserror", + "tokio", + "tokio-stream", "unsigned-varint", "wasm-timer", "zeroize", @@ -9666,10 +10611,11 @@ dependencies = [ [[package]] name = "sc-network-bitswap" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2779d97eff742c1ebcce812bfd154a7273c2c2eb02e11fad76cf7eb583365834" dependencies = [ - "async-channel", + "async-channel 1.9.0", "cid", "futures", "libp2p-identity", @@ -9686,8 +10632,9 @@ dependencies = [ [[package]] name = "sc-network-common" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b798acc12d5b3120b2d5e8a078fcec39d6732089261136ac31c993235ade917" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -9703,16 +10650,18 @@ dependencies = [ [[package]] name = "sc-network-gossip" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.34.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd92792f3a04fcb1f21018c9f8a5d6d438d705a2548ffcdc7730280c667b8386" dependencies = [ - "ahash 0.8.6", + "ahash 0.8.10", "futures", "futures-timer", "libp2p", "log", "sc-network", "sc-network-common", + "sc-network-sync", "schnellru", "sp-runtime", "substrate-prometheus-endpoint", @@ -9721,11 +10670,12 @@ dependencies = [ [[package]] name = "sc-network-light" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34e7a126492850dbbd5cf0b77ec3ad350422c2822d165941ddbe618a76af0153" dependencies = [ - "array-bytes", - "async-channel", + "array-bytes 6.2.2", + "async-channel 1.9.0", "futures", "libp2p-identity", "log", @@ -9742,11 +10692,12 @@ dependencies = [ [[package]] name = "sc-network-sync" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4c92fd35c49f748abf0bf420e1e99aa76b0f48ab43c183ea5dacef951116d7e" dependencies = [ - "array-bytes", - "async-channel", + "array-bytes 6.2.2", + "async-channel 1.9.0", "async-trait", "fork-tree", "futures", @@ -9772,20 +10723,24 @@ dependencies = [ "sp-runtime", "substrate-prometheus-endpoint", "thiserror", + "tokio", + "tokio-stream", ] [[package]] name = "sc-network-transactions" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99a1af3b9e158fa91df0cd92916b3ee5d8b8a14a2b61eb5dd9e36e045808f644" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "futures", "libp2p", "log", "parity-scale-codec", "sc-network", "sc-network-common", + "sc-network-sync", "sc-utils", "sp-consensus", "sp-runtime", @@ -9794,10 +10749,11 @@ dependencies = [ [[package]] name = "sc-offchain" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "29.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd5408dbdc3fe345813e983bd2b7ecf8f20e996141fa39a36336f511ab1859bb" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "bytes", "fnv", "futures", @@ -9810,7 +10766,7 @@ dependencies = [ "once_cell", "parity-scale-codec", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "sc-client-api", "sc-network", "sc-network-common", @@ -9828,8 +10784,9 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb8dadb2ae5a316e4d08cad6aacd5de1dec792f3bd94e3960795ff7ffd07211c" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9837,8 +10794,9 @@ dependencies = [ [[package]] name = "sc-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "29.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ac0d83b9117c9c004e58331a593a28044eaf6414e5b3c605d1571b4a6981966" dependencies = [ "futures", "jsonrpsee", @@ -9848,6 +10806,7 @@ dependencies = [ "sc-block-builder", "sc-chain-spec", "sc-client-api", + "sc-mixnet", "sc-rpc-api", "sc-tracing", "sc-transaction-pool-api", @@ -9868,12 +10827,14 @@ dependencies = [ [[package]] name = "sc-rpc-api" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "630e81a436f32487452ae1a57ad0ba31f320ddf864bb7faefd7490fe16b3e139" dependencies = [ "jsonrpsee", "parity-scale-codec", "sc-chain-spec", + "sc-mixnet", "sc-transaction-pool-api", "scale-info", "serde", @@ -9887,8 +10848,9 @@ dependencies = [ [[package]] name = "sc-rpc-server" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "11.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b623908525a2f22aafa079080aa7fbce8b58ca8de53b9f31e3cc8547e0ad8b2" dependencies = [ "http", "jsonrpsee", @@ -9902,10 +10864,11 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.34.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a54150c808fa10364b73faedd97aff0977a911a521d1caa8bad2bdc7943ad579" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "futures", "futures-util", "hex", @@ -9916,20 +10879,24 @@ dependencies = [ "sc-chain-spec", "sc-client-api", "sc-transaction-pool-api", + "sc-utils", "serde", "sp-api", "sp-blockchain", "sp-core", + "sp-rpc", "sp-runtime", "sp-version", "thiserror", + "tokio", "tokio-stream", ] [[package]] name = "sc-service" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.35.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "703bd8b1fc0a137185bfa0b654e04283a58a1d8a2751380e7a0eca919961f150" dependencies = [ "async-trait", "directories", @@ -9941,8 +10908,7 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "pin-project", - "rand 0.8.5", - "sc-block-builder", + "rand", "sc-chain-spec", "sc-client-api", "sc-client-db", @@ -9992,8 +10958,9 @@ dependencies = [ [[package]] name = "sc-state-db" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fac20128b09ac6305aaf482a72c918b35400f3955d7032971df499b0661a5e76" dependencies = [ "log", "parity-scale-codec", @@ -10003,13 +10970,13 @@ dependencies = [ [[package]] name = "sc-storage-monitor" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "838d31b4316424d1c2c3a2f06f4e76cd56b53f38d366fc9882444d4ce8faabec" dependencies = [ "clap", "fs4", "log", - "sc-client-db", "sp-core", "thiserror", "tokio", @@ -10017,8 +10984,9 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.34.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb310dce9d2474a74152605dc0ca0f81a46f61ba4e7a39752f1203121f47c0c6" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -10036,13 +11004,15 @@ dependencies = [ [[package]] name = "sc-sysinfo" -version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "27.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfc9a5da78281735c6ff3b8d0287e95dcf32fc001415ac20cb2844c0ab4e6d05" dependencies = [ + "derive_more", "futures", "libc", "log", - "rand 0.8.5", + "rand", "rand_pcg", "regex", "sc-telemetry", @@ -10055,8 +11025,9 @@ dependencies = [ [[package]] name = "sc-telemetry" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "15.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96841bdc22e1ad5931e6cb7557b06ef33aeda7f5eef3864653359840f9fd025a" dependencies = [ "chrono", "futures", @@ -10064,7 +11035,7 @@ dependencies = [ "log", "parking_lot 0.12.1", "pin-project", - "rand 0.8.5", + "rand", "sc-utils", "serde", "serde_json", @@ -10074,15 +11045,17 @@ dependencies = [ [[package]] name = "sc-tracing" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90864e5e042d1238bcb082b0fa73ce58b7eb4897127783dae1dd66eee59cdaef" dependencies = [ "ansi_term", - "atty", "chrono", + "is-terminal", "lazy_static", "libc", "log", + "parity-scale-codec", "parking_lot 0.12.1", "regex", "rustc-hash", @@ -10103,19 +11076,21 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "11.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "151cdf86d79abf22cf2a240a7ca95041c908dbd96c2ae9a818073042aa210964" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] name = "sc-transaction-pool" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7985fab634814ee28fe3ecd2131fa2cb4c8eee88a7e60f1cd59dc0afa826fe2" dependencies = [ "async-trait", "futures", @@ -10140,8 +11115,9 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3402336f81a52fd6b1fd5a16fa3f4279032de1e113fe4a973865bf0b0e28679c" dependencies = [ "async-trait", "futures", @@ -10156,10 +11132,11 @@ dependencies = [ [[package]] name = "sc-utils" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "14.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c4d5d1f106d670dd0c56fe540e8b0916aaeff6960bb39440ed8f3c80b52f8d4" dependencies = [ - "async-channel", + "async-channel 1.9.0", "futures", "futures-timer", "lazy_static", @@ -10197,11 +11174,11 @@ dependencies = [ [[package]] name = "schannel" -version = "0.1.22" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88" +checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534" dependencies = [ - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -10210,7 +11187,7 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" dependencies = [ - "ahash 0.8.6", + "ahash 0.8.10", "cfg-if", "hashbrown 0.13.2", ] @@ -10224,12 +11201,45 @@ dependencies = [ "arrayref", "arrayvec 0.5.2", "curve25519-dalek 2.1.3", - "getrandom 0.1.16", - "merlin", - "rand 0.7.3", + "merlin 2.0.1", "rand_core 0.5.1", "sha2 0.8.2", - "subtle", + "subtle 2.5.0", + "zeroize", +] + +[[package]] +name = "schnorrkel" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "844b7645371e6ecdf61ff246ba1958c29e802881a749ae3fb1993675d210d28d" +dependencies = [ + "arrayref", + "arrayvec 0.7.4", + "curve25519-dalek-ng", + "merlin 3.0.0", + "rand_core 0.6.4", + "sha2 0.9.9", + "subtle-ng", + "zeroize", +] + +[[package]] +name = "schnorrkel" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8de18f6d8ba0aad7045f5feae07ec29899c1112584a38509a84ad7b04451eaa0" +dependencies = [ + "aead", + "arrayref", + "arrayvec 0.7.4", + "curve25519-dalek 4.1.2", + "getrandom_or_panic", + "merlin 3.0.0", + "rand_core 0.6.4", + "serde_bytes", + "sha2 0.10.8", + "subtle 2.5.0", "zeroize", ] @@ -10251,7 +11261,7 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" dependencies = [ - "ring 0.17.7", + "ring 0.17.8", "untrusted 0.9.0", ] @@ -10265,24 +11275,33 @@ dependencies = [ "der", "generic-array 0.14.7", "pkcs8", - "subtle", + "subtle 2.5.0", "zeroize", ] +[[package]] +name = "seccompiler" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "345a3e4dddf721a478089d4697b83c6c0a8f5bf16086f6c13397e4534eb6e2e5" +dependencies = [ + "libc", +] + [[package]] name = "secp256k1" -version = "0.24.3" +version = "0.28.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b1629c9c557ef9b293568b338dddfc8208c98a18c59d722a9d53f859d9c9b62" +checksum = "d24b59d129cdadea20aea4fb2352fa053712e5d713eee47d700cd4b2bc002f10" dependencies = [ "secp256k1-sys", ] [[package]] name = "secp256k1-sys" -version = "0.6.1" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83080e2c2fc1006e625be82e5d1eb6a43b7fd9578b617fcc55814daf286bba4b" +checksum = "e5d1746aae42c19d583c3c1a8c646bfad910498e2051c551a7f2e3c0c9fbb7eb" dependencies = [ "cc", ] @@ -10339,9 +11358,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.20" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "836fa6a3e1e547f9a2c4040802ec865b5d85f4014efe00555d7090a3dcaa1090" +checksum = "92d43fe69e652f3df9bdc2b85b2854a0825b86e4fb76bc44d945137d053639ca" dependencies = [ "serde", ] @@ -10354,29 +11373,38 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.193" +version = "1.0.197" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25dd9975e68d0cb5aa1120c288333fc98731bd1dd12f561e468ea4728c042b89" +checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2" dependencies = [ "serde_derive", ] +[[package]] +name = "serde_bytes" +version = "0.11.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b8497c313fd43ab992087548117643f6fcd935cbf36f176ffda0aacf9591734" +dependencies = [ + "serde", +] + [[package]] name = "serde_derive" -version = "1.0.193" +version = "1.0.197" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3" +checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] name = "serde_json" -version = "1.0.108" +version = "1.0.114" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d1c7e3eac408d115102c4c24ad393e0821bb3a5df4d506a80f85f7a742a526b" +checksum = "c5f09b1bd632ef549eaa9f60a1f8de742bdbc698e6cee2095fc84dde5f549ae0" dependencies = [ "itoa", "ryu", @@ -10405,6 +11433,17 @@ dependencies = [ "opaque-debug 0.3.0", ] +[[package]] +name = "sha1" +version = "0.10.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest 0.10.7", +] + [[package]] name = "sha2" version = "0.8.2" @@ -10462,9 +11501,9 @@ dependencies = [ [[package]] name = "shlex" -version = "1.2.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7cee0529a6d40f580e7a5e6c495c8fbfe21b7b52795ed4bb5e62cdf92bc6380" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "signal-hook-registry" @@ -10475,12 +11514,6 @@ dependencies = [ "libc", ] -[[package]] -name = "signature" -version = "1.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" - [[package]] name = "signature" version = "2.2.0" @@ -10504,6 +11537,12 @@ dependencies = [ "wide", ] +[[package]] +name = "simple-mermaid" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "620a1d43d70e142b1d46a929af51d44f383db9c7a2ec122de2cd992ccfcf3c18" + [[package]] name = "siphasher" version = "0.3.11" @@ -10527,8 +11566,9 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d9bb569dc58f1e139c20f532a2ad13d54795060c0000c2c49dc812b17684197" dependencies = [ "enumn", "parity-scale-codec", @@ -10548,9 +11588,116 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.11.2" +version = "1.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7" + +[[package]] +name = "smol" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13f2b548cd8447f8de0fdf1c592929f70f4fc7039a05e47404b0d096ec6987a1" +dependencies = [ + "async-channel 1.9.0", + "async-executor", + "async-fs", + "async-io 1.13.0", + "async-lock 2.8.0", + "async-net", + "async-process", + "blocking", + "futures-lite 1.13.0", +] + +[[package]] +name = "smoldot" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0bb30cf57b7b5f6109ce17c3164445e2d6f270af2cb48f6e4d31c2967c9a9f5" +dependencies = [ + "arrayvec 0.7.4", + "async-lock 2.8.0", + "atomic-take", + "base64 0.21.7", + "bip39", + "blake2-rfc", + "bs58 0.5.0", + "chacha20", + "crossbeam-queue", + "derive_more", + "ed25519-zebra 4.0.3", + "either", + "event-listener 2.5.3", + "fnv", + "futures-lite 1.13.0", + "futures-util", + "hashbrown 0.14.3", + "hex", + "hmac 0.12.1", + "itertools 0.11.0", + "libsecp256k1", + "merlin 3.0.0", + "no-std-net", + "nom", + "num-bigint", + "num-rational", + "num-traits", + "pbkdf2 0.12.2", + "pin-project", + "poly1305", + "rand", + "rand_chacha 0.3.1", + "ruzstd", + "schnorrkel 0.10.2", + "serde", + "serde_json", + "sha2 0.10.8", + "sha3", + "siphasher", + "slab", + "smallvec", + "soketto", + "twox-hash", + "wasmi", + "x25519-dalek 2.0.1", + "zeroize", +] + +[[package]] +name = "smoldot-light" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970" +checksum = "256b5bad1d6b49045e95fe87492ce73d5af81545d8b4d8318a872d2007024c33" +dependencies = [ + "async-channel 1.9.0", + "async-lock 2.8.0", + "base64 0.21.7", + "blake2-rfc", + "derive_more", + "either", + "event-listener 2.5.3", + "fnv", + "futures-channel", + "futures-lite 1.13.0", + "futures-util", + "hashbrown 0.14.3", + "hex", + "itertools 0.11.0", + "log", + "lru 0.11.1", + "no-std-net", + "parking_lot 0.12.1", + "pin-project", + "rand", + "rand_chacha 0.3.1", + "serde", + "serde_json", + "siphasher", + "slab", + "smol", + "smoldot", + "zeroize", +] [[package]] name = "snap" @@ -10560,19 +11707,19 @@ checksum = "1b6b67fb9a61334225b5b790716f609cd58395f895b3fe8b328786812a40bc3b" [[package]] name = "snow" -version = "0.9.4" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58021967fd0a5eeeb23b08df6cc244a4d4a5b4aec1d27c9e02fad1a58b4cd74e" +checksum = "850948bee068e713b8ab860fe1adc4d109676ab4c3b621fd8147f06b261f2f85" dependencies = [ "aes-gcm", - "blake2", + "blake2 0.10.6", "chacha20poly1305", - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "rand_core 0.6.4", - "ring 0.17.7", + "ring 0.17.8", "rustc_version 0.4.0", "sha2 0.10.8", - "subtle", + "subtle 2.5.0", ] [[package]] @@ -10587,12 +11734,12 @@ dependencies = [ [[package]] name = "socket2" -version = "0.5.5" +version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9" +checksum = "05ffd9c0a93b7543e062e759284fcf5f5e3b098501104bfbdde4d404db792871" dependencies = [ "libc", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -10608,14 +11755,15 @@ dependencies = [ "http", "httparse", "log", - "rand 0.8.5", + "rand", "sha-1", ] [[package]] name = "sp-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6dea138c6dbf282ab57756492f0232ea0a08575ca9cbe2b7b1ead49000f238a7" dependencies = [ "hash-db", "log", @@ -10635,22 +11783,24 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "15.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0694be2891593450916d6b53a274d234bccbc86bcbada36ba23fc356989070c7" dependencies = [ "Inflector", - "blake2", + "blake2 0.10.6", "expander 2.0.0", - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] name = "sp-application-crypto" -version = "23.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "30.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e4fe7a9b7fa9da76272b201e2fb3c7900d97d32a46b66af9a04dad457f73c71" dependencies = [ "parity-scale-codec", "scale-info", @@ -10662,8 +11812,9 @@ dependencies = [ [[package]] name = "sp-arithmetic" -version = "16.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "23.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f42721f072b421f292a072e8f52a3b3c0fbc27428f0c9fe24067bc47046bad63" dependencies = [ "integer-sqrt", "num-traits", @@ -10676,8 +11827,9 @@ dependencies = [ [[package]] name = "sp-authority-discovery" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22a740c05e9096eb17e93b5ab6aa5fe8ce0c9b4243777826d92133b3dd682e14" dependencies = [ "parity-scale-codec", "scale-info", @@ -10689,8 +11841,9 @@ dependencies = [ [[package]] name = "sp-block-builder" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6d2aa0943101367b955f5806c3ecea2e23df7c90059708107470dbfb9d3d7ab" dependencies = [ "sp-api", "sp-inherents", @@ -10700,8 +11853,9 @@ dependencies = [ [[package]] name = "sp-blockchain" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9adee5ddcf0682d0302ed640a285b9f922d933a205b63c7819a74d6092b6f78" dependencies = [ "futures", "log", @@ -10718,8 +11872,9 @@ dependencies = [ [[package]] name = "sp-consensus" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcac16e85f78db9c99c9424659bb25790be079a0b758a3674ee8e1e7ef635b0" dependencies = [ "async-trait", "futures", @@ -10733,8 +11888,9 @@ dependencies = [ [[package]] name = "sp-consensus-aura" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ab8e878a116b0885eaefd068235657737cb72fdce60a8c080dfd092f7d645cc" dependencies = [ "async-trait", "parity-scale-codec", @@ -10750,8 +11906,9 @@ dependencies = [ [[package]] name = "sp-consensus-babe" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebfedfdea5b22fb3625cd664e72503dcbd1087373181d5be0d092b3e7b4c61f5" dependencies = [ "async-trait", "parity-scale-codec", @@ -10769,8 +11926,9 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e09a424196a673f0e6b5fe79e4ab97da416491cfecab7bc835fa595134ac1b5c" dependencies = [ "lazy_static", "parity-scale-codec", @@ -10788,8 +11946,9 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a906b20409a5a69b1d9580848f502af20cf2c51a1ae028ba208375eb11f332b" dependencies = [ "finality-grandpa", "log", @@ -10806,8 +11965,9 @@ dependencies = [ [[package]] name = "sp-consensus-slots" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fdc5c1620d81196391daa15e78ea20cc11c59f08c509381c276d5d6a3d4d36af" dependencies = [ "parity-scale-codec", "scale-info", @@ -10818,32 +11978,33 @@ dependencies = [ [[package]] name = "sp-core" -version = "21.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f230cb12575455070da0fc174815958423a0b9a641d5e304a9457113c7cb4007" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", + "bip39", "bitflags 1.3.2", - "blake2", + "blake2 0.10.6", "bounded-collections", - "bs58", + "bs58 0.5.0", "dyn-clonable", - "ed25519-zebra", + "ed25519-zebra 3.1.0", "futures", "hash-db", "hash256-std-hasher", "impl-serde", - "lazy_static", + "itertools 0.10.5", "libsecp256k1", "log", - "merlin", + "merlin 3.0.0", "parity-scale-codec", "parking_lot 0.12.1", "paste", "primitive-types", - "rand 0.8.5", - "regex", + "rand", "scale-info", - "schnorrkel", + "schnorrkel 0.11.4", "secp256k1", "secrecy", "serde", @@ -10856,15 +12017,16 @@ dependencies = [ "ss58-registry", "substrate-bip39", "thiserror", - "tiny-bip39", "tracing", + "w3f-bls", "zeroize", ] [[package]] name = "sp-core-hashing" -version = "9.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "15.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e0f4990add7b2cefdeca883c0efa99bb4d912cb2196120e1500c0cc099553b0" dependencies = [ "blake2b_simd", "byteorder", @@ -10876,18 +12038,20 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" -version = "9.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "15.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7527f8dda7667c41009b2cd0efaddcb81709b9741bd5ee6d17b11bad835cc698" dependencies = [ "quote", "sp-core-hashing", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] name = "sp-database" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "10.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "722cbecdbf5b94578137dbd07feb51e95f7de221be0c1ff4dcfe0bb4cd986929" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10895,18 +12059,20 @@ dependencies = [ [[package]] name = "sp-debug-derive" -version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "14.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48d09fa0a5f7299fb81ee25ae3853d26200f7a348148aed6de76be905c007dbe" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] name = "sp-externalities" -version = "0.19.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63867ec85950ced90d4ab1bba902a47db1b1efdf2829f653945669b2bb470a9c" dependencies = [ "environmental", "parity-scale-codec", @@ -10914,10 +12080,23 @@ dependencies = [ "sp-storage", ] +[[package]] +name = "sp-genesis-builder" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfdc79df83221ec5a279cbbd08fd6f8be164b9b081c8e84593ce2c2ebd5d66c0" +dependencies = [ + "serde_json", + "sp-api", + "sp-runtime", + "sp-std", +] + [[package]] name = "sp-inherents" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a3caf2d1288549d7e6c32b453f2d4855d498bb88600101011e35653e022a6f2" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10930,12 +12109,12 @@ dependencies = [ [[package]] name = "sp-io" -version = "23.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "30.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c55f26d89feedaf0faf81688b6e1e1e81329cd8b4c6a4fd6c5b97ed9dd068b8a" dependencies = [ "bytes", - "ed25519 1.5.3", - "ed25519-dalek 1.0.1", + "ed25519-dalek", "libsecp256k1", "log", "parity-scale-codec", @@ -10955,10 +12134,10 @@ dependencies = [ [[package]] name = "sp-keyring" -version = "24.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "31.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98165ce7c625a8cdb88d39c6bbd56fe8b32ada64ed0894032beba99795f557da" dependencies = [ - "lazy_static", "sp-core", "sp-runtime", "strum 0.24.1", @@ -10966,8 +12145,9 @@ dependencies = [ [[package]] name = "sp-keystore" -version = "0.27.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.34.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96806a28a62ed9ddecd0b28857b1344d029390f7c5c42a2ff9199cbf5638635c" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -10978,8 +12158,9 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" -version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "11.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0c768c11afbe698a090386876911da4236af199cd38a5866748df4d8628aeff" dependencies = [ "thiserror", "zstd 0.12.4", @@ -10987,8 +12168,9 @@ dependencies = [ [[package]] name = "sp-metadata-ir" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa0b5e87e56c1bb26d9524d48dd127121d630f895bd5914a34f0b017489f7c1d" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -10996,10 +12178,24 @@ dependencies = [ "sp-std", ] +[[package]] +name = "sp-mixnet" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85ed83d2f899484bde61c72cbae6edfb25708d43e6b19934e206f3c706df67df" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-api", + "sp-application-crypto", + "sp-std", +] + [[package]] name = "sp-mmr-primitives" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7526a73d518c03fa2447588b1544019a194a4f113cf34d2610d3b5925c80c86" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -11016,8 +12212,9 @@ dependencies = [ [[package]] name = "sp-npos-elections" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa8efff28b504b4b928288976e5f72c00c7ece9d2348a7ca2496c77849dd4c8f" dependencies = [ "parity-scale-codec", "scale-info", @@ -11030,8 +12227,9 @@ dependencies = [ [[package]] name = "sp-offchain" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb45b3e397dc9c7b81cb2d8d641d0bcb1f525b60e83835783413ba73b3f61ac9" dependencies = [ "sp-api", "sp-core", @@ -11040,8 +12238,9 @@ dependencies = [ [[package]] name = "sp-panic-handler" -version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8f5a17a0a11de029a8b811cb6e8b32ce7e02183cc04a3e965c383246798c416" dependencies = [ "backtrace", "lazy_static", @@ -11050,8 +12249,9 @@ dependencies = [ [[package]] name = "sp-rpc" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a55f2c7660b579627d22932ecfe2e5f001a7671d2fa77667387517c7f80e6fb" dependencies = [ "rustc-hash", "serde", @@ -11060,18 +12260,21 @@ dependencies = [ [[package]] name = "sp-runtime" -version = "24.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "31.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3bb49a4475d390198dfd3d41bef4564ab569fbaf1b5e38ae69b35fc01199d91" dependencies = [ + "docify", "either", "hash256-std-hasher", "impl-trait-for-tuples", "log", "parity-scale-codec", "paste", - "rand 0.8.5", + "rand", "scale-info", "serde", + "simple-mermaid", "sp-application-crypto", "sp-arithmetic", "sp-core", @@ -11082,8 +12285,9 @@ dependencies = [ [[package]] name = "sp-runtime-interface" -version = "17.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f66b66d8cec3d785fa6289336c1d9cbd4305d5d84f7134378c4d79ed7983e6fb" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -11100,20 +12304,23 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" -version = "11.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "17.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfaf6e85b2ec12a4b99cd6d8d57d083e30c94b7f1b0d8f93547121495aae6f0c" dependencies = [ "Inflector", - "proc-macro-crate 1.3.1", + "expander 2.0.0", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] name = "sp-session" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "27.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8048981db53d4f5171e6003f5e11fbfc27a8c196b0827619907a4214746a623b" dependencies = [ "parity-scale-codec", "scale-info", @@ -11127,8 +12334,9 @@ dependencies = [ [[package]] name = "sp-staking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0e68be3fff84dd8ee552f9d13dd2e9eab3663e0bddfc6c6c88de02aaca1e311" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -11141,14 +12349,15 @@ dependencies = [ [[package]] name = "sp-state-machine" -version = "0.28.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.35.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "718c779ad1d6fcc0be64c7ce030b33fa44b5c8914b3a1319ef63bb5f27fb98df" dependencies = [ "hash-db", "log", "parity-scale-codec", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "smallvec", "sp-core", "sp-externalities", @@ -11162,11 +12371,18 @@ dependencies = [ [[package]] name = "sp-statement-store" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "10.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fee6d4ceb2513f180e6e017fd6d6f3c9a1a122dcedee5fc8e4254d8a7ecf793d" dependencies = [ + "aes-gcm", + "curve25519-dalek 4.1.2", + "ed25519-dalek", + "hkdf", "parity-scale-codec", + "rand", "scale-info", + "sha2 0.10.8", "sp-api", "sp-application-crypto", "sp-core", @@ -11175,17 +12391,20 @@ dependencies = [ "sp-runtime-interface", "sp-std", "thiserror", + "x25519-dalek 2.0.1", ] [[package]] name = "sp-std" -version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "14.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12f8ee986414b0a9ad741776762f4083cd3a5128449b982a3919c4df36874834" [[package]] name = "sp-storage" -version = "13.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "19.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fb92d7b24033a8a856d6e20dd980b653cbd7af7ec471cc988b1b7c1d2e3a32b" dependencies = [ "impl-serde", "parity-scale-codec", @@ -11197,8 +12416,9 @@ dependencies = [ [[package]] name = "sp-timestamp" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "347eaddd5b07856ccec69ac3300e72e392a5efc3aea5fb4b7230888a0b447b9e" dependencies = [ "async-trait", "parity-scale-codec", @@ -11210,8 +12430,9 @@ dependencies = [ [[package]] name = "sp-tracing" -version = "10.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "16.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0351810b9d074df71c4514c5228ed05c250607cba131c1c9d1526760ab69c05c" dependencies = [ "parity-scale-codec", "sp-std", @@ -11222,8 +12443,9 @@ dependencies = [ [[package]] name = "sp-transaction-pool" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97c4052e69eacdb7a411e050c56a838f460b8a879071125451e9bb2d4814df34" dependencies = [ "sp-api", "sp-runtime", @@ -11231,8 +12453,9 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b2a2c693bc7ca363c9d2cd412276582aef10c794399aaffbd1fe2351099a1a5" dependencies = [ "async-trait", "parity-scale-codec", @@ -11246,20 +12469,22 @@ dependencies = [ [[package]] name = "sp-trie" -version = "22.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "29.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e4d24d84a0beb44a71dcac1b41980e1edf7fb722c7f3046710136a283cd479b" dependencies = [ - "ahash 0.8.6", + "ahash 0.8.10", "hash-db", - "hashbrown 0.13.2", "lazy_static", "memory-db", "nohash-hasher", "parity-scale-codec", "parking_lot 0.12.1", + "rand", "scale-info", "schnellru", "sp-core", + "sp-externalities", "sp-std", "thiserror", "tracing", @@ -11269,8 +12494,9 @@ dependencies = [ [[package]] name = "sp-version" -version = "22.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "29.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "afd1b053394347e22f541696bca4a9ac3ec848b50d1b86f5018d2b771f39f11a" dependencies = [ "impl-serde", "parity-scale-codec", @@ -11286,19 +12512,21 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" -version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9bc3fed32d6dacbbbfb28dd1fe0224affbb737cb6cbfca1d9149351c2b69a7d" dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] name = "sp-wasm-interface" -version = "14.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ef97172c42eb4c6c26506f325f48463e9bc29b2034a587f1b9e48c751229bee" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -11310,15 +12538,16 @@ dependencies = [ [[package]] name = "sp-weights" -version = "20.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "27.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e874bdf9dd3fd3242f5b7867a4eaedd545b02f29041a46d222a9d9d5caaaa5c" dependencies = [ + "bounded-collections", "parity-scale-codec", "scale-info", "serde", "smallvec", "sp-arithmetic", - "sp-core", "sp-debug-derive", "sp-std", ] @@ -11358,9 +12587,9 @@ dependencies = [ [[package]] name = "ss58-registry" -version = "1.44.0" +version = "1.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35935738370302d5e33963665b77541e4b990a3e919ec904c837a56cfc891de1" +checksum = "b1114ee5900b8569bbc8b1a014a942f937b752af4b44f4607430b5f86cedaac0" dependencies = [ "Inflector", "num-format", @@ -11372,10 +12601,89 @@ dependencies = [ ] [[package]] -name = "stable_deref_trait" -version = "1.2.0" +name = "stable_deref_trait" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" + +[[package]] +name = "staging-parachain-info" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad554ffd27fbcafd82e234d7e7188e458e51bfe2b3b5000dd236dce762e3e95f" +dependencies = [ + "cumulus-primitives-core", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "staging-xcm" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0df18af00766d22926916bb443f14742c65cc6b2f0fe997b8f26da0d0f9ee9ca" +dependencies = [ + "array-bytes 6.2.2", + "bounded-collections", + "derivative", + "environmental", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-weights", + "xcm-procedural", +] + +[[package]] +name = "staging-xcm-builder" +version = "7.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ba4f214fe99d79ffcc266f431abbb32d3596788327b925d469c7bb6a3c84d3c" +dependencies = [ + "frame-support", + "frame-system", + "impl-trait-for-tuples", + "log", + "pallet-transaction-payment", + "parity-scale-codec", + "polkadot-parachain-primitives", + "scale-info", + "sp-arithmetic", + "sp-io", + "sp-runtime", + "sp-std", + "sp-weights", + "staging-xcm", + "staging-xcm-executor", +] + +[[package]] +name = "staging-xcm-executor" +version = "7.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" +checksum = "5f1dea1e33eefee513c197c24255670951a2c515a6ce2c7049fe86385400074f" +dependencies = [ + "environmental", + "frame-benchmarking", + "frame-support", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "scale-info", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-weights", + "staging-xcm", +] [[package]] name = "static_assertions" @@ -11411,11 +12719,24 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "strobe-rs" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fabb238a1cccccfa4c4fb703670c0d157e1256c1ba695abf1b93bd2bb14bab2d" +dependencies = [ + "bitflags 1.3.2", + "byteorder", + "keccak", + "subtle 2.5.0", + "zeroize", +] + [[package]] name = "strsim" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" +checksum = "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01" [[package]] name = "strum" @@ -11455,7 +12776,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] @@ -11466,20 +12787,22 @@ checksum = "e620c7098893ba667438b47169c00aacdd9e7c10e042250ce2b60b087ec97328" dependencies = [ "hmac 0.11.0", "pbkdf2 0.8.0", - "schnorrkel", + "schnorrkel 0.9.1", "sha2 0.9.9", "zeroize", ] [[package]] name = "substrate-build-script-utils" -version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "11.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b285e7d183a32732fdc119f3d81b7915790191fad602b7c709ef247073c77a2e" [[package]] name = "substrate-frame-rpc-system" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fcee7812a1e1cec85e3095c5d1c1627ceb084c0c81e66c2f9df7cb7b3a5938f3" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -11497,8 +12820,9 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d8fe06b03b8a291c09507c42f92a2c2c10dd3d62975d02c7f64a92d87bfe09b" dependencies = [ "hyper", "log", @@ -11509,8 +12833,9 @@ dependencies = [ [[package]] name = "substrate-rpc-client" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9076480cc6f480429b081bf93607d32183bdac4d6f0d2969d5e08de08bea1701" dependencies = [ "async-trait", "jsonrpsee", @@ -11522,8 +12847,9 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "27.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c92c25dcb3e4aee5559c2bd9b4d105786220cad116719d7ebb39e4f359865d44" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -11539,8 +12865,9 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" -version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "17.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac08d23ff4da66fe6cb0300f249be010d78e5abeafef0390cae39736a374e6cd" dependencies = [ "ansi_term", "build-helper", @@ -11550,20 +12877,32 @@ dependencies = [ "sp-maybe-compressed-blob", "strum 0.24.1", "tempfile", - "toml 0.7.8", + "toml 0.8.10", "walkdir", "wasm-opt", ] [[package]] name = "subtle" -version = "2.4.1" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d67a5a62ba6e01cb2192ff309324cb4875d0c451d55fe2319433abe7a05a8ee" + +[[package]] +name = "subtle" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" + +[[package]] +name = "subtle-ng" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" +checksum = "734676eb262c623cec13c3155096e08d1f8f29adce39ba17948b18dad1e54142" [[package]] name = "support" -version = "2.4.2" +version = "2.5.0" dependencies = [ "frame-support", "parity-scale-codec", @@ -11583,9 +12922,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.41" +version = "2.0.52" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44c8b28c477cc3bf0e7966561e3460130e1255f7a1cf71931075f1c5e7a7e269" +checksum = "b699d15b36d1f02c3e7c69f8ffef53de37aefae075d8488d4ba1a7788d574a07" dependencies = [ "proc-macro2", "quote", @@ -11633,32 +12972,41 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "target-lexicon" -version = "0.12.12" +version = "0.12.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c39fd04924ca3a864207c66fc2cd7d22d7c016007f9ce846cbb9326331930a" +checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f" [[package]] name = "tempfile" -version = "3.8.1" +version = "3.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ef1adac450ad7f4b3c28589471ade84f25f731a7a0fe30d71dfa9f60fd808e5" +checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1" dependencies = [ "cfg-if", - "fastrand", - "redox_syscall 0.4.1", - "rustix 0.38.28", - "windows-sys 0.48.0", + "fastrand 2.0.1", + "rustix 0.38.31", + "windows-sys 0.52.0", ] [[package]] name = "termcolor" -version = "1.4.0" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff1bc3d3f05aff0403e8ac0d92ced918ec05b666a43f83297ccef5bea8a3d449" +checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" dependencies = [ "winapi-util", ] +[[package]] +name = "terminal_size" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7" +dependencies = [ + "rustix 0.38.31", + "windows-sys 0.48.0", +] + [[package]] name = "termtree" version = "0.4.1" @@ -11667,22 +13015,42 @@ checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" [[package]] name = "thiserror" -version = "1.0.51" +version = "1.0.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f11c217e1416d6f036b870f14e0413d480dbf28edbee1f877abaf0206af43bb7" +checksum = "1e45bcbe8ed29775f228095caf2cd67af7a4ccf756ebff23a306bf3e8b47b24b" dependencies = [ "thiserror-impl", ] +[[package]] +name = "thiserror-core" +version = "1.0.50" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c001ee18b7e5e3f62cbf58c7fe220119e68d902bb7443179c0c8aef30090e999" +dependencies = [ + "thiserror-core-impl", +] + +[[package]] +name = "thiserror-core-impl" +version = "1.0.50" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4c60d69f36615a077cc7663b9cb8e42275722d23e58a7fa3d2c7f2915d09d04" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.52", +] + [[package]] name = "thiserror-impl" -version = "1.0.51" +version = "1.0.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01742297787513b79cf8e29d1056ede1313e2420b7b3b15d0a768b4921f549df" +checksum = "a953cb265bef375dae3de6663da4d3804eee9682ea80d8e2542529b73c531c81" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] @@ -11693,9 +13061,9 @@ checksum = "3bf63baf9f5039dadc247375c29eb13706706cfde997d0330d05aa63a77d8820" [[package]] name = "thread_local" -version = "1.1.7" +version = "1.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152" +checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" dependencies = [ "cfg-if", "once_cell", @@ -11746,12 +13114,13 @@ dependencies = [ [[package]] name = "time" -version = "0.3.31" +version = "0.3.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f657ba42c3f86e7680e53c8cd3af8abbe56b5491790b46e22e19c0d57463583e" +checksum = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749" dependencies = [ "deranged", "itoa", + "num-conv", "powerfmt", "serde", "time-core", @@ -11766,32 +13135,14 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.16" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26197e33420244aeb70c3e8c78376ca46571bc4e701e4791c2cd9f57dcb3a43f" +checksum = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774" dependencies = [ + "num-conv", "time-core", ] -[[package]] -name = "tiny-bip39" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62cc94d358b5a1e84a5cb9109f559aa3c4d634d2b1b4de3d0fa4adc7c78e2861" -dependencies = [ - "anyhow", - "hmac 0.12.1", - "once_cell", - "pbkdf2 0.11.0", - "rand 0.8.5", - "rustc-hash", - "sha2 0.10.8", - "thiserror", - "unicode-normalization", - "wasm-bindgen", - "zeroize", -] - [[package]] name = "tiny-keccak" version = "2.0.2" @@ -11818,9 +13169,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.35.1" +version = "1.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c89b4efa943be685f629b149f53829423f8f5531ea21249408e8e2f8671ec104" +checksum = "61285f6515fa018fb2d1e46eb21223fff441ee8db5d0f1435e8ab4f5cdb80931" dependencies = [ "backtrace", "bytes", @@ -11830,7 +13181,7 @@ dependencies = [ "parking_lot 0.12.1", "pin-project-lite 0.2.13", "signal-hook-registry", - "socket2 0.5.5", + "socket2 0.5.6", "tokio-macros", "windows-sys 0.48.0", ] @@ -11843,7 +13194,7 @@ checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] @@ -11853,7 +13204,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f57eb36ecbe0fc510036adff84824dd3c24bb781e21bfa67b69d556aa85214f" dependencies = [ "pin-project", - "rand 0.8.5", + "rand", "tokio", ] @@ -11905,21 +13256,21 @@ dependencies = [ [[package]] name = "toml" -version = "0.7.8" +version = "0.8.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd79e69d3b627db300ff956027cc6c3798cef26d22526befdfcd12feeb6d2257" +checksum = "9a9aad4a3066010876e8dcf5a8a06e70a558751117a145c6ce2b82c2e2054290" dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.19.15", + "toml_edit 0.22.6", ] [[package]] name = "toml_datetime" -version = "0.6.3" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" +checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" dependencies = [ "serde", ] @@ -11930,22 +13281,44 @@ version = "0.19.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" dependencies = [ - "indexmap 2.1.0", - "serde", - "serde_spanned", + "indexmap 2.2.4", + "toml_datetime", + "winnow 0.5.40", +] + +[[package]] +name = "toml_edit" +version = "0.20.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70f427fce4d84c72b5b732388bf4a9f4531b53f74e2887e3ecb2481f68f66d81" +dependencies = [ + "indexmap 2.2.4", + "toml_datetime", + "winnow 0.5.40", +] + +[[package]] +name = "toml_edit" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" +dependencies = [ + "indexmap 2.2.4", "toml_datetime", - "winnow", + "winnow 0.5.40", ] [[package]] name = "toml_edit" -version = "0.20.2" +version = "0.22.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338" +checksum = "2c1b5fd4128cc8d3e0cb74d4ed9a9cc7c7284becd4df68f5f940e1ad123606f6" dependencies = [ - "indexmap 2.1.0", + "indexmap 2.2.4", + "serde", + "serde_spanned", "toml_datetime", - "winnow", + "winnow 0.6.3", ] [[package]] @@ -11965,7 +13338,7 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "61c5bb1d698276a2443e5ecfabc1008bf15a36c12e6a7176e7bf089ea9131140" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.4.2", "bytes", "futures-core", "futures-util", @@ -12009,7 +13382,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] @@ -12034,10 +13407,11 @@ dependencies = [ [[package]] name = "tracing-gum" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f134d9dda0e872989ddf57b90ca73bcad27f1fba2cc19cfada7b76549c590b0" dependencies = [ - "polkadot-node-jaeger", + "coarsetime", "polkadot-primitives", "tracing", "tracing-gum-proc-macro", @@ -12045,14 +13419,15 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f074568687ffdfd0adb6005aa8d1d96840197f2c159f80471285f08694cf0ce" dependencies = [ "expander 2.0.0", - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] @@ -12101,9 +13476,9 @@ dependencies = [ [[package]] name = "trie-db" -version = "0.27.1" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "767abe6ffed88a1889671a102c2861ae742726f52e0a5a425b92c9fbfa7e9c85" +checksum = "ff28e0f815c2fea41ebddf148e008b077d2faddb026c9555b29696114d602642" dependencies = [ "hash-db", "hashbrown 0.13.2", @@ -12137,7 +13512,7 @@ dependencies = [ "idna 0.2.3", "ipnet", "lazy_static", - "rand 0.8.5", + "rand", "smallvec", "socket2 0.4.10", "thiserror", @@ -12175,8 +13550,9 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "try-runtime-cli" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.38.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb82b8de45dabaaba00c8c7394f18c6f97dd0e27954d4de08b352a24886d8407" dependencies = [ "async-trait", "clap", @@ -12222,7 +13598,7 @@ checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ "cfg-if", "digest 0.10.7", - "rand 0.8.5", + "rand", "static_assertions", ] @@ -12252,9 +13628,9 @@ dependencies = [ [[package]] name = "unicode-bidi" -version = "0.3.14" +version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f2528f27a9eb2b21e69c95319b30bd0efd85d09c379741b0f78ea1d86be2416" +checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" [[package]] name = "unicode-ident" @@ -12290,7 +13666,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" dependencies = [ "crypto-common", - "subtle", + "subtle 2.5.0", ] [[package]] @@ -12358,6 +13734,36 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" +[[package]] +name = "w3f-bls" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7335e4c132c28cc43caef6adb339789e599e39adbe78da0c4d547fad48cbc331" +dependencies = [ + "ark-bls12-377", + "ark-bls12-381", + "ark-ec", + "ark-ff", + "ark-serialize", + "ark-serialize-derive", + "arrayref", + "constcat", + "digest 0.10.7", + "rand", + "rand_chacha 0.3.1", + "rand_core 0.6.4", + "sha2 0.10.8", + "sha3", + "thiserror", + "zeroize", +] + +[[package]] +name = "waker-fn" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3c4517f54858c779bbcbf228f4fca63d121bf85fbecb2dc578cdf4a39395690" + [[package]] name = "walkdir" version = "2.4.0" @@ -12389,11 +13795,20 @@ version = "0.11.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" +[[package]] +name = "wasix" +version = "0.12.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1fbb4ef9bbca0c1170e0b00dd28abc9e3b68669821600cad1caaed606583c6d" +dependencies = [ + "wasi 0.11.0+wasi-snapshot-preview1", +] + [[package]] name = "wasm-bindgen" -version = "0.2.89" +version = "0.2.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ed0d4f68a3015cc185aff4db9506a015f4b96f95303897bfa23f846db54064e" +checksum = "c1e124130aee3fb58c5bdd6b639a0509486b0338acaaae0c84a5124b0f588b7f" dependencies = [ "cfg-if", "wasm-bindgen-macro", @@ -12401,24 +13816,24 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.89" +version = "0.2.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b56f625e64f3a1084ded111c4d5f477df9f8c92df113852fa5a374dbda78826" +checksum = "c9e7e1900c352b609c8488ad12639a311045f40a35491fb69ba8c12f758af70b" dependencies = [ "bumpalo", "log", "once_cell", "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.39" +version = "0.4.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac36a15a220124ac510204aec1c3e5db8a22ab06fd6706d881dc6149f8ed9a12" +checksum = "877b9c3f61ceea0e56331985743b13f3d25c406a7098d45180fb5f09bc19ed97" dependencies = [ "cfg-if", "js-sys", @@ -12428,9 +13843,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.89" +version = "0.2.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0162dbf37223cd2afce98f3d0785506dcb8d266223983e4b5b525859e6e182b2" +checksum = "b30af9e2d358182b5c7449424f017eba305ed32a7010509ede96cdc4696c46ed" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -12438,22 +13853,22 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.89" +version = "0.2.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0eb82fcb7930ae6219a7ecfd55b217f5f0893484b7a13022ebb2b2bf20b5283" +checksum = "642f325be6301eb8107a83d12a8ac6c1e1c54345a7ef1a9261962dfefda09e66" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.89" +version = "0.2.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ab9b36309365056cd639da3134bf87fa8f3d86008abf99e612384a6eecd459f" +checksum = "4f186bd2dcf04330886ce82d6f33dd75a7bfcf69ecf5763b89fcde53b6ac9838" [[package]] name = "wasm-instrument" @@ -12475,9 +13890,9 @@ dependencies = [ [[package]] name = "wasm-opt" -version = "0.112.0" +version = "0.116.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87fef6d0d508f08334e0ab0e6877feb4c0ecb3956bcf2cb950699b22fedf3e9c" +checksum = "fc942673e7684671f0c5708fc18993569d184265fd5223bb51fc8e5b9b6cfd52" dependencies = [ "anyhow", "libc", @@ -12491,9 +13906,9 @@ dependencies = [ [[package]] name = "wasm-opt-cxx-sys" -version = "0.112.0" +version = "0.116.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc816bbc1596c8f2e8127e137a760c798023ef3d378f2ae51f0f1840e2dfa445" +checksum = "8c57b28207aa724318fcec6575fe74803c23f6f266fce10cbc9f3f116762f12e" dependencies = [ "anyhow", "cxx", @@ -12503,9 +13918,9 @@ dependencies = [ [[package]] name = "wasm-opt-sys" -version = "0.112.0" +version = "0.116.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40199e4f68ef1071b3c6d0bd8026a12b481865d4b9e49c156932ea9a6234dd14" +checksum = "8a1cce564dc768dacbdb718fc29df2dba80bd21cb47d8f77ae7e3d95ceb98cbe" dependencies = [ "anyhow", "cc", @@ -12530,11 +13945,10 @@ dependencies = [ [[package]] name = "wasmi" -version = "0.30.0" +version = "0.31.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51fb5c61993e71158abf5bb863df2674ca3ec39ed6471c64f07aeaf751d67b4" +checksum = "77a8281d1d660cdf54c76a3efa9ddd0c270cada1383a995db3ccb43d166456c7" dependencies = [ - "intx", "smallvec", "spin 0.9.8", "wasmi_arena", @@ -12544,15 +13958,15 @@ dependencies = [ [[package]] name = "wasmi_arena" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "401c1f35e413fac1846d4843745589d9ec678977ab35a384db8ae7830525d468" +checksum = "104a7f73be44570cac297b3035d76b169d6599637631cf37a1703326a0727073" [[package]] name = "wasmi_core" -version = "0.12.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "624e6333e861ef49095d2d678b76ebf30b06bf37effca845be7e5b87c90071b7" +checksum = "dcf1a7db34bff95b85c261002720c00c3a6168256dcb93041d3fa2054d19856a" dependencies = [ "downcast-rs", "libm", @@ -12623,7 +14037,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c86437fa68626fe896e5afc69234bb2b5894949083586535f200385adfd71213" dependencies = [ "anyhow", - "base64 0.21.5", + "base64 0.21.7", "bincode", "directories-next", "file-per-thread-logger", @@ -12752,9 +14166,9 @@ dependencies = [ "log", "mach", "memfd", - "memoffset 0.8.0", + "memoffset", "paste", - "rand 0.8.5", + "rand", "rustix 0.36.17", "wasmtime-asm-macros", "wasmtime-environ", @@ -12776,9 +14190,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.66" +version = "0.3.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50c24a44ec86bb68fbecd1b3efed7e85ea5621b39b35ef2766b66cd984f8010f" +checksum = "96565907687f7aceb35bc5fc03770a8a0471d82e479f25832f54a0e3f4b28446" dependencies = [ "js-sys", "wasm-bindgen", @@ -12790,7 +14204,7 @@ version = "0.22.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed63aea5ce73d0ff405984102c42de94fc55a6b75765d621c65262469b3c9b53" dependencies = [ - "ring 0.17.7", + "ring 0.17.8", "untrusted 0.9.0", ] @@ -12805,15 +14219,17 @@ dependencies = [ [[package]] name = "webpki-roots" -version = "0.25.3" +version = "0.25.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1778a42e8b3b90bff8d0f5032bf22250792889a5cdc752aa0020c84abe3aaf10" +checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1" [[package]] name = "westend-runtime" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "390ccc949904980061c181f0a1507ceb793f3b57f8f930ef60222839e08cb2ca" dependencies = [ + "binary-merkle-tree", "bitvec", "frame-benchmarking", "frame-election-provider-support", @@ -12823,14 +14239,18 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", - "hex-literal 0.4.1", + "hex-literal", "log", + "pallet-asset-rate", "pallet-authority-discovery", "pallet-authorship", "pallet-babe", "pallet-bags-list", "pallet-balances", + "pallet-beefy", + "pallet-beefy-mmr", "pallet-collective", + "pallet-conviction-voting", "pallet-democracy", "pallet-election-provider-multi-phase", "pallet-election-provider-support-benchmarking", @@ -12842,6 +14262,7 @@ dependencies = [ "pallet-indices", "pallet-membership", "pallet-message-queue", + "pallet-mmr", "pallet-multisig", "pallet-nomination-pools", "pallet-nomination-pools-benchmarking", @@ -12851,6 +14272,8 @@ dependencies = [ "pallet-preimage", "pallet-proxy", "pallet-recovery", + "pallet-referenda", + "pallet-root-testing", "pallet-scheduler", "pallet-session", "pallet-session-benchmarking", @@ -12866,10 +14289,11 @@ dependencies = [ "pallet-treasury", "pallet-utility", "pallet-vesting", + "pallet-whitelist", "pallet-xcm", "pallet-xcm-benchmarks", "parity-scale-codec", - "polkadot-parachain", + "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-runtime-common", "polkadot-runtime-parachains", @@ -12879,11 +14303,14 @@ dependencies = [ "serde_derive", "smallvec", "sp-api", + "sp-application-crypto", + "sp-arithmetic", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", "sp-core", + "sp-genesis-builder", "sp-inherents", "sp-io", "sp-mmr-primitives", @@ -12893,19 +14320,21 @@ dependencies = [ "sp-session", "sp-staking", "sp-std", + "sp-storage", "sp-transaction-pool", "sp-version", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", "substrate-wasm-builder", "westend-runtime-constants", - "xcm", - "xcm-builder", - "xcm-executor", ] [[package]] name = "westend-runtime-constants" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c410b8a17b87e5228f9c27ba4a8020e7ece4a8afb0f452b989834623afe84a2" dependencies = [ "frame-support", "polkadot-primitives", @@ -12914,6 +14343,8 @@ dependencies = [ "sp-core", "sp-runtime", "sp-weights", + "staging-xcm", + "staging-xcm-builder", ] [[package]] @@ -12925,14 +14356,14 @@ dependencies = [ "either", "home", "once_cell", - "rustix 0.38.28", + "rustix 0.38.31", ] [[package]] name = "wide" -version = "0.7.13" +version = "0.7.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c68938b57b33da363195412cfc5fc37c9ed49aa9cfe2156fde64b8d2c9498242" +checksum = "89beec544f246e679fc25490e3f8e08003bc4bf612068f325120dad4cea02c1c" dependencies = [ "bytemuck", "safe_arch", @@ -12981,7 +14412,7 @@ version = "0.51.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9" dependencies = [ - "windows-core", + "windows-core 0.51.1", "windows-targets 0.48.5", ] @@ -12994,6 +14425,15 @@ dependencies = [ "windows-targets 0.48.5", ] +[[package]] +name = "windows-core" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" +dependencies = [ + "windows-targets 0.52.4", +] + [[package]] name = "windows-sys" version = "0.45.0" @@ -13018,7 +14458,7 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" dependencies = [ - "windows-targets 0.52.0", + "windows-targets 0.52.4", ] [[package]] @@ -13053,17 +14493,17 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.52.0" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" +checksum = "7dd37b7e5ab9018759f893a1952c9420d060016fc19a472b4bb20d1bdd694d1b" dependencies = [ - "windows_aarch64_gnullvm 0.52.0", - "windows_aarch64_msvc 0.52.0", - "windows_i686_gnu 0.52.0", - "windows_i686_msvc 0.52.0", - "windows_x86_64_gnu 0.52.0", - "windows_x86_64_gnullvm 0.52.0", - "windows_x86_64_msvc 0.52.0", + "windows_aarch64_gnullvm 0.52.4", + "windows_aarch64_msvc 0.52.4", + "windows_i686_gnu 0.52.4", + "windows_i686_msvc 0.52.4", + "windows_x86_64_gnu 0.52.4", + "windows_x86_64_gnullvm 0.52.4", + "windows_x86_64_msvc 0.52.4", ] [[package]] @@ -13080,9 +14520,9 @@ checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" [[package]] name = "windows_aarch64_gnullvm" -version = "0.52.0" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" +checksum = "bcf46cf4c365c6f2d1cc93ce535f2c8b244591df96ceee75d8e83deb70a9cac9" [[package]] name = "windows_aarch64_msvc" @@ -13098,9 +14538,9 @@ checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" [[package]] name = "windows_aarch64_msvc" -version = "0.52.0" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" +checksum = "da9f259dd3bcf6990b55bffd094c4f7235817ba4ceebde8e6d11cd0c5633b675" [[package]] name = "windows_i686_gnu" @@ -13116,9 +14556,9 @@ checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" [[package]] name = "windows_i686_gnu" -version = "0.52.0" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" +checksum = "b474d8268f99e0995f25b9f095bc7434632601028cf86590aea5c8a5cb7801d3" [[package]] name = "windows_i686_msvc" @@ -13134,9 +14574,9 @@ checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" [[package]] name = "windows_i686_msvc" -version = "0.52.0" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" +checksum = "1515e9a29e5bed743cb4415a9ecf5dfca648ce85ee42e15873c3cd8610ff8e02" [[package]] name = "windows_x86_64_gnu" @@ -13152,9 +14592,9 @@ checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" [[package]] name = "windows_x86_64_gnu" -version = "0.52.0" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" +checksum = "5eee091590e89cc02ad514ffe3ead9eb6b660aedca2183455434b93546371a03" [[package]] name = "windows_x86_64_gnullvm" @@ -13170,9 +14610,9 @@ checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" [[package]] name = "windows_x86_64_gnullvm" -version = "0.52.0" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" +checksum = "77ca79f2451b49fa9e2af39f0747fe999fcda4f5e241b2898624dca97a1f2177" [[package]] name = "windows_x86_64_msvc" @@ -13188,15 +14628,24 @@ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" [[package]] name = "windows_x86_64_msvc" -version = "0.52.0" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32b752e52a2da0ddfbdbcc6fceadfeede4c939ed16d13e648833a61dfb611ed8" + +[[package]] +name = "winnow" +version = "0.5.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" +checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" +dependencies = [ + "memchr", +] [[package]] name = "winnow" -version = "0.5.30" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b5c3db89721d50d0e2a673f5043fc4722f76dcc352d7b1ab8b8288bed4ed2c5" +checksum = "44e19b97e00a4d3db3cdb9b53c8c5f87151b5689b82cc86c2848cbdcccb2689b" dependencies = [ "memchr", ] @@ -13231,6 +14680,18 @@ dependencies = [ "zeroize", ] +[[package]] +name = "x25519-dalek" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277" +dependencies = [ + "curve25519-dalek 4.1.2", + "rand_core 0.6.4", + "serde", + "zeroize", +] + [[package]] name = "x509-parser" version = "0.14.0" @@ -13249,73 +14710,16 @@ dependencies = [ "time", ] -[[package]] -name = "xcm" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" -dependencies = [ - "bounded-collections", - "derivative", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-weights", - "xcm-procedural", -] - -[[package]] -name = "xcm-builder" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" -dependencies = [ - "frame-support", - "frame-system", - "impl-trait-for-tuples", - "log", - "pallet-transaction-payment", - "parity-scale-codec", - "polkadot-parachain", - "scale-info", - "sp-arithmetic", - "sp-io", - "sp-runtime", - "sp-std", - "sp-weights", - "xcm", - "xcm-executor", -] - -[[package]] -name = "xcm-executor" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" -dependencies = [ - "environmental", - "frame-benchmarking", - "frame-support", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-weights", - "xcm", -] - [[package]] name = "xcm-procedural" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7998facd751c42ec9b11a4cf71fcdb41fb147c5c8db8bcd1281fe84f8760d515" dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] @@ -13328,7 +14732,7 @@ dependencies = [ "log", "nohash-hasher", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "static_assertions", ] @@ -13343,22 +14747,22 @@ dependencies = [ [[package]] name = "zerocopy" -version = "0.7.31" +version = "0.7.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c4061bedbb353041c12f413700357bec76df2c7e2ca8e4df8bac24c6bf68e3d" +checksum = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.7.31" +version = "0.7.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3c129550b3e6de3fd0ba67ba5c81818f9805e58b8d7fee80a3a59d2c9fc601a" +checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] @@ -13378,7 +14782,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.52", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index c5e4838df6d..38c4b43b54f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,141 @@ members = ["node", "pallets/*", "primitives", "runtimes/*", "support"] resolver = "1" +[workspace.package] +version= "2.5.0" +authors = ["Nodle Developers "] +edition = "2021" + [profile.release] # Substrate runtime requires unwind apparently, and anyways it gives more useful # panic messages which can be useful for troubleshooting purposes panic = "unwind" + +[workspace.dependencies] +#Polkadot-SDK +cumulus-client-cli = { version = "0.7.0", default-features = false } +cumulus-client-collator = { version = "0.7.0", default-features = false } +cumulus-client-consensus-aura = { version = "0.7.0", default-features = false } +cumulus-client-consensus-common = { version = "0.7.0", default-features = false } +cumulus-client-service = { version = "0.7.0", default-features = false } +cumulus-pallet-aura-ext = { version = "0.7.0", default-features = false } +cumulus-pallet-dmp-queue = { version = "0.7.0", default-features = false } +cumulus-pallet-parachain-system = { version = "0.7.0", default-features = false } +cumulus-pallet-xcm = { version = "0.7.0", default-features = false } +cumulus-pallet-xcmp-queue = { version = "0.7.0", default-features = false } +cumulus-primitives-core = { version = "0.7.0", default-features = false } +cumulus-primitives-parachain-inherent = { version = "0.7.0", default-features = false } +cumulus-primitives-timestamp = { version = "0.7.0", default-features = false } +cumulus-primitives-utility = { version = "0.7.0", default-features = false } +cumulus-client-consensus-proposer = { version = "0.7.0", default-features = false} +cumulus-relay-chain-inprocess-interface = { version = "0.7.0", default-features = false } +cumulus-relay-chain-interface = { version = "0.7.0", default-features = false } +cumulus-relay-chain-rpc-interface = { version = "0.7.0", default-features = false } +frame-benchmarking-cli = { version = "32.0.0", default-features = false } +frame-benchmarking = { version = "28.0.0", default-features = false } +frame-executive = { version = "28.0.0", default-features = false } +frame-rpc-system = { package = "substrate-frame-rpc-system", version = "28.0.0", default-features = false } +frame-support = { version = "28.0.0", default-features = false } +frame-system-benchmarking = { version = "28.0.0", default-features = false } +frame-system = { version = "28.0.0", default-features = false } +frame-system-rpc-runtime-api = { version = "26.0.0", default-features = false } +frame-try-runtime = { version = "0.34.0", default-features = false } +pallet-aura = { version = "27.0.0", default-features = false } +pallet-authority-discovery = { version = "28.0.0", default-features = false } +pallet-authorship = { version = "28.0.0", default-features = false } +pallet-balances = { version = "28.0.0", default-features = false } +pallet-collator-selection = { version = "9.0.0", default-features = false } +pallet-collective = { version = "28.0.0", default-features = false } +pallet-contracts = { version = "27.0.0", default-features = false } +pallet-identity = { version = "28.0.0", default-features = false } +pallet-im-online = { version = "27.0.0", default-features = false } +pallet-insecure-randomness-collective-flip = { version = "16.0.0", default-features = false } +pallet-membership = { version = "28.0.0", default-features = false } +pallet-message-queue = { version = "31.0.0", default-features = false } +pallet-multisig = { version = "28.0.0", default-features = false } +pallet-offences = { version = "27.0.0", default-features = false } +pallet-preimage = { version = "28.0.0", default-features = false } +pallet-proxy = { version = "28.0.0", default-features = false } +pallet-scheduler = { version = "29.0.0", default-features = false } +pallet-session = { version = "28.0.0", default-features = false } +pallet-timestamp = { version = "27.0.0", default-features = false } +pallet-transaction-payment = { version = "28.0.0", default-features = false } +pallet-transaction-payment-rpc = { version = "30.0.0", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { version = "28.0.0", default-features = false } +pallet-uniques = { version = "28.0.0", default-features = false } +pallet-utility = { version = "28.0.0", default-features = false } +pallet-xcm-benchmarks = { version = "7.0.0", default-features = false } +pallet-xcm = { version = "7.0.0", default-features = false } +parachain-info = { package = "staging-parachain-info", version = "0.7.0", default-features = false } +parachains-common = { version = "7.0.0", default-features = false } +polkadot-cli = { version = "7.0.0", default-features = false } +polkadot-parachain-primitives = { version = "6.0.0", default-features = false } +polkadot-primitives = { version = "7.0.0", default-features = false } +polkadot-runtime-common = { version = "7.0.0", default-features = false } +polkadot-service = { version = "7.0.0", default-features = false } +sc-basic-authorship = { version = "0.34.0", default-features = false } +sc-chain-spec = { version = "27.0.0", default-features = false } +sc-client-api = { version = "28.0.0", default-features = false } +sc-cli = { version = "0.36.0", default-features = false } +sc-consensus = { version = "0.33.0", default-features = false } +sc-executor = { version = "0.32.0", default-features = false } +sc-keystore = { version = "25.0.0", default-features = false } +sc-network = { version = "0.34.0", default-features = false } +sc-network-sync = { version = "0.33.0", default-features = false } +sc-rpc-api = { version = "0.33.0", default-features = false } +sc-rpc = { version = "29.0.0", default-features = false } +sc-service = { version = "0.35.0", default-features = false } +sc-sysinfo = { version = "27.0.0", default-features = false } +sc-telemetry = { version = "15.0.0", default-features = false } +sc-tracing = { version = "28.0.0", default-features = false } +sc-transaction-pool-api = { version = "28.0.0", default-features = false } +sc-transaction-pool = { version = "28.0.0", default-features = false } +sp-api = { version = "26.0.0", default-features = false } +sp-application-crypto = { version = "30.0.0", default-features = false } +sp-arithmetic = { version = "23.0.0", default-features = false } +sp-block-builder = { version = "26.0.0", default-features = false } +sp-blockchain = { version = "28.0.0", default-features = false } +sp-consensus-aura = { version = "0.32.0", default-features = false } +sp-consensus-babe = { version = "0.32.0", default-features = false } +sp-consensus = { version = "0.32.0", default-features = false } +sp-core = { version = "28.0.0", default-features = false } +sp-inherents = { version = "26.0.0", default-features = false } +sp-io = { version = "30.0.0", default-features = false } +sp-keystore = { version = "0.34.0", default-features = false } +sp-npos-elections = { version = "26.0.0", default-features = false } +sp-offchain = { version = "26.0.0", default-features = false } +sp-runtime = { version = "31.0.0", default-features = false } +sp-session = { version = "27.0.0", default-features = false } +sp-staking = { version = "26.0.0", default-features = false } +sp-state-machine = { version = "0.35.0", default-features = false } +sp-std = { version = "14.0.0", default-features = false } +sp-storage = { version = "19.0.0", default-features = false } +sp-timestamp = { version = "26.0.0", default-features = false } +sp-tracing = { version = "16.0.0", default-features = false } +sp-transaction-pool = { version = "26.0.0", default-features = false } +sp-version = { version = "29.0.0", default-features = false } +substrate-build-script-utils = { version = "11.0.0", default-features = false } +substrate-prometheus-endpoint = { version = "0.17.0", default-features = false } +substrate-wasm-builder = { version = "17.0.0", default-features = false } +xcm-builder = { package="staging-xcm-builder", version = "7.0.0", default-features = false } +xcm-executor = { package="staging-xcm-executor", version = "7.0.0", default-features = false } +xcm = { package = "staging-xcm", version = "7.0.0", default-features = false} + +#ORML +orml-xtokens = { version = "0.7.0", default-features = false } +orml-traits = { version = "0.7.0", default-features = false } + +#Crates +clap = { version = "4.1.8", features = ["derive"] } +codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false} +derive_more = "0.99.2" +getrandom = { version = "0.2", features = ["js"] } +hex-literal = { version = "0.4.1" } +jsonrpsee = { version = "0.16.2", features = ["server"] } +lazy_static = {version = "1.4.0", default-features = false, features = ["spin_no_std"] } +log = { version = "0.4.17", default-features = false } +safe-mix = { version = "1.0.1", default-features = false } +scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } +serde = { version = "1.0.152", default-features = false } +static_assertions = "1.1.0" +smallvec = "1.9.0" diff --git a/README.md b/README.md index 47fab12fa61..317f5d449f8 100644 --- a/README.md +++ b/README.md @@ -45,5 +45,6 @@ cargo build --release -p nodle-parachain && polkadot-launch launch.json ## With docker -1. Build the image: `docker build -t nodle/chain -f .maintain/docker/Dockerfile .`. -2. Run it: `docker run -v /path/to/local/repertory:/data -p 9944:9944 -it nodle/chain`. +1. Build the image: `docker build -t nodle/chain -f ./Dockerfile .`. +2. Run it: + `docker run -v ~/.local/path_to_parachain_data_dir:/data -p 9944:9944 -p 9933:9933 -p30333:30333 -it nodle/chain --chain=eden-testing --base-path=/data --rpc-methods=safe --rpc-cors all --rpc-external -- --rpc-external`. diff --git a/node/Cargo.toml b/node/Cargo.toml index fd2cc533b36..11cf91789b4 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -1,15 +1,15 @@ [package] -authors = ["Nodle ", "Parity Technologies "] +authors.workspace = true build = "build.rs" -edition = "2021" +edition.workspace = true name = "nodle-parachain" -version = "2.4.2" +version.workspace = true [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [build-dependencies] -substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } +substrate-build-script-utils.workspace = true [[bin]] name = "nodle-parachain" @@ -22,81 +22,83 @@ runtime-benchmarks = [ ] [dependencies] -clap = { version = "4.1.8", features = ["derive"] } -derive_more = "0.99.2" -log = "0.4.17" -codec = { package = "parity-scale-codec", version = "3.0.0" } -serde = { version = "1.0.152", features = ["derive"] } +clap = { workspace = true, features = ["derive"] } +derive_more.workspace = true +log = { workspace = true, default-features = true} +codec.workspace = true +serde = { workspace = true, features = ["derive"] } # RPC related Dependencies -jsonrpsee = { version = "0.16.2", features = ["server"] } +jsonrpsee = { workspace = true, features = ["server"] } # Local Dependencies runtime-eden = { path = "../runtimes/eden" } -primitives = { version = "2.0.17", path = "../primitives" } +primitives = { path = "../primitives" } # Substrate Dependencies -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } +frame-benchmarking.workspace = true +frame-benchmarking-cli.workspace = true -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } +pallet-transaction-payment-rpc.workspace = true -frame-rpc-system = { package = "substrate-frame-rpc-system", git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } +frame-rpc-system.workspace = true +substrate-prometheus-endpoint.workspace = true ## Substrate Client Dependencies -sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-network-sync = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-sysinfo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } +sc-basic-authorship.workspace = true +sc-chain-spec.workspace = true +sc-cli.workspace = true +sc-client-api.workspace = true +sc-consensus.workspace = true +sc-executor.workspace = true +sc-keystore.workspace = true +sc-network.workspace = true +sc-network-sync.workspace = true +sc-rpc.workspace = true +sc-rpc-api.workspace = true +sc-service.workspace = true +sc-telemetry.workspace = true +sc-transaction-pool.workspace = true +sc-transaction-pool-api.workspace = true +sc-tracing.workspace = true +sc-sysinfo.workspace = true ## Substrate Primitive Dependencies -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } +sp-io.workspace = true +sp-api.workspace = true +sp-block-builder.workspace = true +sp-blockchain.workspace = true +sp-consensus.workspace = true +sp-consensus-aura.workspace = true +sp-core.workspace = true +sp-inherents.workspace = true +sp-keystore.workspace = true +sp-offchain.workspace = true +sp-runtime.workspace = true +sp-session.workspace = true +sp-timestamp.workspace = true +sp-transaction-pool.workspace = true +sp-state-machine.workspace = true # Cumulus dependencies -cumulus-client-cli = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0" } -cumulus-client-collator = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0" } -cumulus-client-consensus-aura = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0" } -cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0" } -cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0" } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0" } -cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0" } -cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0" } -cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0" } +cumulus-client-cli.workspace = true +cumulus-client-collator.workspace = true +cumulus-client-consensus-aura.workspace = true +cumulus-client-consensus-common.workspace = true +cumulus-client-consensus-proposer.workspace = true +cumulus-client-service.workspace = true +cumulus-primitives-core.workspace = true +cumulus-primitives-parachain-inherent.workspace = true +cumulus-relay-chain-inprocess-interface.workspace = true +cumulus-relay-chain-interface.workspace = true +cumulus-relay-chain-rpc-interface.workspace = true # Polkadot dependencies -polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "release-v1.0.0" } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v1.0.0" } -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v1.0.0" } -polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v1.0.0" } -xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v1.0.0" } +polkadot-cli.workspace = true +polkadot-parachain-primitives.workspace = true +polkadot-primitives.workspace = true +polkadot-service.workspace = true +xcm = { workspace = true, default-features = false} [dev-dependencies] -hex-literal = "0.3.4" +hex-literal = {workspace = true } diff --git a/node/src/chain_spec.rs b/node/src/chain_spec.rs index 7926e2f743a..1a763266a56 100644 --- a/node/src/chain_spec.rs +++ b/node/src/chain_spec.rs @@ -114,9 +114,6 @@ fn eden_testnet_genesis( RuntimeGenesisConfig { // Core system: SystemConfig { - code: WASM_BINARY - .expect("WASM binary was not build, please build it!") - .to_vec(), _config: Default::default(), }, balances: BalancesConfig { @@ -215,6 +212,7 @@ pub fn development_config(id: ParaId) -> ChainSpec { relay_chain: "rococo-local".into(), // You MUST set this to the correct network! para_id: id.into(), }, + WASM_BINARY.expect("WASM binary was not build, please build it!"), ) } @@ -230,18 +228,6 @@ fn local_config_genesis(id: ParaId) -> RuntimeGenesisConfig { get_account_id_from_seed::("Bob"), get_collator_keys_from_seed("Bob"), ), - ( - get_account_id_from_seed::("Charlie"), - get_collator_keys_from_seed("Charlie"), - ), - ( - get_account_id_from_seed::("Dave"), - get_collator_keys_from_seed("Dave"), - ), - ( - get_account_id_from_seed::("Eve"), - get_collator_keys_from_seed("Eve"), - ), ], None, id, @@ -277,6 +263,7 @@ pub fn local_testnet_config(id: ParaId) -> ChainSpec { relay_chain: "westend".into(), // You MUST set this to the correct network! para_id: id.into(), }, + WASM_BINARY.expect("WASM binary was not build, please build it!"), ) } diff --git a/node/src/cli.rs b/node/src/cli.rs index 55dc08c08c3..a9be439fa62 100644 --- a/node/src/cli.rs +++ b/node/src/cli.rs @@ -50,7 +50,7 @@ pub enum Subcommand { PurgeChain(cumulus_client_cli::PurgeChainCmd), /// Export the genesis state of the parachain. - ExportGenesisState(cumulus_client_cli::ExportGenesisStateCommand), + ExportGenesisHead(cumulus_client_cli::ExportGenesisHeadCommand), /// Export the genesis wasm of the parachain. ExportGenesisWasm(cumulus_client_cli::ExportGenesisWasmCommand), diff --git a/node/src/command.rs b/node/src/command.rs index d7181b6830b..4884b4c3293 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -15,10 +15,16 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ +use crate::{ + chain_spec, + cli::{Cli, RelayChainCli, Subcommand}, + service::new_partial, +}; use cumulus_primitives_core::ParaId; use frame_benchmarking_cli::{BenchmarkCmd, SUBSTRATE_REFERENCE_HARDWARE}; use log::info; -use runtime_eden::{Block, RuntimeApi}; +use runtime_eden::Block; + use sc_cli::{ ChainSpec, CliConfiguration, DefaultConfigurationValues, ImportParams, KeystoreParams, NetworkParams, Result, SharedParams, SubstrateCli, @@ -26,13 +32,6 @@ use sc_cli::{ use sc_service::config::{BasePath, PrometheusConfig}; use sp_runtime::traits::AccountIdConversion; use std::net::SocketAddr; - -use crate::{ - chain_spec, - cli::{Cli, RelayChainCli, Subcommand}, - service::{new_partial, parachain_build_import_queue}, -}; - // default to Nodle parachain id const DEFAULT_PARA_ID: u32 = 2026; @@ -118,13 +117,7 @@ macro_rules! construct_async_run { (|$components:ident, $cli:ident, $cmd:ident, $config:ident| $( $code:tt )* ) => {{ let runner = $cli.create_runner($cmd)?; runner.async_run(|$config| { - let $components = new_partial::< - RuntimeApi, - _ - >( - &$config, - parachain_build_import_queue, - )?; + let $components = new_partial(&$config)?; let task_manager = $components.task_manager; { $( $code )* }.map(|v| (v, task_manager)) }) @@ -179,12 +172,9 @@ pub fn run() -> Result<()> { cmd.run(config, polkadot_config) }) } - Some(Subcommand::ExportGenesisState(cmd)) => { + Some(Subcommand::ExportGenesisHead(cmd)) => { let runner = cli.create_runner(cmd)?; - runner.sync_run(|config| { - let partials = new_partial(&config, parachain_build_import_queue)?; - cmd.run(&*config.chain_spec, &*partials.client) - }) + runner.sync_run(|config| cmd.run(new_partial(&config)?.client)) } Some(Subcommand::ExportGenesisWasm(cmd)) => { let runner = cli.create_runner(cmd)?; @@ -209,7 +199,7 @@ pub fn run() -> Result<()> { } } BenchmarkCmd::Block(cmd) => runner.sync_run(|config| { - let partials = new_partial::(&config, parachain_build_import_queue)?; + let partials = new_partial(&config)?; cmd.run(partials.client) }), #[cfg(not(feature = "runtime-benchmarks"))] @@ -220,7 +210,7 @@ pub fn run() -> Result<()> { )), #[cfg(feature = "runtime-benchmarks")] BenchmarkCmd::Storage(cmd) => runner.sync_run(|config| { - let partials = new_partial::(&config, parachain_build_import_queue)?; + let partials = new_partial(&config)?; let db = partials.backend.expose_db(); let storage = partials.backend.expose_storage(); @@ -292,6 +282,10 @@ impl DefaultConfigurationValues for RelayChainCli { fn prometheus_listen_port() -> u16 { 9616 } + + fn rpc_listen_port() -> u16 { + 9933 + } } impl CliConfiguration for RelayChainCli { diff --git a/node/src/service.rs b/node/src/service.rs index b658a2e3aac..bb918399bba 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -21,89 +21,71 @@ // std use std::{sync::Arc, time::Duration}; -// rpc -use jsonrpsee::RpcModule; +use cumulus_client_cli::CollatorOptions; +// Local Runtime Types +use runtime_eden::RuntimeApi; -pub use primitives::{AccountId, Balance, Block, Nonce}; +use polkadot_primitives::{Block, Hash}; // Cumulus Imports -use cumulus_client_consensus_aura::{AuraConsensus, BuildAuraConsensusParams, SlotProportion}; -use cumulus_client_consensus_common::{ParachainBlockImport as TParachainBlockImport, ParachainConsensus}; +use cumulus_client_collator::service::CollatorService; +use cumulus_client_consensus_common::ParachainBlockImport as TParachainBlockImport; +use cumulus_client_consensus_proposer::Proposer; use cumulus_client_service::{ - build_network, build_relay_chain_interface, prepare_node_config, start_collator, start_full_node, - BuildNetworkParams, StartCollatorParams, StartFullNodeParams, + build_network, build_relay_chain_interface, prepare_node_config, start_relay_chain_tasks, BuildNetworkParams, + CollatorSybilResistance, DARecoveryProfile, StartRelayChainTasksParams, }; -use cumulus_primitives_core::ParaId; - -use cumulus_client_cli::CollatorOptions; -use cumulus_relay_chain_interface::RelayChainInterface; +use cumulus_primitives_core::{relay_chain::CollatorPair, ParaId}; +use cumulus_relay_chain_interface::{OverseerHandle, RelayChainInterface}; // Substrate Imports + use sc_consensus::ImportQueue; -use sc_executor::WasmExecutor; +use sc_executor::{HeapAllocStrategy, WasmExecutor, DEFAULT_HEAP_ALLOC_STRATEGY}; use sc_network::NetworkBlock; use sc_network_sync::SyncingService; use sc_service::{Configuration, PartialComponents, TFullBackend, TFullClient, TaskManager}; use sc_telemetry::{Telemetry, TelemetryHandle, TelemetryWorker, TelemetryWorkerHandle}; -use sp_api::ConstructRuntimeApi; + use sp_keystore::KeystorePtr; -use sp_runtime::traits::BlakeTwo256; use substrate_prometheus_endpoint::Registry; +#[cfg(not(feature = "runtime-benchmarks"))] +type HostFunctions = ( + sp_io::SubstrateHostFunctions, + cumulus_client_service::storage_proof_size::HostFunctions, +); + #[cfg(feature = "runtime-benchmarks")] type HostFunctions = ( sp_io::SubstrateHostFunctions, + cumulus_client_service::storage_proof_size::HostFunctions, frame_benchmarking::benchmarking::HostFunctions, ); -#[cfg(not(feature = "runtime-benchmarks"))] -type HostFunctions = sp_io::SubstrateHostFunctions; -type ParachainClient = TFullClient>; +type ParachainClient = TFullClient>; type ParachainBackend = TFullBackend; -type ParachainBlockImport = - TParachainBlockImport>, ParachainBackend>; +type ParachainBlockImport = TParachainBlockImport, ParachainBackend>; /// Starts a `ServiceBuilder` for a full service. /// /// Use this macro if you don't actually need the full service, but just the builder in order to /// be able to perform chain operations. -pub fn new_partial( +pub fn new_partial( config: &Configuration, - build_import_queue: BIQ, ) -> Result< PartialComponents< - ParachainClient, + ParachainClient, ParachainBackend, (), - sc_consensus::DefaultImportQueue>, - sc_transaction_pool::FullPool>, - ( - ParachainBlockImport, - Option, - Option, - ), + sc_consensus::DefaultImportQueue, + sc_transaction_pool::FullPool, + (ParachainBlockImport, Option, Option), >, sc_service::Error, -> -where - RuntimeApi: ConstructRuntimeApi> + Send + Sync + 'static, - RuntimeApi::RuntimeApi: sp_transaction_pool::runtime_api::TaggedTransactionQueue - + sp_api::Metadata - + sp_session::SessionKeys - + sp_api::ApiExt> - + sp_offchain::OffchainWorkerApi - + sp_block_builder::BlockBuilder, - sc_client_api::StateBackendFor: sp_api::StateBackend, - BIQ: FnOnce( - Arc>, - ParachainBlockImport, - &Configuration, - Option, - &TaskManager, - ) -> Result>, sc_service::Error>, -{ +> { let telemetry = config .telemetry_endpoints .clone() @@ -114,14 +96,20 @@ where Ok((worker, telemetry)) }) .transpose()?; - #[allow(deprecated)] - let executor = sc_executor::WasmExecutor::::new( - config.wasm_method, - config.default_heap_pages, - config.max_runtime_instances, - None, - config.runtime_cache_size, - ); + + let heap_pages = config + .default_heap_pages + .map_or(DEFAULT_HEAP_ALLOC_STRATEGY, |h| HeapAllocStrategy::Static { + extra_pages: h as _, + }); + + let executor = sc_executor::WasmExecutor::::builder() + .with_execution_method(config.wasm_method) + .with_max_runtime_instances(config.max_runtime_instances) + .with_runtime_cache_size(config.runtime_cache_size) + .with_onchain_heap_alloc_strategy(heap_pages) + .with_offchain_heap_alloc_strategy(heap_pages) + .build(); let (client, backend, keystore_container, task_manager) = sc_service::new_full_parts::( config, @@ -155,7 +143,7 @@ where &task_manager, )?; - let params = PartialComponents { + Ok(PartialComponents { backend, client, import_queue, @@ -164,60 +152,25 @@ where transaction_pool, select_chain: (), other: (block_import, telemetry, telemetry_worker_handle), - }; - - Ok(params) + }) } -#[allow(clippy::too_many_arguments)] +/// Start a node with the given parachain `Configuration` and relay chain `Configuration`. +/// +/// This is the actual implementation that is abstract over the executor and the runtime api. #[sc_tracing::logging::prefix_logs_with("Parachain")] -async fn start_node_impl( +async fn start_node_impl( parachain_config: Configuration, polkadot_config: Configuration, collator_options: CollatorOptions, para_id: ParaId, - _rpc_ext_builder: RB, - build_import_queue: BIQ, - build_consensus: BIC, hwbench: Option, -) -> sc_service::error::Result<(TaskManager, Arc>)> -where - RuntimeApi: ConstructRuntimeApi> + Send + Sync + 'static, - RuntimeApi::RuntimeApi: sp_transaction_pool::runtime_api::TaggedTransactionQueue - + sp_api::Metadata - + sp_session::SessionKeys - + sp_api::ApiExt> - + sp_offchain::OffchainWorkerApi - + sp_block_builder::BlockBuilder - + cumulus_primitives_core::CollectCollationInfo - + pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi - + frame_rpc_system::AccountNonceApi, - sc_client_api::StateBackendFor: sp_api::StateBackend, - RB: Fn(Arc>) -> Result, sc_service::Error>, - BIQ: FnOnce( - Arc>, - ParachainBlockImport, - &Configuration, - Option, - &TaskManager, - ) -> Result>, sc_service::Error>, - BIC: FnOnce( - Arc>, - ParachainBlockImport, - Option<&Registry>, - Option, - &TaskManager, - Arc, - Arc>>, - Arc>, - KeystorePtr, - bool, - ) -> Result>, sc_service::Error>, -{ +) -> sc_service::error::Result<(TaskManager, Arc)> { let parachain_config = prepare_node_config(parachain_config); - let params = new_partial::(¶chain_config, build_import_queue)?; + let params = new_partial(¶chain_config)?; let (block_import, mut telemetry, telemetry_worker_handle) = params.other; + let net_config = sc_network::config::FullNetworkConfiguration::new(¶chain_config.network); let client = params.client.clone(); let backend = params.backend.clone(); @@ -234,23 +187,21 @@ where .await .map_err(|e| sc_service::Error::Application(Box::new(e) as Box<_>))?; - let force_authoring = parachain_config.force_authoring; let validator = parachain_config.role.is_authority(); let prometheus_registry = parachain_config.prometheus_registry().cloned(); let transaction_pool = params.transaction_pool.clone(); let import_queue_service = params.import_queue.service(); - let net_config = sc_network::config::FullNetworkConfiguration::new(¶chain_config.network); - let (network, system_rpc_tx, tx_handler_controller, start_network, sync_service) = build_network(BuildNetworkParams { parachain_config: ¶chain_config, + net_config, client: client.clone(), transaction_pool: transaction_pool.clone(), para_id, spawn_handle: task_manager.spawn_handle(), relay_chain_interface: relay_chain_interface.clone(), import_queue: params.import_queue, - net_config, + sybil_resistance_level: CollatorSybilResistance::Resistant, // because of Aura }) .await?; @@ -276,7 +227,7 @@ where task_manager: &mut task_manager, config: parachain_config, keystore: params.keystore_container.keystore(), - backend: backend.clone(), + backend, network: network.clone(), sync_service: sync_service.clone(), system_rpc_tx, @@ -311,8 +262,25 @@ where .overseer_handle() .map_err(|e| sc_service::Error::Application(Box::new(e)))?; + start_relay_chain_tasks(StartRelayChainTasksParams { + client: client.clone(), + announce_block: announce_block.clone(), + para_id, + relay_chain_interface: relay_chain_interface.clone(), + task_manager: &mut task_manager, + da_recovery_profile: if validator { + DARecoveryProfile::Collator + } else { + DARecoveryProfile::FullNode + }, + import_queue: import_queue_service, + relay_chain_slot_duration, + recovery_handle: Box::new(overseer_handle.clone()), + sync_service: sync_service.clone(), + })?; + if validator { - let parachain_consensus = build_consensus( + start_consensus( client.clone(), block_import, prometheus_registry.as_ref(), @@ -322,42 +290,12 @@ where transaction_pool, sync_service.clone(), params.keystore_container.keystore(), - force_authoring, - )?; - - let spawner = task_manager.spawn_handle(); - - let params = StartCollatorParams { - para_id, - block_status: client.clone(), - announce_block, - client: client.clone(), - task_manager: &mut task_manager, - relay_chain_interface, - spawner, - parachain_consensus, - import_queue: import_queue_service, - collator_key: collator_key.expect("Command line arguments do not allow this. qed"), relay_chain_slot_duration, - recovery_handle: Box::new(overseer_handle), - sync_service: sync_service.clone(), - }; - - start_collator(params).await?; - } else { - let params = StartFullNodeParams { - client: client.clone(), - announce_block, - task_manager: &mut task_manager, para_id, - relay_chain_interface, - relay_chain_slot_duration, - import_queue: import_queue_service, - recovery_handle: Box::new(overseer_handle), - sync_service: sync_service.clone(), - }; - - start_full_node(params)?; + collator_key.expect("Command line arguments do not allow this. qed"), + overseer_handle, + announce_block, + )?; } start_network.start_network(); @@ -366,36 +304,101 @@ where } /// Build the import queue for the parachain runtime. -#[allow(clippy::type_complexity)] -pub fn parachain_build_import_queue( - client: Arc>, - block_import: ParachainBlockImport, +fn build_import_queue( + client: Arc, + block_import: ParachainBlockImport, config: &Configuration, telemetry: Option, task_manager: &TaskManager, -) -> Result>, sc_service::Error> { +) -> Result, sc_service::Error> { let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; - cumulus_client_consensus_aura::import_queue::( - cumulus_client_consensus_aura::ImportQueueParams { - block_import, + Ok( + cumulus_client_consensus_aura::equivocation_import_queue::fully_verifying_import_queue::< + sp_consensus_aura::sr25519::AuthorityPair, + _, + _, + _, + _, + >( client, - create_inherent_data_providers: move |_, _| async move { + block_import, + move |_, _| async move { let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); - - let slot = sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_slot_duration( - *timestamp, - slot_duration, - ); - - Ok((slot, timestamp)) + Ok(timestamp) }, - registry: config.prometheus_registry(), - spawner: &task_manager.spawn_essential_handle(), + slot_duration, + &task_manager.spawn_essential_handle(), + config.prometheus_registry(), telemetry, - }, + ), ) - .map_err(Into::into) +} + +#[allow(clippy::too_many_arguments)] +fn start_consensus( + client: Arc, + block_import: ParachainBlockImport, + prometheus_registry: Option<&Registry>, + telemetry: Option, + task_manager: &TaskManager, + relay_chain_interface: Arc, + transaction_pool: Arc>, + sync_oracle: Arc>, + keystore: KeystorePtr, + relay_chain_slot_duration: Duration, + para_id: ParaId, + collator_key: CollatorPair, + overseer_handle: OverseerHandle, + announce_block: Arc>) + Send + Sync>, +) -> Result<(), sc_service::Error> { + use cumulus_client_consensus_aura::collators::basic::{self as basic_aura, Params as BasicAuraParams}; + + // NOTE: because we use Aura here explicitly, we can use `CollatorSybilResistance::Resistant` + // when starting the network. + + let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; + + let proposer_factory = sc_basic_authorship::ProposerFactory::with_proof_recording( + task_manager.spawn_handle(), + client.clone(), + transaction_pool, + prometheus_registry, + telemetry.clone(), + ); + + let proposer = Proposer::new(proposer_factory); + + let collator_service = CollatorService::new( + client.clone(), + Arc::new(task_manager.spawn_handle()), + announce_block, + client.clone(), + ); + + let params = BasicAuraParams { + create_inherent_data_providers: move |_, ()| async move { Ok(()) }, + block_import, + para_client: client, + relay_client: relay_chain_interface, + sync_oracle, + keystore, + collator_key, + para_id, + overseer_handle, + slot_duration, + relay_chain_slot_duration, + proposer, + collator_service, + // Very limited proposal time. + authoring_duration: Duration::from_millis(500), + collation_request_receiver: None, + }; + + let fut = basic_aura::run::(params); + task_manager.spawn_essential_handle().spawn("aura", None, fut); + + Ok(()) } /// Start a parachain node. @@ -405,97 +408,18 @@ pub async fn start_parachain_node( collator_options: CollatorOptions, para_id: ParaId, hwbench: Option, -) -> sc_service::error::Result<(TaskManager, Arc>)> { - start_node_impl::( - parachain_config, - polkadot_config, - collator_options, - para_id, - |_| Ok(RpcModule::new(())), - parachain_build_import_queue, - |client, - block_import, - prometheus_registry, - telemetry, - task_manager, - relay_chain_interface, - transaction_pool, - sync_oracle, - keystore, - force_authoring| { - let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; - - let proposer_factory = sc_basic_authorship::ProposerFactory::with_proof_recording( - task_manager.spawn_handle(), - client.clone(), - transaction_pool, - prometheus_registry, - telemetry.clone(), - ); - - Ok(AuraConsensus::build::< - sp_consensus_aura::sr25519::AuthorityPair, - _, - _, - _, - _, - _, - _, - >(BuildAuraConsensusParams { - proposer_factory, - create_inherent_data_providers: move |_, (relay_parent, validation_data)| { - let relay_chain_interface = relay_chain_interface.clone(); - async move { - let parachain_inherent = - cumulus_primitives_parachain_inherent::ParachainInherentData::create_at( - relay_parent, - &relay_chain_interface, - &validation_data, - para_id, - ) - .await; - - let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); - - let slot = sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_slot_duration( - *timestamp, - slot_duration, - ); - - let parachain_inherent = parachain_inherent.ok_or_else(|| { - Box::::from("Failed to create parachain inherent") - })?; - - Ok((slot, timestamp, parachain_inherent)) - } - }, - block_import, - para_client: client, - backoff_authoring_blocks: Option::<()>::None, - sync_oracle, - keystore, - force_authoring, - slot_duration, - // We got around 500ms for proposing - block_proposal_slot_portion: SlotProportion::new(1f32 / 24f32), - // And a maximum of 750ms if slots are skipped - max_block_proposal_slot_portion: Some(SlotProportion::new(1f32 / 16f32)), - telemetry, - })) - }, - hwbench, - ) - .await +) -> sc_service::error::Result<(TaskManager, Arc)> { + start_node_impl(parachain_config, polkadot_config, collator_options, para_id, hwbench).await } /// Checks that the hardware meets the requirements and print a warning otherwise. fn warn_if_slow_hardware(hwbench: &sc_sysinfo::HwBench) { // Polkadot para-chains should generally use these requirements to ensure that the relay-chain // will not take longer than expected to import its blocks. - if !frame_benchmarking_cli::SUBSTRATE_REFERENCE_HARDWARE.check_hardware(hwbench) { + if let Err(e) = frame_benchmarking_cli::SUBSTRATE_REFERENCE_HARDWARE.check_hardware(hwbench) { log::warn!( "⚠️ The hardware does not meet the minimal requirements for role 'Authority' find out more at:\n\ - https://wiki.polkadot.network/docs/maintain-guides-how-to-validate-polkadot#reference-hardware" + https://wiki.polkadot.network/docs/maintain-guides-how-to-validate-polkadot#reference-hardware {e:?}" ); } } diff --git a/pallets/allocations/Cargo.toml b/pallets/allocations/Cargo.toml index c3daabf30cc..c1894a4c406 100644 --- a/pallets/allocations/Cargo.toml +++ b/pallets/allocations/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "pallet-allocations" -version = "2.4.2" -authors = ['Eliott Teissonniere '] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true description = "A pallet to handle the Proof Of Connectivity allocations rewards" [features] @@ -26,22 +26,22 @@ runtime-benchmarks = [ try-runtime = ["frame-support/try-runtime"] [dependencies] -log = { version = "0.4.17", default-features = false } -codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } -serde = { version = "1.0.152", optional = true, features = ["derive"] } -scale-info = { version = "2.0.1", default-features = false, features = [ "derive",] } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v1.0.0" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } +log = { workspace = true, default-features = false } +codec = { workspace = true, default-features = false, features = ["derive"] } +serde = { workspace = true, optional = true, features = ["derive"] } +scale-info = { workspace = true, default-features = false, features = ["derive"] } +frame-benchmarking = { workspace = true, default-features = false, optional = true } +frame-support = { workspace = true, default-features = false } +frame-system = { workspace = true, default-features = false } +pallet-balances = { workspace = true, default-features = false } +sp-io = { workspace = true, default-features = false } +sp-runtime = { workspace = true, default-features = false } +sp-std = { workspace = true, default-features = false } +sp-arithmetic = { workspace = true, default-features = false } support = { path = "../../support", default-features = false } [dev-dependencies] -sp-tracing = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -lazy_static = {version = "1.4.0", default-features = false, features = ["spin_no_std"] } +sp-tracing = { workspace = true, default-features = false } +sp-core = { workspace = true, default-features = false } +pallet-membership = { workspace = true, default-features = false } +lazy_static = {workspace = true, default-features = false, features = ["spin_no_std"] } diff --git a/pallets/allocations/src/tests.rs b/pallets/allocations/src/tests.rs index b200879c0ae..62f3408f075 100644 --- a/pallets/allocations/src/tests.rs +++ b/pallets/allocations/src/tests.rs @@ -21,13 +21,13 @@ use super::*; use crate::{self as pallet_allocations}; use frame_support::{ - assert_noop, assert_ok, bounded_vec, dispatch::Pays, ord_parameter_types, parameter_types, traits::ConstU32, - PalletId, + assert_noop, assert_ok, dispatch::Pays, ord_parameter_types, parameter_types, traits::ConstU32, PalletId, }; use frame_system::EnsureSignedBy; use lazy_static::lazy_static; use sp_core::H256; use sp_runtime::{ + bounded_vec, traits::{BadOrigin, BlakeTwo256, IdentityLookup}, BuildStorage, Perbill, }; @@ -72,6 +72,7 @@ impl frame_system::Config for Test { type SystemWeightInfo = (); type Nonce = u32; type MaxConsumers = frame_support::traits::ConstU32<16>; + type RuntimeTask = (); } parameter_types! { pub const ExistentialDeposit: u64 = 2; @@ -90,8 +91,8 @@ impl pallet_balances::Config for Test { type MaxHolds = (); type MaxFreezes = (); type WeightInfo = (); - type RuntimeHoldReason = (); + type RuntimeFreezeReason = (); } const THREE_INFLATION_STEPS: &[Perbill] = &[ diff --git a/pallets/allocations/src/weights.rs b/pallets/allocations/src/weights.rs index 3fe28627ae2..2451c22361a 100644 --- a/pallets/allocations/src/weights.rs +++ b/pallets/allocations/src/weights.rs @@ -18,9 +18,9 @@ //! Autogenerated weights for pallet_allocations //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `chain-bench-b606df9f`, CPU: `AMD EPYC 7B13` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-02-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `chain-bench-a18ada46`, CPU: `AMD EPYC 7B13` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -35,17 +35,15 @@ // --wasm-execution=compiled // --template=./.maintain/internal_pallet_weights.hbs // --output=temp_weights - -#![cfg_attr(rustfmt, rustfmt_skip)] -#![allow(unused_parens)] -#![allow(unused_imports)] - -use frame_support::{traits::Get, weights::{constants::RocksDbWeight, Weight}}; use core::marker::PhantomData; +use frame_support::{ + traits::Get, + weights::{constants::RocksDbWeight, Weight}, +}; /// Weight functions needed for pallet_allocations. pub trait WeightInfo { - fn allocate(b: u32, ) -> Weight; + fn allocate(b: u32) -> Weight; fn calc_quota() -> Weight; fn renew_quota() -> Weight; fn checked_update_session_quota() -> Weight; @@ -60,11 +58,11 @@ impl WeightInfo for SubstrateWeight { // Storage: `System::Account` (r:502 w:502) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `b` is `[1, 500]`. - fn allocate(b: u32, ) -> Weight { - // Minimum execution time: 159_560 nanoseconds. - Weight::from_parts(40_825_165_u64, 0) - // Standard Error: 14_332 - .saturating_add(Weight::from_parts(58_926_825_u64, 0).saturating_mul(b as u64)) + fn allocate(b: u32) -> Weight { + // Minimum execution time: 129_400 nanoseconds. + Weight::from_parts(47_424_668_u64, 0) + // Standard Error: 18_955 + .saturating_add(Weight::from_parts(48_861_326_u64, 0).saturating_mul(b as u64)) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b as u64))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -77,8 +75,8 @@ impl WeightInfo for SubstrateWeight { // Storage: `Allocations::NextSessionQuota` (r:0 w:1) // Proof: `Allocations::NextSessionQuota` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn calc_quota() -> Weight { - // Minimum execution time: 14_800 nanoseconds. - Weight::from_parts(15_390_000_u64, 0) + // Minimum execution time: 7_640 nanoseconds. + Weight::from_parts(8_070_000_u64, 0) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -91,8 +89,8 @@ impl WeightInfo for SubstrateWeight { // Storage: `Allocations::SessionQuota` (r:0 w:1) // Proof: `Allocations::SessionQuota` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn renew_quota() -> Weight { - // Minimum execution time: 14_590 nanoseconds. - Weight::from_parts(15_050_000_u64, 0) + // Minimum execution time: 7_420 nanoseconds. + Weight::from_parts(7_760_000_u64, 0) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -109,8 +107,8 @@ impl WeightInfo for SubstrateWeight { // Storage: `Allocations::NextSessionQuota` (r:0 w:1) // Proof: `Allocations::NextSessionQuota` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn checked_update_session_quota() -> Weight { - // Minimum execution time: 29_650 nanoseconds. - Weight::from_parts(30_080_000_u64, 0) + // Minimum execution time: 15_380 nanoseconds. + Weight::from_parts(15_880_000_u64, 0) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -123,8 +121,8 @@ impl WeightInfo for SubstrateWeight { // Storage: `Allocations::SessionQuotaRenewSchedule` (r:0 w:1) // Proof: `Allocations::SessionQuotaRenewSchedule` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn set_curve_starting_block() -> Weight { - // Minimum execution time: 9_280 nanoseconds. - Weight::from_parts(9_660_000_u64, 0) + // Minimum execution time: 6_520 nanoseconds. + Weight::from_parts(6_880_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -136,11 +134,11 @@ impl WeightInfo for () { // Storage: `System::Account` (r:502 w:502) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `b` is `[1, 500]`. - fn allocate(b: u32, ) -> Weight { - // Minimum execution time: 159_560 nanoseconds. - Weight::from_parts(40_825_165_u64, 0) - // Standard Error: 14_332 - .saturating_add(Weight::from_parts(58_926_825_u64, 0).saturating_mul(b as u64)) + fn allocate(b: u32) -> Weight { + // Minimum execution time: 129_400 nanoseconds. + Weight::from_parts(47_424_668_u64, 0) + // Standard Error: 18_955 + .saturating_add(Weight::from_parts(48_861_326_u64, 0).saturating_mul(b as u64)) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b as u64))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -153,8 +151,8 @@ impl WeightInfo for () { // Storage: `Allocations::NextSessionQuota` (r:0 w:1) // Proof: `Allocations::NextSessionQuota` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn calc_quota() -> Weight { - // Minimum execution time: 14_800 nanoseconds. - Weight::from_parts(15_390_000_u64, 0) + // Minimum execution time: 7_640 nanoseconds. + Weight::from_parts(8_070_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -167,8 +165,8 @@ impl WeightInfo for () { // Storage: `Allocations::SessionQuota` (r:0 w:1) // Proof: `Allocations::SessionQuota` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn renew_quota() -> Weight { - // Minimum execution time: 14_590 nanoseconds. - Weight::from_parts(15_050_000_u64, 0) + // Minimum execution time: 7_420 nanoseconds. + Weight::from_parts(7_760_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -185,8 +183,8 @@ impl WeightInfo for () { // Storage: `Allocations::NextSessionQuota` (r:0 w:1) // Proof: `Allocations::NextSessionQuota` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn checked_update_session_quota() -> Weight { - // Minimum execution time: 29_650 nanoseconds. - Weight::from_parts(30_080_000_u64, 0) + // Minimum execution time: 15_380 nanoseconds. + Weight::from_parts(15_880_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -199,8 +197,8 @@ impl WeightInfo for () { // Storage: `Allocations::SessionQuotaRenewSchedule` (r:0 w:1) // Proof: `Allocations::SessionQuotaRenewSchedule` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn set_curve_starting_block() -> Weight { - // Minimum execution time: 9_280 nanoseconds. - Weight::from_parts(9_660_000_u64, 0) + // Minimum execution time: 6_520 nanoseconds. + Weight::from_parts(6_880_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } diff --git a/pallets/grants/Cargo.toml b/pallets/grants/Cargo.toml index dfb520b16c2..db454ec60d4 100644 --- a/pallets/grants/Cargo.toml +++ b/pallets/grants/Cargo.toml @@ -2,9 +2,9 @@ name = "pallet-grants" description = "Provides scheduled balance locking mechanism, in a *graded vesting* way." license = "Apache-2.0" -version = "2.4.2" -authors = ["Eliott Teissonniere "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] @@ -30,19 +30,19 @@ runtime-benchmarks = [ try-runtime = ["frame-support/try-runtime"] [dependencies] -log = { version = "0.4.17", default-features = false } -codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } -serde = { version = "1.0.152", optional = true } -scale-info = { version = "2.0.1", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch ="polkadot-v1.0.0" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } +log = { workspace = true, default-features = false } +codec = { workspace = true, default-features = false, features = ["derive"] } +serde = { workspace = true, optional = true } +scale-info = { workspace = true, default-features = false, features = ["derive"] } +frame-benchmarking = { workspace = true, default-features = false, optional = true } +frame-support = { workspace = true, default-features = false } +frame-system = { workspace = true, default-features = false } +pallet-balances = { workspace = true, default-features = false } +sp-io = { workspace = true, default-features = false } +sp-runtime = { workspace = true, default-features = false } +sp-std = { workspace = true, default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-tracing = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } +sp-core = { workspace = true, default-features = false } +sp-tracing = { workspace = true, default-features = false } diff --git a/pallets/grants/src/mock.rs b/pallets/grants/src/mock.rs index b34067e39f5..e8194f0874b 100644 --- a/pallets/grants/src/mock.rs +++ b/pallets/grants/src/mock.rs @@ -67,6 +67,7 @@ impl frame_system::Config for Test { type SystemWeightInfo = (); type MaxConsumers = frame_support::traits::ConstU32<16>; type Nonce = u32; + type RuntimeTask = (); } type Balance = u64; @@ -90,6 +91,7 @@ impl pallet_balances::Config for Test { type MaxHolds = (); type MaxFreezes = (); type RuntimeHoldReason = (); + type RuntimeFreezeReason = (); } ord_parameter_types! { diff --git a/pallets/grants/src/tests.rs b/pallets/grants/src/tests.rs index 9af85e1f290..162f5a53c27 100644 --- a/pallets/grants/src/tests.rs +++ b/pallets/grants/src/tests.rs @@ -206,23 +206,23 @@ fn claim_works() { System::set_block_number(11); // remain locked if not claimed - assert!(PalletBalances::transfer(RuntimeOrigin::signed(BOB::get()), ALICE::get(), 10).is_err()); + assert!(PalletBalances::transfer_keep_alive(RuntimeOrigin::signed(BOB::get()), ALICE::get(), 10).is_err()); // unlocked after claiming assert_ok!(Vesting::claim(RuntimeOrigin::signed(BOB::get()))); - assert_ok!(PalletBalances::transfer( + assert_ok!(PalletBalances::transfer_keep_alive( RuntimeOrigin::signed(BOB::get()), ALICE::get(), 10 )); // more are still locked - assert!(PalletBalances::transfer(RuntimeOrigin::signed(BOB::get()), ALICE::get(), 1).is_err()); + assert!(PalletBalances::transfer_allow_death(RuntimeOrigin::signed(BOB::get()), ALICE::get(), 1).is_err()); // does not clear storage assert!(>::contains_key(BOB::get())); System::set_block_number(21); // claim more assert_ok!(Vesting::claim(RuntimeOrigin::signed(BOB::get()))); - assert_ok!(PalletBalances::transfer( + assert_ok!(PalletBalances::transfer_allow_death( RuntimeOrigin::signed(BOB::get()), ALICE::get(), 10 @@ -270,14 +270,14 @@ fn cancel_auto_claim_recipient_funds_and_wire_the_rest() { )); // Auto claim - assert_ok!(PalletBalances::transfer( + assert_ok!(PalletBalances::transfer_allow_death( RuntimeOrigin::signed(BOB::get()), ALICE::get(), 10 )); // Wire the rest - assert_ok!(PalletBalances::transfer( + assert_ok!(PalletBalances::transfer_allow_death( RuntimeOrigin::signed(CancelOrigin::get()), ALICE::get(), 10 diff --git a/pallets/grants/src/weights.rs b/pallets/grants/src/weights.rs index da30217cb51..eaa47adcd4f 100644 --- a/pallets/grants/src/weights.rs +++ b/pallets/grants/src/weights.rs @@ -18,9 +18,9 @@ //! Autogenerated weights for pallet_grants //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `chain-bench-b606df9f`, CPU: `AMD EPYC 7B13` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-02-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `chain-bench-a18ada46`, CPU: `AMD EPYC 7B13` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -35,13 +35,11 @@ // --wasm-execution=compiled // --template=./.maintain/internal_pallet_weights.hbs // --output=temp_weights - -#![cfg_attr(rustfmt, rustfmt_skip)] -#![allow(unused_parens)] -#![allow(unused_imports)] - -use frame_support::{traits::Get, weights::{constants::RocksDbWeight, Weight}}; use core::marker::PhantomData; +use frame_support::{ + traits::Get, + weights::{constants::RocksDbWeight, Weight}, +}; /// Weight functions needed for pallet_grants. pub trait WeightInfo { @@ -65,8 +63,8 @@ impl WeightInfo for SubstrateWeight { // Storage: `Balances::Freezes` (r:1 w:0) // Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn add_vesting_schedule() -> Weight { - // Minimum execution time: 117_460 nanoseconds. - Weight::from_parts(119_340_000_u64, 0) + // Minimum execution time: 100_400 nanoseconds. + Weight::from_parts(103_331_000_u64, 0) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -81,8 +79,8 @@ impl WeightInfo for SubstrateWeight { // Storage: `System::Account` (r:1 w:1) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn claim() -> Weight { - // Minimum execution time: 52_469 nanoseconds. - Weight::from_parts(53_730_000_u64, 0) + // Minimum execution time: 43_860 nanoseconds. + Weight::from_parts(45_080_000_u64, 0) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -101,17 +99,16 @@ impl WeightInfo for SubstrateWeight { // Storage: `Vesting::CounterForVestingSchedules` (r:1 w:1) // Proof: `Vesting::CounterForVestingSchedules` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn cancel_all_vesting_schedules() -> Weight { - // Minimum execution time: 165_190 nanoseconds. - Weight::from_parts(166_880_000_u64, 0) + // Minimum execution time: 133_520 nanoseconds. + Weight::from_parts(137_240_000_u64, 0) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: `Vesting::Renounced` (r:0 w:1) // Proof: `Vesting::Renounced` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn renounce() -> Weight { - // Minimum execution time: 13_170 nanoseconds. - Weight::from_parts(13_570_000_u64, 0) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 9_610 nanoseconds. + Weight::from_parts(10_200_000_u64, 0).saturating_add(T::DbWeight::get().writes(1_u64)) } } @@ -127,8 +124,8 @@ impl WeightInfo for () { // Storage: `Balances::Freezes` (r:1 w:0) // Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn add_vesting_schedule() -> Weight { - // Minimum execution time: 117_460 nanoseconds. - Weight::from_parts(119_340_000_u64, 0) + // Minimum execution time: 100_400 nanoseconds. + Weight::from_parts(103_331_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -143,8 +140,8 @@ impl WeightInfo for () { // Storage: `System::Account` (r:1 w:1) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn claim() -> Weight { - // Minimum execution time: 52_469 nanoseconds. - Weight::from_parts(53_730_000_u64, 0) + // Minimum execution time: 43_860 nanoseconds. + Weight::from_parts(45_080_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -163,16 +160,15 @@ impl WeightInfo for () { // Storage: `Vesting::CounterForVestingSchedules` (r:1 w:1) // Proof: `Vesting::CounterForVestingSchedules` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn cancel_all_vesting_schedules() -> Weight { - // Minimum execution time: 165_190 nanoseconds. - Weight::from_parts(166_880_000_u64, 0) + // Minimum execution time: 133_520 nanoseconds. + Weight::from_parts(137_240_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } // Storage: `Vesting::Renounced` (r:0 w:1) // Proof: `Vesting::Renounced` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn renounce() -> Weight { - // Minimum execution time: 13_170 nanoseconds. - Weight::from_parts(13_570_000_u64, 0) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + // Minimum execution time: 9_610 nanoseconds. + Weight::from_parts(10_200_000_u64, 0).saturating_add(RocksDbWeight::get().writes(1_u64)) } } diff --git a/pallets/mandate/Cargo.toml b/pallets/mandate/Cargo.toml index 71c27b2febd..078bda2df77 100644 --- a/pallets/mandate/Cargo.toml +++ b/pallets/mandate/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "pallet-mandate" -version = "2.4.2" -authors = ["Eliott Teissonniere "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [features] default = ["std"] @@ -19,14 +19,12 @@ std = [ try-runtime = ["frame-support/try-runtime"] [dependencies] -codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } -serde = { version = "1.0.152", optional = true, features = ["derive"] } -scale-info = { version = "2.0.1", default-features = false, features = [ - "derive", -] } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v1.0.0" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } +codec = { workspace = true, default-features = false, features = ["derive"] } +serde = { workspace = true, optional = true, features = ["derive"] } +scale-info = { workspace = true, default-features = false, features = ["derive"] } +frame-benchmarking = { workspace = true, default-features = false, optional = true } +frame-support = { workspace = true, default-features = false } +frame-system = { workspace = true, default-features = false } +sp-io = { workspace = true, default-features = false } +sp-runtime = { workspace = true, default-features = false } +sp-std = { workspace = true, default-features = false } diff --git a/pallets/reserve/Cargo.toml b/pallets/reserve/Cargo.toml index f1418bbe48e..204507031c4 100644 --- a/pallets/reserve/Cargo.toml +++ b/pallets/reserve/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "pallet-reserve" -version = "2.4.2" -authors = ["Eliott Teissonniere "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [features] default = ["std"] @@ -26,17 +26,17 @@ runtime-benchmarks = [ try-runtime = ["frame-support/try-runtime"] [dependencies] -codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } -serde = { version = "1.0.152", optional = true, features = ["derive"] } -scale-info = { version = "2.0.1", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "polkadot-v1.0.0" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } +codec = { workspace = true, default-features = false, features = ["derive"] } +serde = { workspace = true, optional = true, features = ["derive"] } +scale-info = { workspace = true, default-features = false, features = ["derive"] } +frame-benchmarking = { workspace = true, default-features = false, optional = true } +frame-support = { workspace = true, default-features = false } +frame-system = { workspace = true, default-features = false } +pallet-balances = { workspace = true, default-features = false } +sp-io = { workspace = true, default-features = false } +sp-runtime = { workspace = true, default-features = false } +sp-std = { workspace = true, default-features = false } support = { path = "../../support", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } +sp-core = { workspace = true, default-features = false } diff --git a/pallets/reserve/src/tests.rs b/pallets/reserve/src/tests.rs index 20d5d6c7cdb..edc1107b946 100644 --- a/pallets/reserve/src/tests.rs +++ b/pallets/reserve/src/tests.rs @@ -67,6 +67,7 @@ impl frame_system::Config for Test { type SystemWeightInfo = (); type MaxConsumers = frame_support::traits::ConstU32<16>; type Nonce = u32; + type RuntimeTask = (); } parameter_types! { pub const MaxLocks: u32 = 50; @@ -85,6 +86,7 @@ impl pallet_balances::Config for Test { type MaxHolds = (); type MaxFreezes = (); type RuntimeHoldReason = (); + type RuntimeFreezeReason = (); } ord_parameter_types! { diff --git a/pallets/reserve/src/weights.rs b/pallets/reserve/src/weights.rs index 19080ba9e2b..777e1c169bc 100644 --- a/pallets/reserve/src/weights.rs +++ b/pallets/reserve/src/weights.rs @@ -18,9 +18,9 @@ //! Autogenerated weights for pallet_reserve //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `chain-bench-b606df9f`, CPU: `AMD EPYC 7B13` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-02-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `chain-bench-a18ada46`, CPU: `AMD EPYC 7B13` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -35,13 +35,11 @@ // --wasm-execution=compiled // --template=./.maintain/internal_pallet_weights.hbs // --output=temp_weights - -#![cfg_attr(rustfmt, rustfmt_skip)] -#![allow(unused_parens)] -#![allow(unused_imports)] - -use frame_support::{traits::Get, weights::{constants::RocksDbWeight, Weight}}; use core::marker::PhantomData; +use frame_support::{ + traits::Get, + weights::{constants::RocksDbWeight, Weight}, +}; /// Weight functions needed for pallet_reserve. pub trait WeightInfo { @@ -55,16 +53,16 @@ impl WeightInfo for SubstrateWeight { // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn tip() -> Weight { - // Minimum execution time: 67_140 nanoseconds. - Weight::from_parts(68_670_000_u64, 0) + // Minimum execution time: 58_100 nanoseconds. + Weight::from_parts(59_310_000_u64, 0) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn spend() -> Weight { - // Minimum execution time: 75_820 nanoseconds. - Weight::from_parts(77_300_000_u64, 0) + // Minimum execution time: 59_990 nanoseconds. + Weight::from_parts(61_500_000_u64, 0) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -74,16 +72,16 @@ impl WeightInfo for () { // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn tip() -> Weight { - // Minimum execution time: 67_140 nanoseconds. - Weight::from_parts(68_670_000_u64, 0) + // Minimum execution time: 58_100 nanoseconds. + Weight::from_parts(59_310_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn spend() -> Weight { - // Minimum execution time: 75_820 nanoseconds. - Weight::from_parts(77_300_000_u64, 0) + // Minimum execution time: 59_990 nanoseconds. + Weight::from_parts(61_500_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } diff --git a/pallets/sponsorship/Cargo.toml b/pallets/sponsorship/Cargo.toml index 2018ad2de1e..71db18966be 100644 --- a/pallets/sponsorship/Cargo.toml +++ b/pallets/sponsorship/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "pallet-sponsorship" -version = "2.4.2" +version.workspace = true description = "Nodle pallet to allow sponsors to cover fees and reserves needed for a predefined category of calls for their registered users" -authors = ["Nodle Developers "] -edition = "2021" +authors.workspace = true +edition.workspace = true license = "Apache-2.0" publish = false @@ -11,24 +11,24 @@ publish = false targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = [ - "derive", -] } -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v1.0.0" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } +codec = { workspace = true, default-features = false, features = ["derive"] } +scale-info = { workspace = true, default-features = false, features = ["derive"] } +frame-benchmarking = { workspace = true, default-features = false, optional = true } +frame-support = { workspace = true, default-features = false } +frame-system = { workspace = true, default-features = false } +pallet-transaction-payment = { workspace = true, default-features = false } +sp-io = { workspace = true, default-features = false } +sp-runtime = { workspace = true, default-features = false } +sp-std = { workspace = true, default-features = false } support = { path = "../../support", default-features = false } -log = { version = "0.4.17", default-features = false } +log = { workspace = true, default-features = false } [dev-dependencies] -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -pallet-uniques = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } +pallet-balances.workspace = true +pallet-uniques.workspace = true +sp-core.workspace = true +sp-state-machine = { workspace = true, default-features = false } + [features] default = ["std"] diff --git a/pallets/sponsorship/src/lib.rs b/pallets/sponsorship/src/lib.rs index 7e779847692..109c2b9679b 100644 --- a/pallets/sponsorship/src/lib.rs +++ b/pallets/sponsorship/src/lib.rs @@ -22,22 +22,21 @@ use frame_support::pallet_prelude::{ ensure, Decode, Encode, MaxEncodedLen, PhantomData, RuntimeDebug, StorageVersion, TypeInfo, }; use frame_support::{ - dispatch::{DispatchInfo, DispatchResult, Dispatchable, GetDispatchInfo, Pays, PostDispatchInfo}, + dispatch::{DispatchInfo, DispatchResult, GetDispatchInfo, Pays, PostDispatchInfo}, traits::{ Currency, ExistenceRequirement::{AllowDeath, KeepAlive}, - GetStorageVersion, InstanceFilter, IsSubType, IsType, OriginTrait, ReservableCurrency, + InstanceFilter, IsSubType, IsType, OriginTrait, ReservableCurrency, }, }; use pallet_transaction_payment::OnChargeTransaction; use sp_io::hashing::blake2_256; use sp_runtime::{ - traits::{DispatchInfoOf, One, PostDispatchInfoOf, SignedExtension, TrailingZeroInput, Zero}, + traits::{DispatchInfoOf, Dispatchable, One, PostDispatchInfoOf, SignedExtension, TrailingZeroInput, Zero}, transaction_validity::{InvalidTransaction, TransactionValidity, TransactionValidityError, ValidTransaction}, FixedPointOperand, Saturating, }; - use sp_std::{ fmt::{Debug, Formatter, Result as FmtResult}, prelude::*, @@ -120,6 +119,7 @@ pub mod pallet { use frame_support::pallet_prelude::*; use frame_system::pallet_prelude::*; use scale_info::prelude::boxed::Box; + use sp_runtime::traits::Dispatchable; #[pallet::pallet] #[pallet::storage_version(STORAGE_VERSION)] @@ -178,14 +178,6 @@ pub mod pallet { #[pallet::storage] pub(super) type UserRegistrationCount = StorageMap<_, Blake2_128Concat, T::AccountId, u32, ValueQuery>; - /// Stores the migration cursor for the Pot storage. This item will be removed in a subsequent upgrade. - #[pallet::storage] - pub(super) type PotMigrationCursor = StorageValue<_, Vec, OptionQuery>; - - /// Stores the migration cursor for the Pot storage. This item will be removed in a subsequent upgrade. - #[pallet::storage] - pub(super) type UserMigrationCursor = StorageValue<_, Vec, OptionQuery>; - #[pallet::storage] pub(super) type PotUserMigrationPerBlock = StorageValue<_, (u32, u32), OptionQuery>; @@ -278,7 +270,6 @@ pub mod pallet { reserve_quota: BalanceOf, ) -> DispatchResult { let who = ensure_signed(origin)?; - ensure!(!Self::migration_in_progress(), Error::::MigrationInProgress); ensure!(!Pot::::contains_key(pot), Error::::InUse); T::Currency::reserve(&who, T::PotDeposit::get())?; @@ -312,7 +303,6 @@ pub mod pallet { #[pallet::weight(T::WeightInfo::remove_pot())] pub fn remove_pot(origin: OriginFor, pot: T::PotId) -> DispatchResult { let who = ensure_signed(origin)?; - ensure!(!Self::migration_in_progress(), Error::::MigrationInProgress); Pot::::try_mutate(pot, |maybe_pot_details| -> DispatchResult { let pot_details = maybe_pot_details.as_mut().ok_or(Error::::InUse)?; ensure!(pot_details.sponsor == who, Error::::NoPermission); @@ -341,7 +331,6 @@ pub mod pallet { common_reserve_quota: BalanceOf, ) -> DispatchResult { let who = ensure_signed(origin)?; - ensure!(!Self::migration_in_progress(), Error::::MigrationInProgress); let pot_details = Pot::::get(pot).ok_or(Error::::PotNotExist)?; ensure!(pot_details.sponsor == who, Error::::NoPermission); for user in users.clone() { @@ -388,7 +377,6 @@ pub mod pallet { #[pallet::weight(T::WeightInfo::remove_users(users.len() as u32))] pub fn remove_users(origin: OriginFor, pot: T::PotId, users: Vec) -> DispatchResult { let who = ensure_signed(origin)?; - ensure!(!Self::migration_in_progress(), Error::::MigrationInProgress); let mut pot_details = Pot::::get(pot).ok_or(Error::::PotNotExist)?; ensure!(pot_details.sponsor == who, Error::::NoPermission); for user in users.clone() { @@ -451,7 +439,6 @@ pub mod pallet { call: Box<::RuntimeCall>, ) -> DispatchResultWithPostInfo { let who = ensure_signed(origin)?; - ensure!(!Self::migration_in_progress(), Error::::MigrationInProgress); let preps = Self::pre_sponsor_for(who.clone(), pot)?; @@ -483,7 +470,6 @@ pub mod pallet { new_reserve_quota: BalanceOf, ) -> DispatchResult { let who = ensure_signed(origin)?; - ensure!(!Self::migration_in_progress(), Error::::MigrationInProgress); let mut pot_details = Pot::::get(pot).ok_or(Error::::PotNotExist)?; ensure!(pot_details.sponsor == who, Error::::NoPermission); @@ -518,7 +504,6 @@ pub mod pallet { users: Vec, ) -> DispatchResult { let who = ensure_signed(origin)?; - ensure!(!Self::migration_in_progress(), Error::::MigrationInProgress); let pot_details = Pot::::get(pot).ok_or(Error::::PotNotExist)?; ensure!(pot_details.sponsor == who, Error::::NoPermission); @@ -676,10 +661,6 @@ impl Pallet { Self::deposit_event(Event::Sponsored { paid, repaid }); Ok(()) } - - fn migration_in_progress() -> bool { - Self::on_chain_storage_version() < Self::current_storage_version() - } } /// Require the sponsor to pay for their transactors. diff --git a/pallets/sponsorship/src/mock.rs b/pallets/sponsorship/src/mock.rs index 861c2528e0c..c2e2c3a29b0 100644 --- a/pallets/sponsorship/src/mock.rs +++ b/pallets/sponsorship/src/mock.rs @@ -76,6 +76,7 @@ impl frame_system::Config for Test { type OnSetCode = (); type MaxConsumers = ConstU32<16>; type Nonce = u32; + type RuntimeTask = (); } parameter_types! { @@ -95,6 +96,7 @@ impl pallet_balances::Config for Test { type MaxFreezes = (); type MaxHolds = (); type RuntimeHoldReason = (); + type RuntimeFreezeReason = (); } impl pallet_transaction_payment::Config for Test { @@ -191,7 +193,7 @@ pub fn new_test_ext() -> sp_io::TestExternalities { .assimilate_storage(&mut t) .unwrap(); - frame_support::BasicExternalities::execute_with_storage(&mut t, || { + sp_state_machine::BasicExternalities::execute_with_storage(&mut t, || { pallet_sponsorship::STORAGE_VERSION.put::>(); }); diff --git a/pallets/sponsorship/src/weights.rs b/pallets/sponsorship/src/weights.rs index 896b190cc99..f7f63806af3 100644 --- a/pallets/sponsorship/src/weights.rs +++ b/pallets/sponsorship/src/weights.rs @@ -18,9 +18,9 @@ //! Autogenerated weights for pallet_sponsorship //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `chain-bench-b606df9f`, CPU: `AMD EPYC 7B13` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-02-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `chain-bench-a18ada46`, CPU: `AMD EPYC 7B13` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -35,13 +35,11 @@ // --wasm-execution=compiled // --template=./.maintain/internal_pallet_weights.hbs // --output=temp_weights - -#![cfg_attr(rustfmt, rustfmt_skip)] -#![allow(unused_parens)] -#![allow(unused_imports)] - -use frame_support::{traits::Get, weights::{constants::RocksDbWeight, Weight}}; use core::marker::PhantomData; +use frame_support::{ + traits::Get, + weights::{constants::RocksDbWeight, Weight}, +}; /// Weight functions needed for pallet_sponsorship. pub trait WeightInfo { @@ -49,9 +47,9 @@ pub trait WeightInfo { fn remove_pot() -> Weight; fn update_pot_limits() -> Weight; fn update_sponsorship_type() -> Weight; - fn register_users(l: u32, ) -> Weight; - fn remove_users(l: u32, ) -> Weight; - fn update_users_limits(l: u32, ) -> Weight; + fn register_users(l: u32) -> Weight; + fn remove_users(l: u32) -> Weight; + fn update_users_limits(l: u32) -> Weight; fn pre_sponsor() -> Weight; fn post_sponsor() -> Weight; } @@ -64,8 +62,8 @@ impl WeightInfo for SubstrateWeight { // Storage: `Sponsorship::Pot` (r:1 w:1) // Proof: `Sponsorship::Pot` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_pot() -> Weight { - // Minimum execution time: 32_480 nanoseconds. - Weight::from_parts(33_600_000_u64, 0) + // Minimum execution time: 32_630 nanoseconds. + Weight::from_parts(33_760_000_u64, 0) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -76,8 +74,8 @@ impl WeightInfo for SubstrateWeight { // Storage: `Sponsorship::User` (r:1 w:0) // Proof: `Sponsorship::User` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_pot() -> Weight { - // Minimum execution time: 24_040 nanoseconds. - Weight::from_parts(24_850_000_u64, 0) + // Minimum execution time: 23_490 nanoseconds. + Weight::from_parts(24_700_000_u64, 0) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -86,16 +84,16 @@ impl WeightInfo for SubstrateWeight { // Storage: `Sponsorship::Pot` (r:1 w:1) // Proof: `Sponsorship::Pot` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_pot_limits() -> Weight { - // Minimum execution time: 17_880 nanoseconds. - Weight::from_parts(18_560_000_u64, 0) + // Minimum execution time: 17_471 nanoseconds. + Weight::from_parts(17_940_000_u64, 0) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: `Sponsorship::Pot` (r:1 w:1) // Proof: `Sponsorship::Pot` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_sponsorship_type() -> Weight { - // Minimum execution time: 14_571 nanoseconds. - Weight::from_parts(15_229_000_u64, 0) + // Minimum execution time: 14_750 nanoseconds. + Weight::from_parts(15_220_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -110,11 +108,11 @@ impl WeightInfo for SubstrateWeight { // Storage: `System::Account` (r:1998 w:1998) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `l` is `[1, 1000]`. - fn register_users(l: u32, ) -> Weight { - // Minimum execution time: 55_000 nanoseconds. - Weight::from_parts(55_900_000_u64, 0) - // Standard Error: 10_326 - .saturating_add(Weight::from_parts(34_573_724_u64, 0).saturating_mul(l as u64)) + fn register_users(l: u32) -> Weight { + // Minimum execution time: 55_171 nanoseconds. + Weight::from_parts(56_590_000_u64, 0) + // Standard Error: 7_532 + .saturating_add(Weight::from_parts(35_302_171_u64, 0).saturating_mul(l as u64)) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(l as u64))) .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(l as u64))) @@ -130,11 +128,11 @@ impl WeightInfo for SubstrateWeight { // Storage: `Sponsorship::UserRegistrationCount` (r:999 w:999) // Proof: `Sponsorship::UserRegistrationCount` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `l` is `[1, 1000]`. - fn remove_users(l: u32, ) -> Weight { - // Minimum execution time: 114_540 nanoseconds. - Weight::from_parts(115_440_000_u64, 0) - // Standard Error: 57_987 - .saturating_add(Weight::from_parts(102_406_355_u64, 0).saturating_mul(l as u64)) + fn remove_users(l: u32) -> Weight { + // Minimum execution time: 117_730 nanoseconds. + Weight::from_parts(119_071_000_u64, 0) + // Standard Error: 41_981 + .saturating_add(Weight::from_parts(104_362_191_u64, 0).saturating_mul(l as u64)) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(l as u64))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -147,11 +145,11 @@ impl WeightInfo for SubstrateWeight { // Storage: `Sponsorship::User` (r:999 w:999) // Proof: `Sponsorship::User` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `l` is `[1, 1000]`. - fn update_users_limits(l: u32, ) -> Weight { - // Minimum execution time: 26_490 nanoseconds. - Weight::from_parts(26_700_000_u64, 0) - // Standard Error: 9_554 - .saturating_add(Weight::from_parts(8_788_441_u64, 0).saturating_mul(l as u64)) + fn update_users_limits(l: u32) -> Weight { + // Minimum execution time: 26_990 nanoseconds. + Weight::from_parts(27_370_000_u64, 0) + // Standard Error: 9_187 + .saturating_add(Weight::from_parts(9_058_572_u64, 0).saturating_mul(l as u64)) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(l as u64))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -164,8 +162,8 @@ impl WeightInfo for SubstrateWeight { // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn pre_sponsor() -> Weight { - // Minimum execution time: 66_010 nanoseconds. - Weight::from_parts(67_060_000_u64, 0) + // Minimum execution time: 68_110 nanoseconds. + Weight::from_parts(69_520_000_u64, 0) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -176,8 +174,8 @@ impl WeightInfo for SubstrateWeight { // Storage: `Sponsorship::Pot` (r:0 w:1) // Proof: `Sponsorship::Pot` (`max_values`: None, `max_size`: None, mode: `Measured`) fn post_sponsor() -> Weight { - // Minimum execution time: 59_090 nanoseconds. - Weight::from_parts(60_210_000_u64, 0) + // Minimum execution time: 60_820 nanoseconds. + Weight::from_parts(61_909_000_u64, 0) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -189,8 +187,8 @@ impl WeightInfo for () { // Storage: `Sponsorship::Pot` (r:1 w:1) // Proof: `Sponsorship::Pot` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_pot() -> Weight { - // Minimum execution time: 32_480 nanoseconds. - Weight::from_parts(33_600_000_u64, 0) + // Minimum execution time: 32_630 nanoseconds. + Weight::from_parts(33_760_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -201,8 +199,8 @@ impl WeightInfo for () { // Storage: `Sponsorship::User` (r:1 w:0) // Proof: `Sponsorship::User` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_pot() -> Weight { - // Minimum execution time: 24_040 nanoseconds. - Weight::from_parts(24_850_000_u64, 0) + // Minimum execution time: 23_490 nanoseconds. + Weight::from_parts(24_700_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -211,16 +209,16 @@ impl WeightInfo for () { // Storage: `Sponsorship::Pot` (r:1 w:1) // Proof: `Sponsorship::Pot` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_pot_limits() -> Weight { - // Minimum execution time: 17_880 nanoseconds. - Weight::from_parts(18_560_000_u64, 0) + // Minimum execution time: 17_471 nanoseconds. + Weight::from_parts(17_940_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } // Storage: `Sponsorship::Pot` (r:1 w:1) // Proof: `Sponsorship::Pot` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_sponsorship_type() -> Weight { - // Minimum execution time: 14_571 nanoseconds. - Weight::from_parts(15_229_000_u64, 0) + // Minimum execution time: 14_750 nanoseconds. + Weight::from_parts(15_220_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -235,11 +233,11 @@ impl WeightInfo for () { // Storage: `System::Account` (r:1998 w:1998) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `l` is `[1, 1000]`. - fn register_users(l: u32, ) -> Weight { - // Minimum execution time: 55_000 nanoseconds. - Weight::from_parts(55_900_000_u64, 0) - // Standard Error: 10_326 - .saturating_add(Weight::from_parts(34_573_724_u64, 0).saturating_mul(l as u64)) + fn register_users(l: u32) -> Weight { + // Minimum execution time: 55_171 nanoseconds. + Weight::from_parts(56_590_000_u64, 0) + // Standard Error: 7_532 + .saturating_add(Weight::from_parts(35_302_171_u64, 0).saturating_mul(l as u64)) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(l as u64))) .saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(l as u64))) @@ -255,11 +253,11 @@ impl WeightInfo for () { // Storage: `Sponsorship::UserRegistrationCount` (r:999 w:999) // Proof: `Sponsorship::UserRegistrationCount` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `l` is `[1, 1000]`. - fn remove_users(l: u32, ) -> Weight { - // Minimum execution time: 114_540 nanoseconds. - Weight::from_parts(115_440_000_u64, 0) - // Standard Error: 57_987 - .saturating_add(Weight::from_parts(102_406_355_u64, 0).saturating_mul(l as u64)) + fn remove_users(l: u32) -> Weight { + // Minimum execution time: 117_730 nanoseconds. + Weight::from_parts(119_071_000_u64, 0) + // Standard Error: 41_981 + .saturating_add(Weight::from_parts(104_362_191_u64, 0).saturating_mul(l as u64)) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(l as u64))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -272,11 +270,11 @@ impl WeightInfo for () { // Storage: `Sponsorship::User` (r:999 w:999) // Proof: `Sponsorship::User` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `l` is `[1, 1000]`. - fn update_users_limits(l: u32, ) -> Weight { - // Minimum execution time: 26_490 nanoseconds. - Weight::from_parts(26_700_000_u64, 0) - // Standard Error: 9_554 - .saturating_add(Weight::from_parts(8_788_441_u64, 0).saturating_mul(l as u64)) + fn update_users_limits(l: u32) -> Weight { + // Minimum execution time: 26_990 nanoseconds. + Weight::from_parts(27_370_000_u64, 0) + // Standard Error: 9_187 + .saturating_add(Weight::from_parts(9_058_572_u64, 0).saturating_mul(l as u64)) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(l as u64))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -289,8 +287,8 @@ impl WeightInfo for () { // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn pre_sponsor() -> Weight { - // Minimum execution time: 66_010 nanoseconds. - Weight::from_parts(67_060_000_u64, 0) + // Minimum execution time: 68_110 nanoseconds. + Weight::from_parts(69_520_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -301,8 +299,8 @@ impl WeightInfo for () { // Storage: `Sponsorship::Pot` (r:0 w:1) // Proof: `Sponsorship::Pot` (`max_values`: None, `max_size`: None, mode: `Measured`) fn post_sponsor() -> Weight { - // Minimum execution time: 59_090 nanoseconds. - Weight::from_parts(60_210_000_u64, 0) + // Minimum execution time: 60_820 nanoseconds. + Weight::from_parts(61_909_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } diff --git a/pallets/uniques/Cargo.toml b/pallets/uniques/Cargo.toml index 10e5b9e6f9e..0db4a710afa 100644 --- a/pallets/uniques/Cargo.toml +++ b/pallets/uniques/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "pallet-nodle-uniques" -version = "2.4.2" -authors = ["Nodle "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [features] default = ["std"] @@ -31,20 +31,18 @@ runtime-benchmarks = [ ] [dependencies] -codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } -serde = { version = "1.0.152", optional = true, features = ["derive"] } -scale-info = { version = "2.0.1", default-features = false, features = [ - "derive", -] } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v1.0.0" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -pallet-uniques = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } +codec = { workspace = true, default-features = false, features = ["derive"] } +serde = { workspace =true, optional = true, features = ["derive"] } +scale-info = { workspace = true, default-features = false, features = ["derive"] } +frame-benchmarking = { workspace = true, default-features = false, optional = true } +frame-support = { workspace = true, default-features = false } +frame-system = { workspace = true, default-features = false } +pallet-balances = { workspace = true, default-features = false } +sp-io = { workspace = true, default-features = false } +sp-runtime = { workspace = true, default-features = false } +sp-std = { workspace = true, default-features = false } +pallet-uniques = { workspace = true, default-features = false } support = { path = "../../support", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } +sp-core = { workspace = true, default-features = false } diff --git a/pallets/uniques/src/lib.rs b/pallets/uniques/src/lib.rs index f6b76669f78..7ea18456424 100644 --- a/pallets/uniques/src/lib.rs +++ b/pallets/uniques/src/lib.rs @@ -25,7 +25,7 @@ use sp_runtime::traits::{StaticLookup, Zero}; use support::LimitedBalance; pub use pallet::*; -pub use weights::WeightInfo as NodleWeightInfo; +pub use weights::WeightInfo; pub mod weights; @@ -56,7 +56,7 @@ pub mod pallet { type RuntimeEvent: From> + IsType<::RuntimeEvent>; /// Weight information for extrinsics specific to this pallet. - type WeightInfo: NodleWeightInfo; + type WeightInfo: WeightInfo; } #[pallet::pallet] diff --git a/pallets/uniques/src/tests.rs b/pallets/uniques/src/tests.rs index fce0a5a2f3e..3aa1d7cc904 100644 --- a/pallets/uniques/src/tests.rs +++ b/pallets/uniques/src/tests.rs @@ -46,6 +46,7 @@ impl frame_system::Config for Test { type OnSetCode = (); type MaxConsumers = ConstU32<16>; type Nonce = u32; + type RuntimeTask = (); } impl pallet_balances::Config for Test { @@ -62,6 +63,7 @@ impl pallet_balances::Config for Test { type MaxHolds = (); type MaxFreezes = (); type RuntimeHoldReason = (); + type RuntimeFreezeReason = (); } parameter_types! { pub TestCollectionDeposit: u64 = 2; diff --git a/pallets/uniques/src/weights.rs b/pallets/uniques/src/weights.rs index 9784bdcfbcf..0ef1f976771 100644 --- a/pallets/uniques/src/weights.rs +++ b/pallets/uniques/src/weights.rs @@ -18,9 +18,9 @@ //! Autogenerated weights for pallet_nodle_uniques //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `chain-bench-b606df9f`, CPU: `AMD EPYC 7B13` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-02-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `chain-bench-a18ada46`, CPU: `AMD EPYC 7B13` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -35,17 +35,15 @@ // --wasm-execution=compiled // --template=./.maintain/internal_pallet_weights.hbs // --output=temp_weights - -#![cfg_attr(rustfmt, rustfmt_skip)] -#![allow(unused_parens)] -#![allow(unused_imports)] - -use frame_support::{traits::Get, weights::{constants::RocksDbWeight, Weight}}; use core::marker::PhantomData; +use frame_support::{ + traits::Get, + weights::{constants::RocksDbWeight, Weight}, +}; /// Weight functions needed for pallet_nodle_uniques. pub trait WeightInfo { - fn destroy(n: u32, m: u32, a: u32, ) -> Weight; + fn destroy(n: u32, m: u32, a: u32) -> Weight; fn mint_with_extra_deposit() -> Weight; fn burn() -> Weight; fn create_with_extra_deposit_limit() -> Weight; @@ -81,15 +79,15 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[0, 1000]`. /// The range of component `m` is `[0, 1000]`. /// The range of component `a` is `[0, 1000]`. - fn destroy(n: u32, m: u32, a: u32, ) -> Weight { - // Minimum execution time: 3_300_430 nanoseconds. - Weight::from_parts(3_323_830_000_u64, 0) - // Standard Error: 29_156 - .saturating_add(Weight::from_parts(35_327_247_u64, 0).saturating_mul(n as u64)) - // Standard Error: 29_156 - .saturating_add(Weight::from_parts(262_305_u64, 0).saturating_mul(m as u64)) - // Standard Error: 29_156 - .saturating_add(Weight::from_parts(347_396_u64, 0).saturating_mul(a as u64)) + fn destroy(n: u32, m: u32, a: u32) -> Weight { + // Minimum execution time: 3_168_051 nanoseconds. + Weight::from_parts(3_201_672_000_u64, 0) + // Standard Error: 29_566 + .saturating_add(Weight::from_parts(31_315_589_u64, 0).saturating_mul(n as u64)) + // Standard Error: 29_566 + .saturating_add(Weight::from_parts(292_124_u64, 0).saturating_mul(m as u64)) + // Standard Error: 29_566 + .saturating_add(Weight::from_parts(319_678_u64, 0).saturating_mul(a as u64)) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m as u64))) @@ -114,8 +112,8 @@ impl WeightInfo for SubstrateWeight { // Storage: `NodleUniques::ItemExtraDeposits` (r:0 w:1) // Proof: `NodleUniques::ItemExtraDeposits` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) fn mint_with_extra_deposit() -> Weight { - // Minimum execution time: 88_420 nanoseconds. - Weight::from_parts(90_260_000_u64, 0) + // Minimum execution time: 75_120 nanoseconds. + Weight::from_parts(76_560_000_u64, 0) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -132,8 +130,8 @@ impl WeightInfo for SubstrateWeight { // Storage: `Uniques::ItemPriceOf` (r:0 w:1) // Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) fn burn() -> Weight { - // Minimum execution time: 87_660 nanoseconds. - Weight::from_parts(89_210_000_u64, 0) + // Minimum execution time: 74_969 nanoseconds. + Weight::from_parts(76_780_000_u64, 0) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -146,8 +144,8 @@ impl WeightInfo for SubstrateWeight { // Storage: `NodleUniques::CollectionExtraDepositDetails` (r:0 w:1) // Proof: `NodleUniques::CollectionExtraDepositDetails` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn create_with_extra_deposit_limit() -> Weight { - // Minimum execution time: 51_600 nanoseconds. - Weight::from_parts(53_360_000_u64, 0) + // Minimum execution time: 43_430 nanoseconds. + Weight::from_parts(45_130_000_u64, 0) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -162,8 +160,8 @@ impl WeightInfo for SubstrateWeight { // Storage: `Uniques::ClassAccount` (r:0 w:2) // Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) fn transfer_ownership() -> Weight { - // Minimum execution time: 79_780 nanoseconds. - Weight::from_parts(80_800_000_u64, 0) + // Minimum execution time: 71_550 nanoseconds. + Weight::from_parts(73_091_000_u64, 0) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -172,8 +170,8 @@ impl WeightInfo for SubstrateWeight { // Storage: `NodleUniques::CollectionExtraDepositDetails` (r:1 w:1) // Proof: `NodleUniques::CollectionExtraDepositDetails` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn update_extra_deposit_limit() -> Weight { - // Minimum execution time: 27_890 nanoseconds. - Weight::from_parts(29_030_000_u64, 0) + // Minimum execution time: 23_530 nanoseconds. + Weight::from_parts(24_220_000_u64, 0) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -205,15 +203,15 @@ impl WeightInfo for () { /// The range of component `n` is `[0, 1000]`. /// The range of component `m` is `[0, 1000]`. /// The range of component `a` is `[0, 1000]`. - fn destroy(n: u32, m: u32, a: u32, ) -> Weight { - // Minimum execution time: 3_300_430 nanoseconds. - Weight::from_parts(3_323_830_000_u64, 0) - // Standard Error: 29_156 - .saturating_add(Weight::from_parts(35_327_247_u64, 0).saturating_mul(n as u64)) - // Standard Error: 29_156 - .saturating_add(Weight::from_parts(262_305_u64, 0).saturating_mul(m as u64)) - // Standard Error: 29_156 - .saturating_add(Weight::from_parts(347_396_u64, 0).saturating_mul(a as u64)) + fn destroy(n: u32, m: u32, a: u32) -> Weight { + // Minimum execution time: 3_168_051 nanoseconds. + Weight::from_parts(3_201_672_000_u64, 0) + // Standard Error: 29_566 + .saturating_add(Weight::from_parts(31_315_589_u64, 0).saturating_mul(n as u64)) + // Standard Error: 29_566 + .saturating_add(Weight::from_parts(292_124_u64, 0).saturating_mul(m as u64)) + // Standard Error: 29_566 + .saturating_add(Weight::from_parts(319_678_u64, 0).saturating_mul(a as u64)) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(n as u64))) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(m as u64))) @@ -238,8 +236,8 @@ impl WeightInfo for () { // Storage: `NodleUniques::ItemExtraDeposits` (r:0 w:1) // Proof: `NodleUniques::ItemExtraDeposits` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) fn mint_with_extra_deposit() -> Weight { - // Minimum execution time: 88_420 nanoseconds. - Weight::from_parts(90_260_000_u64, 0) + // Minimum execution time: 75_120 nanoseconds. + Weight::from_parts(76_560_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -256,8 +254,8 @@ impl WeightInfo for () { // Storage: `Uniques::ItemPriceOf` (r:0 w:1) // Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) fn burn() -> Weight { - // Minimum execution time: 87_660 nanoseconds. - Weight::from_parts(89_210_000_u64, 0) + // Minimum execution time: 74_969 nanoseconds. + Weight::from_parts(76_780_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -270,8 +268,8 @@ impl WeightInfo for () { // Storage: `NodleUniques::CollectionExtraDepositDetails` (r:0 w:1) // Proof: `NodleUniques::CollectionExtraDepositDetails` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn create_with_extra_deposit_limit() -> Weight { - // Minimum execution time: 51_600 nanoseconds. - Weight::from_parts(53_360_000_u64, 0) + // Minimum execution time: 43_430 nanoseconds. + Weight::from_parts(45_130_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -286,8 +284,8 @@ impl WeightInfo for () { // Storage: `Uniques::ClassAccount` (r:0 w:2) // Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) fn transfer_ownership() -> Weight { - // Minimum execution time: 79_780 nanoseconds. - Weight::from_parts(80_800_000_u64, 0) + // Minimum execution time: 71_550 nanoseconds. + Weight::from_parts(73_091_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -296,8 +294,8 @@ impl WeightInfo for () { // Storage: `NodleUniques::CollectionExtraDepositDetails` (r:1 w:1) // Proof: `NodleUniques::CollectionExtraDepositDetails` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn update_extra_deposit_limit() -> Weight { - // Minimum execution time: 27_890 nanoseconds. - Weight::from_parts(29_030_000_u64, 0) + // Minimum execution time: 23_530 nanoseconds. + Weight::from_parts(24_220_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index 6ad11fb1e74..7d482b02971 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "primitives" -version = "2.4.2" -authors = ["Eliott Teissonniere "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [features] default = ["std"] @@ -18,22 +18,20 @@ std = [ "sp-consensus-aura/std", "xcm-executor/std", "xcm/std", - "polkadot-parachain/std" + "polkadot-parachain-primitives/std" ] [dependencies] -serde = { version = "1.0.152", optional = true, features = ["derive"] } -codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } -scale-info = { version = "2.0.1", default-features = false, features = [ - "derive" -] } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v1.0.0" } -xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v1.0.0" } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v1.0.0" } +serde = { workspace = true, optional = true, features = ["derive"] } +codec = { workspace = true, default-features = false, features = ["derive"] } +scale-info = { workspace = true, default-features = false, features = ["derive"] } +frame-system = { workspace = true, default-features = false } +frame-support = { workspace = true, default-features = false } +sp-application-crypto = { workspace = true, default-features = false } +sp-core = { workspace = true, default-features = false } +sp-runtime = { workspace = true, default-features = false } +sp-std = { workspace = true, default-features = false } +sp-consensus-aura = { workspace = true, default-features = false } +xcm = { workspace = true, default-features = false} +xcm-executor = { workspace = true, default-features = false } +polkadot-parachain-primitives = { workspace = true, default-features = false } diff --git a/primitives/src/lib.rs b/primitives/src/lib.rs index 17447277458..59c9e23197b 100644 --- a/primitives/src/lib.rs +++ b/primitives/src/lib.rs @@ -26,7 +26,7 @@ use sp_runtime::{ MultiSignature, OpaqueExtrinsic, }; -pub use polkadot_parachain::primitives::{ +pub use polkadot_parachain_primitives::primitives::{ DmpMessageHandler, Id as ParaId, UpwardMessage, ValidationParams, XcmpMessageFormat, XcmpMessageHandler, }; diff --git a/runtimes/eden/Cargo.toml b/runtimes/eden/Cargo.toml index f1ab7f751ba..c23c9e629d7 100644 --- a/runtimes/eden/Cargo.toml +++ b/runtimes/eden/Cargo.toml @@ -1,8 +1,8 @@ [package] -authors = ["Eliott Teissonniere "] -edition = "2021" +authors.workspace = true +edition.workspace = true name = "runtime-eden" -version = "2.4.2" +version.workspace = true [features] default = ["std"] @@ -31,6 +31,7 @@ std = [ "pallet-reserve/std", "pallet-scheduler/std", "pallet-preimage/std", + "pallet-proxy/std", "pallet-session/std", "pallet-timestamp/std", "pallet-transaction-payment/std", @@ -39,11 +40,10 @@ std = [ "pallet-utility/std", "pallet-aura/std", "pallet-collator-selection/std", - "pallet-contracts-primitives/std", "pallet-contracts/std", "pallet-xcm/std", "pallet-identity/std", - "polkadot-parachain/std", + "polkadot-parachain-primitives/std", "polkadot-runtime-common/std", "xcm/std", "xcm-builder/std", @@ -71,6 +71,7 @@ std = [ "sp-io/std", "sp-offchain/std", "sp-runtime/std", + "sp-storage/std", "sp-session/std", "sp-staking/std", "sp-std/std", @@ -78,6 +79,8 @@ std = [ "sp-version/std", "sp-npos-elections/std", "pallet-xcm-benchmarks/std", + "pallet-message-queue/std", + "parachains-common/std" ] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", @@ -93,6 +96,7 @@ runtime-benchmarks = [ "pallet-reserve/runtime-benchmarks", "pallet-scheduler/runtime-benchmarks", "pallet-preimage/runtime-benchmarks", + "pallet-proxy/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "pallet-uniques/runtime-benchmarks", "pallet-nodle-uniques/runtime-benchmarks", @@ -108,7 +112,11 @@ runtime-benchmarks = [ "pallet-xcm-benchmarks/runtime-benchmarks", "cumulus-pallet-xcmp-queue/runtime-benchmarks", "sp-runtime/runtime-benchmarks", - "cumulus-pallet-parachain-system/runtime-benchmarks" + "cumulus-pallet-parachain-system/runtime-benchmarks", + "cumulus-pallet-dmp-queue/runtime-benchmarks", + "cumulus-primitives-core/runtime-benchmarks", + "pallet-message-queue/runtime-benchmarks", + "parachains-common/runtime-benchmarks" ] try-runtime = [ "frame-executive/try-runtime", @@ -132,6 +140,7 @@ try-runtime = [ "pallet-reserve/try-runtime", "pallet-scheduler/try-runtime", "pallet-preimage/try-runtime", + "pallet-proxy/try-runtime", "pallet-session/try-runtime", "pallet-timestamp/try-runtime", "pallet-transaction-payment/try-runtime", @@ -149,86 +158,91 @@ try-runtime = [ "pallet-xcm/try-runtime", "parachain-info/try-runtime", "orml-xtokens/try-runtime", - "cumulus-pallet-parachain-system/try-runtime" + "cumulus-pallet-parachain-system/try-runtime", + "pallet-message-queue/try-runtime" ] [dependencies] -static_assertions = "1.1.0" -getrandom = { version = "0.2", features = ["js"] } -safe-mix = { version = "1.0.1", default-features = false } -codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } -hex-literal = { version = "0.4.1" } -log = { version = "0.4.17", default-features = false } -scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } -serde = { version = "1.0.152", optional = true, features = ["derive"] } -smallvec = "1.9.0" +static_assertions.workspace = true +getrandom = { workspace = true, features = ["js"] } +safe-mix = { workspace = true, default-features = false } +codec = { workspace = true, default-features = false, features = ["derive"] } +hex-literal.workspace = true +log = { workspace = true, default-features = false } +scale-info = { workspace = true, default-features = false, features = ["derive"] } +serde = { workspace = true, optional = true, features = ["derive"] } +smallvec.workspace = true +lazy_static = {workspace = true, default-features = false, features = ["spin_no_std"] } + +frame-benchmarking = { workspace = true, default-features = false, optional = true } +frame-system-benchmarking = { workspace = true, default-features = false, optional = true } +frame-executive = { workspace = true, default-features = false } +frame-support = { workspace = true, default-features = false } +frame-system = { workspace = true, default-features = false } +frame-system-rpc-runtime-api = { workspace = true, default-features = false } +pallet-authority-discovery = { workspace = true, default-features = false } +pallet-authorship = { workspace = true, default-features = false } +pallet-balances = { workspace = true, default-features = false } +pallet-message-queue = { workspace = true, default-features = false } +pallet-collective = { workspace = true, default-features = false } +pallet-im-online = { workspace = true, default-features = false } +pallet-membership = { workspace = true, default-features = false } +pallet-multisig = { workspace = true, default-features = false } +pallet-offences = { workspace = true, default-features = false } +pallet-insecure-randomness-collective-flip = { workspace = true, default-features = false } +pallet-scheduler = { workspace = true, default-features = false } +pallet-preimage = { workspace = true, default-features = false } +pallet-proxy = { workspace = true, default-features = false } +pallet-session = { workspace = true, default-features = false } +pallet-timestamp = { workspace = true, default-features = false } +pallet-transaction-payment = { workspace = true, default-features = false } +pallet-transaction-payment-rpc-runtime-api = { workspace = true, default-features = false } +pallet-uniques = { workspace = true, default-features = false } +pallet-utility = { workspace = true, default-features = false } +pallet-aura = { workspace = true, default-features = false } +pallet-identity = { workspace = true, default-features = false } -lazy_static = {version = "1.4.0", default-features = false, features = ["spin_no_std"] } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v1.0.0" } -frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v1.0.0" } -frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -pallet-im-online = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -pallet-insecure-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -pallet-preimage = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -pallet-uniques = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -pallet-identity = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } +cumulus-pallet-xcmp-queue = { workspace = true, default-features = false } +pallet-xcm = { workspace = true, default-features = false } +pallet-xcm-benchmarks = { workspace = true, default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0", default-features = false } -pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v1.0.0" } -pallet-xcm-benchmarks = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v1.0.0" } +pallet-contracts = { workspace = true, default-features = false } -pallet-contracts = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -pallet-contracts-primitives = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } +polkadot-parachain-primitives = { workspace = true, default-features = false } +polkadot-runtime-common = { workspace = true, default-features = false } +polkadot-primitives = { workspace = true, default-features = false } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v1.0.0" } -polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v1.0.0" } -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v1.0.0" } -xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v1.0.0" } -xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v1.0.0" } -xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v1.0.0" } -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v1.0.0" } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v1.0.0" } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v1.0.0" } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v1.0.0" } -pallet-collator-selection = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v1.0.0" } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v1.0.0" } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v1.0.0" } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v1.0.0" } -parachain-info = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v1.0.0" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-consensus-babe = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-npos-elections = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0", optional = true } +xcm = { workspace = true, default-features = false} +xcm-builder = { workspace = true, default-features = false } +xcm-executor = { workspace = true, default-features = false } +cumulus-pallet-aura-ext = { workspace = true, default-features = false } +cumulus-pallet-dmp-queue = { workspace = true, default-features = false } +cumulus-pallet-parachain-system = { workspace = true, default-features = false } +cumulus-pallet-xcm = { workspace = true, default-features = false } +pallet-collator-selection = { workspace = true, default-features = false } +parachains-common = { workspace = true, default-features = false } +cumulus-primitives-core = { workspace = true, default-features = false } +cumulus-primitives-timestamp = { workspace = true, default-features = false } +cumulus-primitives-utility = { workspace = true, default-features = false } +parachain-info = { workspace = true, default-features = false } +sp-api = { workspace = true, default-features = false } +sp-application-crypto = { workspace = true, default-features = false } +sp-consensus-babe = { workspace = true, default-features = false } +sp-block-builder = { workspace = true, default-features = false } +sp-core = { workspace = true, default-features = false } +sp-inherents = { workspace = true, default-features = false } +sp-io = { workspace = true, default-features = false } +sp-offchain = { workspace = true, default-features = false } +sp-runtime = { workspace = true, default-features = false } +sp-storage = { workspace = true, default-features = false } +sp-session = { workspace = true, default-features = false } +sp-staking = { workspace = true, default-features = false } +sp-std = { workspace = true, default-features = false } +sp-transaction-pool = { workspace = true, default-features = false } +sp-version = { workspace = true, default-features = false } +sp-npos-elections = { workspace = true, default-features = false } +sp-consensus-aura = { workspace = true, default-features = false } +frame-try-runtime = { workspace = true, default-features = false, optional = true } primitives = { default-features = false, path = "../../primitives" } pallet-allocations = { default-features = false, path = "../../pallets/allocations" } pallet-reserve = { default-features = false, path = "../../pallets/reserve" } @@ -236,7 +250,9 @@ pallet-grants = { default-features = false, path = "../../pallets/grants" } pallet-mandate = { default-features = false, path = "../../pallets/mandate" } pallet-sponsorship = { default-features = false, path = "../../pallets/sponsorship" } pallet-nodle-uniques = { default-features = false, path = "../../pallets/uniques" } -orml-xtokens = { git = "https://github.com/NodleCode/open-runtime-module-library.git", branch = "polkadot-v1.0.0", default-features = false } -orml-traits = { git = "https://github.com/NodleCode/open-runtime-module-library.git", branch = "polkadot-v1.0.0", default-features = false } + +orml-xtokens = { workspace = true, default-features = false } +orml-traits = { workspace = true, default-features = false } + [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } +substrate-wasm-builder.workspace = true diff --git a/runtimes/eden/src/constants.rs b/runtimes/eden/src/constants.rs index 3a58bcd66f7..ed54bcef9aa 100644 --- a/runtimes/eden/src/constants.rs +++ b/runtimes/eden/src/constants.rs @@ -37,6 +37,8 @@ pub const MICRO_NODL: Balance = MILLI_NODL / 1_000; pub const NANO_NODL: Balance = MICRO_NODL / 1_000; pub const EXISTENTIAL_DEPOSIT: Balance = 100 * NANO_NODL; +pub const POLKADOT_EXISTENTIAL_DEPOSIT: Balance = 10_000_000_000; +pub const POLKADOT_CENT: Balance = 100_000_000; pub const fn deposit(items: u32, bytes: u32) -> Balance { items as Balance * 1_500 * MICRO_NODL + (bytes as Balance) * 600 * MICRO_NODL diff --git a/runtimes/eden/src/lib.rs b/runtimes/eden/src/lib.rs index 60631de8010..e61aa854dff 100644 --- a/runtimes/eden/src/lib.rs +++ b/runtimes/eden/src/lib.rs @@ -101,7 +101,7 @@ construct_runtime! { ParachainSystem: cumulus_pallet_parachain_system = 30, ParachainInfo: parachain_info = 31, CumulusXcm: cumulus_pallet_xcm = 32, - DmpQueue: cumulus_pallet_dmp_queue = 33, + MessageQueue: pallet_message_queue = 33, XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event} = 34, PolkadotXcm: pallet_xcm::{Pallet, Call, Storage, Event, Origin, Config} = 35, XTokens: orml_xtokens::{Pallet, Call, Storage, Event} = 36, @@ -110,10 +110,11 @@ construct_runtime! { Utility: pallet_utility = 40, Multisig: pallet_multisig = 41, Uniques: pallet_uniques::{Pallet, Storage, Event} = 42, - Preimage: pallet_preimage::{Pallet, Call, Storage, Event} = 43, + Preimage: pallet_preimage::{Pallet, Call, Storage, Event, HoldReason} = 43, NodleUniques: pallet_nodle_uniques = 44, Sponsorship: pallet_sponsorship = 45, Identity: pallet_identity::{Pallet, Call, Storage, Event} = 46, + Proxy: pallet_proxy = 47, // Nodle Stack // EmergencyShutdown: pallet_emergency_shutdown = 50, @@ -127,6 +128,39 @@ construct_runtime! { Contracts: pallet_contracts = 62, } } +#[cfg(feature = "runtime-benchmarks")] +use pallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; + +#[cfg(feature = "runtime-benchmarks")] +mod benches { + frame_benchmarking::define_benchmarks!( + [frame_system, SystemBench::] + [pallet_timestamp, Timestamp] + [pallet_balances, Balances] + [pallet_scheduler, Scheduler] + [pallet_preimage, Preimage] + [pallet_multisig, Multisig] + [pallet_reserve, CompanyReserve] + [pallet_grants, Vesting] + [pallet_uniques, Uniques] + [pallet_nodle_uniques, NodleUniques] + [pallet_message_queue, MessageQueue] + [pallet_sponsorship, Sponsorship] + [pallet_proxy, Proxy] + [pallet_utility, Utility] + [pallet_allocations, Allocations] + [pallet_collator_selection, CollatorSelection] + [pallet_contracts, Contracts] + [pallet_identity, Identity] + [pallet_membership, TechnicalMembership] + [pallet_collective, TechnicalCommittee ] + [pallet_xcm, PalletXcmExtrinsicsBenchmark::] + [pallet_xcm_benchmarks::generic, XcmGenericBenchmarks] + [pallet_xcm_benchmarks::fungible, XcmFungibleBenchmarks] + [cumulus_pallet_parachain_system, ParachainSystem] + ); +} + /// The address format for describing accounts. pub type Address = sp_runtime::MultiAddress; /// Block header type as expected by this runtime. @@ -154,8 +188,14 @@ pub type UncheckedExtrinsic = generic::UncheckedExtrinsic; /// Extrinsic type that has already been checked. pub type CheckedExtrinsic = generic::CheckedExtrinsic; +const TEST_ALL_STEPS: bool = cfg!(feature = "try-runtime"); -pub type Migrations = (); +pub type Migrations = ( + pallet_contracts::Migration, + cumulus_pallet_xcmp_queue::migration::v4::MigrationToV4, + pallet_identity::migration::v1::VersionUncheckedMigrateV0ToV1, + migrations::MultiMigration, +); /// Executive: handles dispatch to the various modules. pub type Executive = frame_executive::Executive< Runtime, @@ -299,7 +339,7 @@ sp_api::impl_runtime_apis! { gas_limit: Option, storage_deposit_limit: Option, input_data: Vec, - ) -> pallet_contracts_primitives::ContractExecResult { + ) -> pallet_contracts::ContractExecResult { let gas_limit = gas_limit.unwrap_or(RuntimeBlockWeights::get().max_block); Contracts::bare_call( origin, @@ -319,10 +359,10 @@ sp_api::impl_runtime_apis! { value: Balance, gas_limit: Option, storage_deposit_limit: Option, - code: pallet_contracts_primitives::Code, + code: pallet_contracts::Code, data: Vec, salt: Vec, - ) -> pallet_contracts_primitives::ContractInstantiateResult { + ) -> pallet_contracts::ContractInstantiateResult { let gas_limit = gas_limit.unwrap_or(RuntimeBlockWeights::get().max_block); Contracts::bare_instantiate( origin, @@ -342,14 +382,14 @@ sp_api::impl_runtime_apis! { code: Vec, storage_deposit_limit: Option, determinism: pallet_contracts::Determinism, - ) -> pallet_contracts_primitives::CodeUploadResult { + ) -> pallet_contracts::CodeUploadResult { Contracts::bare_upload_code(origin, code, storage_deposit_limit, determinism) } fn get_storage( address: AccountId, key: Vec, - ) -> pallet_contracts_primitives::GetStorageResult { + ) -> pallet_contracts::GetStorageResult { Contracts::get_storage(address, key) } } @@ -360,38 +400,14 @@ sp_api::impl_runtime_apis! { Vec, Vec, ) { - use frame_benchmarking::{list_benchmark, Benchmarking, BenchmarkList}; + use frame_benchmarking::{Benchmarking, BenchmarkList}; use frame_support::traits::StorageInfoTrait; - // Trying to add benchmarks directly to the Session Pallet caused cyclic dependency - // issues. To get around that, we separated the Session benchmarks into its own crate, - // which is why we need these two lines below. - // use pallet_loans_benchmarking::Pallet as LoansBench; use frame_system_benchmarking::Pallet as SystemBench; let mut list = Vec::::new(); - list_benchmark!(list, extra, frame_system, SystemBench::); - list_benchmark!(list, extra, pallet_timestamp, Timestamp); - list_benchmark!(list, extra, pallet_balances, Balances); - list_benchmark!(list, extra, pallet_scheduler, Scheduler); - list_benchmark!(list, extra, pallet_preimage, Preimage); - list_benchmark!(list, extra, pallet_multisig, Multisig); - list_benchmark!(list, extra, pallet_reserve, CompanyReserve); - list_benchmark!(list, extra, pallet_grants, Vesting); - list_benchmark!(list, extra, pallet_uniques, Uniques); - list_benchmark!(list, extra, pallet_nodle_uniques, NodleUniques); - list_benchmark!(list, extra, pallet_sponsorship, Sponsorship); - list_benchmark!(list, extra, pallet_utility, Utility); - list_benchmark!(list, extra, pallet_allocations, Allocations); - list_benchmark!(list, extra, pallet_collator_selection, CollatorSelection); - list_benchmark!(list, extra, pallet_contracts, Contracts); - list_benchmark!(list, extra, pallet_identity, Identity); - list_benchmark!(list, extra, pallet_membership, TechnicalMembership); - list_benchmark!(list, extra, pallet_xcm, PolkadotXcm); - list_benchmark!(list, extra, pallet_xcm_benchmarks::generic, XcmGenericBenchmarks); - list_benchmark!(list, extra, pallet_xcm_benchmarks::fungible, XcmFungibleBenchmarks); - + list_benchmarks!(list, extra); let storage_info = AllPalletsWithSystem::storage_info(); (list, storage_info) @@ -400,11 +416,31 @@ sp_api::impl_runtime_apis! { fn dispatch_benchmark( config: frame_benchmarking::BenchmarkConfig, ) -> Result, sp_runtime::RuntimeString> { - // We did not include the offences and sessions benchmarks as they are parity - // specific and were causing some issues at compile time as they depend on the - // presence of the staking and elections pallets. + use cumulus_primitives_core::{Fungibility::Fungible, MultiAsset, MultiLocation, Parent}; + use frame_benchmarking::{Benchmarking, BenchmarkBatch,BenchmarkError}; - use frame_benchmarking::{Benchmarking, BenchmarkBatch,BenchmarkError, TrackedStorageKey, add_benchmark}; + use crate::constants::POLKADOT_EXISTENTIAL_DEPOSIT; + + impl pallet_xcm::benchmarking::Config for Runtime { + fn reachable_dest() -> Option { + Some(Parent.into()) + } + + fn teleportable_asset_and_dest() -> Option<(MultiAsset, MultiLocation)> { + // Relay/native token can be teleported between People and Relay. + Some(( + MultiAsset { + fun: Fungible(POLKADOT_EXISTENTIAL_DEPOSIT), + id: Parent.into() + }, + Parent.into(), + )) + } + + fn reserve_transferable_asset_and_dest() -> Option<(MultiAsset, MultiLocation)> { + None + } + } use frame_system_benchmarking::Pallet as SystemBench; @@ -420,7 +456,7 @@ sp_api::impl_runtime_apis! { } - let whitelist: Vec = vec![ + let whitelist: Vec = vec![ // Block Number hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef702a5c1b19ab7a04f536c519aca4983ac").to_vec().into(), // Total Issuance @@ -436,26 +472,7 @@ sp_api::impl_runtime_apis! { let mut batches = Vec::::new(); let params = (&config, &whitelist); - add_benchmark!(params, batches, frame_system, SystemBench::); - add_benchmark!(params, batches, pallet_timestamp, Timestamp); - add_benchmark!(params, batches, pallet_balances, Balances); - add_benchmark!(params, batches, pallet_scheduler, Scheduler); - add_benchmark!(params, batches, pallet_preimage, Preimage); - add_benchmark!(params, batches, pallet_multisig, Multisig); - add_benchmark!(params, batches, pallet_reserve, CompanyReserve); - add_benchmark!(params, batches, pallet_grants, Vesting); - add_benchmark!(params, batches, pallet_uniques, Uniques); - add_benchmark!(params, batches, pallet_nodle_uniques, NodleUniques); - add_benchmark!(params, batches, pallet_sponsorship, Sponsorship); - add_benchmark!(params, batches, pallet_utility, Utility); - add_benchmark!(params, batches, pallet_allocations, Allocations); - add_benchmark!(params, batches, pallet_collator_selection, CollatorSelection); - add_benchmark!(params, batches, pallet_contracts, Contracts); - add_benchmark!(params, batches, pallet_identity, Identity); - add_benchmark!(params, batches, pallet_membership, TechnicalMembership); - add_benchmark!(params, batches, pallet_xcm, PolkadotXcm); - add_benchmark!(params, batches, pallet_xcm_benchmarks::generic, XcmGenericBenchmarks); - add_benchmark!(params, batches, pallet_xcm_benchmarks::fungible, XcmFungibleBenchmarks); + add_benchmarks!(params, batches); if batches.is_empty() { return Err("Benchmark not found for this pallet.".into()) } Ok(batches) diff --git a/runtimes/eden/src/migrations.rs b/runtimes/eden/src/migrations.rs index aeb819a073b..ba39113789b 100644 --- a/runtimes/eden/src/migrations.rs +++ b/runtimes/eden/src/migrations.rs @@ -15,23 +15,47 @@ where + pallet_collective::Config + pallet_collator_selection::Config + pallet_xcm::Config + + pallet_identity::Config + pallet_preimage::Config + pallet_multisig::Config + pallet_contracts::Config + pallet_uniques::Config - + pallet_nodle_uniques::Config, + + pallet_mandate::Config + + pallet_nodle_uniques::Config + + pallet_reserve::Config + + pallet_message_queue::Config, { fn on_runtime_upgrade() -> Weight { - // Size of onchain storage is 0 safe to upgrade storage version - // Onchain storage version = 1 in source code - unchanged any new data will be in the v1 format - StorageVersion::new(1).put::>(); - // pallet_uniques adding a storage version not chaning anything + // pallet_uniques adding a storage version not changing anything StorageVersion::new(1).put::>(); - // Store version 0 for default - StorageVersion::new(0).put::>(); + // Version 1.5 Fixup two unmigrated storage blocks found on mainnet. HostConfiguration is automatically reloaded and Preimage/StatusFor is unused. + // [2024-02-06T11:29:36Z ERROR runtime::executive] - 0. error: Failed to decode storage item `ParachainSystem::HostConfiguration` + // [2024-02-06T11:29:36Z DEBUG runtime::executive] - 0. error: TryDecodeEntireStorageError { key: [69, 50, 61, 247, 204, 71, 21, 11, 57, 48, 226, 102, 107, 10, 163, 19, 197, 34, 35, 24, 128, 35, 138, 12, 86, 2, 27, 135, 68, 160, 7, 67], raw: Some([0, 0, 48, 0, 0, 80, 0, 0, 170, 170, 2, 0, 0, 0, 16, 0, 251, 255, 0, 0, 16, 0, 0, 0, 10, 0, 0, 0, 64, 56, 0, 0, 88, 2, 0, 0]), info: StorageInfo { pallet_name: [80, 97, 114, 97, 99, 104, 97, 105, 110, 83, 121, 115, 116, 101, 109], storage_name: [72, 111, 115, 116, 67, 111, 110, 102, 105, 103, 117, 114, 97, 116, 105, 111, 110], prefix: [69, 50, 61, 247, 204, 71, 21, 11, 57, 48, 226, 102, 107, 10, 163, 19, 197, 34, 35, 24, 128, 35, 138, 12, 86, 2, 27, 135, 68, 160, 7, 67], max_values: Some(1), max_size: None } } + // [2024-02-06T11:29:36Z ERROR runtime::executive] - 1. error: Failed to decode storage item `Preimage::StatusFor` + // [2024-02-06T11:29:36Z DEBUG runtime::executive] - 1. error: TryDecodeEntireStorageError { key: [216, 243, 20, 183, 244, 230, 176, 149, 240, 248, 238, 70, 86, 164, 72, 37, 85, 177, 174, 142, 206, 213, 82, 47, 60, 64, 73, 188, 132, 237, 164, 168, 134, 165, 126, 209, 14, 33, 121, 241, 141, 181, 169, 30, 183, 253, 57, 95, 170, 112, 42, 188, 5, 207, 200, 241, 243, 215, 36, 138, 208, 108, 237, 135], raw: Some([0, 1, 74, 34, 11, 19, 82, 60, 166, 200, 236, 155, 46, 110, 132, 247, 154, 76, 85, 37, 199, 188, 137, 30, 55, 23, 255, 89, 202, 125, 127, 172, 65, 44, 0, 67, 52, 105, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), info: StorageInfo { pallet_name: [80, 114, 101, 105, 109, 97, 103, 101], storage_name: [83, 116, 97, 116, 117, 115, 70, 111, 114], prefix: [216, 243, 20, 183, 244, 230, 176, 149, 240, 248, 238, 70, 86, 164, 72, 37, 85, 177, 174, 142, 206, 213, 82, 47, 60, 64, 73, 188, 132, 237, 164, 168], max_values: None, max_size: None } } - T::DbWeight::get().writes(6) + //Host Configuration + // TODO Remove this migration at final merge. It is only needed during integration (as it will fail one test in CI and hide other real errors) + let parachain_system_host_configuration_key = [ + 69_u8, 50, 61, 247, 204, 71, 21, 11, 57, 48, 226, 102, 107, 10, 163, 19, 197, 34, 35, 24, 128, 35, 138, 12, + 86, 2, 27, 135, 68, 160, 7, 67, + ]; + let _ = frame_support::storage::unhashed::clear_prefix(¶chain_system_host_configuration_key, Some(1), None); + + // PreImage + let pre_image_status_for_key = [ + 216_u8, 243, 20, 183, 244, 230, 176, 149, 240, 248, 238, 70, 86, 164, 72, 37, 85, 177, 174, 142, 206, 213, + 82, 47, 60, 64, 73, 188, 132, 237, 164, 168, 134, 165, 126, 209, 14, 33, 121, 241, 141, 181, 169, 30, 183, + 253, 57, 95, 170, 112, 42, 188, 5, 207, 200, 241, 243, 215, 36, 138, 208, 108, 237, 135, + ]; + let _ = frame_support::storage::unhashed::clear_prefix(&pre_image_status_for_key, Some(1), None); + + // Storage migration `pallet_identity::migration::v1::VersionUncheckedMigrateV0ToV1,` does not update + // StorageVersion on chain. + StorageVersion::new(1).put::>(); + + T::DbWeight::get().writes(11) } #[cfg(feature = "try-runtime")] @@ -44,6 +68,10 @@ where StorageVersion::get::>() == 0, TryRuntimeError::Other("pallet_uniques storage version is not 0") ); + ensure!( + StorageVersion::get::>() == 0, + TryRuntimeError::Other("pallet_identity storage version is not 0") + ); Ok(vec![]) } diff --git a/runtimes/eden/src/pallets_governance.rs b/runtimes/eden/src/pallets_governance.rs index 88144d45674..c219e6bc65d 100644 --- a/runtimes/eden/src/pallets_governance.rs +++ b/runtimes/eden/src/pallets_governance.rs @@ -34,7 +34,7 @@ impl pallet_reserve::Config for Runtime { type ExternalOrigin = MoreThanHalfOfTechComm; type RuntimeCall = RuntimeCall; type PalletId = CompanyReservePalletId; - type WeightInfo = pallet_reserve::weights::SubstrateWeight; + type WeightInfo = crate::weights::pallet_reserve::WeightInfo; } parameter_types! { @@ -47,7 +47,7 @@ impl pallet_reserve::Config for Runtime { type ExternalOrigin = MoreThanHalfOfTechComm; type RuntimeCall = RuntimeCall; type PalletId = InternationalReservePalletId; - type WeightInfo = pallet_reserve::weights::SubstrateWeight; + type WeightInfo = crate::weights::pallet_reserve::WeightInfo; } parameter_types! { @@ -60,7 +60,7 @@ impl pallet_reserve::Config for Runtime { type ExternalOrigin = MoreThanHalfOfTechComm; type RuntimeCall = RuntimeCall; type PalletId = UsaReservePalletId; - type WeightInfo = pallet_reserve::weights::SubstrateWeight; + type WeightInfo = crate::weights::pallet_reserve::WeightInfo; } parameter_types! { @@ -75,7 +75,7 @@ impl pallet_reserve::Config for Runtime { type ExternalOrigin = EnsureNever; type RuntimeCall = RuntimeCall; type PalletId = DaoReservePalletId; - type WeightInfo = pallet_reserve::weights::SubstrateWeight; + type WeightInfo = crate::weights::pallet_reserve::WeightInfo; } parameter_types! { @@ -95,7 +95,7 @@ impl pallet_collective::Config for Runtime { type RuntimeEvent = RuntimeEvent; type MotionDuration = MotionDuration; type MaxProposals = MaxProposals; - type WeightInfo = (); + type WeightInfo = crate::weights::pallet_collective::WeightInfo; type MaxMembers = MaxMembers; type DefaultVote = pallet_collective::PrimeDefaultVote; type SetMembersOrigin = EnsureRootOrMoreThanHalfOfTechComm; diff --git a/runtimes/eden/src/pallets_nodle.rs b/runtimes/eden/src/pallets_nodle.rs index 8bf36584ff2..0657772d973 100644 --- a/runtimes/eden/src/pallets_nodle.rs +++ b/runtimes/eden/src/pallets_nodle.rs @@ -97,7 +97,7 @@ impl pallet_allocations::Config for Runtime { type MaxAllocs = MaxAllocs; type OracleMembers = AllocationsOracles; type BlockNumberProvider = RelayChainBlockNumberProvider; - type WeightInfo = pallet_allocations::weights::SubstrateWeight; + type WeightInfo = crate::weights::pallet_allocations::WeightInfo; } parameter_types! { diff --git a/runtimes/eden/src/pallets_parachain.rs b/runtimes/eden/src/pallets_parachain.rs index 69cd562e137..1ebee14d463 100644 --- a/runtimes/eden/src/pallets_parachain.rs +++ b/runtimes/eden/src/pallets_parachain.rs @@ -16,24 +16,49 @@ * along with this program. If not, see . */ +use crate::MessageQueue; use crate::{ - constants, pallets_governance::EnsureRootOrMoreThanHalfOfTechComm, xcm_config::XcmConfig, DmpQueue, Runtime, - RuntimeEvent, XcmpQueue, + constants::{self, RuntimeBlockWeights}, + Runtime, RuntimeEvent, XcmpQueue, }; use cumulus_pallet_parachain_system::RelayNumberStrictlyIncreases; -use frame_support::{dispatch::Weight, match_types, parameter_types}; +use cumulus_primitives_core::AggregateMessageOrigin; +use frame_support::{match_types, parameter_types}; +use parachains_common::message_queue::NarrowOriginToSibling; +use sp_runtime::Perbill; use xcm::latest::prelude::*; -use xcm_executor::XcmExecutor; - match_types! { pub type JustTheParent: impl Contains = { MultiLocation { parents:1, interior: Here } }; } -impl cumulus_pallet_dmp_queue::Config for Runtime { +parameter_types! { + pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; +} + +parameter_types! { + pub MessageQueueServiceWeight: Weight = Perbill::from_percent(35) * RuntimeBlockWeights::get().max_block; +} + +impl pallet_message_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type XcmExecutor = XcmExecutor; - type ExecuteOverweightOrigin = EnsureRootOrMoreThanHalfOfTechComm; + type WeightInfo = crate::weights::pallet_message_queue::WeightInfo; + #[cfg(feature = "runtime-benchmarks")] + type MessageProcessor = + pallet_message_queue::mock_helpers::NoopMessageProcessor; + #[cfg(not(feature = "runtime-benchmarks"))] + type MessageProcessor = xcm_builder::ProcessXcmMessage< + AggregateMessageOrigin, + xcm_executor::XcmExecutor, + crate::RuntimeCall, + >; + type Size = u32; + // The XCMP queue pallet is only ever able to handle the `Sibling(ParaId)` origin: + type QueueChangeHandler = NarrowOriginToSibling; + type QueuePausedQuery = NarrowOriginToSibling; + type HeapSize = sp_core::ConstU32<{ 64 * 1024 }>; + type MaxStale = sp_core::ConstU32<8>; + type ServiceWeight = MessageQueueServiceWeight; } parameter_types! { @@ -45,11 +70,12 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type OnSystemEvent = (); type SelfParaId = parachain_info::Pallet; type OutboundXcmpMessageSource = XcmpQueue; - type DmpMessageHandler = DmpQueue; type ReservedDmpWeight = ReservedDmpWeight; type XcmpMessageHandler = XcmpQueue; type ReservedXcmpWeight = (); type CheckAssociatedRelayNumber = RelayNumberStrictlyIncreases; + type DmpQueue = frame_support::traits::EnqueueWithOrigin; + type WeightInfo = crate::weights::cumulus_pallet_parachain_system::WeightInfo; } impl parachain_info::Config for Runtime {} diff --git a/runtimes/eden/src/pallets_system.rs b/runtimes/eden/src/pallets_system.rs index 55745158ad5..f2286f5c2a6 100644 --- a/runtimes/eden/src/pallets_system.rs +++ b/runtimes/eden/src/pallets_system.rs @@ -20,7 +20,7 @@ use crate::{ constants, implementations::DealWithFees, version::VERSION, Balances, PalletInfo, Runtime, RuntimeCall, - RuntimeEvent, RuntimeOrigin, SignedExtra, SignedPayload, System, UncheckedExtrinsic, + RuntimeEvent, RuntimeOrigin, RuntimeTask, SignedExtra, SignedPayload, System, UncheckedExtrinsic, }; use codec::Encode; use frame_support::pallet_prelude::ConstU32; @@ -72,6 +72,7 @@ impl frame_system::Config for Runtime { type MaxConsumers = frame_support::traits::ConstU32<16>; type Nonce = Nonce; type Block = crate::Block; + type RuntimeTask = RuntimeTask; } parameter_types! { @@ -102,10 +103,11 @@ impl pallet_balances::Config for Runtime { type ExistentialDeposit = ExistentialDeposit; type AccountStore = frame_system::Pallet; type WeightInfo = crate::weights::pallet_balances::WeightInfo; - type MaxHolds = ConstU32<0>; + type MaxHolds = ConstU32<2>; type MaxFreezes = ConstU32<0>; type FreezeIdentifier = (); - type RuntimeHoldReason = (); + type RuntimeHoldReason = crate::RuntimeHoldReason; + type RuntimeFreezeReason = crate::RuntimeFreezeReason; } parameter_types! { diff --git a/runtimes/eden/src/pallets_util.rs b/runtimes/eden/src/pallets_util.rs index 957a526a7ae..781fabb754a 100644 --- a/runtimes/eden/src/pallets_util.rs +++ b/runtimes/eden/src/pallets_util.rs @@ -18,21 +18,25 @@ #![allow(clippy::identity_op)] use crate::{ - constants, implementations::RelayChainBlockNumberProvider, pallets_governance::MoreThanHalfOfTechComm, Balances, - DaoReserve, OriginCaller, Preimage, RandomnessCollectiveFlip, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, - Timestamp, + constants, constants::deposit, constants::DAYS, implementations::RelayChainBlockNumberProvider, + pallets_governance::MoreThanHalfOfTechComm, Balances, DaoReserve, OriginCaller, Preimage, RandomnessCollectiveFlip, + Runtime, RuntimeCall, RuntimeEvent, RuntimeHoldReason, RuntimeOrigin, Signature, Timestamp, }; use frame_support::{ pallet_prelude::{Decode, Encode, MaxEncodedLen, RuntimeDebug}, parameter_types, + traits::{fungible::HoldConsideration, LinearStoragePrice}, traits::{AsEnsureOriginWithArg, ConstBool, ConstU32, EqualPrivilegeOnly, InstanceFilter, Nothing}, weights::Weight, }; + use frame_system::{EnsureRoot, EnsureSigned}; use pallet_contracts::{Frame, Schedule}; +use pallet_identity::legacy::IdentityInfo; +use polkadot_primitives::BlakeTwo256; use primitives::{AccountId, Balance}; -use sp_runtime::Perbill; +use sp_runtime::{traits::Verify, Perbill}; parameter_types! { pub const MaxSchedule: u32 = 100; @@ -43,7 +47,7 @@ impl pallet_grants::Config for Runtime { type Currency = Balances; type CancelOrigin = MoreThanHalfOfTechComm; type MaxSchedule = MaxSchedule; - type WeightInfo = pallet_grants::weights::SubstrateWeight; + type WeightInfo = crate::weights::pallet_grants::WeightInfo; type BlockNumberProvider = RelayChainBlockNumberProvider; } @@ -96,6 +100,7 @@ impl pallet_scheduler::Config for Runtime { parameter_types! { pub const PreimageBaseDeposit: Balance = constants::deposit(2, 64); pub const PreimageByteDeposit: Balance = constants::deposit(0, 1); + pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage); } #[allow(clippy::identity_op)] @@ -104,8 +109,12 @@ impl pallet_preimage::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currency = Balances; type ManagerOrigin = EnsureRoot; - type BaseDeposit = PreimageBaseDeposit; - type ByteDeposit = PreimageByteDeposit; + type Consideration = HoldConsideration< + AccountId, + Balances, + PreimageHoldReason, + LinearStoragePrice, + >; } parameter_types! { @@ -175,12 +184,12 @@ impl pallet_sponsorship::Config for Runtime { type SponsorshipType = SponsorshipType; type PotDeposit = PotDeposit; type UserDeposit = UserDeposit; - type WeightInfo = pallet_sponsorship::weights::SubstrateWeight; + type WeightInfo = crate::weights::pallet_sponsorship::WeightInfo; } impl pallet_nodle_uniques::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type WeightInfo = pallet_nodle_uniques::weights::SubstrateWeight; + type WeightInfo = crate::weights::pallet_nodle_uniques::WeightInfo; } parameter_types! { @@ -188,6 +197,7 @@ parameter_types! { pub const DepositPerByte: Balance = constants::deposit(0, 1); pub const DefaultDepositLimit: Balance = constants::deposit(1024, 1024 * 1024); pub MySchedule: Schedule = Default::default(); + pub CodeHashLockupDepositPercent: Perbill = Perbill::from_percent(30); } impl pallet_contracts::Config for Runtime { @@ -219,10 +229,17 @@ impl pallet_contracts::Config for Runtime { type UnsafeUnstableInterface = ConstBool; type MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>; type Migrations = ( - pallet_contracts::migration::v10::Migration, - pallet_contracts::migration::v11::Migration, - pallet_contracts::migration::v12::Migration, + pallet_contracts::migration::v13::Migration, + pallet_contracts::migration::v14::Migration, + pallet_contracts::migration::v15::Migration, ); + type CodeHashLockupDepositPercent = CodeHashLockupDepositPercent; + type MaxDelegateDependencies = ConstU32<32>; + type RuntimeHoldReason = RuntimeHoldReason; + type Debug = (); + + type Environment = (); + type Xcm = (); } parameter_types! { @@ -232,18 +249,85 @@ parameter_types! { pub const MaxSubAccounts: u32 = 100; pub const MaxAdditionalFields: u32 = 100; pub const MaxRegistrars: u32 = 20; + pub const ByteDeposit: Balance = constants::deposit(0, 1); } impl pallet_identity::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currency = Balances; type BasicDeposit = BasicDeposit; - type FieldDeposit = FieldDeposit; type SubAccountDeposit = SubAccountDeposit; type MaxSubAccounts = MaxSubAccounts; - type MaxAdditionalFields = MaxAdditionalFields; type MaxRegistrars = MaxRegistrars; type Slashed = DaoReserve; type ForceOrigin = frame_system::EnsureRoot; type RegistrarOrigin = frame_system::EnsureRoot; type WeightInfo = crate::weights::pallet_identity::WeightInfo; + type IdentityInformation = IdentityInfo; + type ByteDeposit = ByteDeposit; + type OffchainSignature = Signature; + type SigningPublicKey = ::Signer; + type UsernameAuthorityOrigin = EnsureRoot; + type PendingUsernameExpiration = ConstU32<{ 7 * DAYS }>; + type MaxSuffixLength = ConstU32<7>; + type MaxUsernameLength = ConstU32<32>; +} + +parameter_types! { + // One storage item; key size 32, value size 8; . + pub const ProxyDepositBase: Balance = deposit(1, 8); + // Additional storage item size of 33 bytes. + pub const ProxyDepositFactor: Balance = deposit(0, 33); + pub const AnnouncementDepositBase: Balance = deposit(1, 8); + pub const AnnouncementDepositFactor: Balance = deposit(0, 66); +} + +/// The type used to represent the kinds of proxying allowed. +#[derive( + Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Encode, Decode, RuntimeDebug, MaxEncodedLen, scale_info::TypeInfo, +)] +pub enum ProxyType { + Any, + NonTransfer, + Governance, +} +impl Default for ProxyType { + fn default() -> Self { + Self::Any + } +} +impl InstanceFilter for ProxyType { + fn filter(&self, c: &RuntimeCall) -> bool { + match self { + ProxyType::Any => true, + ProxyType::NonTransfer => !matches!( + c, + RuntimeCall::Balances(..) | RuntimeCall::NodleUniques(..) // Do we need this??? RuntimeCall::Vesting(pallet_grants::Call::vested_transfer { .. }) | + ), + ProxyType::Governance => matches!(c, RuntimeCall::TechnicalCommittee(..)), + } + } + fn is_superset(&self, o: &Self) -> bool { + match (self, o) { + (x, y) if x == y => true, + (ProxyType::Any, _) => true, + (_, ProxyType::Any) => false, + (ProxyType::NonTransfer, _) => true, + _ => false, + } + } +} + +impl pallet_proxy::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type RuntimeCall = RuntimeCall; + type Currency = Balances; + type ProxyType = ProxyType; + type ProxyDepositBase = ProxyDepositBase; + type ProxyDepositFactor = ProxyDepositFactor; + type MaxProxies = ConstU32<32>; + type WeightInfo = crate::weights::pallet_proxy::WeightInfo; + type MaxPending = ConstU32<32>; + type CallHasher = BlakeTwo256; + type AnnouncementDepositBase = AnnouncementDepositBase; + type AnnouncementDepositFactor = AnnouncementDepositFactor; } diff --git a/runtimes/eden/src/weights/cumulus_pallet_parachain_system.rs b/runtimes/eden/src/weights/cumulus_pallet_parachain_system.rs new file mode 100644 index 00000000000..60d441bdf65 --- /dev/null +++ b/runtimes/eden/src/weights/cumulus_pallet_parachain_system.rs @@ -0,0 +1,69 @@ +/* + * This file is part of the Nodle Chain distributed at https://github.com/NodleCode/chain + * Copyright (C) 2020-2022 Nodle International + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +//! Autogenerated weights for cumulus_pallet_parachain_system +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-02-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `chain-bench-a18ada46`, CPU: `AMD EPYC 7B13` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/nodle-parachain +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --pallet=cumulus_pallet_parachain_system +// --extrinsic=* +// --wasm-execution=compiled +// --template=./.maintain/external_pallet_weights.hbs +// --output=runtimes/eden/src/weights + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::{Weight}}; +use core::marker::PhantomData; + +/// Weight functions for `cumulus_pallet_parachain_system`. +pub struct WeightInfo(PhantomData); +impl cumulus_pallet_parachain_system::WeightInfo for WeightInfo { + // Storage: `ParachainSystem::LastDmqMqcHead` (r:1 w:1) + // Proof: `ParachainSystem::LastDmqMqcHead` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `MessageQueue::BookStateFor` (r:1 w:1) + // Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + // Storage: `MessageQueue::ServiceHead` (r:1 w:1) + // Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + // Storage: `ParachainSystem::ProcessedDownwardMessages` (r:0 w:1) + // Proof: `ParachainSystem::ProcessedDownwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `MessageQueue::Pages` (r:0 w:1000) + // Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 1000]`. + fn enqueue_inbound_downward_messages(n: u32, ) -> Weight { + // Minimum execution time: 2_860 nanoseconds. + Weight::from_parts(2_930_000_u64, 0) + // Standard Error: 24_769 + .saturating_add(Weight::from_parts(215_709_339_u64, 0).saturating_mul(n as u64)) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n as u64))) + } +} diff --git a/runtimes/eden/src/weights/frame_system.rs b/runtimes/eden/src/weights/frame_system.rs index 515a011aa28..456716db840 100644 --- a/runtimes/eden/src/weights/frame_system.rs +++ b/runtimes/eden/src/weights/frame_system.rs @@ -18,9 +18,9 @@ //! Autogenerated weights for frame_system //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `chain-bench-b606df9f`, CPU: `AMD EPYC 7B13` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-02-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `chain-bench-a18ada46`, CPU: `AMD EPYC 7B13` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -48,25 +48,25 @@ pub struct WeightInfo(PhantomData); impl frame_system::WeightInfo for WeightInfo { /// The range of component `b` is `[0, 3932160]`. fn remark(b: u32, ) -> Weight { - // Minimum execution time: 3_010 nanoseconds. - Weight::from_parts(3_156_119_u64, 0) + // Minimum execution time: 3_260 nanoseconds. + Weight::from_parts(3_567_669_u64, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(359_u64, 0).saturating_mul(b as u64)) + .saturating_add(Weight::from_parts(362_u64, 0).saturating_mul(b as u64)) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { - // Minimum execution time: 11_820 nanoseconds. - Weight::from_parts(23_469_999_u64, 0) - // Standard Error: 3 - .saturating_add(Weight::from_parts(1_800_u64, 0).saturating_mul(b as u64)) + // Minimum execution time: 8_920 nanoseconds. + Weight::from_parts(21_576_107_u64, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_791_u64, 0).saturating_mul(b as u64)) } // Storage: `System::Digest` (r:1 w:1) // Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1) // Proof: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1) fn set_heap_pages() -> Weight { - // Minimum execution time: 6_140 nanoseconds. - Weight::from_parts(6_500_000_u64, 0) + // Minimum execution time: 5_300 nanoseconds. + Weight::from_parts(5_630_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -83,8 +83,8 @@ impl frame_system::WeightInfo for WeightInfo { // Storage: `ParachainSystem::DidSetValidationCode` (r:0 w:1) // Proof: `ParachainSystem::DidSetValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_code() -> Weight { - // Minimum execution time: 163_981_875 nanoseconds. - Weight::from_parts(169_531_684_000_u64, 0) + // Minimum execution time: 152_906_787 nanoseconds. + Weight::from_parts(158_334_036_000_u64, 0) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -92,10 +92,10 @@ impl frame_system::WeightInfo for WeightInfo { // Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `i` is `[0, 1000]`. fn set_storage(i: u32, ) -> Weight { - // Minimum execution time: 3_260 nanoseconds. - Weight::from_parts(3_340_000_u64, 0) - // Standard Error: 1_913 - .saturating_add(Weight::from_parts(1_039_759_u64, 0).saturating_mul(i as u64)) + // Minimum execution time: 3_250 nanoseconds. + Weight::from_parts(3_370_000_u64, 0) + // Standard Error: 2_091 + .saturating_add(Weight::from_parts(974_595_u64, 0).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i as u64))) } // Storage: `Skipped::Metadata` (r:0 w:0) @@ -103,20 +103,47 @@ impl frame_system::WeightInfo for WeightInfo { /// The range of component `i` is `[0, 1000]`. fn kill_storage(i: u32, ) -> Weight { // Minimum execution time: 3_270 nanoseconds. - Weight::from_parts(3_360_000_u64, 0) - // Standard Error: 842 - .saturating_add(Weight::from_parts(697_816_u64, 0).saturating_mul(i as u64)) + Weight::from_parts(3_390_000_u64, 0) + // Standard Error: 850 + .saturating_add(Weight::from_parts(664_662_u64, 0).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i as u64))) } // Storage: `Skipped::Metadata` (r:0 w:0) // Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { - // Minimum execution time: 6_400 nanoseconds. - Weight::from_parts(6_560_000_u64, 0) - // Standard Error: 1_167 - .saturating_add(Weight::from_parts(1_237_516_u64, 0).saturating_mul(p as u64)) + // Minimum execution time: 6_170 nanoseconds. + Weight::from_parts(6_260_000_u64, 0) + // Standard Error: 1_148 + .saturating_add(Weight::from_parts(1_203_602_u64, 0).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p as u64))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p as u64))) } + // Storage: `System::AuthorizedUpgrade` (r:0 w:1) + // Proof: `System::AuthorizedUpgrade` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`) + fn authorize_upgrade() -> Weight { + // Minimum execution time: 12_260 nanoseconds. + Weight::from_parts(12_570_000_u64, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: `System::AuthorizedUpgrade` (r:1 w:1) + // Proof: `System::AuthorizedUpgrade` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`) + // Storage: `ParachainSystem::ValidationData` (r:1 w:0) + // Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::UpgradeRestrictionSignal` (r:1 w:0) + // Proof: `ParachainSystem::UpgradeRestrictionSignal` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::PendingValidationCode` (r:1 w:1) + // Proof: `ParachainSystem::PendingValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + // Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::NewValidationCode` (r:0 w:1) + // Proof: `ParachainSystem::NewValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::DidSetValidationCode` (r:0 w:1) + // Proof: `ParachainSystem::DidSetValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + fn apply_authorized_upgrade() -> Weight { + // Minimum execution time: 150_253_687 nanoseconds. + Weight::from_parts(153_905_507_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } } diff --git a/runtimes/eden/src/weights/mod.rs b/runtimes/eden/src/weights/mod.rs index a6f130cd799..b977f1b7a66 100644 --- a/runtimes/eden/src/weights/mod.rs +++ b/runtimes/eden/src/weights/mod.rs @@ -1,17 +1,25 @@ +pub mod cumulus_pallet_parachain_system; pub mod frame_system; +pub mod pallet_allocations; pub mod pallet_balances; pub mod pallet_collator_selection; +pub mod pallet_collective; pub mod pallet_contracts; +pub mod pallet_grants; pub mod pallet_identity; pub mod pallet_membership; +pub mod pallet_message_queue; pub mod pallet_multisig; +pub mod pallet_nodle_uniques; pub mod pallet_preimage; +pub mod pallet_proxy; +pub mod pallet_reserve; pub mod pallet_scheduler; +pub mod pallet_sponsorship; pub mod pallet_timestamp; pub mod pallet_uniques; pub mod pallet_utility; pub mod pallet_xcm; - mod pallet_xcm_benchmarks_fungible; mod pallet_xcm_benchmarks_generic; @@ -106,9 +114,7 @@ impl cumulus_primitives_core::XcmWeightInfo for NodleX } fn reserve_asset_deposited(assets: &xcm::latest::MultiAssets) -> Weight { - // TODO CHA-407 #738 create benchmark for reserve_asset_deposited - // in pallet_xcm_benchmarks_fungible::WeightInfo and use it here - assets.weigh_multi_assets(Weight::from_parts(2_000_000_000_000_u64, 0)) + assets.weigh_multi_assets(XcmBalancesWeight::::reserve_asset_deposited()) } fn receive_teleported_asset(assets: &xcm::latest::MultiAssets) -> Weight { @@ -181,7 +187,7 @@ impl cumulus_primitives_core::XcmWeightInfo for NodleX _reserve: &xcm::latest::MultiLocation, _xcm: &xcm::latest::Xcm<()>, ) -> Weight { - XcmGeneric::::initiate_reserve_withdraw() + XcmBalancesWeight::::initiate_reserve_withdraw() } fn report_holding(_response_info: &QueryResponseInfo, _assets: &xcm::latest::MultiAssetFilter) -> Weight { diff --git a/runtimes/eden/src/weights/pallet_allocations.rs b/runtimes/eden/src/weights/pallet_allocations.rs new file mode 100644 index 00000000000..66f83501c5f --- /dev/null +++ b/runtimes/eden/src/weights/pallet_allocations.rs @@ -0,0 +1,122 @@ +/* + * This file is part of the Nodle Chain distributed at https://github.com/NodleCode/chain + * Copyright (C) 2020-2022 Nodle International + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +//! Autogenerated weights for pallet_allocations +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-02-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `chain-bench-a18ada46`, CPU: `AMD EPYC 7B13` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/nodle-parachain +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --pallet=pallet_allocations +// --extrinsic=* +// --wasm-execution=compiled +// --template=./.maintain/external_pallet_weights.hbs +// --output=runtimes/eden/src/weights + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::{Weight}}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_allocations`. +pub struct WeightInfo(PhantomData); +impl pallet_allocations::WeightInfo for WeightInfo { + // Storage: `Allocations::SessionQuota` (r:1 w:1) + // Proof: `Allocations::SessionQuota` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:502 w:502) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `b` is `[1, 500]`. + fn allocate(b: u32, ) -> Weight { + // Minimum execution time: 138_880 nanoseconds. + Weight::from_parts(33_652_674_u64, 0) + // Standard Error: 12_317 + .saturating_add(Weight::from_parts(52_576_888_u64, 0).saturating_mul(b as u64)) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b as u64))) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(b as u64))) + } + // Storage: `Allocations::SessionQuotaCalculationSchedule` (r:1 w:1) + // Proof: `Allocations::SessionQuotaCalculationSchedule` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + // Storage: `Allocations::MintCurveStartingBlock` (r:1 w:1) + // Proof: `Allocations::MintCurveStartingBlock` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + // Storage: `Allocations::NextSessionQuota` (r:0 w:1) + // Proof: `Allocations::NextSessionQuota` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + fn calc_quota() -> Weight { + // Minimum execution time: 7_840 nanoseconds. + Weight::from_parts(8_330_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + // Storage: `Allocations::SessionQuotaRenewSchedule` (r:1 w:1) + // Proof: `Allocations::SessionQuotaRenewSchedule` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + // Storage: `Allocations::MintCurveStartingBlock` (r:1 w:1) + // Proof: `Allocations::MintCurveStartingBlock` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + // Storage: `Allocations::NextSessionQuota` (r:1 w:0) + // Proof: `Allocations::NextSessionQuota` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + // Storage: `Allocations::SessionQuota` (r:0 w:1) + // Proof: `Allocations::SessionQuota` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + fn renew_quota() -> Weight { + // Minimum execution time: 7_711 nanoseconds. + Weight::from_parts(8_280_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + // Storage: `ParachainSystem::ValidationData` (r:1 w:0) + // Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `Allocations::SessionQuotaCalculationSchedule` (r:1 w:1) + // Proof: `Allocations::SessionQuotaCalculationSchedule` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + // Storage: `Allocations::MintCurveStartingBlock` (r:1 w:1) + // Proof: `Allocations::MintCurveStartingBlock` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + // Storage: `Allocations::SessionQuotaRenewSchedule` (r:1 w:1) + // Proof: `Allocations::SessionQuotaRenewSchedule` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + // Storage: `Allocations::SessionQuota` (r:0 w:1) + // Proof: `Allocations::SessionQuota` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + // Storage: `Allocations::NextSessionQuota` (r:0 w:1) + // Proof: `Allocations::NextSessionQuota` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + fn checked_update_session_quota() -> Weight { + // Minimum execution time: 15_950 nanoseconds. + Weight::from_parts(16_640_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) + } + // Storage: `ParachainSystem::ValidationData` (r:1 w:0) + // Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `Allocations::MintCurveStartingBlock` (r:0 w:1) + // Proof: `Allocations::MintCurveStartingBlock` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + // Storage: `Allocations::SessionQuotaCalculationSchedule` (r:0 w:1) + // Proof: `Allocations::SessionQuotaCalculationSchedule` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + // Storage: `Allocations::SessionQuotaRenewSchedule` (r:0 w:1) + // Proof: `Allocations::SessionQuotaRenewSchedule` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + fn set_curve_starting_block() -> Weight { + // Minimum execution time: 6_320 nanoseconds. + Weight::from_parts(6_950_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } +} diff --git a/runtimes/eden/src/weights/pallet_balances.rs b/runtimes/eden/src/weights/pallet_balances.rs index 460f4dee9fb..808e1a2dc12 100644 --- a/runtimes/eden/src/weights/pallet_balances.rs +++ b/runtimes/eden/src/weights/pallet_balances.rs @@ -18,9 +18,9 @@ //! Autogenerated weights for pallet_balances //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `chain-bench-b606df9f`, CPU: `AMD EPYC 7B13` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-02-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `chain-bench-a18ada46`, CPU: `AMD EPYC 7B13` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -49,56 +49,56 @@ impl pallet_balances::WeightInfo for WeightInfo { // Storage: `System::Account` (r:1 w:1) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_allow_death() -> Weight { - // Minimum execution time: 88_960 nanoseconds. - Weight::from_parts(90_900_000_u64, 0) + // Minimum execution time: 74_730 nanoseconds. + Weight::from_parts(76_040_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: `System::Account` (r:1 w:1) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { - // Minimum execution time: 66_510 nanoseconds. - Weight::from_parts(67_410_000_u64, 0) + // Minimum execution time: 58_130 nanoseconds. + Weight::from_parts(59_350_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: `System::Account` (r:1 w:1) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_set_balance_creating() -> Weight { - // Minimum execution time: 24_470 nanoseconds. - Weight::from_parts(25_530_000_u64, 0) + // Minimum execution time: 21_410 nanoseconds. + Weight::from_parts(22_200_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: `System::Account` (r:1 w:1) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_set_balance_killing() -> Weight { - // Minimum execution time: 36_420 nanoseconds. - Weight::from_parts(37_810_000_u64, 0) + // Minimum execution time: 29_370 nanoseconds. + Weight::from_parts(30_440_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { - // Minimum execution time: 90_851 nanoseconds. - Weight::from_parts(92_929_000_u64, 0) + // Minimum execution time: 75_600 nanoseconds. + Weight::from_parts(76_740_000_u64, 0) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } // Storage: `System::Account` (r:1 w:1) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_all() -> Weight { - // Minimum execution time: 83_060 nanoseconds. - Weight::from_parts(84_890_000_u64, 0) + // Minimum execution time: 73_829 nanoseconds. + Weight::from_parts(74_910_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: `System::Account` (r:1 w:1) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_unreserve() -> Weight { - // Minimum execution time: 29_170 nanoseconds. - Weight::from_parts(29_930_000_u64, 0) + // Minimum execution time: 26_091 nanoseconds. + Weight::from_parts(27_160_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -106,10 +106,10 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `u` is `[1, 1000]`. fn upgrade_accounts(u: u32, ) -> Weight { - // Minimum execution time: 26_760 nanoseconds. - Weight::from_parts(27_450_000_u64, 0) - // Standard Error: 12_076 - .saturating_add(Weight::from_parts(22_675_173_u64, 0).saturating_mul(u as u64)) + // Minimum execution time: 24_269 nanoseconds. + Weight::from_parts(24_610_000_u64, 0) + // Standard Error: 11_351 + .saturating_add(Weight::from_parts(20_279_364_u64, 0).saturating_mul(u as u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u as u64))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u as u64))) } diff --git a/runtimes/eden/src/weights/pallet_collator_selection.rs b/runtimes/eden/src/weights/pallet_collator_selection.rs index 2d692fa639c..7d88936d394 100644 --- a/runtimes/eden/src/weights/pallet_collator_selection.rs +++ b/runtimes/eden/src/weights/pallet_collator_selection.rs @@ -18,9 +18,9 @@ //! Autogenerated weights for pallet_collator_selection //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `chain-bench-b606df9f`, CPU: `AMD EPYC 7B13` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-02-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `chain-bench-a18ada46`, CPU: `AMD EPYC 7B13` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -52,10 +52,10 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) /// The range of component `b` is `[1, 50]`. fn set_invulnerables(b: u32, ) -> Weight { - // Minimum execution time: 21_220 nanoseconds. - Weight::from_parts(19_278_611_u64, 0) - // Standard Error: 6_122 - .saturating_add(Weight::from_parts(4_176_457_u64, 0).saturating_mul(b as u64)) + // Minimum execution time: 17_730 nanoseconds. + Weight::from_parts(15_642_656_u64, 0) + // Standard Error: 5_726 + .saturating_add(Weight::from_parts(4_083_632_u64, 0).saturating_mul(b as u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b as u64))) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -63,53 +63,79 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `CollatorSelection::Invulnerables` (r:1 w:1) // Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) - // Storage: `CollatorSelection::Candidates` (r:1 w:1) - // Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(48002), added: 48497, mode: `MaxEncodedLen`) + // Storage: `CollatorSelection::CandidateList` (r:1 w:1) + // Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(48002), added: 48497, mode: `MaxEncodedLen`) // Storage: `System::Account` (r:1 w:1) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `b` is `[1, 49]`. /// The range of component `c` is `[1, 999]`. fn add_invulnerable(b: u32, c: u32, ) -> Weight { - // Minimum execution time: 69_740 nanoseconds. - Weight::from_parts(65_261_293_u64, 0) - // Standard Error: 15_445 - .saturating_add(Weight::from_parts(18_255_u64, 0).saturating_mul(b as u64)) - // Standard Error: 756 - .saturating_add(Weight::from_parts(86_339_u64, 0).saturating_mul(c as u64)) + // Minimum execution time: 58_240 nanoseconds. + Weight::from_parts(55_167_391_u64, 0) + // Standard Error: 13_866 + .saturating_add(Weight::from_parts(15_954_u64, 0).saturating_mul(b as u64)) + // Standard Error: 679 + .saturating_add(Weight::from_parts(82_738_u64, 0).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: `CollatorSelection::Candidates` (r:1 w:0) - // Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(48002), added: 48497, mode: `MaxEncodedLen`) + // Storage: `CollatorSelection::CandidateList` (r:1 w:0) + // Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(48002), added: 48497, mode: `MaxEncodedLen`) // Storage: `CollatorSelection::Invulnerables` (r:1 w:1) // Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) /// The range of component `b` is `[4, 50]`. fn remove_invulnerable(b: u32, ) -> Weight { - // Minimum execution time: 22_440 nanoseconds. - Weight::from_parts(23_332_577_u64, 0) - // Standard Error: 962 - .saturating_add(Weight::from_parts(64_138_u64, 0).saturating_mul(b as u64)) + // Minimum execution time: 16_790 nanoseconds. + Weight::from_parts(17_846_994_u64, 0) + // Standard Error: 981 + .saturating_add(Weight::from_parts(65_130_u64, 0).saturating_mul(b as u64)) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: `CollatorSelection::DesiredCandidates` (r:0 w:1) // Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn set_desired_candidates() -> Weight { - // Minimum execution time: 10_749 nanoseconds. - Weight::from_parts(11_280_000_u64, 0) + // Minimum execution time: 7_969 nanoseconds. + Weight::from_parts(8_639_000_u64, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: `CollatorSelection::CandidacyBond` (r:0 w:1) + // Storage: `CollatorSelection::CandidacyBond` (r:1 w:1) // Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - fn set_candidacy_bond() -> Weight { - // Minimum execution time: 10_590 nanoseconds. - Weight::from_parts(11_020_000_u64, 0) + // Storage: `CollatorSelection::CandidateList` (r:1 w:1) + // Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(48002), added: 48497, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1000 w:1000) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1000) + // Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// The range of component `c` is `[0, 1000]`. + /// The range of component `k` is `[0, 1000]`. + fn set_candidacy_bond(c: u32, k: u32, ) -> Weight { + // Minimum execution time: 14_010 nanoseconds. + Weight::from_parts(14_470_000_u64, 0) + // Standard Error: 263_965 + .saturating_add(Weight::from_parts(8_478_897_u64, 0).saturating_mul(c as u64)) + // Standard Error: 263_965 + .saturating_add(Weight::from_parts(8_140_723_u64, 0).saturating_mul(k as u64)) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c as u64))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k as u64))) } - // Storage: `CollatorSelection::Candidates` (r:1 w:1) - // Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(48002), added: 48497, mode: `MaxEncodedLen`) - // Storage: `CollatorSelection::DesiredCandidates` (r:1 w:0) - // Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + // Storage: `CollatorSelection::CandidacyBond` (r:1 w:0) + // Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + // Storage: `CollatorSelection::CandidateList` (r:1 w:1) + // Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(48002), added: 48497, mode: `MaxEncodedLen`) + /// The range of component `c` is `[2, 1000]`. + fn update_bond(c: u32, ) -> Weight { + // Minimum execution time: 34_460 nanoseconds. + Weight::from_parts(33_881_801_u64, 0) + // Standard Error: 1_230 + .saturating_add(Weight::from_parts(80_989_u64, 0).saturating_mul(c as u64)) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: `CollatorSelection::CandidateList` (r:1 w:1) + // Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(48002), added: 48497, mode: `MaxEncodedLen`) // Storage: `CollatorSelection::Invulnerables` (r:1 w:0) // Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) // Storage: `Session::NextKeys` (r:1 w:0) @@ -120,25 +146,46 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 999]`. fn register_as_candidate(c: u32, ) -> Weight { - // Minimum execution time: 61_800 nanoseconds. - Weight::from_parts(62_250_240_u64, 0) - // Standard Error: 1_294 - .saturating_add(Weight::from_parts(87_516_u64, 0).saturating_mul(c as u64)) - .saturating_add(T::DbWeight::get().reads(5_u64)) + // Minimum execution time: 47_660 nanoseconds. + Weight::from_parts(47_834_460_u64, 0) + // Standard Error: 1_252 + .saturating_add(Weight::from_parts(94_518_u64, 0).saturating_mul(c as u64)) + .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: `CollatorSelection::Candidates` (r:1 w:1) - // Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(48002), added: 48497, mode: `MaxEncodedLen`) + // Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + // Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) + // Storage: `CollatorSelection::CandidacyBond` (r:1 w:0) + // Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + // Storage: `Session::NextKeys` (r:1 w:0) + // Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `CollatorSelection::CandidateList` (r:1 w:1) + // Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(48002), added: 48497, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:2) + // Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// The range of component `c` is `[2, 1000]`. + fn take_candidate_slot(c: u32, ) -> Weight { + // Minimum execution time: 73_331 nanoseconds. + Weight::from_parts(75_059_841_u64, 0) + // Standard Error: 1_260 + .saturating_add(Weight::from_parts(85_365_u64, 0).saturating_mul(c as u64)) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } + // Storage: `CollatorSelection::CandidateList` (r:1 w:1) + // Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(48002), added: 48497, mode: `MaxEncodedLen`) // Storage: `CollatorSelection::Invulnerables` (r:1 w:0) // Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) // Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1) // Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) /// The range of component `c` is `[2, 1000]`. fn leave_intent(c: u32, ) -> Weight { - // Minimum execution time: 49_440 nanoseconds. - Weight::from_parts(49_311_286_u64, 0) - // Standard Error: 1_261 - .saturating_add(Weight::from_parts(79_006_u64, 0).saturating_mul(c as u64)) + // Minimum execution time: 40_910 nanoseconds. + Weight::from_parts(40_026_850_u64, 0) + // Standard Error: 1_275 + .saturating_add(Weight::from_parts(82_078_u64, 0).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -149,17 +196,19 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1) // Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) fn note_author() -> Weight { - // Minimum execution time: 74_360 nanoseconds. - Weight::from_parts(75_830_000_u64, 0) + // Minimum execution time: 63_850 nanoseconds. + Weight::from_parts(64_811_000_u64, 0) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - // Storage: `CollatorSelection::Candidates` (r:1 w:0) - // Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(48002), added: 48497, mode: `MaxEncodedLen`) + // Storage: `CollatorSelection::CandidateList` (r:1 w:0) + // Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(48002), added: 48497, mode: `MaxEncodedLen`) // Storage: `CollatorSelection::LastAuthoredBlock` (r:999 w:0) // Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) // Storage: `CollatorSelection::Invulnerables` (r:1 w:0) // Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) + // Storage: `CollatorSelection::DesiredCandidates` (r:1 w:0) + // Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) // Storage: `System::BlockWeight` (r:1 w:1) // Proof: `System::BlockWeight` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) // Storage: `System::Account` (r:999 w:999) @@ -167,11 +216,11 @@ impl pallet_collator_selection::WeightInfo for WeightIn /// The range of component `r` is `[1, 1000]`. /// The range of component `c` is `[1, 1000]`. fn new_session(_r: u32, c: u32, ) -> Weight { - // Minimum execution time: 30_540 nanoseconds. - Weight::from_parts(31_460_000_u64, 0) - // Standard Error: 953_343 - .saturating_add(Weight::from_parts(40_181_408_u64, 0).saturating_mul(c as u64)) - .saturating_add(T::DbWeight::get().reads(4_u64)) + // Minimum execution time: 25_240 nanoseconds. + Weight::from_parts(25_969_000_u64, 0) + // Standard Error: 846_846 + .saturating_add(Weight::from_parts(35_232_356_u64, 0).saturating_mul(c as u64)) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c as u64))) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c as u64))) diff --git a/runtimes/eden/src/weights/pallet_collective.rs b/runtimes/eden/src/weights/pallet_collective.rs new file mode 100644 index 00000000000..8134eeeb58c --- /dev/null +++ b/runtimes/eden/src/weights/pallet_collective.rs @@ -0,0 +1,237 @@ +/* + * This file is part of the Nodle Chain distributed at https://github.com/NodleCode/chain + * Copyright (C) 2020-2024 Nodle International + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +//! Autogenerated weights for pallet_collective +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-03-01, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `chain-bench-a18ada46`, CPU: `AMD EPYC 7B13` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/nodle-parachain +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --pallet=pallet_collective +// --extrinsic=* +// --wasm-execution=compiled +// --template=./.maintain/external_pallet_weights.hbs +// --output=runtimes/eden/src/weights + +use core::marker::PhantomData; +use frame_support::{traits::Get, weights::Weight}; + +/// Weight functions for `pallet_collective`. +pub struct WeightInfo(PhantomData); +impl pallet_collective::WeightInfo for WeightInfo { + // Storage: `TechnicalCommittee::Members` (r:1 w:1) + // Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `TechnicalCommittee::Proposals` (r:1 w:0) + // Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `TechnicalCommittee::Voting` (r:100 w:100) + // Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `TechnicalCommittee::Prime` (r:0 w:1) + // Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// The range of component `m` is `[0, 50]`. + /// The range of component `n` is `[0, 50]`. + /// The range of component `p` is `[0, 100]`. + fn set_members(m: u32, _n: u32, p: u32) -> Weight { + // Minimum execution time: 14_360 nanoseconds. + Weight::from_parts(14_590_000_u64, 0) + // Standard Error: 71_598 + .saturating_add(Weight::from_parts(4_305_632_u64, 0).saturating_mul(m as u64)) + // Standard Error: 35_831 + .saturating_add(Weight::from_parts(6_286_513_u64, 0).saturating_mul(p as u64)) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p as u64))) + .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p as u64))) + } + // Storage: `TechnicalCommittee::Members` (r:1 w:0) + // Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// The range of component `b` is `[2, 1024]`. + /// The range of component `m` is `[1, 50]`. + fn execute(b: u32, m: u32) -> Weight { + // Minimum execution time: 18_000 nanoseconds. + Weight::from_parts(17_966_082_u64, 0) + // Standard Error: 39 + .saturating_add(Weight::from_parts(1_452_u64, 0).saturating_mul(b as u64)) + // Standard Error: 825 + .saturating_add(Weight::from_parts(16_633_u64, 0).saturating_mul(m as u64)) + .saturating_add(T::DbWeight::get().reads(1_u64)) + } + // Storage: `TechnicalCommittee::Members` (r:1 w:0) + // Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `TechnicalCommittee::ProposalOf` (r:1 w:0) + // Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `b` is `[2, 1024]`. + /// The range of component `m` is `[1, 50]`. + fn propose_execute(b: u32, m: u32) -> Weight { + // Minimum execution time: 21_760 nanoseconds. + Weight::from_parts(21_347_577_u64, 0) + // Standard Error: 66 + .saturating_add(Weight::from_parts(1_722_u64, 0).saturating_mul(b as u64)) + // Standard Error: 1_397 + .saturating_add(Weight::from_parts(26_163_u64, 0).saturating_mul(m as u64)) + .saturating_add(T::DbWeight::get().reads(2_u64)) + } + // Storage: `TechnicalCommittee::Members` (r:1 w:0) + // Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) + // Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + // Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `TechnicalCommittee::ProposalCount` (r:1 w:1) + // Proof: `TechnicalCommittee::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `TechnicalCommittee::Voting` (r:0 w:1) + // Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `b` is `[2, 1024]`. + /// The range of component `m` is `[2, 50]`. + /// The range of component `p` is `[1, 100]`. + fn propose_proposed(b: u32, m: u32, p: u32) -> Weight { + // Minimum execution time: 27_360 nanoseconds. + Weight::from_parts(28_396_786_u64, 0) + // Standard Error: 93 + .saturating_add(Weight::from_parts(2_582_u64, 0).saturating_mul(b as u64)) + // Standard Error: 1_955 + .saturating_add(Weight::from_parts(29_946_u64, 0).saturating_mul(m as u64)) + // Standard Error: 963 + .saturating_add(Weight::from_parts(238_778_u64, 0).saturating_mul(p as u64)) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } + // Storage: `TechnicalCommittee::Members` (r:1 w:0) + // Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `TechnicalCommittee::Voting` (r:1 w:1) + // Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `m` is `[5, 50]`. + fn vote(m: u32) -> Weight { + // Minimum execution time: 26_780 nanoseconds. + Weight::from_parts(27_428_481_u64, 0) + // Standard Error: 1_003 + .saturating_add(Weight::from_parts(39_921_u64, 0).saturating_mul(m as u64)) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: `TechnicalCommittee::Voting` (r:1 w:1) + // Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `TechnicalCommittee::Members` (r:1 w:0) + // Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + // Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) + // Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `m` is `[4, 50]`. + /// The range of component `p` is `[1, 100]`. + fn close_early_disapproved(m: u32, p: u32) -> Weight { + // Minimum execution time: 29_720 nanoseconds. + Weight::from_parts(30_944_208_u64, 0) + // Standard Error: 1_747 + .saturating_add(Weight::from_parts(27_283_u64, 0).saturating_mul(m as u64)) + // Standard Error: 821 + .saturating_add(Weight::from_parts(235_964_u64, 0).saturating_mul(p as u64)) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + // Storage: `TechnicalCommittee::Voting` (r:1 w:1) + // Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `TechnicalCommittee::Members` (r:1 w:0) + // Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) + // Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + // Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// The range of component `b` is `[2, 1024]`. + /// The range of component `m` is `[4, 50]`. + /// The range of component `p` is `[1, 100]`. + fn close_early_approved(b: u32, m: u32, p: u32) -> Weight { + // Minimum execution time: 42_820 nanoseconds. + Weight::from_parts(45_326_267_u64, 0) + // Standard Error: 119 + .saturating_add(Weight::from_parts(1_874_u64, 0).saturating_mul(b as u64)) + // Standard Error: 2_619 + .saturating_add(Weight::from_parts(12_889_u64, 0).saturating_mul(m as u64)) + // Standard Error: 1_232 + .saturating_add(Weight::from_parts(252_123_u64, 0).saturating_mul(p as u64)) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + // Storage: `TechnicalCommittee::Voting` (r:1 w:1) + // Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `TechnicalCommittee::Members` (r:1 w:0) + // Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `TechnicalCommittee::Prime` (r:1 w:0) + // Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + // Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) + // Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `m` is `[4, 50]`. + /// The range of component `p` is `[1, 100]`. + fn close_disapproved(m: u32, p: u32) -> Weight { + // Minimum execution time: 32_510 nanoseconds. + Weight::from_parts(32_965_839_u64, 0) + // Standard Error: 1_806 + .saturating_add(Weight::from_parts(40_216_u64, 0).saturating_mul(m as u64)) + // Standard Error: 849 + .saturating_add(Weight::from_parts(237_383_u64, 0).saturating_mul(p as u64)) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + // Storage: `TechnicalCommittee::Voting` (r:1 w:1) + // Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `TechnicalCommittee::Members` (r:1 w:0) + // Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `TechnicalCommittee::Prime` (r:1 w:0) + // Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) + // Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + // Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// The range of component `b` is `[2, 1024]`. + /// The range of component `m` is `[4, 50]`. + /// The range of component `p` is `[1, 100]`. + fn close_approved(b: u32, _m: u32, p: u32) -> Weight { + // Minimum execution time: 45_570 nanoseconds. + Weight::from_parts(48_653_945_u64, 0) + // Standard Error: 200 + .saturating_add(Weight::from_parts(2_343_u64, 0).saturating_mul(b as u64)) + // Standard Error: 2_067 + .saturating_add(Weight::from_parts(269_485_u64, 0).saturating_mul(p as u64)) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + // Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + // Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `TechnicalCommittee::Voting` (r:0 w:1) + // Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) + // Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `p` is `[1, 100]`. + fn disapprove_proposal(p: u32) -> Weight { + // Minimum execution time: 17_940 nanoseconds. + Weight::from_parts(19_732_107_u64, 0) + // Standard Error: 786 + .saturating_add(Weight::from_parts(218_701_u64, 0).saturating_mul(p as u64)) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } +} diff --git a/runtimes/eden/src/weights/pallet_contracts.rs b/runtimes/eden/src/weights/pallet_contracts.rs index 6d473cd9f33..f3ff29dc188 100644 --- a/runtimes/eden/src/weights/pallet_contracts.rs +++ b/runtimes/eden/src/weights/pallet_contracts.rs @@ -18,9 +18,9 @@ //! Autogenerated weights for pallet_contracts //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-11-27, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `chain-bench-66242306`, CPU: `AMD EPYC 7B13` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-02-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `chain-bench-a18ada46`, CPU: `AMD EPYC 7B13` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -31,10 +31,10 @@ // --steps=50 // --repeat=20 // --pallet=pallet_contracts -// --extrinsic=call,call_with_code_per_byte,instantiate,instantiate_with_code,instr_i64const,migration_noop,on_initialize_per_trie_key,on_process_deletion_queue_batch,on_runtime_upgrade_in_progress,on_runtime_upgrade_noop,remove_code,seal_account_reentrance_count,seal_address,seal_balance,seal_block_number,seal_call,seal_caller,seal_caller_is_origin,seal_caller_is_root,seal_call_per_transfer_clone_byte,seal_clear_storage,seal_clear_storage_per_byte,seal_code_hash,seal_contains_storage,seal_contains_storage_per_byte,seal_debug_message,seal_debug_message_per_byte,seal_delegate_call,seal_deposit_event,seal_deposit_event_per_topic_and_byte,seal_ecdsa_recover,seal_ecdsa_to_eth_address,seal_gas_left,seal_get_storage,seal_get_storage_per_byte,seal_hash_blake2_128,seal_hash_blake2_128_per_byte,seal_hash_blake2_256,seal_hash_blake2_256_per_byte,seal_hash_keccak_256,seal_hash_keccak_256_per_byte,seal_hash_sha2_256,seal_hash_sha2_256_per_byte,seal_input,seal_input_per_byte,seal_instantiate,seal_instantiate_per_transfer_input_salt_byte,seal_instantiation_nonce,seal_is_contract,seal_minimum_balance,seal_now,seal_own_code_hash,seal_random,seal_reentrance_count,seal_return,seal_return_per_byte,seal_set_code_hash,seal_set_storage,seal_set_storage_per_new_byte,seal_set_storage_per_old_byte,seal_sr25519_verify,seal_sr25519_verify_per_byte,seal_take_storage,seal_take_storage_per_byte,seal_terminate,seal_transfer,seal_value_transferred,seal_weight_to_fee,set_code,upload_code,v10_migration_step,v11_migration_step,v12_migration_step,v9_migration_step +// --extrinsic=* // --wasm-execution=compiled // --template=./.maintain/external_pallet_weights.hbs -// --output=runtimes/eden/src/weights/ +// --output=runtimes/eden/src/weights #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -49,18 +49,18 @@ impl pallet_contracts::weights::WeightInfo for WeightIn // Storage: `Contracts::DeletionQueueCounter` (r:1 w:0) // Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) fn on_process_deletion_queue_batch() -> Weight { - // Minimum execution time: 3_340 nanoseconds. - Weight::from_parts(3_510_000_u64, 0) + // Minimum execution time: 2_429 nanoseconds. + Weight::from_parts(2_550_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) } // Storage: `Skipped::Metadata` (r:0 w:0) // Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `k` is `[0, 1024]`. fn on_initialize_per_trie_key(k: u32, ) -> Weight { - // Minimum execution time: 19_060 nanoseconds. - Weight::from_parts(13_537_223_u64, 0) - // Standard Error: 1_115 - .saturating_add(Weight::from_parts(1_109_668_u64, 0).saturating_mul(k as u64)) + // Minimum execution time: 17_820 nanoseconds. + Weight::from_parts(7_299_514_u64, 0) + // Standard Error: 916 + .saturating_add(Weight::from_parts(1_082_870_u64, 0).saturating_mul(k as u64)) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k as u64))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -70,20 +70,20 @@ impl pallet_contracts::weights::WeightInfo for WeightIn // Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553022fca90611ba8b7942f8bdb3b97f6580` (r:2 w:1) /// The range of component `c` is `[0, 125952]`. fn v9_migration_step(c: u32, ) -> Weight { - // Minimum execution time: 12_060 nanoseconds. - Weight::from_parts(12_651_325_u64, 0) - // Standard Error: 8 - .saturating_add(Weight::from_parts(1_529_u64, 0).saturating_mul(c as u64)) + // Minimum execution time: 11_680 nanoseconds. + Weight::from_parts(10_418_306_u64, 0) + // Standard Error: 7 + .saturating_add(Weight::from_parts(1_585_u64, 0).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: `Contracts::ContractInfoOf` (r:2 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) fn v10_migration_step() -> Weight { - // Minimum execution time: 24_500 nanoseconds. - Weight::from_parts(24_970_000_u64, 0) + // Minimum execution time: 22_420 nanoseconds. + Weight::from_parts(23_180_000_u64, 0) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -93,10 +93,10 @@ impl pallet_contracts::weights::WeightInfo for WeightIn // Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// The range of component `k` is `[0, 1024]`. fn v11_migration_step(k: u32, ) -> Weight { - // Minimum execution time: 4_830 nanoseconds. - Weight::from_parts(5_080_000_u64, 0) - // Standard Error: 674 - .saturating_add(Weight::from_parts(1_740_463_u64, 0).saturating_mul(k as u64)) + // Minimum execution time: 4_400 nanoseconds. + Weight::from_parts(4_550_000_u64, 0) + // Standard Error: 545 + .saturating_add(Weight::from_parts(1_814_723_u64, 0).saturating_mul(k as u64)) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k as u64))) @@ -111,26 +111,68 @@ impl pallet_contracts::weights::WeightInfo for WeightIn // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// The range of component `c` is `[0, 125952]`. fn v12_migration_step(c: u32, ) -> Weight { - // Minimum execution time: 21_700 nanoseconds. - Weight::from_parts(24_230_211_u64, 0) - // Standard Error: 4 - .saturating_add(Weight::from_parts(506_u64, 0).saturating_mul(c as u64)) + // Minimum execution time: 20_800 nanoseconds. + Weight::from_parts(24_511_550_u64, 0) + // Standard Error: 2 + .saturating_add(Weight::from_parts(474_u64, 0).saturating_mul(c as u64)) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + // Storage: `Contracts::ContractInfoOf` (r:2 w:1) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) + fn v13_migration_step() -> Weight { + // Minimum execution time: 17_270 nanoseconds. + Weight::from_parts(17_740_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: `Contracts::CodeInfoOf` (r:2 w:0) + // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) + // Storage: `Balances::Holds` (r:1 w:0) + // Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `Measured`) + fn v14_migration_step() -> Weight { + // Minimum execution time: 70_440 nanoseconds. + Weight::from_parts(71_460_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: `Contracts::ContractInfoOf` (r:2 w:1) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) + // Storage: `System::Account` (r:2 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) + fn v15_migration_step() -> Weight { + // Minimum execution time: 85_550 nanoseconds. + Weight::from_parts(88_180_000_u64, 0) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:1) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) fn migration_noop() -> Weight { - // Minimum execution time: 4_350 nanoseconds. - Weight::from_parts(4_460_000_u64, 0) + // Minimum execution time: 2_870 nanoseconds. + Weight::from_parts(3_040_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } + // Storage: `Contracts::MigrationInProgress` (r:1 w:1) + // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) + // Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:1) + // Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:1) + // Storage: `Contracts::CodeInfoOf` (r:1 w:0) + // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) + fn migrate() -> Weight { + // Minimum execution time: 21_930 nanoseconds. + Weight::from_parts(22_549_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } // Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) // Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) fn on_runtime_upgrade_noop() -> Weight { - // Minimum execution time: 7_480 nanoseconds. - Weight::from_parts(7_840_000_u64, 0) + // Minimum execution time: 6_460 nanoseconds. + Weight::from_parts(6_960_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) } // Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -138,66 +180,58 @@ impl pallet_contracts::weights::WeightInfo for WeightIn // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) fn on_runtime_upgrade_in_progress() -> Weight { - // Minimum execution time: 10_360 nanoseconds. - Weight::from_parts(10_730_000_u64, 0) + // Minimum execution time: 8_430 nanoseconds. + Weight::from_parts(8_830_000_u64, 0) .saturating_add(T::DbWeight::get().reads(2_u64)) } + // Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) + // Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) + // Storage: `Contracts::MigrationInProgress` (r:1 w:1) + // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) + fn on_runtime_upgrade() -> Weight { + // Minimum execution time: 8_750 nanoseconds. + Weight::from_parts(9_100_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) // Storage: `System::Account` (r:1 w:1) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `c` is `[0, 125952]`. fn call_with_code_per_byte(c: u32, ) -> Weight { - // Minimum execution time: 398_450 nanoseconds. - Weight::from_parts(408_987_346_u64, 0) - // Standard Error: 52 - .saturating_add(Weight::from_parts(38_104_u64, 0).saturating_mul(c as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) + // Minimum execution time: 472_260 nanoseconds. + Weight::from_parts(488_018_097_u64, 0) + // Standard Error: 43 + .saturating_add(Weight::from_parts(42_174_u64, 0).saturating_mul(c as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:1) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `Balances::Holds` (r:2 w:2) + // Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `Measured`) // Storage: `System::EventTopics` (r:3 w:3) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::Nonce` (r:1 w:1) // Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Account` (r:2 w:2) + // Storage: `System::Account` (r:1 w:1) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:0 w:1) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) @@ -205,16 +239,16 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// The range of component `i` is `[0, 1048576]`. /// The range of component `s` is `[0, 1048576]`. fn instantiate_with_code(c: u32, i: u32, s: u32, ) -> Weight { - // Minimum execution time: 5_239_059 nanoseconds. - Weight::from_parts(680_332_404_u64, 0) - // Standard Error: 100 - .saturating_add(Weight::from_parts(116_237_u64, 0).saturating_mul(c as u64)) + // Minimum execution time: 5_546_439 nanoseconds. + Weight::from_parts(1_107_121_302_u64, 0) + // Standard Error: 105 + .saturating_add(Weight::from_parts(123_964_u64, 0).saturating_mul(c as u64)) // Standard Error: 12 - .saturating_add(Weight::from_parts(2_231_u64, 0).saturating_mul(i as u64)) + .saturating_add(Weight::from_parts(2_195_u64, 0).saturating_mul(i as u64)) // Standard Error: 12 - .saturating_add(Weight::from_parts(2_134_u64, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(15_u64)) - .saturating_add(T::DbWeight::get().writes(11_u64)) + .saturating_add(Weight::from_parts(2_118_u64, 0).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(11_u64)) + .saturating_add(T::DbWeight::get().writes(10_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -222,1837 +256,1391 @@ impl pallet_contracts::weights::WeightInfo for WeightIn // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::Nonce` (r:1 w:1) // Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Account` (r:2 w:2) + // Storage: `System::Account` (r:1 w:1) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `Balances::Holds` (r:1 w:1) + // Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `Measured`) /// The range of component `i` is `[0, 1048576]`. /// The range of component `s` is `[0, 1048576]`. fn instantiate(i: u32, s: u32, ) -> Weight { - // Minimum execution time: 2_651_450 nanoseconds. - Weight::from_parts(544_687_954_u64, 0) - // Standard Error: 8 - .saturating_add(Weight::from_parts(2_121_u64, 0).saturating_mul(i as u64)) - // Standard Error: 8 - .saturating_add(Weight::from_parts(2_030_u64, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(15_u64)) - .saturating_add(T::DbWeight::get().writes(9_u64)) + // Minimum execution time: 2_710_979 nanoseconds. + Weight::from_parts(484_629_696_u64, 0) + // Standard Error: 5 + .saturating_add(Weight::from_parts(2_217_u64, 0).saturating_mul(i as u64)) + // Standard Error: 5 + .saturating_add(Weight::from_parts(2_118_u64, 0).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(10_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) // Storage: `System::Account` (r:1 w:1) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) fn call() -> Weight { - // Minimum execution time: 324_480 nanoseconds. - Weight::from_parts(332_970_000_u64, 0) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) + // Minimum execution time: 328_230 nanoseconds. + Weight::from_parts(335_000_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:1) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `Balances::Holds` (r:1 w:1) + // Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `Measured`) // Storage: `System::EventTopics` (r:1 w:1) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:0 w:1) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) /// The range of component `c` is `[0, 125952]`. fn upload_code(c: u32, ) -> Weight { - // Minimum execution time: 349_200 nanoseconds. - Weight::from_parts(367_662_714_u64, 0) - // Standard Error: 79 - .saturating_add(Weight::from_parts(78_106_u64, 0).saturating_mul(c as u64)) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 456_750 nanoseconds. + Weight::from_parts(465_734_530_u64, 0) + // Standard Error: 74 + .saturating_add(Weight::from_parts(82_642_u64, 0).saturating_mul(c as u64)) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:1) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `Balances::Holds` (r:1 w:1) + // Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `Measured`) // Storage: `System::EventTopics` (r:1 w:1) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:0 w:1) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) fn remove_code() -> Weight { - // Minimum execution time: 52_330 nanoseconds. - Weight::from_parts(53_310_000_u64, 0) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 66_080 nanoseconds. + Weight::from_parts(67_020_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:2 w:2) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:3 w:3) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_code() -> Weight { - // Minimum execution time: 50_140 nanoseconds. - Weight::from_parts(51_000_000_u64, 0) - .saturating_add(T::DbWeight::get().reads(11_u64)) - .saturating_add(T::DbWeight::get().writes(8_u64)) + // Minimum execution time: 44_260 nanoseconds. + Weight::from_parts(44_960_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 1600]`. fn seal_caller(r: u32, ) -> Weight { - // Minimum execution time: 358_860 nanoseconds. - Weight::from_parts(368_138_966_u64, 0) - // Standard Error: 523 - .saturating_add(Weight::from_parts(592_239_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 433_670 nanoseconds. + Weight::from_parts(445_399_666_u64, 0) + // Standard Error: 449 + .saturating_add(Weight::from_parts(668_980_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1601 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 1600]`. fn seal_is_contract(r: u32, ) -> Weight { - // Minimum execution time: 361_260 nanoseconds. - Weight::from_parts(163_165_932_u64, 0) - // Standard Error: 7_840 - .saturating_add(Weight::from_parts(4_708_615_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) + // Minimum execution time: 433_390 nanoseconds. + Weight::from_parts(256_445_457_u64, 0) + // Standard Error: 6_453 + .saturating_add(Weight::from_parts(4_587_660_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r as u64))) - .saturating_add(T::DbWeight::get().writes(5_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1601 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 1600]`. fn seal_code_hash(r: u32, ) -> Weight { - // Minimum execution time: 361_670 nanoseconds. - Weight::from_parts(166_589_339_u64, 0) - // Standard Error: 6_941 - .saturating_add(Weight::from_parts(6_117_493_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) + // Minimum execution time: 432_760 nanoseconds. + Weight::from_parts(254_253_317_u64, 0) + // Standard Error: 6_500 + .saturating_add(Weight::from_parts(6_102_190_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r as u64))) - .saturating_add(T::DbWeight::get().writes(5_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 1600]`. fn seal_own_code_hash(r: u32, ) -> Weight { - // Minimum execution time: 359_370 nanoseconds. - Weight::from_parts(368_665_581_u64, 0) - // Standard Error: 638 - .saturating_add(Weight::from_parts(785_131_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 432_940 nanoseconds. + Weight::from_parts(445_308_152_u64, 0) + // Standard Error: 584 + .saturating_add(Weight::from_parts(886_181_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 1600]`. fn seal_caller_is_origin(r: u32, ) -> Weight { - // Minimum execution time: 354_310 nanoseconds. - Weight::from_parts(364_361_601_u64, 0) - // Standard Error: 429 - .saturating_add(Weight::from_parts(216_497_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 426_260 nanoseconds. + Weight::from_parts(439_255_393_u64, 0) + // Standard Error: 871 + .saturating_add(Weight::from_parts(217_942_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 1600]`. fn seal_caller_is_root(r: u32, ) -> Weight { - // Minimum execution time: 334_800 nanoseconds. - Weight::from_parts(344_687_921_u64, 0) - // Standard Error: 307 - .saturating_add(Weight::from_parts(196_768_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(11_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 416_960 nanoseconds. + Weight::from_parts(425_823_997_u64, 0) + // Standard Error: 421 + .saturating_add(Weight::from_parts(200_841_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 1600]`. fn seal_address(r: u32, ) -> Weight { - // Minimum execution time: 358_820 nanoseconds. - Weight::from_parts(368_297_133_u64, 0) - // Standard Error: 525 - .saturating_add(Weight::from_parts(597_434_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 430_450 nanoseconds. + Weight::from_parts(443_327_220_u64, 0) + // Standard Error: 653 + .saturating_add(Weight::from_parts(666_870_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 1600]`. fn seal_gas_left(r: u32, ) -> Weight { - // Minimum execution time: 357_190 nanoseconds. - Weight::from_parts(368_861_948_u64, 0) - // Standard Error: 498 - .saturating_add(Weight::from_parts(636_708_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 431_070 nanoseconds. + Weight::from_parts(445_571_929_u64, 0) + // Standard Error: 527 + .saturating_add(Weight::from_parts(707_636_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:2 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 1600]`. fn seal_balance(r: u32, ) -> Weight { - // Minimum execution time: 359_811 nanoseconds. - Weight::from_parts(374_187_555_u64, 0) - // Standard Error: 1_460 - .saturating_add(Weight::from_parts(2_703_777_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(14_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 439_950 nanoseconds. + Weight::from_parts(462_557_831_u64, 0) + // Standard Error: 3_030 + .saturating_add(Weight::from_parts(2_946_770_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 1600]`. fn seal_value_transferred(r: u32, ) -> Weight { - // Minimum execution time: 359_111 nanoseconds. - Weight::from_parts(368_757_225_u64, 0) - // Standard Error: 1_008 - .saturating_add(Weight::from_parts(591_155_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 432_020 nanoseconds. + Weight::from_parts(442_863_014_u64, 0) + // Standard Error: 492 + .saturating_add(Weight::from_parts(665_353_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 1600]`. fn seal_minimum_balance(r: u32, ) -> Weight { - // Minimum execution time: 359_180 nanoseconds. - Weight::from_parts(369_545_415_u64, 0) - // Standard Error: 555 - .saturating_add(Weight::from_parts(591_301_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 432_340 nanoseconds. + Weight::from_parts(444_089_823_u64, 0) + // Standard Error: 498 + .saturating_add(Weight::from_parts(662_025_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 1600]`. fn seal_block_number(r: u32, ) -> Weight { - // Minimum execution time: 358_980 nanoseconds. - Weight::from_parts(369_561_642_u64, 0) - // Standard Error: 557 - .saturating_add(Weight::from_parts(589_302_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 429_969 nanoseconds. + Weight::from_parts(444_715_274_u64, 0) + // Standard Error: 465 + .saturating_add(Weight::from_parts(665_983_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 1600]`. fn seal_now(r: u32, ) -> Weight { - // Minimum execution time: 357_380 nanoseconds. - Weight::from_parts(370_886_045_u64, 0) - // Standard Error: 549 - .saturating_add(Weight::from_parts(581_681_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 432_500 nanoseconds. + Weight::from_parts(442_005_610_u64, 0) + // Standard Error: 470 + .saturating_add(Weight::from_parts(671_122_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) // Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) // Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 1600]`. fn seal_weight_to_fee(r: u32, ) -> Weight { - // Minimum execution time: 358_230 nanoseconds. - Weight::from_parts(387_648_539_u64, 0) - // Standard Error: 1_056 - .saturating_add(Weight::from_parts(2_073_675_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(14_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 432_120 nanoseconds. + Weight::from_parts(459_644_686_u64, 0) + // Standard Error: 948 + .saturating_add(Weight::from_parts(1_609_471_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 1600]`. fn seal_input(r: u32, ) -> Weight { - // Minimum execution time: 359_720 nanoseconds. - Weight::from_parts(369_257_196_u64, 0) - // Standard Error: 494 - .saturating_add(Weight::from_parts(431_791_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 432_670 nanoseconds. + Weight::from_parts(444_028_723_u64, 0) + // Standard Error: 401 + .saturating_add(Weight::from_parts(475_906_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 1048576]`. fn seal_input_per_byte(n: u32, ) -> Weight { - // Minimum execution time: 362_170 nanoseconds. - Weight::from_parts(370_162_897_u64, 0) + // Minimum execution time: 434_350 nanoseconds. + Weight::from_parts(443_271_501_u64, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(582_u64, 0).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + .saturating_add(Weight::from_parts(658_u64, 0).saturating_mul(n as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 1]`. fn seal_return(r: u32, ) -> Weight { - // Minimum execution time: 350_660 nanoseconds. - Weight::from_parts(360_518_816_u64, 0) - // Standard Error: 457_292 - .saturating_add(Weight::from_parts(2_319_383_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 424_050 nanoseconds. + Weight::from_parts(433_127_440_u64, 0) + // Standard Error: 476_526 + .saturating_add(Weight::from_parts(2_883_659_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 1048576]`. fn seal_return_per_byte(n: u32, ) -> Weight { - // Minimum execution time: 356_610 nanoseconds. - Weight::from_parts(365_195_471_u64, 0) + // Minimum execution time: 433_630 nanoseconds. + Weight::from_parts(436_719_768_u64, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(362_u64, 0).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + .saturating_add(Weight::from_parts(437_u64, 0).saturating_mul(n as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) - // Storage: `System::Account` (r:4 w:4) + // Storage: `System::Account` (r:3 w:3) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) - // Storage: `Contracts::CodeInfoOf` (r:1 w:1) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) + // Storage: `Contracts::CodeInfoOf` (r:2 w:2) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) // Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::EventTopics` (r:3 w:3) + // Storage: `System::EventTopics` (r:4 w:4) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `Balances::Holds` (r:1 w:1) + // Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `Measured`) // Storage: `Contracts::DeletionQueue` (r:0 w:1) // Proof: `Contracts::DeletionQueue` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `Measured`) /// The range of component `r` is `[0, 1]`. fn seal_terminate(r: u32, ) -> Weight { - // Minimum execution time: 356_910 nanoseconds. - Weight::from_parts(367_393_385_u64, 0) - // Standard Error: 535_181 - .saturating_add(Weight::from_parts(188_925_514_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(r as u64))) - .saturating_add(T::DbWeight::get().writes(5_u64)) - .saturating_add(T::DbWeight::get().writes((8_u64).saturating_mul(r as u64))) + // Minimum execution time: 450_560 nanoseconds. + Weight::from_parts(459_648_238_u64, 0) + // Standard Error: 400_511 + .saturating_add(Weight::from_parts(170_284_561_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(r as u64))) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes((10_u64).saturating_mul(r as u64))) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) // Storage: `RandomnessCollectiveFlip::RandomMaterial` (r:1 w:0) // Proof: `RandomnessCollectiveFlip::RandomMaterial` (`max_values`: Some(1), `max_size`: Some(2594), added: 3089, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 1600]`. fn seal_random(r: u32, ) -> Weight { - // Minimum execution time: 356_260 nanoseconds. - Weight::from_parts(379_265_788_u64, 0) - // Standard Error: 1_025 - .saturating_add(Weight::from_parts(3_149_424_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(14_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 436_910 nanoseconds. + Weight::from_parts(456_584_177_u64, 0) + // Standard Error: 852 + .saturating_add(Weight::from_parts(2_133_192_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 1600]`. fn seal_deposit_event(r: u32, ) -> Weight { - // Minimum execution time: 353_820 nanoseconds. - Weight::from_parts(373_841_558_u64, 0) - // Standard Error: 2_965 - .saturating_add(Weight::from_parts(5_781_163_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 425_890 nanoseconds. + Weight::from_parts(442_464_479_u64, 0) + // Standard Error: 981 + .saturating_add(Weight::from_parts(3_391_728_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:6 w:6) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `t` is `[0, 4]`. /// The range of component `n` is `[0, 16384]`. fn seal_deposit_event_per_topic_and_byte(t: u32, n: u32, ) -> Weight { - // Minimum execution time: 378_960 nanoseconds. - Weight::from_parts(376_070_797_u64, 0) - // Standard Error: 60_579 - .saturating_add(Weight::from_parts(3_701_711_u64, 0).saturating_mul(t as u64)) - // Standard Error: 16 - .saturating_add(Weight::from_parts(767_u64, 0).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) + // Minimum execution time: 452_120 nanoseconds. + Weight::from_parts(447_353_888_u64, 0) + // Standard Error: 51_265 + .saturating_add(Weight::from_parts(3_905_926_u64, 0).saturating_mul(t as u64)) + // Standard Error: 14 + .saturating_add(Weight::from_parts(804_u64, 0).saturating_mul(n as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t as u64))) - .saturating_add(T::DbWeight::get().writes(5_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t as u64))) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 1600]`. fn seal_debug_message(r: u32, ) -> Weight { - // Minimum execution time: 275_860 nanoseconds. - Weight::from_parts(286_769_467_u64, 0) - // Standard Error: 460 - .saturating_add(Weight::from_parts(282_022_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 278_460 nanoseconds. + Weight::from_parts(289_505_268_u64, 0) + // Standard Error: 798 + .saturating_add(Weight::from_parts(306_704_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `MaxEncodedLen`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `MaxEncodedLen`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `MaxEncodedLen`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `MaxEncodedLen`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `i` is `[0, 1048576]`. fn seal_debug_message_per_byte(i: u32, ) -> Weight { - // Minimum execution time: 504_370 nanoseconds. - Weight::from_parts(509_202_076_u64, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(947_u64, 0).saturating_mul(i as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 586_300 nanoseconds. + Weight::from_parts(600_948_977_u64, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_015_u64, 0).saturating_mul(i as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Skipped::Metadata` (r:0 w:0) // Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 800]`. fn seal_set_storage(r: u32, ) -> Weight { - // Minimum execution time: 360_260 nanoseconds. - Weight::from_parts(259_086_380_u64, 0) - // Standard Error: 10_293 - .saturating_add(Weight::from_parts(7_230_992_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) + // Minimum execution time: 432_410 nanoseconds. + Weight::from_parts(337_868_633_u64, 0) + // Standard Error: 9_734 + .saturating_add(Weight::from_parts(7_030_860_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r as u64))) - .saturating_add(T::DbWeight::get().writes(5_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r as u64))) } // Storage: `Skipped::Metadata` (r:0 w:0) // Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 16384]`. fn seal_set_storage_per_new_byte(n: u32, ) -> Weight { - // Minimum execution time: 382_730 nanoseconds. - Weight::from_parts(444_277_753_u64, 0) - // Standard Error: 75 - .saturating_add(Weight::from_parts(611_u64, 0).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(15_u64)) + // Minimum execution time: 458_260 nanoseconds. + Weight::from_parts(525_914_961_u64, 0) + // Standard Error: 89 + .saturating_add(Weight::from_parts(883_u64, 0).saturating_mul(n as u64)) + .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } // Storage: `Skipped::Metadata` (r:0 w:0) // Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 16384]`. fn seal_set_storage_per_old_byte(n: u32, ) -> Weight { - // Minimum execution time: 382_090 nanoseconds. - Weight::from_parts(391_450_814_u64, 0) - // Standard Error: 30 - .saturating_add(Weight::from_parts(374_u64, 0).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(14_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) + // Minimum execution time: 457_990 nanoseconds. + Weight::from_parts(465_844_430_u64, 0) + // Standard Error: 23 + .saturating_add(Weight::from_parts(321_u64, 0).saturating_mul(n as u64)) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: `Skipped::Metadata` (r:0 w:0) // Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 800]`. fn seal_clear_storage(r: u32, ) -> Weight { - // Minimum execution time: 359_270 nanoseconds. - Weight::from_parts(249_158_682_u64, 0) - // Standard Error: 11_145 - .saturating_add(Weight::from_parts(7_104_140_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) + // Minimum execution time: 432_060 nanoseconds. + Weight::from_parts(332_191_905_u64, 0) + // Standard Error: 10_138 + .saturating_add(Weight::from_parts(6_899_172_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r as u64))) - .saturating_add(T::DbWeight::get().writes(5_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r as u64))) } // Storage: `Skipped::Metadata` (r:0 w:0) // Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 16384]`. fn seal_clear_storage_per_byte(n: u32, ) -> Weight { - // Minimum execution time: 382_860 nanoseconds. - Weight::from_parts(391_177_582_u64, 0) - // Standard Error: 22 - .saturating_add(Weight::from_parts(364_u64, 0).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(14_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) + // Minimum execution time: 455_520 nanoseconds. + Weight::from_parts(464_827_054_u64, 0) + // Standard Error: 20 + .saturating_add(Weight::from_parts(316_u64, 0).saturating_mul(n as u64)) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: `Skipped::Metadata` (r:0 w:0) // Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 800]`. fn seal_get_storage(r: u32, ) -> Weight { - // Minimum execution time: 361_250 nanoseconds. - Weight::from_parts(269_542_588_u64, 0) - // Standard Error: 9_852 - .saturating_add(Weight::from_parts(6_123_226_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) + // Minimum execution time: 435_590 nanoseconds. + Weight::from_parts(357_808_804_u64, 0) + // Standard Error: 8_814 + .saturating_add(Weight::from_parts(5_955_203_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r as u64))) - .saturating_add(T::DbWeight::get().writes(5_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Skipped::Metadata` (r:0 w:0) // Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 16384]`. fn seal_get_storage_per_byte(n: u32, ) -> Weight { - // Minimum execution time: 381_660 nanoseconds. - Weight::from_parts(391_386_618_u64, 0) - // Standard Error: 28 - .saturating_add(Weight::from_parts(873_u64, 0).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(14_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 457_780 nanoseconds. + Weight::from_parts(465_693_246_u64, 0) + // Standard Error: 27 + .saturating_add(Weight::from_parts(889_u64, 0).saturating_mul(n as u64)) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Skipped::Metadata` (r:0 w:0) // Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 800]`. fn seal_contains_storage(r: u32, ) -> Weight { - // Minimum execution time: 359_050 nanoseconds. - Weight::from_parts(262_427_230_u64, 0) - // Standard Error: 10_303 - .saturating_add(Weight::from_parts(5_909_543_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) + // Minimum execution time: 432_120 nanoseconds. + Weight::from_parts(352_256_584_u64, 0) + // Standard Error: 8_869 + .saturating_add(Weight::from_parts(5_643_134_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r as u64))) - .saturating_add(T::DbWeight::get().writes(5_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Skipped::Metadata` (r:0 w:0) // Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 16384]`. fn seal_contains_storage_per_byte(n: u32, ) -> Weight { - // Minimum execution time: 379_810 nanoseconds. - Weight::from_parts(389_689_566_u64, 0) - // Standard Error: 26 - .saturating_add(Weight::from_parts(143_u64, 0).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(14_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 455_150 nanoseconds. + Weight::from_parts(462_831_237_u64, 0) + // Standard Error: 23 + .saturating_add(Weight::from_parts(310_u64, 0).saturating_mul(n as u64)) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Skipped::Metadata` (r:0 w:0) // Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 800]`. fn seal_take_storage(r: u32, ) -> Weight { - // Minimum execution time: 359_600 nanoseconds. - Weight::from_parts(258_244_948_u64, 0) - // Standard Error: 10_269 - .saturating_add(Weight::from_parts(7_330_357_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) + // Minimum execution time: 433_130 nanoseconds. + Weight::from_parts(338_404_807_u64, 0) + // Standard Error: 9_762 + .saturating_add(Weight::from_parts(7_220_343_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r as u64))) - .saturating_add(T::DbWeight::get().writes(5_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r as u64))) } // Storage: `Skipped::Metadata` (r:0 w:0) // Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 16384]`. fn seal_take_storage_per_byte(n: u32, ) -> Weight { - // Minimum execution time: 385_610 nanoseconds. - Weight::from_parts(394_068_422_u64, 0) - // Standard Error: 40 - .saturating_add(Weight::from_parts(944_u64, 0).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(14_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) + // Minimum execution time: 457_720 nanoseconds. + Weight::from_parts(467_679_235_u64, 0) + // Standard Error: 34 + .saturating_add(Weight::from_parts(954_u64, 0).saturating_mul(n as u64)) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1602 w:1601) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 1600]`. fn seal_transfer(r: u32, ) -> Weight { - // Minimum execution time: 362_269 nanoseconds. - Weight::from_parts(43_298_664_u64, 0) - // Standard Error: 53_137 - .saturating_add(Weight::from_parts(61_001_203_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(14_u64)) + // Minimum execution time: 433_560 nanoseconds. + Weight::from_parts(271_720_100_u64, 0) + // Standard Error: 23_057 + .saturating_add(Weight::from_parts(55_807_745_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r as u64))) - .saturating_add(T::DbWeight::get().writes(6_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r as u64))) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:801 w:801) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:2 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:2 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:803 w:803) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 800]`. fn seal_call(r: u32, ) -> Weight { - // Minimum execution time: 370_710 nanoseconds. - Weight::from_parts(377_080_000_u64, 0) - // Standard Error: 97_751 - .saturating_add(Weight::from_parts(310_122_071_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(16_u64)) + // Minimum execution time: 432_910 nanoseconds. + Weight::from_parts(438_770_000_u64, 0) + // Standard Error: 106_110 + .saturating_add(Weight::from_parts(392_216_981_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r as u64))) - .saturating_add(T::DbWeight::get().writes(6_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(r as u64))) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:736 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:736 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:737 w:737) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 800]`. fn seal_delegate_call(r: u32, ) -> Weight { - // Minimum execution time: 360_540 nanoseconds. - Weight::from_parts(364_480_000_u64, 0) - // Standard Error: 134_279 - .saturating_add(Weight::from_parts(308_069_677_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) + // Minimum execution time: 434_510 nanoseconds. + Weight::from_parts(437_750_000_u64, 0) + // Standard Error: 111_154 + .saturating_add(Weight::from_parts(389_661_466_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r as u64))) - .saturating_add(T::DbWeight::get().writes(5_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r as u64))) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:3 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:2 w:2) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:2 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:2 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:4 w:4) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `t` is `[0, 1]`. /// The range of component `c` is `[0, 1048576]`. fn seal_call_per_transfer_clone_byte(t: u32, c: u32, ) -> Weight { - // Minimum execution time: 664_511 nanoseconds. - Weight::from_parts(615_443_099_u64, 0) - // Standard Error: 689_581 - .saturating_add(Weight::from_parts(62_001_738_u64, 0).saturating_mul(t as u64)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(586_u64, 0).saturating_mul(c as u64)) - .saturating_add(T::DbWeight::get().reads(18_u64)) + // Minimum execution time: 742_130 nanoseconds. + Weight::from_parts(697_472_948_u64, 0) + // Standard Error: 564_323 + .saturating_add(Weight::from_parts(57_318_955_u64, 0).saturating_mul(t as u64)) + // Standard Error: 0 + .saturating_add(Weight::from_parts(660_u64, 0).saturating_mul(c as u64)) + .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(t as u64))) - .saturating_add(T::DbWeight::get().writes(8_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(t as u64))) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) - // Storage: `System::Account` (r:1602 w:1602) + // Storage: `System::Account` (r:802 w:802) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:801 w:801) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:801 w:800) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:801 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) // Storage: `Contracts::Nonce` (r:1 w:1) // Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `System::EventTopics` (r:802 w:802) + // Storage: `System::EventTopics` (r:803 w:803) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `Balances::Holds` (r:800 w:800) + // Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `Measured`) /// The range of component `r` is `[1, 800]`. fn seal_instantiate(r: u32, ) -> Weight { - // Minimum execution time: 870_420 nanoseconds. - Weight::from_parts(875_400_000_u64, 0) - // Standard Error: 197_211 - .saturating_add(Weight::from_parts(516_564_905_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(15_u64)) + // Minimum execution time: 1_009_330 nanoseconds. + Weight::from_parts(1_017_020_000_u64, 0) + // Standard Error: 203_282 + .saturating_add(Weight::from_parts(577_629_650_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(r as u64))) - .saturating_add(T::DbWeight::get().writes(8_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(r as u64))) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) - // Storage: `System::Account` (r:4 w:4) + // Storage: `System::Account` (r:3 w:3) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:2 w:2) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:2 w:1) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:2 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) // Storage: `Contracts::Nonce` (r:1 w:1) // Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `System::EventTopics` (r:3 w:3) + // Storage: `System::EventTopics` (r:4 w:4) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `Balances::Holds` (r:1 w:1) + // Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `Measured`) /// The range of component `t` is `[0, 1]`. /// The range of component `i` is `[0, 983040]`. /// The range of component `s` is `[0, 983040]`. fn seal_instantiate_per_transfer_input_salt_byte(t: u32, i: u32, s: u32, ) -> Weight { - // Minimum execution time: 2_717_270 nanoseconds. - Weight::from_parts(736_760_164_u64, 0) - // Standard Error: 3_255_479 - .saturating_add(Weight::from_parts(99_507_136_u64, 0).saturating_mul(t as u64)) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_932_u64, 0).saturating_mul(i as u64)) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_996_u64, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(20_u64)) + // Minimum execution time: 2_864_630 nanoseconds. + Weight::from_parts(832_607_980_u64, 0) + // Standard Error: 2_873_290 + .saturating_add(Weight::from_parts(87_193_154_u64, 0).saturating_mul(t as u64)) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_993_u64, 0).saturating_mul(i as u64)) + // Standard Error: 4 + .saturating_add(Weight::from_parts(2_059_u64, 0).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(16_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t as u64))) - .saturating_add(T::DbWeight::get().writes(12_u64)) + .saturating_add(T::DbWeight::get().writes(11_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t as u64))) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 1600]`. fn seal_hash_sha2_256(r: u32, ) -> Weight { - // Minimum execution time: 353_980 nanoseconds. - Weight::from_parts(363_720_593_u64, 0) - // Standard Error: 666 - .saturating_add(Weight::from_parts(547_253_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 429_310 nanoseconds. + Weight::from_parts(438_907_657_u64, 0) + // Standard Error: 491 + .saturating_add(Weight::from_parts(578_507_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 1048576]`. fn seal_hash_sha2_256_per_byte(n: u32, ) -> Weight { - // Minimum execution time: 355_520 nanoseconds. - Weight::from_parts(364_183_955_u64, 0) + // Minimum execution time: 428_771 nanoseconds. + Weight::from_parts(435_414_199_u64, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(1_340_u64, 0).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + .saturating_add(Weight::from_parts(1_410_u64, 0).saturating_mul(n as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 1600]`. fn seal_hash_keccak_256(r: u32, ) -> Weight { - // Minimum execution time: 355_770 nanoseconds. - Weight::from_parts(366_596_516_u64, 0) - // Standard Error: 687 - .saturating_add(Weight::from_parts(906_174_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 427_900 nanoseconds. + Weight::from_parts(428_397_100_u64, 0) + // Standard Error: 4_513 + .saturating_add(Weight::from_parts(946_519_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256_per_byte(n: u32, ) -> Weight { - // Minimum execution time: 355_300 nanoseconds. - Weight::from_parts(367_316_008_u64, 0) - // Standard Error: 3 - .saturating_add(Weight::from_parts(3_370_u64, 0).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 427_470 nanoseconds. + Weight::from_parts(439_063_077_u64, 0) + // Standard Error: 2 + .saturating_add(Weight::from_parts(3_500_u64, 0).saturating_mul(n as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 1600]`. fn seal_hash_blake2_256(r: u32, ) -> Weight { - // Minimum execution time: 353_490 nanoseconds. - Weight::from_parts(365_475_148_u64, 0) - // Standard Error: 581 - .saturating_add(Weight::from_parts(626_544_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 426_800 nanoseconds. + Weight::from_parts(439_003_153_u64, 0) + // Standard Error: 658 + .saturating_add(Weight::from_parts(661_007_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256_per_byte(n: u32, ) -> Weight { - // Minimum execution time: 357_490 nanoseconds. - Weight::from_parts(362_620_338_u64, 0) + // Minimum execution time: 429_430 nanoseconds. + Weight::from_parts(434_770_951_u64, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(1_686_u64, 0).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + .saturating_add(Weight::from_parts(1_753_u64, 0).saturating_mul(n as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 1600]`. fn seal_hash_blake2_128(r: u32, ) -> Weight { - // Minimum execution time: 355_170 nanoseconds. - Weight::from_parts(365_471_347_u64, 0) - // Standard Error: 504 - .saturating_add(Weight::from_parts(621_000_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 425_920 nanoseconds. + Weight::from_parts(438_251_327_u64, 0) + // Standard Error: 545 + .saturating_add(Weight::from_parts(648_382_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128_per_byte(n: u32, ) -> Weight { - // Minimum execution time: 355_240 nanoseconds. - Weight::from_parts(361_731_495_u64, 0) + // Minimum execution time: 428_750 nanoseconds. + Weight::from_parts(436_739_136_u64, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(1_692_u64, 0).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + .saturating_add(Weight::from_parts(1_751_u64, 0).saturating_mul(n as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify_per_byte(n: u32, ) -> Weight { - // Minimum execution time: 433_190 nanoseconds. - Weight::from_parts(439_643_706_u64, 0) - // Standard Error: 11 - .saturating_add(Weight::from_parts(6_487_u64, 0).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 502_470 nanoseconds. + Weight::from_parts(495_847_501_u64, 0) + // Standard Error: 10 + .saturating_add(Weight::from_parts(6_625_u64, 0).saturating_mul(n as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 160]`. fn seal_sr25519_verify(r: u32, ) -> Weight { - // Minimum execution time: 363_030 nanoseconds. - Weight::from_parts(390_077_915_u64, 0) - // Standard Error: 8_176 - .saturating_add(Weight::from_parts(59_426_447_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 432_610 nanoseconds. + Weight::from_parts(462_728_442_u64, 0) + // Standard Error: 8_119 + .saturating_add(Weight::from_parts(41_784_092_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 160]`. fn seal_ecdsa_recover(r: u32, ) -> Weight { - // Minimum execution time: 360_469 nanoseconds. - Weight::from_parts(388_634_638_u64, 0) - // Standard Error: 8_785 - .saturating_add(Weight::from_parts(43_172_620_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 436_290 nanoseconds. + Weight::from_parts(461_099_539_u64, 0) + // Standard Error: 11_001 + .saturating_add(Weight::from_parts(42_117_275_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 160]`. fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { - // Minimum execution time: 358_710 nanoseconds. - Weight::from_parts(376_533_912_u64, 0) - // Standard Error: 5_373 - .saturating_add(Weight::from_parts(11_284_925_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 432_590 nanoseconds. + Weight::from_parts(450_883_709_u64, 0) + // Standard Error: 5_231 + .saturating_add(Weight::from_parts(11_450_778_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1536 w:1536) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1536 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:1538 w:1538) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 1600]`. fn seal_set_code_hash(r: u32, ) -> Weight { - // Minimum execution time: 360_320 nanoseconds. - Weight::from_parts(365_790_000_u64, 0) - // Standard Error: 40_584 - .saturating_add(Weight::from_parts(32_652_990_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) + // Minimum execution time: 433_060 nanoseconds. + Weight::from_parts(436_740_000_u64, 0) + // Standard Error: 38_694 + .saturating_add(Weight::from_parts(33_201_222_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r as u64))) - .saturating_add(T::DbWeight::get().writes(5_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(r as u64))) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) + // Storage: `Contracts::CodeInfoOf` (r:33 w:32) + // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) + // Storage: `Contracts::PristineCode` (r:1 w:0) + // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) + // Storage: `Timestamp::Now` (r:1 w:0) + // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) + // Storage: `System::EventTopics` (r:2 w:2) + // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `r` is `[0, 32]`. + fn add_delegate_dependency(r: u32, ) -> Weight { + // Minimum execution time: 433_850 nanoseconds. + Weight::from_parts(448_968_760_u64, 0) + // Standard Error: 19_429 + .saturating_add(Weight::from_parts(8_024_496_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r as u64))) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r as u64))) + } + // Storage: `Contracts::MigrationInProgress` (r:1 w:0) + // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:0) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `Contracts::ContractInfoOf` (r:1 w:1) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `MaxEncodedLen`) + // Storage: `Contracts::CodeInfoOf` (r:33 w:32) + // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) + // Storage: `Contracts::PristineCode` (r:1 w:0) + // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `MaxEncodedLen`) + // Storage: `Timestamp::Now` (r:1 w:0) + // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + // Storage: `System::EventTopics` (r:2 w:2) + // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `r` is `[0, 32]`. + fn remove_delegate_dependency(r: u32, ) -> Weight { + // Minimum execution time: 432_250 nanoseconds. + Weight::from_parts(451_357_280_u64, 0) + // Standard Error: 19_959 + .saturating_add(Weight::from_parts(6_687_708_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r as u64))) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r as u64))) + } + // Storage: `Contracts::MigrationInProgress` (r:1 w:0) + // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) + // Storage: `System::Account` (r:1 w:0) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) + // Storage: `Contracts::ContractInfoOf` (r:1 w:1) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 1600]`. fn seal_reentrance_count(r: u32, ) -> Weight { - // Minimum execution time: 353_920 nanoseconds. - Weight::from_parts(364_499_280_u64, 0) - // Standard Error: 404 - .saturating_add(Weight::from_parts(223_775_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 425_900 nanoseconds. + Weight::from_parts(437_306_743_u64, 0) + // Standard Error: 346 + .saturating_add(Weight::from_parts(211_909_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 1600]`. fn seal_account_reentrance_count(r: u32, ) -> Weight { - // Minimum execution time: 360_600 nanoseconds. - Weight::from_parts(400_672_058_u64, 0) - // Standard Error: 740 - .saturating_add(Weight::from_parts(284_521_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 446_630 nanoseconds. + Weight::from_parts(473_565_956_u64, 0) + // Standard Error: 598 + .saturating_add(Weight::from_parts(287_353_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `Contracts::MigrationInProgress` (r:1 w:0) // Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) // Storage: `System::Account` (r:1 w:0) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - // Storage: `Balances::TotalIssuance` (r:1 w:0) - // Proof: `Balances::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) // Storage: `Contracts::ContractInfoOf` (r:1 w:1) - // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + // Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) // Storage: `Contracts::CodeInfoOf` (r:1 w:0) // Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) // Storage: `Contracts::PristineCode` (r:1 w:0) // Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) // Storage: `Timestamp::Now` (r:1 w:0) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::Number` (r:1 w:0) - // Proof: `System::Number` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) // Storage: `Contracts::Nonce` (r:1 w:1) // Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - // Storage: `System::ExecutionPhase` (r:1 w:0) - // Proof: `System::ExecutionPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) - // Storage: `System::EventCount` (r:1 w:1) - // Proof: `System::EventCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) - // Storage: `System::Events` (r:1 w:1) - // Proof: `System::Events` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::EventTopics` (r:2 w:2) // Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[0, 1600]`. fn seal_instantiation_nonce(r: u32, ) -> Weight { - // Minimum execution time: 354_750 nanoseconds. - Weight::from_parts(367_608_741_u64, 0) - // Standard Error: 351 - .saturating_add(Weight::from_parts(186_922_u64, 0).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(14_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) + // Minimum execution time: 426_470 nanoseconds. + Weight::from_parts(438_735_038_u64, 0) + // Standard Error: 334 + .saturating_add(Weight::from_parts(193_786_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// The range of component `r` is `[0, 5000]`. fn instr_i64const(r: u32, ) -> Weight { - // Minimum execution time: 3_290 nanoseconds. - Weight::from_parts(4_351_301_u64, 0) - // Standard Error: 24 - .saturating_add(Weight::from_parts(30_972_u64, 0).saturating_mul(r as u64)) - } -fn migrate() -> Weight { - Default::default() - } -fn on_runtime_upgrade() -> Weight { - Default::default() - } + // Minimum execution time: 3_150 nanoseconds. + Weight::from_parts(4_462_162_u64, 0) + // Standard Error: 14 + .saturating_add(Weight::from_parts(14_522_u64, 0).saturating_mul(r as u64)) + } } diff --git a/runtimes/eden/src/weights/pallet_grants.rs b/runtimes/eden/src/weights/pallet_grants.rs new file mode 100644 index 00000000000..821231eadcb --- /dev/null +++ b/runtimes/eden/src/weights/pallet_grants.rs @@ -0,0 +1,108 @@ +/* + * This file is part of the Nodle Chain distributed at https://github.com/NodleCode/chain + * Copyright (C) 2020-2022 Nodle International + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +//! Autogenerated weights for pallet_grants +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-02-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `chain-bench-a18ada46`, CPU: `AMD EPYC 7B13` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/nodle-parachain +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --pallet=pallet_grants +// --extrinsic=* +// --wasm-execution=compiled +// --template=./.maintain/external_pallet_weights.hbs +// --output=runtimes/eden/src/weights + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::{Weight}}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_grants`. +pub struct WeightInfo(PhantomData); +impl pallet_grants::WeightInfo for WeightInfo { + // Storage: `ParachainSystem::ValidationData` (r:1 w:0) + // Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `Vesting::VestingSchedules` (r:1 w:1) + // Proof: `Vesting::VestingSchedules` (`max_values`: None, `max_size`: Some(2850), added: 5325, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:2 w:2) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `Balances::Locks` (r:1 w:1) + // Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + // Storage: `Balances::Freezes` (r:1 w:0) + // Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + fn add_vesting_schedule() -> Weight { + // Minimum execution time: 106_290 nanoseconds. + Weight::from_parts(108_300_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } + // Storage: `ParachainSystem::ValidationData` (r:1 w:0) + // Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `Vesting::VestingSchedules` (r:1 w:0) + // Proof: `Vesting::VestingSchedules` (`max_values`: None, `max_size`: Some(2850), added: 5325, mode: `MaxEncodedLen`) + // Storage: `Balances::Locks` (r:1 w:1) + // Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + // Storage: `Balances::Freezes` (r:1 w:0) + // Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn claim() -> Weight { + // Minimum execution time: 45_380 nanoseconds. + Weight::from_parts(46_750_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + // Storage: `Vesting::Renounced` (r:1 w:0) + // Proof: `Vesting::Renounced` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + // Storage: `ParachainSystem::ValidationData` (r:1 w:0) + // Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `Vesting::VestingSchedules` (r:1 w:1) + // Proof: `Vesting::VestingSchedules` (`max_values`: None, `max_size`: Some(2850), added: 5325, mode: `MaxEncodedLen`) + // Storage: `Balances::Locks` (r:1 w:1) + // Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + // Storage: `Balances::Freezes` (r:1 w:0) + // Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:2 w:2) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `Vesting::CounterForVestingSchedules` (r:1 w:1) + // Proof: `Vesting::CounterForVestingSchedules` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + fn cancel_all_vesting_schedules() -> Weight { + // Minimum execution time: 143_329 nanoseconds. + Weight::from_parts(144_750_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) + } + // Storage: `Vesting::Renounced` (r:0 w:1) + // Proof: `Vesting::Renounced` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + fn renounce() -> Weight { + // Minimum execution time: 10_190 nanoseconds. + Weight::from_parts(10_420_000_u64, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } +} diff --git a/runtimes/eden/src/weights/pallet_identity.rs b/runtimes/eden/src/weights/pallet_identity.rs index b4ed19428d9..11a2f949aaa 100644 --- a/runtimes/eden/src/weights/pallet_identity.rs +++ b/runtimes/eden/src/weights/pallet_identity.rs @@ -18,9 +18,9 @@ //! Autogenerated weights for pallet_identity //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `chain-bench-b606df9f`, CPU: `AMD EPYC 7B13` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-02-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `chain-bench-a18ada46`, CPU: `AMD EPYC 7B13` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -50,56 +50,53 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn add_registrar(r: u32, ) -> Weight { - // Minimum execution time: 17_660 nanoseconds. - Weight::from_parts(18_817_843_u64, 0) - // Standard Error: 2_458 - .saturating_add(Weight::from_parts(100_477_u64, 0).saturating_mul(r as u64)) + // Minimum execution time: 13_100 nanoseconds. + Weight::from_parts(14_146_190_u64, 0) + // Standard Error: 2_283 + .saturating_add(Weight::from_parts(92_762_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: `Identity::IdentityOf` (r:1 w:1) - // Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) + // Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[0, 100]`. - fn set_identity(r: u32, x: u32, ) -> Weight { - // Minimum execution time: 50_300 nanoseconds. - Weight::from_parts(49_507_329_u64, 0) - // Standard Error: 6_381 - .saturating_add(Weight::from_parts(95_778_u64, 0).saturating_mul(r as u64)) - // Standard Error: 1_245 - .saturating_add(Weight::from_parts(881_945_u64, 0).saturating_mul(x as u64)) + fn set_identity(r: u32, ) -> Weight { + // Minimum execution time: 197_200 nanoseconds. + Weight::from_parts(203_890_647_u64, 0) + // Standard Error: 13_414 + .saturating_add(Weight::from_parts(139_177_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: `Identity::IdentityOf` (r:1 w:0) - // Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) + // Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) // Storage: `Identity::SubsOf` (r:1 w:1) // Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) // Storage: `Identity::SuperOf` (r:100 w:100) // Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 100]`. fn set_subs_new(s: u32, ) -> Weight { - // Minimum execution time: 15_029 nanoseconds. - Weight::from_parts(36_102_451_u64, 0) - // Standard Error: 6_061 - .saturating_add(Weight::from_parts(5_232_207_u64, 0).saturating_mul(s as u64)) + // Minimum execution time: 14_400 nanoseconds. + Weight::from_parts(34_689_314_u64, 0) + // Standard Error: 8_802 + .saturating_add(Weight::from_parts(5_459_038_u64, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s as u64))) } // Storage: `Identity::IdentityOf` (r:1 w:0) - // Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) + // Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) // Storage: `Identity::SubsOf` (r:1 w:1) // Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) // Storage: `Identity::SuperOf` (r:0 w:100) // Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 100]`. fn set_subs_old(p: u32, ) -> Weight { - // Minimum execution time: 14_889 nanoseconds. - Weight::from_parts(35_849_838_u64, 0) - // Standard Error: 5_020 - .saturating_add(Weight::from_parts(2_028_586_u64, 0).saturating_mul(p as u64)) + // Minimum execution time: 14_400 nanoseconds. + Weight::from_parts(32_368_361_u64, 0) + // Standard Error: 5_129 + .saturating_add(Weight::from_parts(2_162_844_u64, 0).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p as u64))) @@ -107,21 +104,18 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: `Identity::SubsOf` (r:1 w:1) // Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) // Storage: `Identity::IdentityOf` (r:1 w:1) - // Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) + // Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) // Storage: `Identity::SuperOf` (r:0 w:100) // Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `s` is `[0, 100]`. - /// The range of component `x` is `[0, 100]`. - fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { - // Minimum execution time: 95_190 nanoseconds. - Weight::from_parts(51_120_333_u64, 0) - // Standard Error: 10_482 - .saturating_add(Weight::from_parts(46_958_u64, 0).saturating_mul(r as u64)) - // Standard Error: 2_046 - .saturating_add(Weight::from_parts(2_017_340_u64, 0).saturating_mul(s as u64)) - // Standard Error: 2_046 - .saturating_add(Weight::from_parts(465_024_u64, 0).saturating_mul(x as u64)) + fn clear_identity(r: u32, s: u32, ) -> Weight { + // Minimum execution time: 81_900 nanoseconds. + Weight::from_parts(85_413_608_u64, 0) + // Standard Error: 14_119 + .saturating_add(Weight::from_parts(103_303_u64, 0).saturating_mul(r as u64)) + // Standard Error: 2_755 + .saturating_add(Weight::from_parts(2_076_938_u64, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s as u64))) @@ -129,30 +123,24 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: `Identity::Registrars` (r:1 w:0) // Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) // Storage: `Identity::IdentityOf` (r:1 w:1) - // Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) + // Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[0, 100]`. - fn request_judgement(r: u32, x: u32, ) -> Weight { - // Minimum execution time: 49_280 nanoseconds. - Weight::from_parts(48_178_468_u64, 0) - // Standard Error: 8_224 - .saturating_add(Weight::from_parts(134_086_u64, 0).saturating_mul(r as u64)) - // Standard Error: 1_604 - .saturating_add(Weight::from_parts(893_504_u64, 0).saturating_mul(x as u64)) + fn request_judgement(r: u32, ) -> Weight { + // Minimum execution time: 129_150 nanoseconds. + Weight::from_parts(133_626_161_u64, 0) + // Standard Error: 11_417 + .saturating_add(Weight::from_parts(83_923_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: `Identity::IdentityOf` (r:1 w:1) - // Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) + // Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[0, 100]`. - fn cancel_request(r: u32, x: u32, ) -> Weight { - // Minimum execution time: 46_130 nanoseconds. - Weight::from_parts(44_713_461_u64, 0) - // Standard Error: 7_879 - .saturating_add(Weight::from_parts(107_189_u64, 0).saturating_mul(r as u64)) - // Standard Error: 1_537 - .saturating_add(Weight::from_parts(911_404_u64, 0).saturating_mul(x as u64)) + fn cancel_request(r: u32, ) -> Weight { + // Minimum execution time: 126_030 nanoseconds. + Weight::from_parts(130_840_462_u64, 0) + // Standard Error: 9_859 + .saturating_add(Weight::from_parts(77_771_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -160,10 +148,10 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn set_fee(r: u32, ) -> Weight { - // Minimum execution time: 10_880 nanoseconds. - Weight::from_parts(11_732_473_u64, 0) - // Standard Error: 1_638 - .saturating_add(Weight::from_parts(77_335_u64, 0).saturating_mul(r as u64)) + // Minimum execution time: 9_010 nanoseconds. + Weight::from_parts(9_838_457_u64, 0) + // Standard Error: 1_787 + .saturating_add(Weight::from_parts(70_260_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -171,10 +159,10 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn set_account_id(r: u32, ) -> Weight { - // Minimum execution time: 11_210 nanoseconds. - Weight::from_parts(11_956_179_u64, 0) - // Standard Error: 1_558 - .saturating_add(Weight::from_parts(72_337_u64, 0).saturating_mul(r as u64)) + // Minimum execution time: 9_560 nanoseconds. + Weight::from_parts(10_338_290_u64, 0) + // Standard Error: 1_838 + .saturating_add(Weight::from_parts(68_539_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -182,93 +170,87 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn set_fields(r: u32, ) -> Weight { - // Minimum execution time: 10_680 nanoseconds. - Weight::from_parts(11_578_069_u64, 0) - // Standard Error: 1_702 - .saturating_add(Weight::from_parts(74_478_u64, 0).saturating_mul(r as u64)) + // Minimum execution time: 8_980 nanoseconds. + Weight::from_parts(9_762_047_u64, 0) + // Standard Error: 1_648 + .saturating_add(Weight::from_parts(74_495_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: `Identity::Registrars` (r:1 w:0) // Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) // Storage: `Identity::IdentityOf` (r:1 w:1) - // Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) + // Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. - /// The range of component `x` is `[0, 100]`. - fn provide_judgement(r: u32, x: u32, ) -> Weight { - // Minimum execution time: 34_680 nanoseconds. - Weight::from_parts(32_823_845_u64, 0) - // Standard Error: 10_530 - .saturating_add(Weight::from_parts(144_065_u64, 0).saturating_mul(r as u64)) - // Standard Error: 1_948 - .saturating_add(Weight::from_parts(1_406_346_u64, 0).saturating_mul(x as u64)) + fn provide_judgement(r: u32, ) -> Weight { + // Minimum execution time: 173_610 nanoseconds. + Weight::from_parts(180_753_643_u64, 0) + // Standard Error: 14_289 + .saturating_add(Weight::from_parts(126_269_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: `Identity::SubsOf` (r:1 w:1) // Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) // Storage: `Identity::IdentityOf` (r:1 w:1) - // Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) + // Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Identity::SuperOf` (r:0 w:100) // Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `s` is `[0, 100]`. - /// The range of component `x` is `[0, 100]`. - fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { - // Minimum execution time: 121_170 nanoseconds. - Weight::from_parts(77_541_808_u64, 0) - // Standard Error: 10_306 - .saturating_add(Weight::from_parts(97_527_u64, 0).saturating_mul(r as u64)) - // Standard Error: 2_012 - .saturating_add(Weight::from_parts(2_078_027_u64, 0).saturating_mul(s as u64)) - // Standard Error: 2_012 - .saturating_add(Weight::from_parts(469_446_u64, 0).saturating_mul(x as u64)) + fn kill_identity(r: u32, s: u32, ) -> Weight { + // Minimum execution time: 104_460 nanoseconds. + Weight::from_parts(106_464_900_u64, 0) + // Standard Error: 13_867 + .saturating_add(Weight::from_parts(181_746_u64, 0).saturating_mul(r as u64)) + // Standard Error: 2_705 + .saturating_add(Weight::from_parts(2_088_436_u64, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s as u64))) } // Storage: `Identity::IdentityOf` (r:1 w:0) - // Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) + // Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) // Storage: `Identity::SuperOf` (r:1 w:1) // Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) // Storage: `Identity::SubsOf` (r:1 w:1) // Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 99]`. fn add_sub(s: u32, ) -> Weight { - // Minimum execution time: 45_220 nanoseconds. - Weight::from_parts(50_433_258_u64, 0) - // Standard Error: 1_470 - .saturating_add(Weight::from_parts(76_458_u64, 0).saturating_mul(s as u64)) + // Minimum execution time: 39_530 nanoseconds. + Weight::from_parts(44_747_420_u64, 0) + // Standard Error: 1_410 + .saturating_add(Weight::from_parts(74_084_u64, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } // Storage: `Identity::IdentityOf` (r:1 w:0) - // Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) + // Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) // Storage: `Identity::SuperOf` (r:1 w:1) // Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 100]`. fn rename_sub(s: u32, ) -> Weight { - // Minimum execution time: 19_771 nanoseconds. - Weight::from_parts(22_221_878_u64, 0) - // Standard Error: 636 - .saturating_add(Weight::from_parts(27_580_u64, 0).saturating_mul(s as u64)) + // Minimum execution time: 18_770 nanoseconds. + Weight::from_parts(21_370_551_u64, 0) + // Standard Error: 739 + .saturating_add(Weight::from_parts(26_005_u64, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: `Identity::IdentityOf` (r:1 w:0) - // Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) + // Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) // Storage: `Identity::SuperOf` (r:1 w:1) // Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) // Storage: `Identity::SubsOf` (r:1 w:1) // Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 100]`. fn remove_sub(s: u32, ) -> Weight { - // Minimum execution time: 48_520 nanoseconds. - Weight::from_parts(52_619_390_u64, 0) - // Standard Error: 1_126 - .saturating_add(Weight::from_parts(58_598_u64, 0).saturating_mul(s as u64)) + // Minimum execution time: 42_850 nanoseconds. + Weight::from_parts(46_062_058_u64, 0) + // Standard Error: 1_081 + .saturating_add(Weight::from_parts(64_921_u64, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -280,11 +262,80 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 99]`. fn quit_sub(s: u32, ) -> Weight { - // Minimum execution time: 34_120 nanoseconds. - Weight::from_parts(36_776_043_u64, 0) - // Standard Error: 894 - .saturating_add(Weight::from_parts(67_331_u64, 0).saturating_mul(s as u64)) + // Minimum execution time: 31_820 nanoseconds. + Weight::from_parts(34_116_651_u64, 0) + // Standard Error: 1_196 + .saturating_add(Weight::from_parts(58_645_u64, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } + // Storage: `Identity::UsernameAuthorities` (r:0 w:1) + // Proof: `Identity::UsernameAuthorities` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + fn add_username_authority() -> Weight { + // Minimum execution time: 10_560 nanoseconds. + Weight::from_parts(11_000_000_u64, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: `Identity::UsernameAuthorities` (r:1 w:1) + // Proof: `Identity::UsernameAuthorities` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + fn remove_username_authority() -> Weight { + // Minimum execution time: 13_540 nanoseconds. + Weight::from_parts(14_200_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: `Identity::UsernameAuthorities` (r:1 w:1) + // Proof: `Identity::UsernameAuthorities` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + // Storage: `Identity::AccountOfUsername` (r:1 w:1) + // Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + // Storage: `Identity::PendingUsernames` (r:1 w:0) + // Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + // Storage: `Identity::IdentityOf` (r:1 w:1) + // Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + fn set_username_for() -> Weight { + // Minimum execution time: 80_820 nanoseconds. + Weight::from_parts(81_990_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + // Storage: `Identity::PendingUsernames` (r:1 w:1) + // Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + // Storage: `Identity::IdentityOf` (r:1 w:1) + // Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + // Storage: `Identity::AccountOfUsername` (r:0 w:1) + // Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + fn accept_username() -> Weight { + // Minimum execution time: 32_970 nanoseconds. + Weight::from_parts(33_580_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + // Storage: `Identity::PendingUsernames` (r:1 w:1) + // Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + fn remove_expired_approval() -> Weight { + // Minimum execution time: 21_000 nanoseconds. + Weight::from_parts(21_990_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: `Identity::AccountOfUsername` (r:1 w:0) + // Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + // Storage: `Identity::IdentityOf` (r:1 w:1) + // Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + fn set_primary_username() -> Weight { + // Minimum execution time: 24_960 nanoseconds. + Weight::from_parts(25_800_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: `Identity::AccountOfUsername` (r:1 w:1) + // Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + // Storage: `Identity::IdentityOf` (r:1 w:0) + // Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + fn remove_dangling_username() -> Weight { + // Minimum execution time: 17_151 nanoseconds. + Weight::from_parts(17_831_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } } diff --git a/runtimes/eden/src/weights/pallet_membership.rs b/runtimes/eden/src/weights/pallet_membership.rs index 16715e77729..69970543a72 100644 --- a/runtimes/eden/src/weights/pallet_membership.rs +++ b/runtimes/eden/src/weights/pallet_membership.rs @@ -18,9 +18,9 @@ //! Autogenerated weights for pallet_membership //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `chain-bench-b606df9f`, CPU: `AMD EPYC 7B13` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-02-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `chain-bench-a18ada46`, CPU: `AMD EPYC 7B13` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -56,10 +56,10 @@ impl pallet_membership::WeightInfo for WeightInfo { // Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 49]`. fn add_member(m: u32, ) -> Weight { - // Minimum execution time: 22_870 nanoseconds. - Weight::from_parts(24_018_070_u64, 0) - // Standard Error: 1_234 - .saturating_add(Weight::from_parts(25_899_u64, 0).saturating_mul(m as u64)) + // Minimum execution time: 16_320 nanoseconds. + Weight::from_parts(17_310_922_u64, 0) + // Standard Error: 868 + .saturating_add(Weight::from_parts(28_743_u64, 0).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -75,10 +75,10 @@ impl pallet_membership::WeightInfo for WeightInfo { // Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[2, 50]`. fn remove_member(m: u32, ) -> Weight { - // Minimum execution time: 26_489 nanoseconds. - Weight::from_parts(27_779_749_u64, 0) - // Standard Error: 1_896 - .saturating_add(Weight::from_parts(25_620_u64, 0).saturating_mul(m as u64)) + // Minimum execution time: 18_720 nanoseconds. + Weight::from_parts(19_552_340_u64, 0) + // Standard Error: 828 + .saturating_add(Weight::from_parts(20_579_u64, 0).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -94,10 +94,10 @@ impl pallet_membership::WeightInfo for WeightInfo { // Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[2, 50]`. fn swap_member(m: u32, ) -> Weight { - // Minimum execution time: 27_120 nanoseconds. - Weight::from_parts(28_083_033_u64, 0) - // Standard Error: 1_153 - .saturating_add(Weight::from_parts(38_567_u64, 0).saturating_mul(m as u64)) + // Minimum execution time: 18_660 nanoseconds. + Weight::from_parts(19_501_197_u64, 0) + // Standard Error: 1_144 + .saturating_add(Weight::from_parts(46_030_u64, 0).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -113,10 +113,10 @@ impl pallet_membership::WeightInfo for WeightInfo { // Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 50]`. fn reset_member(m: u32, ) -> Weight { - // Minimum execution time: 26_569 nanoseconds. - Weight::from_parts(28_314_027_u64, 0) - // Standard Error: 1_834 - .saturating_add(Weight::from_parts(180_043_u64, 0).saturating_mul(m as u64)) + // Minimum execution time: 18_420 nanoseconds. + Weight::from_parts(20_145_611_u64, 0) + // Standard Error: 1_655 + .saturating_add(Weight::from_parts(181_545_u64, 0).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -132,10 +132,10 @@ impl pallet_membership::WeightInfo for WeightInfo { // Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 50]`. fn change_key(m: u32, ) -> Weight { - // Minimum execution time: 27_820 nanoseconds. - Weight::from_parts(28_452_902_u64, 0) - // Standard Error: 1_628 - .saturating_add(Weight::from_parts(56_277_u64, 0).saturating_mul(m as u64)) + // Minimum execution time: 19_571 nanoseconds. + Weight::from_parts(20_374_215_u64, 0) + // Standard Error: 1_050 + .saturating_add(Weight::from_parts(46_896_u64, 0).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -147,10 +147,10 @@ impl pallet_membership::WeightInfo for WeightInfo { // Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 50]`. fn set_prime(m: u32, ) -> Weight { - // Minimum execution time: 10_730 nanoseconds. - Weight::from_parts(11_486_281_u64, 0) - // Standard Error: 723 - .saturating_add(Weight::from_parts(10_350_u64, 0).saturating_mul(m as u64)) + // Minimum execution time: 8_510 nanoseconds. + Weight::from_parts(9_100_443_u64, 0) + // Standard Error: 599 + .saturating_add(Weight::from_parts(11_088_u64, 0).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -160,10 +160,10 @@ impl pallet_membership::WeightInfo for WeightInfo { // Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 50]`. fn clear_prime(m: u32, ) -> Weight { - // Minimum execution time: 4_811 nanoseconds. - Weight::from_parts(5_198_814_u64, 0) - // Standard Error: 333 - .saturating_add(Weight::from_parts(857_u64, 0).saturating_mul(m as u64)) + // Minimum execution time: 3_590 nanoseconds. + Weight::from_parts(3_862_307_u64, 0) + // Standard Error: 280 + .saturating_add(Weight::from_parts(861_u64, 0).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } } diff --git a/runtimes/eden/src/weights/pallet_message_queue.rs b/runtimes/eden/src/weights/pallet_message_queue.rs new file mode 100644 index 00000000000..272a67c3263 --- /dev/null +++ b/runtimes/eden/src/weights/pallet_message_queue.rs @@ -0,0 +1,142 @@ +/* + * This file is part of the Nodle Chain distributed at https://github.com/NodleCode/chain + * Copyright (C) 2020-2022 Nodle International + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +//! Autogenerated weights for pallet_message_queue +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-02-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `chain-bench-a18ada46`, CPU: `AMD EPYC 7B13` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/nodle-parachain +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --pallet=pallet_message_queue +// --extrinsic=* +// --wasm-execution=compiled +// --template=./.maintain/external_pallet_weights.hbs +// --output=runtimes/eden/src/weights + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::{Weight}}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_message_queue`. +pub struct WeightInfo(PhantomData); +impl pallet_message_queue::WeightInfo for WeightInfo { + // Storage: `MessageQueue::ServiceHead` (r:1 w:0) + // Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + // Storage: `MessageQueue::BookStateFor` (r:2 w:2) + // Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + fn ready_ring_knit() -> Weight { + // Minimum execution time: 17_370 nanoseconds. + Weight::from_parts(18_170_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + // Storage: `MessageQueue::BookStateFor` (r:2 w:2) + // Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + // Storage: `MessageQueue::ServiceHead` (r:1 w:1) + // Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + fn ready_ring_unknit() -> Weight { + // Minimum execution time: 14_920 nanoseconds. + Weight::from_parts(15_500_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + // Storage: `MessageQueue::BookStateFor` (r:1 w:1) + // Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + fn service_queue_base() -> Weight { + // Minimum execution time: 6_660 nanoseconds. + Weight::from_parts(6_940_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: `MessageQueue::Pages` (r:1 w:1) + // Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) + fn service_page_base_completion() -> Weight { + // Minimum execution time: 9_760 nanoseconds. + Weight::from_parts(10_191_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: `MessageQueue::Pages` (r:1 w:1) + // Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) + fn service_page_base_no_completion() -> Weight { + // Minimum execution time: 10_070 nanoseconds. + Weight::from_parts(10_480_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: `MessageQueue::BookStateFor` (r:0 w:1) + // Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + // Storage: `MessageQueue::Pages` (r:0 w:1) + // Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) + fn service_page_item() -> Weight { + // Minimum execution time: 195_430 nanoseconds. + Weight::from_parts(198_320_000_u64, 0) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + // Storage: `MessageQueue::ServiceHead` (r:1 w:1) + // Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + // Storage: `MessageQueue::BookStateFor` (r:1 w:0) + // Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + fn bump_service_head() -> Weight { + // Minimum execution time: 9_490 nanoseconds. + Weight::from_parts(9_880_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: `MessageQueue::BookStateFor` (r:1 w:1) + // Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + // Storage: `MessageQueue::Pages` (r:1 w:1) + // Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) + fn reap_page() -> Weight { + // Minimum execution time: 64_470 nanoseconds. + Weight::from_parts(65_340_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + // Storage: `MessageQueue::BookStateFor` (r:1 w:1) + // Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + // Storage: `MessageQueue::Pages` (r:1 w:1) + // Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) + fn execute_overweight_page_removed() -> Weight { + // Minimum execution time: 83_930 nanoseconds. + Weight::from_parts(85_930_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + // Storage: `MessageQueue::BookStateFor` (r:1 w:1) + // Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + // Storage: `MessageQueue::Pages` (r:1 w:1) + // Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) + fn execute_overweight_page_updated() -> Weight { + // Minimum execution time: 135_891 nanoseconds. + Weight::from_parts(138_440_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } +} diff --git a/runtimes/eden/src/weights/pallet_multisig.rs b/runtimes/eden/src/weights/pallet_multisig.rs index aceb1c90945..b746e5fa998 100644 --- a/runtimes/eden/src/weights/pallet_multisig.rs +++ b/runtimes/eden/src/weights/pallet_multisig.rs @@ -18,9 +18,9 @@ //! Autogenerated weights for pallet_multisig //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `chain-bench-b606df9f`, CPU: `AMD EPYC 7B13` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-02-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `chain-bench-a18ada46`, CPU: `AMD EPYC 7B13` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -48,22 +48,22 @@ pub struct WeightInfo(PhantomData); impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_threshold_1(z: u32, ) -> Weight { - // Minimum execution time: 15_810 nanoseconds. - Weight::from_parts(16_843_166_u64, 0) + // Minimum execution time: 16_771 nanoseconds. + Weight::from_parts(18_214_279_u64, 0) // Standard Error: 4 - .saturating_add(Weight::from_parts(511_u64, 0).saturating_mul(z as u64)) + .saturating_add(Weight::from_parts(526_u64, 0).saturating_mul(z as u64)) } // Storage: `Multisig::Multisigs` (r:1 w:1) // Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_create(s: u32, z: u32, ) -> Weight { - // Minimum execution time: 58_760 nanoseconds. - Weight::from_parts(52_089_028_u64, 0) - // Standard Error: 877 - .saturating_add(Weight::from_parts(85_022_u64, 0).saturating_mul(s as u64)) - // Standard Error: 8 - .saturating_add(Weight::from_parts(1_474_u64, 0).saturating_mul(z as u64)) + // Minimum execution time: 53_300 nanoseconds. + Weight::from_parts(46_211_828_u64, 0) + // Standard Error: 808 + .saturating_add(Weight::from_parts(94_722_u64, 0).saturating_mul(s as u64)) + // Standard Error: 7 + .saturating_add(Weight::from_parts(1_461_u64, 0).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -72,12 +72,12 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[3, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_approve(s: u32, z: u32, ) -> Weight { - // Minimum execution time: 36_120 nanoseconds. - Weight::from_parts(29_089_829_u64, 0) - // Standard Error: 551 - .saturating_add(Weight::from_parts(81_641_u64, 0).saturating_mul(s as u64)) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_468_u64, 0).saturating_mul(z as u64)) + // Minimum execution time: 33_960 nanoseconds. + Weight::from_parts(26_396_940_u64, 0) + // Standard Error: 476 + .saturating_add(Weight::from_parts(81_488_u64, 0).saturating_mul(s as u64)) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_489_u64, 0).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -88,12 +88,12 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_complete(s: u32, z: u32, ) -> Weight { - // Minimum execution time: 64_990 nanoseconds. - Weight::from_parts(54_473_892_u64, 0) - // Standard Error: 1_370 - .saturating_add(Weight::from_parts(117_869_u64, 0).saturating_mul(s as u64)) - // Standard Error: 13 - .saturating_add(Weight::from_parts(1_614_u64, 0).saturating_mul(z as u64)) + // Minimum execution time: 60_010 nanoseconds. + Weight::from_parts(49_271_020_u64, 0) + // Standard Error: 818 + .saturating_add(Weight::from_parts(125_423_u64, 0).saturating_mul(s as u64)) + // Standard Error: 8 + .saturating_add(Weight::from_parts(1_582_u64, 0).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -101,10 +101,10 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { - // Minimum execution time: 47_720 nanoseconds. - Weight::from_parts(49_826_422_u64, 0) - // Standard Error: 840 - .saturating_add(Weight::from_parts(91_527_u64, 0).saturating_mul(s as u64)) + // Minimum execution time: 42_240 nanoseconds. + Weight::from_parts(44_014_074_u64, 0) + // Standard Error: 823 + .saturating_add(Weight::from_parts(92_267_u64, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -112,10 +112,10 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { - // Minimum execution time: 26_330 nanoseconds. - Weight::from_parts(27_380_596_u64, 0) - // Standard Error: 812 - .saturating_add(Weight::from_parts(84_280_u64, 0).saturating_mul(s as u64)) + // Minimum execution time: 23_590 nanoseconds. + Weight::from_parts(24_703_427_u64, 0) + // Standard Error: 678 + .saturating_add(Weight::from_parts(83_914_u64, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -123,10 +123,10 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { - // Minimum execution time: 48_180 nanoseconds. - Weight::from_parts(49_695_571_u64, 0) - // Standard Error: 1_518 - .saturating_add(Weight::from_parts(93_146_u64, 0).saturating_mul(s as u64)) + // Minimum execution time: 43_050 nanoseconds. + Weight::from_parts(45_152_415_u64, 0) + // Standard Error: 910 + .saturating_add(Weight::from_parts(85_822_u64, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/runtimes/eden/src/weights/pallet_nodle_uniques.rs b/runtimes/eden/src/weights/pallet_nodle_uniques.rs new file mode 100644 index 00000000000..255692eb982 --- /dev/null +++ b/runtimes/eden/src/weights/pallet_nodle_uniques.rs @@ -0,0 +1,170 @@ +/* + * This file is part of the Nodle Chain distributed at https://github.com/NodleCode/chain + * Copyright (C) 2020-2022 Nodle International + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +//! Autogenerated weights for pallet_nodle_uniques +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-02-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `chain-bench-a18ada46`, CPU: `AMD EPYC 7B13` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/nodle-parachain +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --pallet=pallet_nodle_uniques +// --extrinsic=* +// --wasm-execution=compiled +// --template=./.maintain/external_pallet_weights.hbs +// --output=runtimes/eden/src/weights + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::{Weight}}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_nodle_uniques`. +pub struct WeightInfo(PhantomData); +impl pallet_nodle_uniques::WeightInfo for WeightInfo { + // Storage: `Uniques::Class` (r:1 w:1) + // Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`) + // Storage: `NodleUniques::ItemExtraDeposits` (r:1001 w:1000) + // Proof: `NodleUniques::ItemExtraDeposits` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + // Storage: `Uniques::Asset` (r:1001 w:1000) + // Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `Uniques::InstanceMetadataOf` (r:1000 w:1000) + // Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`) + // Storage: `Uniques::Attribute` (r:1000 w:1000) + // Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(364), added: 2839, mode: `MaxEncodedLen`) + // Storage: `Uniques::ClassAccount` (r:0 w:1) + // Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) + // Storage: `Uniques::ClassMetadataOf` (r:0 w:1) + // Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(167), added: 2642, mode: `MaxEncodedLen`) + // Storage: `Uniques::Account` (r:0 w:1000) + // Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + // Storage: `Uniques::CollectionMaxSupply` (r:0 w:1) + // Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) + // Storage: `NodleUniques::CollectionExtraDepositDetails` (r:0 w:1) + // Proof: `NodleUniques::CollectionExtraDepositDetails` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 1000]`. + /// The range of component `m` is `[0, 1000]`. + /// The range of component `a` is `[0, 1000]`. + fn destroy(n: u32, m: u32, a: u32, ) -> Weight { + // Minimum execution time: 3_222_090 nanoseconds. + Weight::from_parts(3_243_240_000_u64, 0) + // Standard Error: 28_996 + .saturating_add(Weight::from_parts(33_040_167_u64, 0).saturating_mul(n as u64)) + // Standard Error: 28_996 + .saturating_add(Weight::from_parts(232_229_u64, 0).saturating_mul(m as u64)) + // Standard Error: 28_996 + .saturating_add(Weight::from_parts(338_093_u64, 0).saturating_mul(a as u64)) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n as u64))) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m as u64))) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a as u64))) + .saturating_add(T::DbWeight::get().writes(6_u64)) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(n as u64))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(m as u64))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a as u64))) + } + // Storage: `Uniques::Asset` (r:1 w:1) + // Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`) + // Storage: `Uniques::Class` (r:1 w:1) + // Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`) + // Storage: `Uniques::CollectionMaxSupply` (r:1 w:0) + // Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `NodleUniques::CollectionExtraDepositDetails` (r:1 w:1) + // Proof: `NodleUniques::CollectionExtraDepositDetails` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + // Storage: `Uniques::Account` (r:0 w:1) + // Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + // Storage: `NodleUniques::ItemExtraDeposits` (r:0 w:1) + // Proof: `NodleUniques::ItemExtraDeposits` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + fn mint_with_extra_deposit() -> Weight { + // Minimum execution time: 80_700 nanoseconds. + Weight::from_parts(81_790_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) + } + // Storage: `Uniques::Class` (r:1 w:1) + // Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`) + // Storage: `Uniques::Asset` (r:1 w:1) + // Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `NodleUniques::ItemExtraDeposits` (r:1 w:1) + // Proof: `NodleUniques::ItemExtraDeposits` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + // Storage: `Uniques::Account` (r:0 w:1) + // Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + // Storage: `Uniques::ItemPriceOf` (r:0 w:1) + // Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) + fn burn() -> Weight { + // Minimum execution time: 80_280 nanoseconds. + Weight::from_parts(82_150_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) + } + // Storage: `Uniques::Class` (r:1 w:1) + // Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `Uniques::ClassAccount` (r:0 w:1) + // Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) + // Storage: `NodleUniques::CollectionExtraDepositDetails` (r:0 w:1) + // Proof: `NodleUniques::CollectionExtraDepositDetails` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + fn create_with_extra_deposit_limit() -> Weight { + // Minimum execution time: 46_090 nanoseconds. + Weight::from_parts(47_440_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } + // Storage: `Uniques::OwnershipAcceptance` (r:1 w:1) + // Proof: `Uniques::OwnershipAcceptance` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + // Storage: `Uniques::Class` (r:1 w:1) + // Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:2 w:2) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `NodleUniques::CollectionExtraDepositDetails` (r:1 w:0) + // Proof: `NodleUniques::CollectionExtraDepositDetails` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + // Storage: `Uniques::ClassAccount` (r:0 w:2) + // Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) + fn transfer_ownership() -> Weight { + // Minimum execution time: 75_790 nanoseconds. + Weight::from_parts(78_289_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) + } + // Storage: `Uniques::Class` (r:1 w:0) + // Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`) + // Storage: `NodleUniques::CollectionExtraDepositDetails` (r:1 w:1) + // Proof: `NodleUniques::CollectionExtraDepositDetails` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + fn update_extra_deposit_limit() -> Weight { + // Minimum execution time: 24_900 nanoseconds. + Weight::from_parts(25_740_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } +} diff --git a/runtimes/eden/src/weights/pallet_preimage.rs b/runtimes/eden/src/weights/pallet_preimage.rs index 2aa6b88dee1..7f921e4c2a7 100644 --- a/runtimes/eden/src/weights/pallet_preimage.rs +++ b/runtimes/eden/src/weights/pallet_preimage.rs @@ -18,9 +18,9 @@ //! Autogenerated weights for pallet_preimage //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `chain-bench-b606df9f`, CPU: `AMD EPYC 7B13` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-02-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `chain-bench-a18ada46`, CPU: `AMD EPYC 7B13` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -46,121 +46,166 @@ use core::marker::PhantomData; /// Weight functions for `pallet_preimage`. pub struct WeightInfo(PhantomData); impl pallet_preimage::WeightInfo for WeightInfo { - // Storage: `Preimage::StatusFor` (r:1 w:1) + // Storage: `Preimage::StatusFor` (r:1 w:0) // Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + // Storage: `Preimage::RequestStatusFor` (r:1 w:1) + // Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + // Storage: `Balances::Holds` (r:1 w:1) + // Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) // Storage: `Preimage::PreimageFor` (r:0 w:1) // Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { - // Minimum execution time: 45_590 nanoseconds. - Weight::from_parts(46_309_000_u64, 0) - // Standard Error: 10 - .saturating_add(Weight::from_parts(2_780_u64, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 71_370 nanoseconds. + Weight::from_parts(49_399_549_u64, 0) + // Standard Error: 9 + .saturating_add(Weight::from_parts(2_609_u64, 0).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: `Preimage::StatusFor` (r:1 w:1) + // Storage: `Preimage::StatusFor` (r:1 w:0) // Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + // Storage: `Preimage::RequestStatusFor` (r:1 w:1) + // Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) // Storage: `Preimage::PreimageFor` (r:0 w:1) // Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32, ) -> Weight { - // Minimum execution time: 24_520 nanoseconds. - Weight::from_parts(24_890_000_u64, 0) - // Standard Error: 10 - .saturating_add(Weight::from_parts(2_744_u64, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 23_410 nanoseconds. + Weight::from_parts(24_220_000_u64, 0) + // Standard Error: 4 + .saturating_add(Weight::from_parts(2_598_u64, 0).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: `Preimage::StatusFor` (r:1 w:1) + // Storage: `Preimage::StatusFor` (r:1 w:0) // Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + // Storage: `Preimage::RequestStatusFor` (r:1 w:1) + // Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) // Storage: `Preimage::PreimageFor` (r:0 w:1) // Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32, ) -> Weight { - // Minimum execution time: 23_729 nanoseconds. - Weight::from_parts(24_200_000_u64, 0) - // Standard Error: 9 - .saturating_add(Weight::from_parts(2_779_u64, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 22_240 nanoseconds. + Weight::from_parts(22_640_000_u64, 0) + // Standard Error: 5 + .saturating_add(Weight::from_parts(2_643_u64, 0).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: `Preimage::StatusFor` (r:1 w:1) + // Storage: `Preimage::StatusFor` (r:1 w:0) // Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + // Storage: `Preimage::RequestStatusFor` (r:1 w:1) + // Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + // Storage: `Balances::Holds` (r:1 w:1) + // Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) // Storage: `Preimage::PreimageFor` (r:0 w:1) // Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_preimage() -> Weight { - // Minimum execution time: 52_990 nanoseconds. - Weight::from_parts(54_030_000_u64, 0) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 71_700 nanoseconds. + Weight::from_parts(72_850_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: `Preimage::StatusFor` (r:1 w:1) + // Storage: `Preimage::StatusFor` (r:1 w:0) // Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + // Storage: `Preimage::RequestStatusFor` (r:1 w:1) + // Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) // Storage: `Preimage::PreimageFor` (r:0 w:1) // Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_no_deposit_preimage() -> Weight { - // Minimum execution time: 30_660 nanoseconds. - Weight::from_parts(31_470_000_u64, 0) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 29_430 nanoseconds. + Weight::from_parts(30_340_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: `Preimage::StatusFor` (r:1 w:1) + // Storage: `Preimage::StatusFor` (r:1 w:0) // Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + // Storage: `Preimage::RequestStatusFor` (r:1 w:1) + // Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_preimage() -> Weight { - // Minimum execution time: 26_289 nanoseconds. - Weight::from_parts(27_370_000_u64, 0) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 23_589 nanoseconds. + Weight::from_parts(24_410_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: `Preimage::StatusFor` (r:1 w:1) + // Storage: `Preimage::StatusFor` (r:1 w:0) // Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + // Storage: `Preimage::RequestStatusFor` (r:1 w:1) + // Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_no_deposit_preimage() -> Weight { - // Minimum execution time: 15_940 nanoseconds. - Weight::from_parts(16_600_000_u64, 0) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 16_990 nanoseconds. + Weight::from_parts(17_710_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: `Preimage::StatusFor` (r:1 w:1) + // Storage: `Preimage::StatusFor` (r:1 w:0) // Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + // Storage: `Preimage::RequestStatusFor` (r:1 w:1) + // Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_unnoted_preimage() -> Weight { - // Minimum execution time: 20_380 nanoseconds. - Weight::from_parts(20_940_000_u64, 0) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 19_920 nanoseconds. + Weight::from_parts(20_640_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: `Preimage::StatusFor` (r:1 w:1) + // Storage: `Preimage::StatusFor` (r:1 w:0) // Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + // Storage: `Preimage::RequestStatusFor` (r:1 w:1) + // Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_requested_preimage() -> Weight { - // Minimum execution time: 12_931 nanoseconds. - Weight::from_parts(13_340_000_u64, 0) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 14_629 nanoseconds. + Weight::from_parts(15_220_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: `Preimage::StatusFor` (r:1 w:1) + // Storage: `Preimage::StatusFor` (r:1 w:0) // Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + // Storage: `Preimage::RequestStatusFor` (r:1 w:1) + // Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) // Storage: `Preimage::PreimageFor` (r:0 w:1) // Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unrequest_preimage() -> Weight { - // Minimum execution time: 28_100 nanoseconds. - Weight::from_parts(29_020_000_u64, 0) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 25_740 nanoseconds. + Weight::from_parts(26_580_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: `Preimage::StatusFor` (r:1 w:1) + // Storage: `Preimage::StatusFor` (r:1 w:0) // Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + // Storage: `Preimage::RequestStatusFor` (r:1 w:1) + // Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn unrequest_unnoted_preimage() -> Weight { - // Minimum execution time: 12_830 nanoseconds. - Weight::from_parts(13_289_000_u64, 0) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 14_570 nanoseconds. + Weight::from_parts(14_949_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: `Preimage::StatusFor` (r:1 w:1) + // Storage: `Preimage::StatusFor` (r:1 w:0) // Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + // Storage: `Preimage::RequestStatusFor` (r:1 w:1) + // Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn unrequest_multi_referenced_preimage() -> Weight { - // Minimum execution time: 12_890 nanoseconds. - Weight::from_parts(13_420_000_u64, 0) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 14_580 nanoseconds. + Weight::from_parts(15_320_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } + // Storage: `Preimage::StatusFor` (r:1023 w:1023) + // Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1023 w:1023) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `Balances::Holds` (r:1023 w:1023) + // Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + // Storage: `Preimage::RequestStatusFor` (r:0 w:1023) + // Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// The range of component `n` is `[1, 1024]`. + fn ensure_updated(n: u32, ) -> Weight { + // Minimum execution time: 79_580 nanoseconds. + Weight::from_parts(80_560_000_u64, 0) + // Standard Error: 33_732 + .saturating_add(Weight::from_parts(76_349_138_u64, 0).saturating_mul(n as u64)) + .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n as u64))) + .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(n as u64))) + } } diff --git a/runtimes/eden/src/weights/pallet_proxy.rs b/runtimes/eden/src/weights/pallet_proxy.rs new file mode 100644 index 00000000000..030433e2f00 --- /dev/null +++ b/runtimes/eden/src/weights/pallet_proxy.rs @@ -0,0 +1,178 @@ +/* + * This file is part of the Nodle Chain distributed at https://github.com/NodleCode/chain + * Copyright (C) 2020-2022 Nodle International + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +//! Autogenerated weights for pallet_proxy +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-02-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `chain-bench-a18ada46`, CPU: `AMD EPYC 7B13` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/nodle-parachain +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --pallet=pallet_proxy +// --extrinsic=* +// --wasm-execution=compiled +// --template=./.maintain/external_pallet_weights.hbs +// --output=runtimes/eden/src/weights + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::{Weight}}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_proxy`. +pub struct WeightInfo(PhantomData); +impl pallet_proxy::WeightInfo for WeightInfo { + // Storage: `Proxy::Proxies` (r:1 w:0) + // Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) + /// The range of component `p` is `[1, 31]`. + fn proxy(p: u32, ) -> Weight { + // Minimum execution time: 20_460 nanoseconds. + Weight::from_parts(21_469_966_u64, 0) + // Standard Error: 1_563 + .saturating_add(Weight::from_parts(50_643_u64, 0).saturating_mul(p as u64)) + .saturating_add(T::DbWeight::get().reads(1_u64)) + } + // Storage: `Proxy::Proxies` (r:1 w:0) + // Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) + // Storage: `Proxy::Announcements` (r:1 w:1) + // Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `a` is `[0, 31]`. + /// The range of component `p` is `[1, 31]`. + fn proxy_announced(a: u32, p: u32, ) -> Weight { + // Minimum execution time: 48_791 nanoseconds. + Weight::from_parts(50_034_416_u64, 0) + // Standard Error: 2_970 + .saturating_add(Weight::from_parts(248_713_u64, 0).saturating_mul(a as u64)) + // Standard Error: 3_068 + .saturating_add(Weight::from_parts(20_850_u64, 0).saturating_mul(p as u64)) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + // Storage: `Proxy::Announcements` (r:1 w:1) + // Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `a` is `[0, 31]`. + /// The range of component `p` is `[1, 31]`. + fn remove_announcement(a: u32, _p: u32, ) -> Weight { + // Minimum execution time: 32_930 nanoseconds. + Weight::from_parts(34_383_120_u64, 0) + // Standard Error: 2_327 + .saturating_add(Weight::from_parts(252_564_u64, 0).saturating_mul(a as u64)) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + // Storage: `Proxy::Announcements` (r:1 w:1) + // Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `a` is `[0, 31]`. + /// The range of component `p` is `[1, 31]`. + fn reject_announcement(a: u32, _p: u32, ) -> Weight { + // Minimum execution time: 32_970 nanoseconds. + Weight::from_parts(34_103_942_u64, 0) + // Standard Error: 2_207 + .saturating_add(Weight::from_parts(252_749_u64, 0).saturating_mul(a as u64)) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + // Storage: `Proxy::Proxies` (r:1 w:0) + // Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) + // Storage: `Proxy::Announcements` (r:1 w:1) + // Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `a` is `[0, 31]`. + /// The range of component `p` is `[1, 31]`. + fn announce(a: u32, p: u32, ) -> Weight { + // Minimum execution time: 43_020 nanoseconds. + Weight::from_parts(43_769_957_u64, 0) + // Standard Error: 1_972 + .saturating_add(Weight::from_parts(255_480_u64, 0).saturating_mul(a as u64)) + // Standard Error: 2_038 + .saturating_add(Weight::from_parts(27_738_u64, 0).saturating_mul(p as u64)) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + // Storage: `Proxy::Proxies` (r:1 w:1) + // Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) + /// The range of component `p` is `[1, 31]`. + fn add_proxy(p: u32, ) -> Weight { + // Minimum execution time: 32_150 nanoseconds. + Weight::from_parts(33_354_758_u64, 0) + // Standard Error: 1_754 + .saturating_add(Weight::from_parts(51_712_u64, 0).saturating_mul(p as u64)) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: `Proxy::Proxies` (r:1 w:1) + // Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) + /// The range of component `p` is `[1, 31]`. + fn remove_proxy(p: u32, ) -> Weight { + // Minimum execution time: 31_990 nanoseconds. + Weight::from_parts(34_073_350_u64, 0) + // Standard Error: 3_025 + .saturating_add(Weight::from_parts(46_511_u64, 0).saturating_mul(p as u64)) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: `Proxy::Proxies` (r:1 w:1) + // Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) + /// The range of component `p` is `[1, 31]`. + fn remove_proxies(p: u32, ) -> Weight { + // Minimum execution time: 30_720 nanoseconds. + Weight::from_parts(31_927_278_u64, 0) + // Standard Error: 1_716 + .saturating_add(Weight::from_parts(48_109_u64, 0).saturating_mul(p as u64)) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: `Proxy::Proxies` (r:1 w:1) + // Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) + /// The range of component `p` is `[1, 31]`. + fn create_pure(p: u32, ) -> Weight { + // Minimum execution time: 34_611 nanoseconds. + Weight::from_parts(36_102_772_u64, 0) + // Standard Error: 2_194 + .saturating_add(Weight::from_parts(28_107_u64, 0).saturating_mul(p as u64)) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: `Proxy::Proxies` (r:1 w:1) + // Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) + /// The range of component `p` is `[0, 30]`. + fn kill_pure(p: u32, ) -> Weight { + // Minimum execution time: 32_450 nanoseconds. + Weight::from_parts(33_518_476_u64, 0) + // Standard Error: 1_930 + .saturating_add(Weight::from_parts(46_975_u64, 0).saturating_mul(p as u64)) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } +} diff --git a/runtimes/eden/src/weights/pallet_reserve.rs b/runtimes/eden/src/weights/pallet_reserve.rs new file mode 100644 index 00000000000..e8bb37360d5 --- /dev/null +++ b/runtimes/eden/src/weights/pallet_reserve.rs @@ -0,0 +1,65 @@ +/* + * This file is part of the Nodle Chain distributed at https://github.com/NodleCode/chain + * Copyright (C) 2020-2022 Nodle International + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +//! Autogenerated weights for pallet_reserve +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-02-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `chain-bench-a18ada46`, CPU: `AMD EPYC 7B13` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/nodle-parachain +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --pallet=pallet_reserve +// --extrinsic=* +// --wasm-execution=compiled +// --template=./.maintain/external_pallet_weights.hbs +// --output=runtimes/eden/src/weights + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::{Weight}}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_reserve`. +pub struct WeightInfo(PhantomData); +impl pallet_reserve::WeightInfo for WeightInfo { + // Storage: `System::Account` (r:2 w:2) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn tip() -> Weight { + // Minimum execution time: 61_130 nanoseconds. + Weight::from_parts(62_510_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + // Storage: `System::Account` (r:2 w:2) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn spend() -> Weight { + // Minimum execution time: 65_520 nanoseconds. + Weight::from_parts(66_420_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } +} diff --git a/runtimes/eden/src/weights/pallet_scheduler.rs b/runtimes/eden/src/weights/pallet_scheduler.rs index 302a13f9aa9..8508457c03d 100644 --- a/runtimes/eden/src/weights/pallet_scheduler.rs +++ b/runtimes/eden/src/weights/pallet_scheduler.rs @@ -18,9 +18,9 @@ //! Autogenerated weights for pallet_scheduler //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `chain-bench-b606df9f`, CPU: `AMD EPYC 7B13` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-02-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `chain-bench-a18ada46`, CPU: `AMD EPYC 7B13` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -49,8 +49,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: `Scheduler::IncompleteSince` (r:1 w:1) // Proof: `Scheduler::IncompleteSince` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn service_agendas_base() -> Weight { - // Minimum execution time: 5_170 nanoseconds. - Weight::from_parts(5_400_000_u64, 0) + // Minimum execution time: 3_350 nanoseconds. + Weight::from_parts(3_660_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -58,57 +58,59 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32, ) -> Weight { - // Minimum execution time: 4_990 nanoseconds. - Weight::from_parts(8_987_346_u64, 0) - // Standard Error: 3_683 - .saturating_add(Weight::from_parts(1_161_170_u64, 0).saturating_mul(s as u64)) + // Minimum execution time: 4_910 nanoseconds. + Weight::from_parts(8_508_284_u64, 0) + // Standard Error: 3_727 + .saturating_add(Weight::from_parts(1_140_349_u64, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } fn service_task_base() -> Weight { - // Minimum execution time: 8_730 nanoseconds. - Weight::from_parts(8_960_000_u64, 0) + // Minimum execution time: 5_540 nanoseconds. + Weight::from_parts(5_760_000_u64, 0) } // Storage: `Preimage::PreimageFor` (r:1 w:1) // Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `Measured`) - // Storage: `Preimage::StatusFor` (r:1 w:1) + // Storage: `Preimage::StatusFor` (r:1 w:0) // Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + // Storage: `Preimage::RequestStatusFor` (r:1 w:1) + // Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(s: u32, ) -> Weight { - // Minimum execution time: 29_980 nanoseconds. - Weight::from_parts(30_260_000_u64, 0) - // Standard Error: 16 - .saturating_add(Weight::from_parts(1_345_u64, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Minimum execution time: 26_510 nanoseconds. + Weight::from_parts(26_780_000_u64, 0) + // Standard Error: 10 + .saturating_add(Weight::from_parts(1_214_u64, 0).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } // Storage: `Scheduler::Lookup` (r:0 w:1) // Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn service_task_named() -> Weight { - // Minimum execution time: 11_170 nanoseconds. - Weight::from_parts(11_550_000_u64, 0) + // Minimum execution time: 7_980 nanoseconds. + Weight::from_parts(8_330_000_u64, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } fn service_task_periodic() -> Weight { - // Minimum execution time: 8_690 nanoseconds. - Weight::from_parts(8_989_000_u64, 0) + // Minimum execution time: 5_460 nanoseconds. + Weight::from_parts(5_710_000_u64, 0) } fn execute_dispatch_signed() -> Weight { - // Minimum execution time: 3_760 nanoseconds. - Weight::from_parts(4_040_000_u64, 0) + // Minimum execution time: 3_940 nanoseconds. + Weight::from_parts(4_109_000_u64, 0) } fn execute_dispatch_unsigned() -> Weight { - // Minimum execution time: 3_700 nanoseconds. - Weight::from_parts(4_040_000_u64, 0) + // Minimum execution time: 3_900 nanoseconds. + Weight::from_parts(4_090_000_u64, 0) } // Storage: `Scheduler::Agenda` (r:1 w:1) // Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { - // Minimum execution time: 19_220 nanoseconds. - Weight::from_parts(23_476_797_u64, 0) - // Standard Error: 4_295 - .saturating_add(Weight::from_parts(1_165_736_u64, 0).saturating_mul(s as u64)) + // Minimum execution time: 15_520 nanoseconds. + Weight::from_parts(19_651_175_u64, 0) + // Standard Error: 3_820 + .saturating_add(Weight::from_parts(1_138_888_u64, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -118,10 +120,10 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { - // Minimum execution time: 26_110 nanoseconds. - Weight::from_parts(23_666_253_u64, 0) - // Standard Error: 5_053 - .saturating_add(Weight::from_parts(2_143_084_u64, 0).saturating_mul(s as u64)) + // Minimum execution time: 23_410 nanoseconds. + Weight::from_parts(21_233_880_u64, 0) + // Standard Error: 5_237 + .saturating_add(Weight::from_parts(2_082_851_u64, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -131,10 +133,10 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { - // Minimum execution time: 24_360 nanoseconds. - Weight::from_parts(29_126_992_u64, 0) - // Standard Error: 4_416 - .saturating_add(Weight::from_parts(1_211_220_u64, 0).saturating_mul(s as u64)) + // Minimum execution time: 20_530 nanoseconds. + Weight::from_parts(25_589_387_u64, 0) + // Standard Error: 4_631 + .saturating_add(Weight::from_parts(1_172_598_u64, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -144,10 +146,10 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { - // Minimum execution time: 27_830 nanoseconds. - Weight::from_parts(26_473_864_u64, 0) - // Standard Error: 5_729 - .saturating_add(Weight::from_parts(2_131_314_u64, 0).saturating_mul(s as u64)) + // Minimum execution time: 24_790 nanoseconds. + Weight::from_parts(23_765_797_u64, 0) + // Standard Error: 5_339 + .saturating_add(Weight::from_parts(2_105_215_u64, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } diff --git a/runtimes/eden/src/weights/pallet_sponsorship.rs b/runtimes/eden/src/weights/pallet_sponsorship.rs new file mode 100644 index 00000000000..521e4e1af8e --- /dev/null +++ b/runtimes/eden/src/weights/pallet_sponsorship.rs @@ -0,0 +1,171 @@ +/* + * This file is part of the Nodle Chain distributed at https://github.com/NodleCode/chain + * Copyright (C) 2020-2022 Nodle International + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +//! Autogenerated weights for pallet_sponsorship +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-02-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `chain-bench-a18ada46`, CPU: `AMD EPYC 7B13` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/nodle-parachain +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --pallet=pallet_sponsorship +// --extrinsic=* +// --wasm-execution=compiled +// --template=./.maintain/external_pallet_weights.hbs +// --output=runtimes/eden/src/weights + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::{Weight}}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_sponsorship`. +pub struct WeightInfo(PhantomData); +impl pallet_sponsorship::WeightInfo for WeightInfo { + // Storage: UNKNOWN KEY `0x4d95b5e86eb03e9e163361bfe841137d4e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) + // Proof: UNKNOWN KEY `0x4d95b5e86eb03e9e163361bfe841137d4e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) + // Storage: `Sponsorship::Pot` (r:1 w:1) + // Proof: `Sponsorship::Pot` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn create_pot() -> Weight { + // Minimum execution time: 35_220 nanoseconds. + Weight::from_parts(36_440_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: UNKNOWN KEY `0x4d95b5e86eb03e9e163361bfe841137d4e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) + // Proof: UNKNOWN KEY `0x4d95b5e86eb03e9e163361bfe841137d4e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) + // Storage: `Sponsorship::Pot` (r:1 w:1) + // Proof: `Sponsorship::Pot` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `Sponsorship::User` (r:1 w:0) + // Proof: `Sponsorship::User` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn remove_pot() -> Weight { + // Minimum execution time: 24_740 nanoseconds. + Weight::from_parts(25_640_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: UNKNOWN KEY `0x4d95b5e86eb03e9e163361bfe841137d4e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) + // Proof: UNKNOWN KEY `0x4d95b5e86eb03e9e163361bfe841137d4e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) + // Storage: `Sponsorship::Pot` (r:1 w:1) + // Proof: `Sponsorship::Pot` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn update_pot_limits() -> Weight { + // Minimum execution time: 18_330 nanoseconds. + Weight::from_parts(19_250_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: `Sponsorship::Pot` (r:1 w:1) + // Proof: `Sponsorship::Pot` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn update_sponsorship_type() -> Weight { + // Minimum execution time: 15_750 nanoseconds. + Weight::from_parts(16_120_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: UNKNOWN KEY `0x4d95b5e86eb03e9e163361bfe841137d4e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) + // Proof: UNKNOWN KEY `0x4d95b5e86eb03e9e163361bfe841137d4e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) + // Storage: `Sponsorship::Pot` (r:1 w:0) + // Proof: `Sponsorship::Pot` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `Sponsorship::User` (r:999 w:999) + // Proof: `Sponsorship::User` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `Sponsorship::UserRegistrationCount` (r:999 w:999) + // Proof: `Sponsorship::UserRegistrationCount` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `System::Account` (r:1998 w:1998) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `l` is `[1, 1000]`. + fn register_users(l: u32, ) -> Weight { + // Minimum execution time: 59_810 nanoseconds. + Weight::from_parts(60_460_000_u64, 0) + // Standard Error: 9_177 + .saturating_add(Weight::from_parts(37_906_888_u64, 0).saturating_mul(l as u64)) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(l as u64))) + .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(l as u64))) + } + // Storage: UNKNOWN KEY `0x4d95b5e86eb03e9e163361bfe841137d4e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) + // Proof: UNKNOWN KEY `0x4d95b5e86eb03e9e163361bfe841137d4e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) + // Storage: `Sponsorship::Pot` (r:1 w:1) + // Proof: `Sponsorship::Pot` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `Sponsorship::User` (r:999 w:999) + // Proof: `Sponsorship::User` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `System::Account` (r:1998 w:1998) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `Sponsorship::UserRegistrationCount` (r:999 w:999) + // Proof: `Sponsorship::UserRegistrationCount` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `l` is `[1, 1000]`. + fn remove_users(l: u32, ) -> Weight { + // Minimum execution time: 124_890 nanoseconds. + Weight::from_parts(125_690_000_u64, 0) + // Standard Error: 55_065 + .saturating_add(Weight::from_parts(110_325_097_u64, 0).saturating_mul(l as u64)) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(l as u64))) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(l as u64))) + } + // Storage: UNKNOWN KEY `0x4d95b5e86eb03e9e163361bfe841137d4e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) + // Proof: UNKNOWN KEY `0x4d95b5e86eb03e9e163361bfe841137d4e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) + // Storage: `Sponsorship::Pot` (r:1 w:1) + // Proof: `Sponsorship::Pot` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `Sponsorship::User` (r:999 w:999) + // Proof: `Sponsorship::User` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `l` is `[1, 1000]`. + fn update_users_limits(l: u32, ) -> Weight { + // Minimum execution time: 27_680 nanoseconds. + Weight::from_parts(28_260_000_u64, 0) + // Standard Error: 9_681 + .saturating_add(Weight::from_parts(9_262_026_u64, 0).saturating_mul(l as u64)) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(l as u64))) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(l as u64))) + } + // Storage: `Sponsorship::Pot` (r:1 w:0) + // Proof: `Sponsorship::Pot` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `Sponsorship::User` (r:1 w:0) + // Proof: `Sponsorship::User` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `System::Account` (r:2 w:2) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn pre_sponsor() -> Weight { + // Minimum execution time: 71_720 nanoseconds. + Weight::from_parts(73_020_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + // Storage: `System::Account` (r:2 w:2) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `Sponsorship::User` (r:0 w:1) + // Proof: `Sponsorship::User` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `Sponsorship::Pot` (r:0 w:1) + // Proof: `Sponsorship::Pot` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn post_sponsor() -> Weight { + // Minimum execution time: 64_530 nanoseconds. + Weight::from_parts(65_610_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } +} diff --git a/runtimes/eden/src/weights/pallet_timestamp.rs b/runtimes/eden/src/weights/pallet_timestamp.rs index d36be5aafd9..70689e55f99 100644 --- a/runtimes/eden/src/weights/pallet_timestamp.rs +++ b/runtimes/eden/src/weights/pallet_timestamp.rs @@ -18,9 +18,9 @@ //! Autogenerated weights for pallet_timestamp //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `chain-bench-b606df9f`, CPU: `AMD EPYC 7B13` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-02-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `chain-bench-a18ada46`, CPU: `AMD EPYC 7B13` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -49,13 +49,13 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Storage: `Timestamp::Now` (r:1 w:1) // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn set() -> Weight { - // Minimum execution time: 9_950 nanoseconds. - Weight::from_parts(10_320_000_u64, 0) + // Minimum execution time: 6_690 nanoseconds. + Weight::from_parts(7_120_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } fn on_finalize() -> Weight { - // Minimum execution time: 5_420 nanoseconds. - Weight::from_parts(5_600_000_u64, 0) + // Minimum execution time: 4_260 nanoseconds. + Weight::from_parts(4_489_000_u64, 0) } } diff --git a/runtimes/eden/src/weights/pallet_uniques.rs b/runtimes/eden/src/weights/pallet_uniques.rs index 04d5c3e4555..69ccb28b860 100644 --- a/runtimes/eden/src/weights/pallet_uniques.rs +++ b/runtimes/eden/src/weights/pallet_uniques.rs @@ -18,9 +18,9 @@ //! Autogenerated weights for pallet_uniques //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `chain-bench-b606df9f`, CPU: `AMD EPYC 7B13` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-02-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `chain-bench-a18ada46`, CPU: `AMD EPYC 7B13` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -51,8 +51,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Storage: `Uniques::ClassAccount` (r:0 w:1) // Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) fn create() -> Weight { - // Minimum execution time: 44_670 nanoseconds. - Weight::from_parts(45_830_000_u64, 0) + // Minimum execution time: 38_340 nanoseconds. + Weight::from_parts(39_849_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -61,8 +61,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Storage: `Uniques::ClassAccount` (r:0 w:1) // Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) fn force_create() -> Weight { - // Minimum execution time: 20_310 nanoseconds. - Weight::from_parts(21_040_000_u64, 0) + // Minimum execution time: 17_140 nanoseconds. + Weight::from_parts(17_990_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -86,14 +86,14 @@ impl pallet_uniques::WeightInfo for WeightInfo { /// The range of component `m` is `[0, 1000]`. /// The range of component `a` is `[0, 1000]`. fn destroy(n: u32, m: u32, a: u32, ) -> Weight { - // Minimum execution time: 2_764_170 nanoseconds. - Weight::from_parts(2_790_440_000_u64, 0) - // Standard Error: 25_587 - .saturating_add(Weight::from_parts(9_979_963_u64, 0).saturating_mul(n as u64)) - // Standard Error: 25_587 - .saturating_add(Weight::from_parts(263_483_u64, 0).saturating_mul(m as u64)) - // Standard Error: 25_587 - .saturating_add(Weight::from_parts(327_596_u64, 0).saturating_mul(a as u64)) + // Minimum execution time: 2_680_520 nanoseconds. + Weight::from_parts(2_704_870_000_u64, 0) + // Standard Error: 24_727 + .saturating_add(Weight::from_parts(9_946_893_u64, 0).saturating_mul(n as u64)) + // Standard Error: 24_727 + .saturating_add(Weight::from_parts(264_152_u64, 0).saturating_mul(m as u64)) + // Standard Error: 24_727 + .saturating_add(Weight::from_parts(310_499_u64, 0).saturating_mul(a as u64)) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m as u64))) @@ -112,8 +112,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Storage: `Uniques::Account` (r:0 w:1) // Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) fn mint() -> Weight { - // Minimum execution time: 52_870 nanoseconds. - Weight::from_parts(54_250_000_u64, 0) + // Minimum execution time: 47_531 nanoseconds. + Weight::from_parts(49_090_000_u64, 0) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -126,8 +126,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Storage: `Uniques::ItemPriceOf` (r:0 w:1) // Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) fn burn() -> Weight { - // Minimum execution time: 55_580 nanoseconds. - Weight::from_parts(56_260_000_u64, 0) + // Minimum execution time: 50_310 nanoseconds. + Weight::from_parts(51_690_000_u64, 0) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -140,8 +140,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Storage: `Uniques::ItemPriceOf` (r:0 w:1) // Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) fn transfer() -> Weight { - // Minimum execution time: 39_750 nanoseconds. - Weight::from_parts(40_670_000_u64, 0) + // Minimum execution time: 37_051 nanoseconds. + Weight::from_parts(37_810_000_u64, 0) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -151,10 +151,10 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`) /// The range of component `i` is `[0, 5000]`. fn redeposit(i: u32, ) -> Weight { - // Minimum execution time: 20_650 nanoseconds. - Weight::from_parts(21_209_000_u64, 0) - // Standard Error: 13_652 - .saturating_add(Weight::from_parts(25_338_219_u64, 0).saturating_mul(i as u64)) + // Minimum execution time: 17_540 nanoseconds. + Weight::from_parts(17_970_000_u64, 0) + // Standard Error: 12_556 + .saturating_add(Weight::from_parts(23_243_363_u64, 0).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i as u64))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -165,8 +165,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Storage: `Uniques::Class` (r:1 w:0) // Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`) fn freeze() -> Weight { - // Minimum execution time: 26_191 nanoseconds. - Weight::from_parts(27_410_000_u64, 0) + // Minimum execution time: 22_970 nanoseconds. + Weight::from_parts(23_810_000_u64, 0) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -175,24 +175,24 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Storage: `Uniques::Class` (r:1 w:0) // Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`) fn thaw() -> Weight { - // Minimum execution time: 26_110 nanoseconds. - Weight::from_parts(26_960_000_u64, 0) + // Minimum execution time: 23_000 nanoseconds. + Weight::from_parts(23_720_000_u64, 0) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: `Uniques::Class` (r:1 w:1) // Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`) fn freeze_collection() -> Weight { - // Minimum execution time: 19_480 nanoseconds. - Weight::from_parts(20_020_000_u64, 0) + // Minimum execution time: 15_470 nanoseconds. + Weight::from_parts(16_180_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: `Uniques::Class` (r:1 w:1) // Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`) fn thaw_collection() -> Weight { - // Minimum execution time: 19_020 nanoseconds. - Weight::from_parts(19_770_000_u64, 0) + // Minimum execution time: 15_490 nanoseconds. + Weight::from_parts(16_230_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -200,19 +200,21 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof: `Uniques::OwnershipAcceptance` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) // Storage: `Uniques::Class` (r:1 w:1) // Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Uniques::ClassAccount` (r:0 w:2) // Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) fn transfer_ownership() -> Weight { - // Minimum execution time: 31_120 nanoseconds. - Weight::from_parts(31_810_000_u64, 0) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Minimum execution time: 34_270 nanoseconds. + Weight::from_parts(35_420_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: `Uniques::Class` (r:1 w:1) // Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`) fn set_team() -> Weight { - // Minimum execution time: 19_940 nanoseconds. - Weight::from_parts(20_800_000_u64, 0) + // Minimum execution time: 16_260 nanoseconds. + Weight::from_parts(17_040_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -221,8 +223,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Storage: `Uniques::ClassAccount` (r:0 w:1) // Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) fn force_item_status() -> Weight { - // Minimum execution time: 24_100 nanoseconds. - Weight::from_parts(24_790_000_u64, 0) + // Minimum execution time: 20_520 nanoseconds. + Weight::from_parts(21_260_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -233,8 +235,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Storage: `Uniques::Attribute` (r:1 w:1) // Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(364), added: 2839, mode: `MaxEncodedLen`) fn set_attribute() -> Weight { - // Minimum execution time: 59_820 nanoseconds. - Weight::from_parts(60_870_000_u64, 0) + // Minimum execution time: 53_300 nanoseconds. + Weight::from_parts(54_670_000_u64, 0) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -245,8 +247,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Storage: `Uniques::Attribute` (r:1 w:1) // Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(364), added: 2839, mode: `MaxEncodedLen`) fn clear_attribute() -> Weight { - // Minimum execution time: 56_080 nanoseconds. - Weight::from_parts(56_950_000_u64, 0) + // Minimum execution time: 49_900 nanoseconds. + Weight::from_parts(50_690_000_u64, 0) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -255,8 +257,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Storage: `Uniques::InstanceMetadataOf` (r:1 w:1) // Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`) fn set_metadata() -> Weight { - // Minimum execution time: 44_000 nanoseconds. - Weight::from_parts(44_830_000_u64, 0) + // Minimum execution time: 38_580 nanoseconds. + Weight::from_parts(40_100_000_u64, 0) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -265,8 +267,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Storage: `Uniques::InstanceMetadataOf` (r:1 w:1) // Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`) fn clear_metadata() -> Weight { - // Minimum execution time: 44_780 nanoseconds. - Weight::from_parts(45_830_000_u64, 0) + // Minimum execution time: 39_390 nanoseconds. + Weight::from_parts(40_420_000_u64, 0) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -275,8 +277,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Storage: `Uniques::ClassMetadataOf` (r:1 w:1) // Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(167), added: 2642, mode: `MaxEncodedLen`) fn set_collection_metadata() -> Weight { - // Minimum execution time: 45_690 nanoseconds. - Weight::from_parts(46_660_000_u64, 0) + // Minimum execution time: 40_520 nanoseconds. + Weight::from_parts(41_020_000_u64, 0) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -285,8 +287,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Storage: `Uniques::ClassMetadataOf` (r:1 w:1) // Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(167), added: 2642, mode: `MaxEncodedLen`) fn clear_collection_metadata() -> Weight { - // Minimum execution time: 44_650 nanoseconds. - Weight::from_parts(45_380_000_u64, 0) + // Minimum execution time: 38_870 nanoseconds. + Weight::from_parts(39_910_000_u64, 0) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -295,8 +297,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Storage: `Uniques::Asset` (r:1 w:1) // Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`) fn approve_transfer() -> Weight { - // Minimum execution time: 26_710 nanoseconds. - Weight::from_parts(27_660_000_u64, 0) + // Minimum execution time: 23_810 nanoseconds. + Weight::from_parts(24_680_000_u64, 0) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -305,16 +307,16 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Storage: `Uniques::Asset` (r:1 w:1) // Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`) fn cancel_approval() -> Weight { - // Minimum execution time: 26_540 nanoseconds. - Weight::from_parts(27_600_000_u64, 0) + // Minimum execution time: 23_760 nanoseconds. + Weight::from_parts(24_470_000_u64, 0) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: `Uniques::OwnershipAcceptance` (r:1 w:1) // Proof: `Uniques::OwnershipAcceptance` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn set_accept_ownership() -> Weight { - // Minimum execution time: 22_140 nanoseconds. - Weight::from_parts(22_820_000_u64, 0) + // Minimum execution time: 18_930 nanoseconds. + Weight::from_parts(19_920_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -323,8 +325,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Storage: `Uniques::Class` (r:1 w:0) // Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`) fn set_collection_max_supply() -> Weight { - // Minimum execution time: 23_420 nanoseconds. - Weight::from_parts(24_150_000_u64, 0) + // Minimum execution time: 19_580 nanoseconds. + Weight::from_parts(20_330_000_u64, 0) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -333,8 +335,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Storage: `Uniques::ItemPriceOf` (r:0 w:1) // Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) fn set_price() -> Weight { - // Minimum execution time: 22_810 nanoseconds. - Weight::from_parts(23_860_000_u64, 0) + // Minimum execution time: 19_330 nanoseconds. + Weight::from_parts(20_120_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -347,8 +349,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Storage: `Uniques::Account` (r:0 w:2) // Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) fn buy_item() -> Weight { - // Minimum execution time: 53_150 nanoseconds. - Weight::from_parts(54_180_000_u64, 0) + // Minimum execution time: 47_190 nanoseconds. + Weight::from_parts(48_210_000_u64, 0) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } diff --git a/runtimes/eden/src/weights/pallet_utility.rs b/runtimes/eden/src/weights/pallet_utility.rs index 8c04237004e..7f507d3bc5b 100644 --- a/runtimes/eden/src/weights/pallet_utility.rs +++ b/runtimes/eden/src/weights/pallet_utility.rs @@ -18,9 +18,9 @@ //! Autogenerated weights for pallet_utility //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `chain-bench-b606df9f`, CPU: `AMD EPYC 7B13` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-02-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `chain-bench-a18ada46`, CPU: `AMD EPYC 7B13` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -48,31 +48,31 @@ pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 1000]`. fn batch(c: u32, ) -> Weight { - // Minimum execution time: 10_880 nanoseconds. - Weight::from_parts(15_875_585_u64, 0) - // Standard Error: 2_154 - .saturating_add(Weight::from_parts(7_561_652_u64, 0).saturating_mul(c as u64)) + // Minimum execution time: 7_750 nanoseconds. + Weight::from_parts(11_380_778_u64, 0) + // Standard Error: 2_538 + .saturating_add(Weight::from_parts(5_082_513_u64, 0).saturating_mul(c as u64)) } fn as_derivative() -> Weight { - // Minimum execution time: 7_290 nanoseconds. - Weight::from_parts(7_560_000_u64, 0) + // Minimum execution time: 7_630 nanoseconds. + Weight::from_parts(7_850_000_u64, 0) } /// The range of component `c` is `[0, 1000]`. fn batch_all(c: u32, ) -> Weight { - // Minimum execution time: 10_740 nanoseconds. - Weight::from_parts(15_096_659_u64, 0) - // Standard Error: 2_999 - .saturating_add(Weight::from_parts(8_046_511_u64, 0).saturating_mul(c as u64)) + // Minimum execution time: 7_769 nanoseconds. + Weight::from_parts(10_776_409_u64, 0) + // Standard Error: 1_506 + .saturating_add(Weight::from_parts(5_619_307_u64, 0).saturating_mul(c as u64)) } fn dispatch_as() -> Weight { - // Minimum execution time: 14_060 nanoseconds. - Weight::from_parts(14_420_000_u64, 0) + // Minimum execution time: 11_130 nanoseconds. + Weight::from_parts(11_520_000_u64, 0) } /// The range of component `c` is `[0, 1000]`. fn force_batch(c: u32, ) -> Weight { - // Minimum execution time: 10_720 nanoseconds. - Weight::from_parts(10_330_736_u64, 0) - // Standard Error: 2_817 - .saturating_add(Weight::from_parts(7_543_936_u64, 0).saturating_mul(c as u64)) + // Minimum execution time: 7_760 nanoseconds. + Weight::from_parts(13_480_813_u64, 0) + // Standard Error: 1_285 + .saturating_add(Weight::from_parts(5_063_966_u64, 0).saturating_mul(c as u64)) } } diff --git a/runtimes/eden/src/weights/pallet_xcm.rs b/runtimes/eden/src/weights/pallet_xcm.rs index 99f7ae89de8..1c5f04c6c27 100644 --- a/runtimes/eden/src/weights/pallet_xcm.rs +++ b/runtimes/eden/src/weights/pallet_xcm.rs @@ -18,9 +18,9 @@ //! Autogenerated weights for pallet_xcm //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `chain-bench-b606df9f`, CPU: `AMD EPYC 7B13` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-02-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `chain-bench-a18ada46`, CPU: `AMD EPYC 7B13` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -57,8 +57,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) // Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn send() -> Weight { - // Minimum execution time: 40_820 nanoseconds. - Weight::from_parts(42_040_000_u64, 0) + // Minimum execution time: 29_970 nanoseconds. + Weight::from_parts(31_520_000_u64, 0) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -68,12 +68,17 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Minimum execution time: 18_446_744_073_709_551 nanoseconds. Weight::from_parts(18_446_744_073_709_551_000_u64, 0) } - // Storage: `ParachainInfo::ParachainId` (r:1 w:0) - // Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + // Storage: `Benchmark::Override` (r:0 w:0) + // Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn reserve_transfer_assets() -> Weight { - // Minimum execution time: 34_180 nanoseconds. - Weight::from_parts(34_940_000_u64, 0) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 18_446_744_073_709_551 nanoseconds. + Weight::from_parts(18_446_744_073_709_551_000_u64, 0) + } + // Storage: `Benchmark::Override` (r:0 w:0) + // Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn transfer_assets() -> Weight { + // Minimum execution time: 18_446_744_073_709_551 nanoseconds. + Weight::from_parts(18_446_744_073_709_551_000_u64, 0) } // Storage: `Benchmark::Override` (r:0 w:0) // Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -84,15 +89,15 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1) // Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_xcm_version() -> Weight { - // Minimum execution time: 14_780 nanoseconds. - Weight::from_parts(15_291_000_u64, 0) + // Minimum execution time: 11_291 nanoseconds. + Weight::from_parts(11_700_000_u64, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: `PolkadotXcm::SafeXcmVersion` (r:0 w:1) // Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn force_default_xcm_version() -> Weight { - // Minimum execution time: 4_480 nanoseconds. - Weight::from_parts(4_690_000_u64, 0) + // Minimum execution time: 3_720 nanoseconds. + Weight::from_parts(3_960_000_u64, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) @@ -112,8 +117,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Storage: `PolkadotXcm::Queries` (r:0 w:1) // Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_subscribe_version_notify() -> Weight { - // Minimum execution time: 48_950 nanoseconds. - Weight::from_parts(49_990_000_u64, 0) + // Minimum execution time: 37_000 nanoseconds. + Weight::from_parts(38_410_000_u64, 0) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -132,39 +137,39 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Storage: `PolkadotXcm::Queries` (r:0 w:1) // Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_unsubscribe_version_notify() -> Weight { - // Minimum execution time: 49_391 nanoseconds. - Weight::from_parts(50_970_000_u64, 0) + // Minimum execution time: 37_860 nanoseconds. + Weight::from_parts(38_951_000_u64, 0) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1) // Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn force_suspension() -> Weight { - // Minimum execution time: 4_520 nanoseconds. - Weight::from_parts(4_790_000_u64, 0) + // Minimum execution time: 3_720 nanoseconds. + Weight::from_parts(3_920_000_u64, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: `PolkadotXcm::SupportedVersion` (r:4 w:2) // Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_supported_version() -> Weight { - // Minimum execution time: 25_970 nanoseconds. - Weight::from_parts(27_080_000_u64, 0) + // Minimum execution time: 23_620 nanoseconds. + Weight::from_parts(24_340_000_u64, 0) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } // Storage: `PolkadotXcm::VersionNotifiers` (r:4 w:2) // Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notifiers() -> Weight { - // Minimum execution time: 26_100 nanoseconds. - Weight::from_parts(26_950_000_u64, 0) + // Minimum execution time: 23_430 nanoseconds. + Weight::from_parts(24_280_000_u64, 0) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } // Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0) // Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn already_notified_target() -> Weight { - // Minimum execution time: 28_190 nanoseconds. - Weight::from_parts(28_560_000_u64, 0) + // Minimum execution time: 25_020 nanoseconds. + Weight::from_parts(25_760_000_u64, 0) .saturating_add(T::DbWeight::get().reads(5_u64)) } // Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1) @@ -180,23 +185,23 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) // Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn notify_current_targets() -> Weight { - // Minimum execution time: 45_860 nanoseconds. - Weight::from_parts(46_960_000_u64, 0) + // Minimum execution time: 33_680 nanoseconds. + Weight::from_parts(34_950_000_u64, 0) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `PolkadotXcm::VersionNotifyTargets` (r:3 w:0) // Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn notify_target_migration_fail() -> Weight { - // Minimum execution time: 14_810 nanoseconds. - Weight::from_parts(15_370_000_u64, 0) + // Minimum execution time: 13_150 nanoseconds. + Weight::from_parts(13_490_000_u64, 0) .saturating_add(T::DbWeight::get().reads(3_u64)) } // Storage: `PolkadotXcm::VersionNotifyTargets` (r:4 w:2) // Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notify_targets() -> Weight { - // Minimum execution time: 26_600 nanoseconds. - Weight::from_parts(27_200_000_u64, 0) + // Minimum execution time: 24_280 nanoseconds. + Weight::from_parts(25_031_000_u64, 0) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -213,9 +218,27 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) // Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn migrate_and_notify_old_targets() -> Weight { - // Minimum execution time: 56_190 nanoseconds. - Weight::from_parts(58_100_000_u64, 0) + // Minimum execution time: 43_929 nanoseconds. + Weight::from_parts(45_490_000_u64, 0) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } + // Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) + // Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::Queries` (r:0 w:1) + // Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn new_query() -> Weight { + // Minimum execution time: 6_430 nanoseconds. + Weight::from_parts(6_860_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + // Storage: `PolkadotXcm::Queries` (r:1 w:1) + // Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn take_response() -> Weight { + // Minimum execution time: 44_790 nanoseconds. + Weight::from_parts(46_260_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } } diff --git a/runtimes/eden/src/weights/pallet_xcm_benchmarks_fungible.rs b/runtimes/eden/src/weights/pallet_xcm_benchmarks_fungible.rs index 49776a8bdb4..f5615345423 100644 --- a/runtimes/eden/src/weights/pallet_xcm_benchmarks_fungible.rs +++ b/runtimes/eden/src/weights/pallet_xcm_benchmarks_fungible.rs @@ -18,8 +18,8 @@ //! Autogenerated weights for `pallet_xcm_benchmarks::fungible` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-02-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -48,14 +48,14 @@ impl WeightInfo { // Storage: `System::Account` (r:1 w:1) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) pub(crate) fn withdraw_asset() -> Weight { - Weight::from_parts(38_660_000_u64, 0) + Weight::from_parts(37_420_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) pub(crate) fn transfer_asset() -> Weight { - Weight::from_parts(85_330_000_u64, 0) + Weight::from_parts(77_370_000_u64, 0) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -74,38 +74,60 @@ impl WeightInfo { // Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) // Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) pub(crate) fn transfer_reserve_asset() -> Weight { - Weight::from_parts(117_950_000_u64, 0) + Weight::from_parts(104_630_000_u64, 0) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: `Benchmark::Override` (r:0 w:0) // Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + pub(crate) fn reserve_asset_deposited() -> Weight { + Weight::from_parts(18_446_744_073_709_551_000_u64, 0) + } + // Storage: `ParachainInfo::ParachainId` (r:1 w:0) + // Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + // Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + // Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) + // Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) + // Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + // Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) + // Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + pub(crate) fn initiate_reserve_withdraw() -> Weight { + Weight::from_parts(41_110_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + // Storage: `Benchmark::Override` (r:0 w:0) + // Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) pub(crate) fn receive_teleported_asset() -> Weight { - Weight::from_parts(500_000_000_000_u64, 0) + Weight::from_parts(18_446_744_073_709_551_000_u64, 0) } // Storage: `System::Account` (r:1 w:1) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) pub(crate) fn deposit_asset() -> Weight { - Weight::from_parts(41_870_000_u64, 0) + Weight::from_parts(36_070_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: `System::Account` (r:1 w:1) - // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - // Storage: `ParachainInfo::ParachainId` (r:1 w:0) - // Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) // Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) // Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) // Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) // Proof: `PolkadotXcm::SafeXcmVersion` (`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: `ParachainInfo::ParachainId` (r:1 w:0) + // Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) // Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) // Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) // Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) pub(crate) fn deposit_reserve_asset() -> Weight { - Weight::from_parts(82_960_000_u64, 0) + Weight::from_parts(79_510_000_u64, 0) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -122,7 +144,7 @@ impl WeightInfo { // Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) // Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) pub(crate) fn initiate_teleport() -> Weight { - Weight::from_parts(47_020_000_u64, 0) + Weight::from_parts(38_980_000_u64, 0) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } diff --git a/runtimes/eden/src/weights/pallet_xcm_benchmarks_generic.rs b/runtimes/eden/src/weights/pallet_xcm_benchmarks_generic.rs index f9826b1a8ee..a72ecf5aea9 100644 --- a/runtimes/eden/src/weights/pallet_xcm_benchmarks_generic.rs +++ b/runtimes/eden/src/weights/pallet_xcm_benchmarks_generic.rs @@ -18,8 +18,8 @@ //! Autogenerated weights for `pallet_xcm_benchmarks::generic` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-02-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -58,39 +58,39 @@ impl WeightInfo { // Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) // Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) pub(crate) fn report_holding() -> Weight { - Weight::from_parts(49_820_000_u64, 0) + Weight::from_parts(39_580_000_u64, 0) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } pub(crate) fn buy_execution() -> Weight { - Weight::from_parts(4_510_000_u64, 0) + Weight::from_parts(3_130_000_u64, 0) } // Storage: `PolkadotXcm::Queries` (r:1 w:0) // Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) pub(crate) fn query_response() -> Weight { - Weight::from_parts(17_200_000_u64, 0) + Weight::from_parts(12_410_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) } pub(crate) fn transact() -> Weight { - Weight::from_parts(18_300_000_u64, 0) + Weight::from_parts(13_520_000_u64, 0) } pub(crate) fn refund_surplus() -> Weight { - Weight::from_parts(4_420_000_u64, 0) + Weight::from_parts(6_140_000_u64, 0) } pub(crate) fn set_error_handler() -> Weight { - Weight::from_parts(4_320_000_u64, 0) + Weight::from_parts(3_040_000_u64, 0) } pub(crate) fn set_appendix() -> Weight { - Weight::from_parts(4_280_000_u64, 0) + Weight::from_parts(2_950_000_u64, 0) } pub(crate) fn clear_error() -> Weight { - Weight::from_parts(4_200_000_u64, 0) + Weight::from_parts(2_930_000_u64, 0) } pub(crate) fn descend_origin() -> Weight { - Weight::from_parts(5_080_000_u64, 0) + Weight::from_parts(3_590_000_u64, 0) } pub(crate) fn clear_origin() -> Weight { - Weight::from_parts(4_230_000_u64, 0) + Weight::from_parts(2_960_000_u64, 0) } // Storage: `ParachainInfo::ParachainId` (r:1 w:0) // Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -105,19 +105,19 @@ impl WeightInfo { // Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) // Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) pub(crate) fn report_error() -> Weight { - Weight::from_parts(39_880_000_u64, 0) + Weight::from_parts(30_680_000_u64, 0) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } // Storage: `PolkadotXcm::AssetTraps` (r:1 w:1) // Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`) pub(crate) fn claim_asset() -> Weight { - Weight::from_parts(24_370_000_u64, 0) + Weight::from_parts(20_060_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } pub(crate) fn trap() -> Weight { - Weight::from_parts(4_240_000_u64, 0) + Weight::from_parts(2_940_000_u64, 0) } // Storage: `PolkadotXcm::VersionNotifyTargets` (r:1 w:1) // Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -132,47 +132,30 @@ impl WeightInfo { // Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) // Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) pub(crate) fn subscribe_version() -> Weight { - Weight::from_parts(45_380_000_u64, 0) + Weight::from_parts(34_150_000_u64, 0) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: `PolkadotXcm::VersionNotifyTargets` (r:0 w:1) // Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) pub(crate) fn unsubscribe_version() -> Weight { - Weight::from_parts(8_060_000_u64, 0) + Weight::from_parts(6_760_000_u64, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: `ParachainInfo::ParachainId` (r:1 w:0) - // Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - // Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) - // Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) - // Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) - // Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - // Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - // Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - pub(crate) fn initiate_reserve_withdraw() -> Weight { - Weight::from_parts(46_190_000_u64, 0) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) - } pub(crate) fn burn_asset() -> Weight { - Weight::from_parts(6_351_000_u64, 0) + Weight::from_parts(4_720_000_u64, 0) } pub(crate) fn expect_asset() -> Weight { - Weight::from_parts(4_600_000_u64, 0) + Weight::from_parts(3_210_000_u64, 0) } pub(crate) fn expect_origin() -> Weight { - Weight::from_parts(4_340_000_u64, 0) + Weight::from_parts(3_010_000_u64, 0) } pub(crate) fn expect_error() -> Weight { - Weight::from_parts(4_180_000_u64, 0) + Weight::from_parts(2_960_000_u64, 0) } pub(crate) fn expect_transact_status() -> Weight { - Weight::from_parts(4_500_000_u64, 0) + Weight::from_parts(3_240_000_u64, 0) } // Storage: `ParachainInfo::ParachainId` (r:1 w:0) // Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -187,12 +170,12 @@ impl WeightInfo { // Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) // Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) pub(crate) fn query_pallet() -> Weight { - Weight::from_parts(50_510_000_u64, 0) + Weight::from_parts(42_369_000_u64, 0) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } pub(crate) fn expect_pallet() -> Weight { - Weight::from_parts(12_790_000_u64, 0) + Weight::from_parts(12_210_000_u64, 0) } // Storage: `ParachainInfo::ParachainId` (r:1 w:0) // Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -207,23 +190,23 @@ impl WeightInfo { // Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) // Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) pub(crate) fn report_transact_status() -> Weight { - Weight::from_parts(40_470_000_u64, 0) + Weight::from_parts(31_170_000_u64, 0) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } pub(crate) fn clear_transact_status() -> Weight { - Weight::from_parts(4_340_000_u64, 0) + Weight::from_parts(3_000_000_u64, 0) } pub(crate) fn set_topic() -> Weight { - Weight::from_parts(4_210_000_u64, 0) + Weight::from_parts(2_900_000_u64, 0) } pub(crate) fn clear_topic() -> Weight { - Weight::from_parts(4_220_000_u64, 0) + Weight::from_parts(2_890_000_u64, 0) } pub(crate) fn set_fees_mode() -> Weight { - Weight::from_parts(4_190_000_u64, 0) + Weight::from_parts(2_900_000_u64, 0) } pub(crate) fn unpaid_execution() -> Weight { - Weight::from_parts(4_360_000_u64, 0) + Weight::from_parts(3_000_000_u64, 0) } } diff --git a/runtimes/eden/src/xcm_config.rs b/runtimes/eden/src/xcm_config.rs index 85376d78cbc..a39dbc26b35 100644 --- a/runtimes/eden/src/xcm_config.rs +++ b/runtimes/eden/src/xcm_config.rs @@ -4,7 +4,7 @@ use super::{ }; #[cfg(feature = "runtime-benchmarks")] use crate::constants::NODL; -use crate::implementations::DealWithFees; +use crate::{implementations::DealWithFees, pallets_system::TransactionByteFee}; use codec::{Decode, Encode}; #[cfg(feature = "runtime-benchmarks")] use frame_benchmarking::BenchmarkError; @@ -13,22 +13,23 @@ use frame_support::{ traits::{ConstU32, Everything, Nothing, PalletInfoAccess}, weights::IdentityFee, weights::Weight, - RuntimeDebug, }; use frame_system::EnsureRoot; use orml_traits::{location::RelativeReserveProvider, parameter_type_with_key}; use pallet_xcm::XcmPassthrough; -use polkadot_parachain::primitives::Sibling; +use polkadot_parachain_primitives::primitives::Sibling; use scale_info::TypeInfo; +use sp_core::RuntimeDebug; use sp_runtime::traits::Convert; #[cfg(feature = "runtime-benchmarks")] use sp_std::vec; use xcm::latest::{prelude::*, NetworkId, Weight as XcmWeight}; use xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, - CurrencyAdapter, EnsureXcmOrigin, IsConcrete, NativeAsset, ParentIsPreset, RelayChainAsNative, - SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32, - SovereignSignedViaLocation, TakeWeightCredit, UsingComponents, WeightInfoBounds, WithComputedOrigin, + CurrencyAdapter, EnsureXcmOrigin, FrameTransactionalProcessor, IsConcrete, NativeAsset, ParentIsPreset, + RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, + SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, UsingComponents, WeightInfoBounds, + WithComputedOrigin, }; use xcm_executor::XcmExecutor; @@ -160,11 +161,7 @@ impl xcm_executor::Config for XcmConfig { type CallDispatcher = RuntimeCall; type SafeCallFilter = Everything; type Aliasers = Nothing; -} - -#[cfg(feature = "runtime-benchmarks")] -parameter_types! { - pub ReachableDest: Option = Some(Parent.into()); + type TransactionalProcessor = FrameTransactionalProcessor; } impl pallet_xcm::Config for Runtime { @@ -189,22 +186,30 @@ impl pallet_xcm::Config for Runtime { type MaxLockers = ConstU32<8>; type AdminOrigin = EnsureRoot; type WeightInfo = crate::weights::pallet_xcm::WeightInfo; - #[cfg(feature = "runtime-benchmarks")] - type ReachableDest = ReachableDest; type MaxRemoteLockConsumers = ConstU32<0>; type RemoteLockConsumerIdentifier = (); } +parameter_types! { + /// The asset ID for the asset that we use to pay for message delivery fees. + pub FeeAssetId: AssetId = Concrete(NodlLocation::get()); + /// The base fee for the message delivery fees. + pub const BaseDeliveryFee: u128 = crate::constants::POLKADOT_CENT.saturating_mul(3); +} + +pub type PriceForSiblingParachainDelivery = + polkadot_runtime_common::xcm_sender::ExponentialPrice; + impl cumulus_pallet_xcmp_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type XcmExecutor = XcmExecutor; type ChannelInfo = ParachainSystem; type VersionWrapper = PolkadotXcm; - type ExecuteOverweightOrigin = EnsureRoot; type ControllerOrigin = EnsureRoot; type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin; type WeightInfo = cumulus_pallet_xcmp_queue::weights::SubstrateWeight; - type PriceForSiblingDelivery = (); + type PriceForSiblingDelivery = PriceForSiblingParachainDelivery; + type XcmpQueue = (); + type MaxInboundSuspended = sp_core::ConstU32<1_000>; } impl cumulus_pallet_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; @@ -270,10 +275,19 @@ parameter_types! { MultiLocation::parent(), MultiAsset{ id: Concrete(MultiLocation::parent()), fun: Fungible(100) } )); + pub const TrustedReserve: Option<(MultiLocation, MultiAsset)> = None; + } #[cfg(feature = "runtime-benchmarks")] impl pallet_xcm_benchmarks::generic::Config for Runtime { type RuntimeCall = RuntimeCall; + type TransactAsset = Balances; + + //TODO put a realistic value here: + fn fee_asset() -> Result { + let assets: MultiAsset = (Concrete(NodlLocation::get()), 10_000_000 * NODL).into(); + Ok(assets) + } fn worst_case_response() -> (u64, Response) { (0u64, Response::Version(Default::default())) @@ -331,6 +345,7 @@ impl pallet_xcm_benchmarks::fungible::Config for Runtime { type TransactAsset = Balances; type CheckedAccount = (); type TrustedTeleporter = TrustedTeleporter; + type TrustedReserve = TrustedReserve; fn get_multi_asset() -> MultiAsset { MultiAsset { id: Concrete(NodlLocation::get()), @@ -342,6 +357,8 @@ impl pallet_xcm_benchmarks::fungible::Config for Runtime { impl pallet_xcm_benchmarks::Config for Runtime { type XcmConfig = XcmConfig; type AccountIdConverter = LocationToAccountId; + type DeliveryHelper = (); + fn valid_destination() -> Result { Ok(RelayLocation::get()) } diff --git a/scripts/run_benchmarks.sh b/scripts/run_benchmarks.sh index b6d82720220..2b04ba4f162 100755 --- a/scripts/run_benchmarks.sh +++ b/scripts/run_benchmarks.sh @@ -4,9 +4,6 @@ STEPS="${1:-50}" REPEAT="${2:-20}" -export external="frame_system pallet_balances pallet_collator_selection pallet_contracts pallet_membership \ - pallet_multisig pallet_preimage pallet_scheduler pallet_timestamp pallet_uniques pallet_utility pallet_xcm pallet_identity" -export internal="pallet_allocations pallet_grants pallet_reserve pallet_nodle_uniques pallet_sponsorship" export xcm_generic_extrinsic="report_holding, buy_execution, query_response, transact, refund_surplus,\ set_error_handler, set_appendix, clear_error, descend_origin, clear_origin, report_error, claim_asset, trap, \ subscribe_version, unsubscribe_version, initiate_reserve_withdraw, burn_asset, expect_asset, expect_origin,\ @@ -15,25 +12,13 @@ export xcm_generic_extrinsic="report_holding, buy_execution, query_response, tra cargo build --profile release \ --features=runtime-benchmarks \ - --manifest-path=node/Cargo.toml + --manifest-path=node/Cargo.toml || exit -1 -install -d temp_weights -for PALLET in $internal -do -./target/release/nodle-parachain benchmark pallet \ - --chain=dev \ - --steps=$STEPS \ - --repeat=$REPEAT \ - --pallet=$PALLET \ - '--extrinsic=*' \ - --wasm-execution=compiled \ - --template=./.maintain/internal_pallet_weights.hbs \ - --output=temp_weights -done -for PALLET in $external +for PALLET in `./target/release/nodle-parachain benchmark pallet --list| sed s/,.*//|sort|uniq|grep -v ::` do -./target/release/nodle-parachain benchmark pallet \ + echo $PALLET + $DRY_RUN ./target/release/nodle-parachain benchmark pallet \ --chain=dev \ --steps=$STEPS \ --repeat=$REPEAT \ @@ -45,7 +30,7 @@ do done -./target/release/nodle-parachain benchmark pallet \ +$DRY_RUN ./target/release/nodle-parachain benchmark pallet \ --chain=dev \ --steps=$STEPS \ --repeat=$REPEAT \ @@ -55,7 +40,7 @@ done --template=./.maintain/xcm.hbs \ --output=runtimes/eden/src/weights -./target/release/nodle-parachain benchmark pallet \ +$DRY_RUN ./target/release/nodle-parachain benchmark pallet \ --chain=dev \ --steps=$STEPS \ --repeat=$REPEAT \ @@ -64,16 +49,10 @@ done --wasm-execution=compiled \ --template=./.maintain/xcm.hbs \ --output=runtimes/eden/src/weights -sed -s 's/pallet_contracts::WeightInfo/pallet_contracts::weights::WeightInfo/' -i runtimes/eden/src/weights/pallet_contracts.rs - -mv temp_weights/pallet_grants.rs pallets/grants/src/weights.rs -mv temp_weights/pallet_allocations.rs pallets/allocations/src/weights.rs -mv temp_weights/pallet_reserve.rs pallets/reserve/src/weights.rs -mv temp_weights/pallet_nodle_uniques.rs pallets/uniques/src/weights.rs -mv temp_weights/pallet_sponsorship.rs pallets/sponsorship/src/weights.rs +$DRY_RUN sed -s 's/pallet_contracts::WeightInfo/pallet_contracts::weights::WeightInfo/' -i runtimes/eden/src/weights/pallet_contracts.rs -cargo clippy --fix --allow-dirty -cargo fmt +$DRY_RUN cargo clippy --fix --allow-dirty +$DRY_RUN cargo fmt echo "Running on gcloud server? Run:" echo "git commit -v -a -m Benchmarks ; git format-patch HEAD~ ; find $PWD/*patch" diff --git a/support/Cargo.toml b/support/Cargo.toml index 04cc88c9ddf..a4049d58f95 100644 --- a/support/Cargo.toml +++ b/support/Cargo.toml @@ -1,15 +1,13 @@ [package] -authors = ["Nodle Developers "] -edition = "2021" +authors.workspace = true +edition.workspace = true name = "support" -version = "2.4.2" +version.workspace = true [dependencies] -codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = [ - "derive", -] } -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v1.0.0" } +codec = { workspace = true, default-features = false, features = ["derive"] } +scale-info = { workspace = true, default-features = false, features = ["derive"] } +frame-support = { workspace = true, default-features = false } [features] default = ["std"] diff --git a/support/src/lib.rs b/support/src/lib.rs index 971398302ef..3e328c130aa 100644 --- a/support/src/lib.rs +++ b/support/src/lib.rs @@ -20,8 +20,8 @@ use frame_support::{ pallet_prelude::{Decode, Encode, MaxEncodedLen, TypeInfo}, + sp_runtime::RuntimeDebug, traits::tokens::Balance, - RuntimeDebug, }; pub trait WithAccountId {